# HG changeset patch # User Anders Bergh # Date 1200365925 -3600 # Node ID a52a8259d60f1f4ea0d1613d05c68635ed6f97ee # Parent faa5eb5875422f3aaa23c010ddd9f5b43f4aa2b5 Remove non-D related PKGBUILD's, will move them to a personal repository instead. diff -r faa5eb587542 -r a52a8259d60f sources/copas/LICENSE --- a/sources/copas/LICENSE Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -Copyright © 2005-2007 The Kepler Project. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r faa5eb587542 -r a52a8259d60f sources/copas/PKGBUILD --- a/sources/copas/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# Contributor: Anders Bergh -pkgname=copas -pkgver=1.1.1 -pkgrel=2 -pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua" -arch=('i686' 'x86_64') -url="http://www.keplerproject.org/copas/" -license=('custom') -depends=('lua' 'luasocket') -source=('http://luaforge.net/frs/download.php/2559/copas-1.1.1.tar.gz' - 'LICENSE') -md5sums=('92e50bd367af81c7a50d349990f9ad97' - '001e5e34c6e51b2c8501fd1c9dfad9fe') - -build() { - cd "$startdir/src/$pkgname-$pkgver" - - mkdir -p "$startdir/pkg/usr/share/lua/5.1/copas" - cp src/copas/copas.lua "$startdir/pkg/usr/share/lua/5.1/copas" - ln -s /usr/share/lua/5.1/copas/copas.lua "$startdir/pkg/usr/share/lua/copas.lua" - - mkdir -p "$startdir/pkg/usr/share/licenses/copas" - cp $startdir/src/LICENSE "$startdir/pkg/usr/share/licenses/copas" -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc-nightly/DMDirc.desktop --- a/sources/dmdirc-nightly/DMDirc.desktop Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -[Desktop Entry] -Categories=Network;IRCClient; -Comment=DMDirc IRC Client -Encoding=UTF-8 -Exec=java -jar /usr/share/java/dmdirc/DMDirc.jar -GenericName=IRC Client -Icon=/usr/share/java/dmdirc/DMDirc.svg -Name=DMDirc -StartupNotify=true -Terminal=false -TerminalOptions= -Type=Application diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc-nightly/DMDirc.svg --- a/sources/dmdirc-nightly/DMDirc.svg Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc-nightly/PKGBUILD --- a/sources/dmdirc-nightly/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -# Contributor: Anders Bergh -pkgname=dmdirc-nightly -pkgver=20071217 -pkgrel=2 -pkgdesc="DMDirc is a cross-platform IRC client written in Java." -arch=(i686 x86_64) -url="http://www.dmdirc.com/en/" -license=('MIT') -depends=(java-runtime) -makedepends=(unzip) -source=(http://www.dmdirc.com/nightly/DMDirc_latest.jar - DMDirc.desktop - DMDirc.svg - dmdirc) -provides=('dmdirc') -conflicts=('dmdirc') -md5sums=() - -build() { - cd "$startdir/src" - mkdir -p "$startdir/pkg/usr/share/java/dmdirc" - mkdir -p "$startdir/pkg/usr/share/applications" - mkdir -p "$startdir/pkg/usr/bin" - - install -m644 DMDirc_latest.jar "$startdir/pkg/usr/share/java/dmdirc/DMDirc.jar" - install -m644 DMDirc.svg "$startdir/pkg/usr/share/java/dmdirc" - install -m644 DMDirc.desktop "$startdir/pkg/usr/share/applications" - install -m755 dmdirc "$startdir/pkg/usr/bin" -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc-nightly/dmdirc --- a/sources/dmdirc-nightly/dmdirc Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#!/bin/bash -java -jar /usr/share/java/dmdirc/DMDirc.jar diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc/DMDirc.desktop --- a/sources/dmdirc/DMDirc.desktop Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -[Desktop Entry] -Categories=Network;IRCClient; -Comment=DMDirc IRC Client -Encoding=UTF-8 -Exec=java -jar /usr/share/java/dmdirc/DMDirc.jar -GenericName=IRC Client -Icon=/usr/share/java/dmdirc/DMDirc.svg -Name=DMDirc -StartupNotify=true -Terminal=false -TerminalOptions= -Type=Application diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc/DMDirc.svg --- a/sources/dmdirc/DMDirc.svg Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc/PKGBUILD --- a/sources/dmdirc/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# Contributor: Anders Bergh -pkgname=dmdirc -pkgver=0.5.1 -pkgrel=3 -pkgdesc="DMDirc is a cross-platform IRC client written in Java." -arch=(i686 x86_64) -url="http://www.dmdirc.com/en/" -license=('MIT') -depends=(java-runtime) -makedepends=(unzip) -source=(http://dmdirc.googlecode.com/files/DMDirc-$pkgver.jar - DMDirc.desktop - DMDirc.svg - dmdirc) -md5sums=('f602f44b72907ae209d90c1478e63a5e' - '64058ea0c3861c9246f7eff8f0cdeb62' - '74b7ba9c92da7bd41a0545f103aa99b6' - '0b2e83062e6c6f0a46caf49def957f80') - -build() { - cd "$startdir/src" - mkdir -p "$startdir/pkg/usr/share/java/dmdirc" - mkdir -p "$startdir/pkg/usr/share/applications" - mkdir -p "$startdir/pkg/usr/bin" - - install -m644 DMDirc-$pkgver.jar "$startdir/pkg/usr/share/java/dmdirc/DMDirc.jar" - install -m644 DMDirc.svg "$startdir/pkg/usr/share/java/dmdirc" - install -m644 DMDirc.desktop "$startdir/pkg/usr/share/applications" - install -m755 dmdirc "$startdir/pkg/usr/bin" -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/dmdirc/dmdirc --- a/sources/dmdirc/dmdirc Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#!/bin/bash -java -jar /usr/share/java/dmdirc/DMDirc.jar diff -r faa5eb587542 -r a52a8259d60f sources/luafilesystem/LICENSE --- a/sources/luafilesystem/LICENSE Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -Copyright (C) 2004-2007 The Kepler Project. - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff -r faa5eb587542 -r a52a8259d60f sources/luafilesystem/PKGBUILD --- a/sources/luafilesystem/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# Contributor: Anders Bergh -pkgname=luafilesystem -pkgver=1.3.0 -pkgrel=3 -pkgdesc="File System Library for the Lua Programming Language" -arch=(i686 x86_64) -url="http://www.keplerproject.org/luafilesystem/" -license=('custom') -depends=(lua) -source=(http://luaforge.net/frs/download.php/2679/$pkgname-$pkgver.tar.gz - LICENSE - luafilesystem-arch.patch) -md5sums=('5a5aa378d8cb3e68d5fe0609f373f59f' - 'beb2b58c4b5c2782304a5b0267a5651b' - '6a8d0b411d2807853ab89e7de07da34f') - -build() { - mkdir -p $startdir/pkg/usr/share/licenses/$pkgname - cp $startdir/src/LICENSE $startdir/pkg/usr/share/licenses/$pkgname - - cd "$startdir/src/$pkgname-$pkgver" - patch -p1 < "$startdir/src/luafilesystem-arch.patch" - - make || return 1 - make DESTDIR="$startdir/pkg" install - -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/luafilesystem/luafilesystem-arch.patch --- a/sources/luafilesystem/luafilesystem-arch.patch Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -diff -ruN luafilesystem-1.3.0.orig/Makefile luafilesystem-1.3.0/Makefile ---- luafilesystem-1.3.0.orig/Makefile 2007-06-07 03:28:08.000000000 +0200 -+++ luafilesystem-1.3.0/Makefile 2007-10-27 20:36:46.000000000 +0200 -@@ -12,12 +12,12 @@ - lib: src/$(LIBNAME) - - src/$(LIBNAME): $(OBJS) -- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) - - install: src/$(LIBNAME) -- mkdir -p $(LUA_LIBDIR) -- cp src/$(LIBNAME) $(LUA_LIBDIR) -- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so -+ mkdir -p $(DESTDIR)$(LUA_LIBDIR) -+ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) -+ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so - - clean: - rm -f src/$(LIBNAME) $(OBJS) -diff -ruN luafilesystem-1.3.0.orig/config luafilesystem-1.3.0/config ---- luafilesystem-1.3.0.orig/config 2007-07-31 05:22:55.000000000 +0200 -+++ luafilesystem-1.3.0/config 2007-10-27 20:36:08.000000000 +0200 -@@ -1,8 +1,8 @@ - # Installation directories - # System's libraries directory (where binary libraries are installed) --LUA_LIBDIR= /usr/local/lib/lua/5.1 -+LUA_LIBDIR= /usr/lib/lua/5.1 - # Lua includes directory --LUA_INC= /usr/local/include -+LUA_INC= /usr/include - - # OS dependent - LIB_OPTION= -shared #for Linux diff -r faa5eb587542 -r a52a8259d60f sources/luajit/PKGBUILD --- a/sources/luajit/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# Contributor: Anders Bergh -pkgname=luajit -pkgver=1.1.3 -pkgrel=5 -pkgdesc="LuaJIT is a Just-In-Time Compiler for Lua 5.1. LuaJIT is based on Lua, a powerful, light-weight programming language." -arch=(i686) -url="http://luajit.org/" -depends=(readline) -source=(http://luajit.org/download/LuaJIT-$pkgver.tar.gz luajit-arch.patch) -md5sums=('f5db1a147ed3d34677ad1ef310c56da7' - '0e61ba3d7d93c29f40f5a1967228833b') -license=('custom') - -build() { - cd "$startdir/src/LuaJIT-$pkgver" - - make linux_rl || return 1 - make INSTALL_TOP=$startdir/pkg/usr install || return 1 - - install -D -m 644 etc/luajit.pc "$startdir/pkg/usr/lib/pkgconfig/luajit.pc" - install -D -m 644 COPYRIGHT "$startdir/pkg/usr/share/licenses/luajit/COPYRIGHT" -} diff -r faa5eb587542 -r a52a8259d60f sources/luajit/luajit-arch.patch --- a/sources/luajit/luajit-arch.patch Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -diff -ruN LuaJIT-1.1.3.orig/src/luaconf.h LuaJIT-1.1.3/src/luaconf.h ---- LuaJIT-1.1.3.orig/src/luaconf.h 2007-05-24 13:30:00.000000000 +0200 -+++ LuaJIT-1.1.3/src/luaconf.h 2007-11-02 06:28:59.000000000 +0100 -@@ -94,7 +94,7 @@ - ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" - - #else --#define LUA_ROOT "/usr/local/" -+#define LUA_ROOT "/usr" - #define LUA_LDIR LUA_ROOT "share/lua/5.1/" - #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" - #define LUA_PATH_DEFAULT \ diff -r faa5eb587542 -r a52a8259d60f sources/lualdap/LICENSE --- a/sources/lualdap/LICENSE Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -Copyright © 2003-2007 The Kepler Project. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r faa5eb587542 -r a52a8259d60f sources/lualdap/PKGBUILD --- a/sources/lualdap/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# Contributor: Anders Bergh -pkgname=lualdap -pkgver=1.0.1 -pkgrel=1 -pkgdesc="A Lua interface to the OpenLDAP library" -arch=('i686' 'x86_64') -url="http://www.keplerproject.org/lualdap/" -license=('custom') -depends=('lua' 'libldap') -source=('http://luaforge.net/frs/download.php/1571/lualdap-1.0.1.tar.gz' - 'LICENSE' - 'lualdap-arch.patch') -md5sums=('d81fae84fcd0d7fb58db563d10b11532' - 'e8728f500ebb96fbf5b36c66eb86f7a4' - '407fce14c34a6d906ade53dab47bcd75') - -build() { - cd "$startdir/src/$pkgname-$pkgver" - patch -p1 < "$startdir/src/lualdap-arch.patch" - - make || return 1 - make DESTDIR="$startdir/pkg" install - - mkdir -p "$startdir/pkg/usr/share/licenses/lualdap" - cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualdap" -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/lualdap/lualdap-arch.patch --- a/sources/lualdap/lualdap-arch.patch Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,115 +0,0 @@ -diff -ruN lualdap-1.0.1.orig/config lualdap-1.0.1/config ---- lualdap-1.0.1.orig/config 2005-12-26 22:26:03.000000000 +0100 -+++ lualdap-1.0.1/config 2007-11-02 05:39:59.000000000 +0100 -@@ -1,10 +1,10 @@ - # Installation directories - # System's libraries directory (where binary libraries are installed) --LUA_LIBDIR= /usr/local/lib/lua/5.0 -+LUA_LIBDIR= /usr/lib/lua/5.1 - # Lua includes directory --LUA_INC= /usr/local/include -+LUA_INC= /usr/include - # OpenLDAP includes directory --OPENLDAP_INC= /usr/local/include -+OPENLDAP_INC= /usr/include - # OpenLDAP library (an optional directory can be specified with -L) - OPENLDAP_LIB= -lldap - -diff -ruN lualdap-1.0.1.orig/Makefile lualdap-1.0.1/Makefile ---- lualdap-1.0.1.orig/Makefile 2005-12-26 22:26:03.000000000 +0100 -+++ lualdap-1.0.1/Makefile 2007-11-02 05:41:57.000000000 +0100 -@@ -6,7 +6,7 @@ - - include $(CONFIG) - --OBJS= src/lualdap.o $(COMPAT_DIR)/compat-5.1.o -+OBJS= src/lualdap.o - - - src/$(LIBNAME): $(OBJS) -@@ -16,9 +16,9 @@ - $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c - - install: src/$(LIBNAME) -- mkdir -p $(LUA_LIBDIR) -- cp src/$(LIBNAME) $(LUA_LIBDIR) -- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so -+ mkdir -p $(DESTDIR)$(LUA_LIBDIR) -+ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) -+ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so - - clean: - rm -f $(OBJS) src/$(LIBNAME) -diff -ruN lualdap-1.0.1.orig/src/lualdap.c lualdap-1.0.1/src/lualdap.c ---- lualdap-1.0.1.orig/src/lualdap.c 2006-04-04 22:11:51.000000000 +0200 -+++ lualdap-1.0.1/src/lualdap.c 2007-11-02 05:46:26.000000000 +0100 -@@ -16,7 +16,6 @@ - - #include "lua.h" - #include "lauxlib.h" --#include "compat-5.1.h" - - - #define LUALDAP_PREFIX "LuaLDAP: " -@@ -462,7 +461,7 @@ - */ - static int lualdap_add (lua_State *L) { - conn_data *conn = getconnection (L); -- const char *dn = luaL_check_string (L, 2); -+ const char *dn = luaL_checkstring (L, 2); - attrs_data attrs; - int rc, msgid; - A_init (&attrs); -@@ -484,11 +483,11 @@ - */ - static int lualdap_compare (lua_State *L) { - conn_data *conn = getconnection (L); -- const char *dn = luaL_check_string (L, 2); -- const char *attr = luaL_check_string (L, 3); -+ const char *dn = luaL_checkstring (L, 2); -+ const char *attr = luaL_checkstring (L, 3); - BerValue bvalue; - int rc, msgid; -- bvalue.bv_val = (char *)luaL_check_string (L, 4); -+ bvalue.bv_val = (char *)luaL_checkstring (L, 4); - bvalue.bv_len = lua_strlen (L, 4); - rc = ldap_compare_ext (conn->ld, dn, attr, &bvalue, NULL, NULL, &msgid); - return create_future (L, rc, 1, msgid, LDAP_RES_COMPARE); -@@ -503,7 +502,7 @@ - */ - static int lualdap_delete (lua_State *L) { - conn_data *conn = getconnection (L); -- const char *dn = luaL_check_string (L, 2); -+ const char *dn = luaL_checkstring (L, 2); - int rc, msgid; - rc = ldap_delete_ext (conn->ld, dn, NULL, NULL, &msgid); - return create_future (L, rc, 1, msgid, LDAP_RES_DELETE); -@@ -538,7 +537,7 @@ - */ - static int lualdap_modify (lua_State *L) { - conn_data *conn = getconnection (L); -- const char *dn = luaL_check_string (L, 2); -+ const char *dn = luaL_checkstring (L, 2); - attrs_data attrs; - int rc, msgid, param = 3; - A_init (&attrs); -@@ -564,8 +563,8 @@ - */ - static int lualdap_rename (lua_State *L) { - conn_data *conn = getconnection (L); -- const char *dn = luaL_check_string (L, 2); -- const char *rdn = luaL_check_string (L, 3); -+ const char *dn = luaL_checkstring (L, 2); -+ const char *rdn = luaL_checkstring (L, 3); - const char *par = luaL_optlstring (L, 4, NULL, NULL); - const int del = luaL_optnumber (L, 5, 0); - int msgid; -@@ -914,7 +913,7 @@ - ** @return #1 Userdata with connection structure. - */ - static int lualdap_open_simple (lua_State *L) { -- const char *host = luaL_check_string (L, 1); -+ const char *host = luaL_checkstring (L, 1); - const char *who = luaL_optstring (L, 2, NULL); - const char *password = luaL_optstring (L, 3, NULL); - int use_tls = lua_toboolean (L, 4); diff -r faa5eb587542 -r a52a8259d60f sources/lualogging/LICENSE --- a/sources/lualogging/LICENSE Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -Copyright © 2004-2007 The Kepler Project. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r faa5eb587542 -r a52a8259d60f sources/lualogging/PKGBUILD --- a/sources/lualogging/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# Contributor: Anders Bergh -pkgname=lualogging -pkgver=1.1.4 -pkgrel=1 -pkgdesc="A simple API to use logging features in Lua" -arch=('i686' 'x86_64') -url="http://www.keplerproject.org/lualogging/" -license=('custom') -depends=('lua') -source=('http://luaforge.net/frs/download.php/2693/lualogging-1.1.4.tar.gz' - 'LICENSE' - ) -md5sums=('72a8622748a525f5fb8ed23278326f80' - 'c2a5289bdfe3702fd77b365a48251c08') - -build() { - cd "$startdir/src/$pkgname-$pkgver/src" - - mkdir -p "$startdir/pkg/usr/share/lua/5.1/logging" - cp logging/*.lua "$startdir/pkg/usr/share/lua/5.1/logging" - mv "$startdir/pkg/usr/share/lua/5.1/logging/logging.lua" "$startdir/pkg/usr/share/lua/5.1" - - mkdir -p "$startdir/pkg/usr/share/licenses/lualogging" - cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualogging" -} - -# vim:set ts=2 sw=2 et: diff -r faa5eb587542 -r a52a8259d60f sources/wol/PKGBUILD --- a/sources/wol/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# Contributor: Anders Bergh -# Contributor: Markus Volkmann -pkgname=wol -pkgver=0.7.1 -pkgrel=3 -arch=('i686' 'x86_64') -pkgdesc="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant." -license="GPL" -url="http://ahh.sourceforge.net/wol/" -source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz) -md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca') - -build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr - make || return 1 - make prefix=$startdir/pkg/usr install -} - diff -r faa5eb587542 -r a52a8259d60f sources/worldofpadman/PKGBUILD --- a/sources/worldofpadman/PKGBUILD Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -# Contributor: Benjamin Dirks - -pkgname=worldofpadman -pkgver=1.1 -pkgrel=4 -pkgdesc="a free standalone online game based on the quake3 engine." -url="http://www.worldofpadman.com/" -license="custom" -arch=('i686' 'x86_64' 'ppc') -depends=('sdl' 'libvorbis' 'curl') -makedepends=('subversion') -conflicts=() -provides=() -install= -source=("http://thilo.kickchat.com/download/worldofpadman.run" 'wop.desktop') -md5sums=('c7650414d7865ddac26ada6b3f7b8cc9' 'd22bca1743d2a5b717c0071a32abceff') - -_svntrunk=http://wop-engine.svn.sourceforge.net/svnroot/wop-engine/tags/ -_svntag=firstPublicStandAlone -_svnmod=wop-engine - -build() -{ - mkdir -p $startdir/pkg/opt/wop/wop - mkdir -p $startdir/pkg/opt/wop/xtras - mkdir -p $startdir/pkg/usr/bin/ - mkdir -p $startdir/pkg/usr/share/licenses/worldofpadman/ - install -Dm644 wop.desktop $startdir/pkg/usr/share/applications/wop.desktop - - # Move Source and Extract - cd $startdir/src - svn co ${_svntrunk}${_svntag} ${_svnmod} - msg "SVN checkout done or server timeout" - msg "Starting make..." - - if [[ -d ${startdir}/src/${_svnmod}-build ]]; then - rm -rf ${startdir}/src/${_svnmod}-build - fi - cp -R ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build || exit 1 - cd "${_svnmod}-build" - - /bin/sed -i "s: -Werror::" $startdir/src/${_svnmod}-build/code/tools/asm/Makefile - /bin/sed -i "s:i386:i686:" $startdir/src/${_svnmod}-build/Makefile - make || exit 1 - - cd build/release-* - cp wop-engine.* $startdir/pkg/opt/wop/ - cp wopded.* $startdir/pkg/opt/wop/ - - cd $startdir/src - sh worldofpadman.run --keep --noexec || exit 1 - - cd image - - /bin/sed -i "s:i386:i686:" bin/Linux/x86/WoP - cp bin/Linux/x86/WoP $startdir/pkg/opt/wop/WoP - - tar -xf readme.tar -C $startdir/pkg/opt/wop - tar -xf wop-data.tar -C $startdir/pkg/opt/wop/wop - tar -xf extras.tar -C $startdir/pkg/opt/wop/xtras - - cp copyright_* $startdir/pkg/opt/wop/gpl.txt $startdir/pkg/usr/share/licenses/worldofpadman/ - cp README* $startdir/pkg/opt/wop - ln -sf /opt/wop/WoP $startdir/pkg/usr/bin/ - ln -sf /opt/wop/WoP $startdir/pkg/usr/bin/worldofpadman - install -Dm644 wop.png $startdir/pkg/usr/share/pixmaps/wop.png -} diff -r faa5eb587542 -r a52a8259d60f sources/worldofpadman/wop.desktop --- a/sources/worldofpadman/wop.desktop Fri Dec 21 22:32:34 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -[Desktop Entry] -Type=Application -Version=1.1 -Encoding=UTF-8 -Name=World of Padman -Comment=Free Ego-shooter game -Icon=/usr/share/pixmaps/wop.png -Exec=/usr/bin/WoP -Terminal=false -StartupNotify=false -Categories=Game;