diff options
Diffstat (limited to 'social')
114 files changed, 1008 insertions, 16 deletions
diff --git a/social/ahcpd/PKGBUILD b/social/ahcpd/PKGBUILD index a2f1e336f..a2f1e336f 100644..100755 --- a/social/ahcpd/PKGBUILD +++ b/social/ahcpd/PKGBUILD diff --git a/social/aiccu/PKGBUILD b/social/aiccu/PKGBUILD new file mode 100644 index 000000000..5fc4cb086 --- /dev/null +++ b/social/aiccu/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=aiccu +pkgver=20070115 +pkgrel=7 +pkgdesc="SixXS Automatic IPv6 Connectivity Client Utility - AICCU" +arch=('i686' 'x86_64') +url="http://www.sixxs.net/tools/aiccu/" +license=('BSD') +depends=('gnutls' 'iproute2') +makedepends=('glibc' 'libgpg-error' 'libtasn1' 'libgcrypt' 'zlib') +backup=(etc/aiccu.conf) +source=(http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz + aiccu.rc.d) +md5sums=('c9bcc83644ed788e22a7c3f3d4021350' + '9eb63ae132d4835a822ea925c6440b04') + +build() { + cd "$srcdir/$pkgname" + + sed -i 's|Installing Debian-style init.d||' Makefile + + LDFLAGS="" make + make DESTDIR="$pkgdir" install +} + +package() { + cd "$srcdir/$pkgname" + + install -D -m600 doc/aiccu.conf "$pkgdir/etc/aiccu.conf" + install -D -m755 "$srcdir/aiccu.rc.d" "$pkgdir/etc/rc.d/aiccu" + install -D -m444 doc/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + rm -fr "$pkgdir/etc/init.d" +} diff --git a/social/aiccu/aiccu.rc.d b/social/aiccu/aiccu.rc.d new file mode 100644 index 000000000..b0ca08fce --- /dev/null +++ b/social/aiccu/aiccu.rc.d @@ -0,0 +1,60 @@ +#!/bin/bash + +daemon_name=aiccu + +. /etc/rc.conf +. /etc/rc.d/functions + +get_pid() { + pidof $daemon_name +} + +case "$1" in + start) + stat_busy "Starting $daemon_name daemon" + + PID=`get_pid` + if [ -z "$PID" ]; then + [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid + # RUN + $daemon_name start > /dev/null + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + echo `get_pid` > /var/run/$daemon_name.pid + add_daemon $daemon_name + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping $daemon_name daemon" + PID=`get_pid` + # RUN + $daemon_name stop + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/$daemon_name.pid &> /dev/null + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/social/asterisk/PKGBUILD b/social/asterisk/PKGBUILD index 7318e71dc..7318e71dc 100644..100755 --- a/social/asterisk/PKGBUILD +++ b/social/asterisk/PKGBUILD diff --git a/social/asterisk/asterisk b/social/asterisk/asterisk index f823caefc..f823caefc 100644..100755 --- a/social/asterisk/asterisk +++ b/social/asterisk/asterisk diff --git a/social/asterisk/asterisk.install b/social/asterisk/asterisk.install index 1a3b998b7..1a3b998b7 100644..100755 --- a/social/asterisk/asterisk.install +++ b/social/asterisk/asterisk.install diff --git a/social/asterisk/asterisk.logrotated b/social/asterisk/asterisk.logrotated index f03d0acd3..f03d0acd3 100644..100755 --- a/social/asterisk/asterisk.logrotated +++ b/social/asterisk/asterisk.logrotated diff --git a/social/babeld/PKGBUILD b/social/babeld/PKGBUILD new file mode 100644 index 000000000..5aa25f07f --- /dev/null +++ b/social/babeld/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (AUR): Yann Lopez <arch at lonewulf dot net> +# Maintainer (Parabola): fauno <fauno@parabola.nu> +pkgname=babeld +pkgver=1.3.4 +pkgrel=1 +pkgdesc="Loop-free distance-vector routing protocol" +arch=(i686 x86_64 mips64el) +url="http://www.pps.jussieu.fr/~jch/software/babel/" +license=('custom') +depends=(glibc) +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz{,.asc}) +install=babeld.install +md5sums=('37be1cbcc23cd00ee47efc9157c58795' + 'e2dfae49b497ba70c0c1014feae80f3a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -e "s,/man/,/share&,g" -i Makefile + + make PREFIX=/usr CFLAGS="$CFLAGS" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX=/usr TARGET=$pkgdir install + + gzip -f $pkgdir/usr/share/man/man8/$pkgname.8 + + install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE +} diff --git a/social/babeld/babeld.install b/social/babeld/babeld.install new file mode 100644 index 000000000..686153617 --- /dev/null +++ b/social/babeld/babeld.install @@ -0,0 +1,18 @@ +compatibility_warning() { + echo "PLEASE NOTE:" + echo " " + echo "-------------------------------------------------------------" + echo " This version uses the IANA-allocated UDP port and multicast" + echo " group and is therefore incompatible with older versions." + echo "-------------------------------------------------------------" +} + +post_upgrade() { + major=$(echo $2 | cut -d '.' -f1) + minor=$(echo $2 | cut -d '.' -f2) + if [ $major -lt 1 ]; then + compatibility_warning + elif [ $major -eq 1 -a $minor -lt 1 ]; then + compatibility_warning + fi +} diff --git a/social/batctl/PKGBUILD b/social/batctl/PKGBUILD index b37c0f666..b64c46ef0 100644..100755 --- a/social/batctl/PKGBUILD +++ b/social/batctl/PKGBUILD @@ -1,15 +1,14 @@ # Contributor: Nathan Owe <ndowens.aur at gmail dot com> # Maintainer: Thomas Weißschuh <thomas_weissschuh@lavabit.com> pkgname=batctl -pkgver=2011.3.0 +pkgver=2012.3.0 pkgrel=1 pkgdesc="B.A.T.M.A.N. advanced control and management tool" arch=('i686' 'x86_64') url="http://www.open-mesh.net/" license=('GPL') depends=('glibc') -source=("http://downloads.open-mesh.net/batman/releases/batman-adv-${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha1sums=('a90abd309acda0199c0d7cb63e8a0d4408688a34') +source=("http://downloads.open-mesh.net/batman/releases/batman-adv-${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}) build(){ cd ${srcdir}/${pkgname}-${pkgver} @@ -22,3 +21,5 @@ package() { } # vim:set ts=2 sw=2 et: +md5sums=('fe9e6a3994539037b48afc5e3d31628c' + 'fdc6433ebc7fe59ce9eaec56dd843eb9') diff --git a/social/bip/PKGBUILD b/social/bip/PKGBUILD index fcb0ddcfe..fcb0ddcfe 100644..100755 --- a/social/bip/PKGBUILD +++ b/social/bip/PKGBUILD diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD index ddc5ac0ab..ddc5ac0ab 100644..100755 --- a/social/bitcoin-daemon/PKGBUILD +++ b/social/bitcoin-daemon/PKGBUILD diff --git a/social/bitcoin-daemon/bitcoin-daemon.install b/social/bitcoin-daemon/bitcoin-daemon.install index 5b2ffec92..5b2ffec92 100644..100755 --- a/social/bitcoin-daemon/bitcoin-daemon.install +++ b/social/bitcoin-daemon/bitcoin-daemon.install diff --git a/social/bitcoin-daemon/makefile.parabola b/social/bitcoin-daemon/makefile.parabola index 984750982..984750982 100644..100755 --- a/social/bitcoin-daemon/makefile.parabola +++ b/social/bitcoin-daemon/makefile.parabola diff --git a/social/bitcoin-daemon/rc.bitcoind b/social/bitcoin-daemon/rc.bitcoind index be09251d1..be09251d1 100644..100755 --- a/social/bitcoin-daemon/rc.bitcoind +++ b/social/bitcoin-daemon/rc.bitcoind diff --git a/social/bitcoin/PKGBUILD b/social/bitcoin/PKGBUILD index 64810db4b..64810db4b 100644..100755 --- a/social/bitcoin/PKGBUILD +++ b/social/bitcoin/PKGBUILD diff --git a/social/bitcoin/bitcoin.desktop b/social/bitcoin/bitcoin.desktop index f27429060..f27429060 100644..100755 --- a/social/bitcoin/bitcoin.desktop +++ b/social/bitcoin/bitcoin.desktop diff --git a/social/diaspora-git/PKGBUILD b/social/diaspora-git/PKGBUILD index 3c241473b..3c241473b 100644..100755 --- a/social/diaspora-git/PKGBUILD +++ b/social/diaspora-git/PKGBUILD diff --git a/social/diaspora-git/diaspora.bashrc b/social/diaspora-git/diaspora.bashrc index b694ca0b0..b694ca0b0 100644..100755 --- a/social/diaspora-git/diaspora.bashrc +++ b/social/diaspora-git/diaspora.bashrc diff --git a/social/diaspora-git/diaspora.bin b/social/diaspora-git/diaspora.bin index dfd0d026f..dfd0d026f 100644..100755 --- a/social/diaspora-git/diaspora.bin +++ b/social/diaspora-git/diaspora.bin diff --git a/social/diaspora-git/diaspora.install b/social/diaspora-git/diaspora.install index 7833be058..7833be058 100644..100755 --- a/social/diaspora-git/diaspora.install +++ b/social/diaspora-git/diaspora.install diff --git a/social/diaspora-git/diaspora.logrotate b/social/diaspora-git/diaspora.logrotate index bb5564a79..bb5564a79 100644..100755 --- a/social/diaspora-git/diaspora.logrotate +++ b/social/diaspora-git/diaspora.logrotate diff --git a/social/diaspora-git/diaspora.pam b/social/diaspora-git/diaspora.pam index 53724d1f8..53724d1f8 100644..100755 --- a/social/diaspora-git/diaspora.pam +++ b/social/diaspora-git/diaspora.pam diff --git a/social/diaspora-git/diaspora.rc b/social/diaspora-git/diaspora.rc index 8464f3947..8464f3947 100644..100755 --- a/social/diaspora-git/diaspora.rc +++ b/social/diaspora-git/diaspora.rc diff --git a/social/dropbear/PKGBUILD b/social/dropbear/PKGBUILD index 2df24cb15..2df24cb15 100644..100755 --- a/social/dropbear/PKGBUILD +++ b/social/dropbear/PKGBUILD diff --git a/social/dropbear/dropbear-conf.d b/social/dropbear/dropbear-conf.d index 6f3b8f0c5..6f3b8f0c5 100644..100755 --- a/social/dropbear/dropbear-conf.d +++ b/social/dropbear/dropbear-conf.d diff --git a/social/dropbear/dropbear-rc.d b/social/dropbear/dropbear-rc.d index 011880b3b..011880b3b 100644..100755 --- a/social/dropbear/dropbear-rc.d +++ b/social/dropbear/dropbear-rc.d diff --git a/social/facter/PKGBUILD b/social/facter/PKGBUILD index 877572abb..877572abb 100644..100755 --- a/social/facter/PKGBUILD +++ b/social/facter/PKGBUILD diff --git a/social/ffingerd/PKGBUILD b/social/ffingerd/PKGBUILD index 4e312232b..4e312232b 100644..100755 --- a/social/ffingerd/PKGBUILD +++ b/social/ffingerd/PKGBUILD diff --git a/social/ffingerd/finger.xinetd b/social/ffingerd/finger.xinetd index 36cd303b4..36cd303b4 100644..100755 --- a/social/ffingerd/finger.xinetd +++ b/social/ffingerd/finger.xinetd diff --git a/social/gnuhealth/PKGBUILD b/social/gnuhealth/PKGBUILD new file mode 100755 index 000000000..10d059d4a --- /dev/null +++ b/social/gnuhealth/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: SpepS <dreamspepser at yahoo dot it> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +pkgname=gnuhealth +pkgver=1.6.2 +pkgrel=1 +pkgdesc="A free Health and Hospital Information System" +arch=(any) +url="http://health.gnu.org/" +license=('GPL3') +depends=('trytond') +source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") +md5sums=('f36bb82a7a142c99da0218d9a889344c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fixes + export PYTHON=python2 + sed -i '/TRYTON_PATH/s/python/&2/' configure + + # makefile fixes + sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ + -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in + + # mv man file + mv health/man . + + ./configure --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make MANTARGET="$pkgdir/usr/share/man/man1" \ + DESTDIR="$pkgdir/" install + + # man + install -Dm644 man/$pkgname.1 \ + "$pkgdir/usr/share/man/man1/$pkgname.1" + + # python2 fix + sed -i 's/env python/&2/' \ + `grep -rl 'env python' "$pkgdir"` +} + +# vim:set ts=2 sw=2 et: diff --git a/social/haveged/PKGBUILD b/social/haveged/PKGBUILD index b5f2e680a..b5f2e680a 100644..100755 --- a/social/haveged/PKGBUILD +++ b/social/haveged/PKGBUILD diff --git a/social/haveged/haveged b/social/haveged/haveged index c0e13b40d..c0e13b40d 100644..100755 --- a/social/haveged/haveged +++ b/social/haveged/haveged diff --git a/social/hunspell-pt-br/.directory b/social/hunspell-pt-br/.directory index dcad2ff51..dcad2ff51 100644..100755 --- a/social/hunspell-pt-br/.directory +++ b/social/hunspell-pt-br/.directory diff --git a/social/hunspell-pt-br/PKGBUILD b/social/hunspell-pt-br/PKGBUILD index 35e1dc887..35e1dc887 100644..100755 --- a/social/hunspell-pt-br/PKGBUILD +++ b/social/hunspell-pt-br/PKGBUILD diff --git a/social/inadyn-opendns/PKGBUILD b/social/inadyn-opendns/PKGBUILD index 75e8dc1ae..75e8dc1ae 100644..100755 --- a/social/inadyn-opendns/PKGBUILD +++ b/social/inadyn-opendns/PKGBUILD diff --git a/social/inadyn-opendns/inadyn-opendns.install b/social/inadyn-opendns/inadyn-opendns.install index e1a842430..e1a842430 100644..100755 --- a/social/inadyn-opendns/inadyn-opendns.install +++ b/social/inadyn-opendns/inadyn-opendns.install diff --git a/social/inadyn-opendns/inadyn.rc-script b/social/inadyn-opendns/inadyn.rc-script index 2ee29d59e..2ee29d59e 100644..100755 --- a/social/inadyn-opendns/inadyn.rc-script +++ b/social/inadyn-opendns/inadyn.rc-script diff --git a/social/liblockfile/PKGBUILD b/social/liblockfile/PKGBUILD index e3428763c..e3428763c 100644..100755 --- a/social/liblockfile/PKGBUILD +++ b/social/liblockfile/PKGBUILD diff --git a/social/libnatpmp/PKGBUILD b/social/libnatpmp/PKGBUILD new file mode 100644 index 000000000..e81d3445f --- /dev/null +++ b/social/libnatpmp/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Pierre Bourdon <delroth@gmail.com> + +pkgname=libnatpmp +pkgver=20120821 +pkgrel=1 +pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol" +arch=('i686' 'x86_64') +url="http://miniupnp.free.fr/libnatpmp.html" +license=('BSD') +depends=('glibc') +makedepends=() +source=(libnatpmp-$pkgver.tar.gz::http://miniupnp.free.fr/files/download.php?file=libnatpmp-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make INSTALLPREFIX="$pkgdir/usr" \ + INSTALLDIRINC="$pkgdir/usr/include/libnatpmp" install + + # Needed by some packages + install -m 644 getgateway.h declspec.h "$pkgdir/usr/include/libnatpmp" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} +md5sums=('d2b9c2dedba3a00deb0e7589982ceced') diff --git a/social/libowfat/PKGBUILD b/social/libowfat/PKGBUILD index ea43adfab..ea43adfab 100644..100755 --- a/social/libowfat/PKGBUILD +++ b/social/libowfat/PKGBUILD diff --git a/social/libowfat/libowfat.install b/social/libowfat/libowfat.install index a08aef10c..a08aef10c 100644..100755 --- a/social/libowfat/libowfat.install +++ b/social/libowfat/libowfat.install diff --git a/social/libpurple-minimal/PKGBUILD b/social/libpurple-minimal/PKGBUILD index b0adfd46d..b0adfd46d 100644..100755 --- a/social/libpurple-minimal/PKGBUILD +++ b/social/libpurple-minimal/PKGBUILD diff --git a/social/lockfile-progs/PKGBUILD b/social/lockfile-progs/PKGBUILD index 57d833952..57d833952 100644..100755 --- a/social/lockfile-progs/PKGBUILD +++ b/social/lockfile-progs/PKGBUILD diff --git a/social/lua-cyrussasl/PKGBUILD b/social/lua-cyrussasl/PKGBUILD new file mode 100644 index 000000000..d37eacc1c --- /dev/null +++ b/social/lua-cyrussasl/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Dwayne Bent <dbb.1@liqd.org> + +pkgname=lua-cyrussasl +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Lua bindings for Cyrus SASL library." +arch=('i686' 'x86_64' 'mips64el') +url="http://github.com/JorjBauer/lua-cyrussasl" +license=('BSD') +depends=('lua>=5.1' 'libsasl') +source=( + "lua-cyrussasl-$pkgver.tar.gz::https://github.com/JorjBauer/lua-cyrussasl/tarball/v$pkgver" + "lua-cyrussasl.patch" +) +md5sums=('40c94c06441e1e47640d81b125742969' + '5b5c15e4cba63d05a5bfd1cc3ddcba0f') + +build() { + cd $srcdir/*-lua-cyrussasl-* + + patch -p1 < "$srcdir/lua-cyrussasl.patch" + make +} + +package() { + mkdir -p "$pkgdir/usr/lib/lua/5.1" + mkdir -p "$pkgdir/usr/share/licenses/lua-cyrussasl" + + cd $srcdir/*-lua-cyrussasl-* + + make DESTDIR=${pkgdir} install + install -m644 "LICENSE" "$pkgdir/usr/share/licenses/lua-cyrussasl/LICENSE" +} + diff --git a/social/lua-cyrussasl/lua-cyrussasl.patch b/social/lua-cyrussasl/lua-cyrussasl.patch new file mode 100644 index 000000000..5309e5af1 --- /dev/null +++ b/social/lua-cyrussasl/lua-cyrussasl.patch @@ -0,0 +1,37 @@ +diff --git a/Makefile b/Makefile +index 9c696ab..37057da 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,12 +4,18 @@ + #LUAPATH=/usr/share/lua/5.1 + #CPATH=/usr/lib/lua/5.1 + ++# Linux (Arch Linux) ++CFLAGS=-g -O2 -fpic -I/usr/include ++LDFLAGS=-O -shared -fpic -lsasl2 ++LUAPATH=/usr/share/lua/5.1 ++CPATH=/usr/lib/lua/5.1 ++ + # MacOS +-CFLAGS=-g -Wall -O2 +-LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 +-MACOSX_VERSION=10.5 +-LUAPATH=/usr/local/share/lua/5.1 +-CPATH=/usr/local/lib/lua/5.1 ++#CFLAGS=-g -Wall -O2 ++#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 ++#MACOSX_VERSION=10.5 ++#LUAPATH=/usr/local/share/lua/5.1 ++#CPATH=/usr/local/lib/lua/5.1 + + ######################################################### + # +@@ -26,7 +32,7 @@ OBJS=cyrussasl.o luaabstract.o context.o + all: $(TARGET) + + install: $(TARGET) +- cp $(TARGET) $(CPATH) ++ cp $(TARGET) $(DESTDIR)$(CPATH) + + clean: + rm -f *.o *.so *~ diff --git a/social/lua-ldap/PKGBUILD b/social/lua-ldap/PKGBUILD new file mode 100644 index 000000000..a2ca1c830 --- /dev/null +++ b/social/lua-ldap/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=lua-ldap +_pkgname=lualdap +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Simple interface from Lua to an LDAP client" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.keplerproject.org/lualdap" +license=('BSD') +depends=('lua' 'libldap') +source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz) + +build() { + cd $srcdir/$_pkgname-$pkgver + + make CFLAGS="$CFLAGS" \ + LUA_LIBDIR=/usr/lib/lua/5.1 \ + LUA_VERSION_NUM=510 \ + LUA_INC=/usr/include + +} + +package() { + cd $srcdir/$_pkgname-$pkgver + make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \ + LUA_VERSION_NUM=510 \ + install +} + +md5sums=('5e104520c3f1333f38817a9fa1e76681') diff --git a/social/miniupnpc/PKGBUILD b/social/miniupnpc/PKGBUILD index 4d139afdc..a28b9842f 100644 --- a/social/miniupnpc/PKGBUILD +++ b/social/miniupnpc/PKGBUILD @@ -1,14 +1,14 @@ # Contributor: Florian Loitsch <archlinux@florian.loitsch.com> pkgname=miniupnpc -pkgver=1.6 -pkgrel=2 +pkgver=1.7.20120830 +pkgrel=1 pkgdesc='A small UPnP client library/tool to access Internet Gateway Devices' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://miniupnp.free.fr" license=('BSD') depends=('sh') source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz") -md5sums=('88055f2d4a061cfd4cfe25a9eae22f67') +md5sums=('c74b24b906e11860005fc425b4979fe6') build() { cd $srcdir/$pkgname-$pkgver diff --git a/social/miniupnpd/PKGBUILD b/social/miniupnpd/PKGBUILD new file mode 100644 index 000000000..b0d67c09e --- /dev/null +++ b/social/miniupnpd/PKGBUILD @@ -0,0 +1,41 @@ +pkgname=miniupnpd +pkgver=1.7.20120824 +pkgrel=2 +pkgdesc="Lightweight UPnP IGD daemon" +arch=('i686' 'x86_64' 'mips64el') +url="http://miniupnp.free.fr" +license=('BSD') +backup=(etc/miniupnpd/miniupnpd.conf) +depends=('libnfnetlink') + +eval $(wget "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/iptables" -O - | awk -F= ' + $1 == "pkgver" { pkgver=$2 } + $1 == "source" { sub(/\${pkgname}/, "iptables"); sub(/\${pkgver}/, pkgver); print $0 "); " } + $1 == "sha1sums" { print $0 ");" } + END { print "_iptables=iptables-" pkgver }') + +source+=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.init miniupnpd.systemd) +sha1sums+=('7abca8ecbcd8596392175eb312941083ed5faf21' + 'c84031d7af122c5bede8609bcfa80bc31f2a5e61' + 'bc0ae02a88eceef4f172b07f6f67d5fd54cc6ae0') + +build() { + cd "$srcdir/$_iptables" + ./configure --enable-static + make + + cd "$srcdir/$pkgname-$pkgver" + make -f Makefile.linux config.h + IPTABLESPATH="$srcdir/$_iptables" make -f Makefile.linux +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -p "$pkgdir/usr/share/man/man8" + make PREFIX="$pkgdir/" -f Makefile.linux install + rm -r "${pkgdir}/etc/init.d" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm755 "${srcdir}/miniupnpd.init" "${pkgdir}/etc/rc.d/miniupnpd" + install -Dm644 "${srcdir}/miniupnpd.systemd" "${pkgdir}/usr/lib/systemd/system/miniupnpd.service" +} + diff --git a/social/miniupnpd/miniupnpd.init b/social/miniupnpd/miniupnpd.init new file mode 100644 index 000000000..e09ac3ade --- /dev/null +++ b/social/miniupnpd/miniupnpd.init @@ -0,0 +1,51 @@ +#!/bin/sh + +MINIUPNPD=/usr/sbin/miniupnpd +ARGS='-f /etc/miniupnpd/miniupnpd.conf' +PIDFILE='/var/run/miniupnpd.pid' +IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh +IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh + +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting MiniUPNPd" + + if ! pidof -o %PPID $MINIUPNPD &> /dev/null; then + rm -f "$PIDFILE" + fi + + $IPTABLES_CREATE > /dev/null 2>&1 + + PID="$(cat "$PIDFILE" 2> /dev/null)" + + if [ -z "$PID" ] && $MINIUPNPD $ARGS; then + add_daemon miniupnpd + stat_done + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping MiniUPNPd" + PID="$(cat "$PIDFILE" 2> /dev/null)" + if [ -n "$PID" ] && kill "$PID" &> /dev/null; then + rm -f "$PIDFILE" + rm_daemon miniupnpd + stat_done + else + stat_fail + fi + ;; + restart) + "$0" stop + sleep 1 + "$0" start + ;; + *) + echo "Usage: /etc/rc.d/miniupnpd {start|stop|restart}" + exit 2 + ;; +esac +exit 0 diff --git a/social/miniupnpd/miniupnpd.systemd b/social/miniupnpd/miniupnpd.systemd new file mode 100644 index 000000000..0449e8a69 --- /dev/null +++ b/social/miniupnpd/miniupnpd.systemd @@ -0,0 +1,8 @@ +[Unit] +Description=Lightweight UPnP IGD daemon + +[Service] +ExecStart=/usr/sbin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d + +[Install] +WantedBy=network.target diff --git a/social/monkeysphere/PKGBUILD b/social/monkeysphere/PKGBUILD index ba869598e..3c5c590b8 100644..100755 --- a/social/monkeysphere/PKGBUILD +++ b/social/monkeysphere/PKGBUILD @@ -4,9 +4,9 @@ # $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $ pkgname=monkeysphere pkgver=0.35 -pkgrel=2 +pkgrel=3 pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" -arch=('i686' 'x86_64') +arch=('any') url="http://web.monkeysphere.info/" license=('GPL3') depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1') @@ -14,7 +14,7 @@ source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${p install=monkeysphere.install md5sums=('481ac14c9fdef0ccd1944c593bd4f517') -build() { +package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install diff --git a/social/monkeysphere/monkeysphere.install b/social/monkeysphere/monkeysphere.install index 2013f9f41..2013f9f41 100644..100755 --- a/social/monkeysphere/monkeysphere.install +++ b/social/monkeysphere/monkeysphere.install diff --git a/social/netatalk/PKGBUILD b/social/netatalk/PKGBUILD new file mode 100644 index 000000000..7e2fe14aa --- /dev/null +++ b/social/netatalk/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: SJ_UnderWater +# Maintainer (Parabola): fauno@parabola.nu +# Based on netatalk package : +# Maintainer: Dominik Dingel <mail at wodar dot de> +# Contributor: William Udovich <nerdzrule7 at earthlink dot net> +# Contributor: Farhan Yousaf <farhany at xaviya dot com> + +pkgname=netatalk +pkgver=3.0.1 +pkgrel=1 +pkgdesc='Open Source AFP fileserver' +arch=('i686' 'x86_64') +url='http://netatalk.sourceforge.net' +license=('GPL') +depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent') +backup=('etc/afp.conf') +options=('!libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=(netatalk.rc http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2) +md5sums=('5e92015b0d9ac77af4b598cca6cb435c' + '62eb034011bb60b0bfd95072af3693dc') + +build() { + cd $pkgname-$pkgver + +# TODO what does this fix? + msg2 'Fixing...' + sed -i 's/x"linux/x"generic/' macros/netatalk.m4 + + autoreconf + +# disable bundled libevent + echo -e "all:\ninstall:" >libevent/Makefile + + CFLAGS="-Wno-unused-result" \ + LIBS=-levent \ + ./configure --prefix=/usr \ + --disable-static \ + --localstatedir=/etc \ + --sysconfdir=/etc \ + --disable-bundled-libevent \ + --with-cracklib \ + --with-cnid-cdb-backend \ + --enable-pgp-uam \ + --with-init-style=systemd + + make +} +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + msg2 'Copying initscripts...' + install -D -m755 "$srcdir"/netatalk.rc "$pkgdir"/etc/rc.d/netatalk +} +md5sums=('5e92015b0d9ac77af4b598cca6cb435c' + 'b4f5c932b2ca99f5292bd6b6d69b3ebc') diff --git a/social/netatalk/netatalk.changelog b/social/netatalk/netatalk.changelog new file mode 100644 index 000000000..b577562d4 --- /dev/null +++ b/social/netatalk/netatalk.changelog @@ -0,0 +1,83 @@ +2012-07-14 SJ_UnderWater + + * 3.0-3 : + moved localstate dir + to /etc for historical + reasons + +2012-07-12 SJ_UnderWater + + * 3.0-2 : + disable bundled libevent + +2012-07-11 SJ_UnderWater + + * 3.0-1 : + updated to new release + DDP moved to new pkg + +2012-06-12 SJ_UnderWater + + * 2.2.3-4 : + added kill timing + +2012-06-04 SJ_UnderWater + + * 2.2.3-3 : + removed conflicting files + +2012-06-02 SJ_UnderWater + + * 2.2.3-2 : + Missing UAM links + +2012-05-29 SJ_UnderWater + + * 2.2.3-1 : + updated package version + allowing headers and m4 + +2012-05-01 SJ_UnderWater + + * 2.2.2-6 : + moved to .rc files + refactored PKGBUILD + install rc.d files + +2012-04-25 SJ_UnderWater + + * 2.2.2-5 : + init rebuild + fix dep check + fix get_pid + function relocation + +2012-04-21 SJ_UnderWater + + * 2.2.2-4 : + moved to package() + added backup + split backup + moved depends + +2012-04-08 SJ_UnderWater + + * 2.2.2-3 : + fixed extra dependencies + FHS compliance + NAMCAP checking + moved cups to optdepends + +2012-04-07 SJ_UnderWater + + * 2.2.2-2 : + added Install + changed "conflicts" with "replace" + cleaned up PKGBUILD + + * 2.2.2-1 : + added ChangeLog. + moved to split package format + bidirectional dependency-checking + moved to release package format + PKGBUILD compliance diff --git a/social/netatalk/netatalk.install b/social/netatalk/netatalk.install new file mode 100644 index 000000000..a385add10 --- /dev/null +++ b/social/netatalk/netatalk.install @@ -0,0 +1,23 @@ +post_install() { + post_upgrade +} +post_upgrade() { + if [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then + echo '>>> Detected old netatalk daemon entries in'; + echo '>>> /etc/rc.conf, please replace these with'; + echo '>>> "netatalk" before restarting!'; + else echo '>>> Add "netatalk" to your DAEMONS list in /etc/rc.conf';fi + echo '>>>'; + if [ -f /etc/avahi/services/adisk.service ] || + [ -f /etc/avahi/services/afpd.service ];then + echo '>>> Detected old netatalk service files in'; + echo '>>> /etc/avahi/services, please delete these'; + echo '>>> before restarting!';fi + if [ -f /opt/netatalk/afp_signature.conf ] || + [ -f /opt/netatalk/afp_voluuid.conf ]; then + echo '>>> Found *.conf in /opt/netatalk, please'; + echo '>>> migrate these to /etc/netatalk before restarting';fi +} +pre_remove() { + rc.d stop netatalk +} diff --git a/social/netatalk/netatalk.rc b/social/netatalk/netatalk.rc new file mode 100644 index 000000000..f14d67ee3 --- /dev/null +++ b/social/netatalk/netatalk.rc @@ -0,0 +1,44 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +NAME="Appletalk Services Daemon" +ARGS= +DAEMON=netatalk + +[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON + +PID=`get_pid $DAEMON` + +case "$1" in + start) + stat_busy "Starting $NAME" + [ -z "$PID" ] && $DAEMON $ARGS &>/dev/null + if [ $? = 0 ]; then + add_daemon $DAEMON + stat_done + else + stat_fail + exit 1 + fi + ;; + stop) + stat_busy "Stopping $NAME" + [ -n "$PID" ] && kill $PID &>/dev/null + if [ $? = 0 ]; then + rm_daemon $DAEMON + stat_done + else + stat_fail + exit 1 + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/social/nitroshare/PKGBUILD b/social/nitroshare/PKGBUILD new file mode 100644 index 000000000..7896a356e --- /dev/null +++ b/social/nitroshare/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Sid Karunaratne <sid at karunaratne dot net> +# Contributor: Nathan Osman <https://launchpad.net/~george-edison55> + +pkgname=nitroshare +pkgver=0.2 +pkgrel=2 +pkgdesc="Makes sending a file to another machine on the local network as easy as dragging-and-dropping" +arch=('i686' 'x86_64') +url="https://launchpad.net/nitroshare" +license=('GPL3') +depends=('qt' 'qjson' 'qxmlrpc') +makedepends=() +options=() +source=(https://launchpad.net/${pkgname}/${pkgver}/${pkgver}/+download/${pkgname}_${pkgver}.tar.gz nitroshare.install) +md5sums=('00f670fadf385ee2a920b67a4120295d' + '0e8cd7761d04a45d22d28ac7b98fa234') + +build () { + cd "${srcdir}/${pkgname}" + sed -i "s_target.path = /opt/extras.ubuntu.com/nitroshare_target.path = ${pkgdir}/usr/bin_g" nitroshare.pro + sed -i "s_Exec=/opt/extras.ubuntu.com/nitroshare/nitroshare_Exec=/usr/bin/${pkgname}_g" resource/other/extras-${pkgname}.desktop + qmake + make +} + +package (){ + cd "${srcdir}/${pkgname}" + make install + mkdir -p ${pkgdir}/usr/share/applications + install -Dm644 resource/other/extras-${pkgname}.desktop ${pkgdir}/usr/share/applications/ + install -Dm644 resource/images/logo.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/social/nitroshare/nitroshare.install b/social/nitroshare/nitroshare.install new file mode 100644 index 000000000..d6519a6e8 --- /dev/null +++ b/social/nitroshare/nitroshare.install @@ -0,0 +1,4 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor + update-desktop-database -q +} diff --git a/social/olsrd/PKGBUILD b/social/olsrd/PKGBUILD index dea029844..dea029844 100644..100755 --- a/social/olsrd/PKGBUILD +++ b/social/olsrd/PKGBUILD diff --git a/social/openswan/PKGBUILD b/social/openswan/PKGBUILD index b60ca8401..b60ca8401 100644..100755 --- a/social/openswan/PKGBUILD +++ b/social/openswan/PKGBUILD diff --git a/social/openswan/compile.patch b/social/openswan/compile.patch index 8ddff67f2..8ddff67f2 100644..100755 --- a/social/openswan/compile.patch +++ b/social/openswan/compile.patch diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD index f328607e7..f328607e7 100644..100755 --- a/social/opentracker/PKGBUILD +++ b/social/opentracker/PKGBUILD diff --git a/social/opentracker/license.txt b/social/opentracker/license.txt index ff1bb40f5..ff1bb40f5 100644..100755 --- a/social/opentracker/license.txt +++ b/social/opentracker/license.txt diff --git a/social/opentracker/opentracker.install b/social/opentracker/opentracker.install new file mode 100644 index 000000000..59f6f6ebe --- /dev/null +++ b/social/opentracker/opentracker.install @@ -0,0 +1,17 @@ +post_install() { + cat <<EOM + + Please be aware this package is built without accesslist support. Any + torrent announced to it will be tracked. + + If you want this features you'll have to rebuild this package. There're + instructions on the PKGBUILD. + + For more info check: http://erdgeist.org/arts/software/opentracker/ + +EOM +} + +post_upgrade() { + post_install +} diff --git a/social/poco/PKGBUILD b/social/poco/PKGBUILD index be15eea8a..be15eea8a 100644..100755 --- a/social/poco/PKGBUILD +++ b/social/poco/PKGBUILD diff --git a/social/puppet/PKGBUILD b/social/puppet/PKGBUILD index 10338bea0..10338bea0 100644..100755 --- a/social/puppet/PKGBUILD +++ b/social/puppet/PKGBUILD diff --git a/social/puppet/puppet.conf b/social/puppet/puppet.conf index 169f28b3b..169f28b3b 100644..100755 --- a/social/puppet/puppet.conf +++ b/social/puppet/puppet.conf diff --git a/social/puppet/puppet.install b/social/puppet/puppet.install index 928df566b..928df566b 100644..100755 --- a/social/puppet/puppet.install +++ b/social/puppet/puppet.install diff --git a/social/python-relatorio/PKGBUILD b/social/python-relatorio/PKGBUILD new file mode 100755 index 000000000..6255eeee5 --- /dev/null +++ b/social/python-relatorio/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Florian Walch <florian.walch@gmx.at> +# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net> +pkgname=python-relatorio +pkgver=0.5.6 +pkgrel=1 +pkgdesc="A templating library able to output odt and pdf files" +arch=('i686' 'x86_64') +url="http://relatorio.openhex.org" +license=('GPL') +depends=('python-genshi>=0.5' 'python-lxml>=1.3.6') +makedepends=('python2-distribute') +source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz") + +build() { + cd $srcdir/relatorio-$pkgver + chmod 644 relatorio.egg-info/* + python2 setup.py install --root=$pkgdir +} + + +md5sums=('944fb60fadaff451ab6ee8818de516ad') diff --git a/social/python2-cheetah/Changelog b/social/python2-cheetah/Changelog index 9acc7834a..9acc7834a 100644..100755 --- a/social/python2-cheetah/Changelog +++ b/social/python2-cheetah/Changelog diff --git a/social/python2-cheetah/PKGBUILD b/social/python2-cheetah/PKGBUILD index 34ce863a8..34ce863a8 100644..100755 --- a/social/python2-cheetah/PKGBUILD +++ b/social/python2-cheetah/PKGBUILD diff --git a/social/python2-polib/PKGBUILD b/social/python2-polib/PKGBUILD new file mode 100755 index 000000000..fc346ec97 --- /dev/null +++ b/social/python2-polib/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com> + +pkgname=python2-polib +_pkgname='polib' +pkgver=0.7.0 +pkgrel=1 +pkgdesc='A library to manipulate gettext files' +url='http://polib.readthedocs.org/en/latest/index.html' +arch=('any') +license=('MIT') +depends=('python2') + +source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz") +md5sums=('958f8f81ade7d2484edc25b3989fe247') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/social/qxmlrpc/01_build_targets.patch b/social/qxmlrpc/01_build_targets.patch new file mode 100644 index 000000000..bee6d5167 --- /dev/null +++ b/social/qxmlrpc/01_build_targets.patch @@ -0,0 +1,9 @@ +Index: qxmlrpc-0.0.svn6/qxmlrpc.pro +=================================================================== +--- qxmlrpc-0.0.svn6.orig/qxmlrpc.pro 2010-06-04 14:39:33.000000000 +0400 ++++ qxmlrpc-0.0.svn6/qxmlrpc.pro 2010-06-04 14:39:44.000000000 +0400 +@@ -1,3 +1,3 @@ + TEMPLATE = subdirs +-SUBDIRS = xmlrpc test/unit examples/client examples/server ++SUBDIRS = xmlrpc + CONFIG += ordered diff --git a/social/qxmlrpc/02_staticlib_removed.patch b/social/qxmlrpc/02_staticlib_removed.patch new file mode 100644 index 000000000..58f1d68d1 --- /dev/null +++ b/social/qxmlrpc/02_staticlib_removed.patch @@ -0,0 +1,12 @@ +Index: qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro +=================================================================== +--- qxmlrpc-0.0.svn6.orig/xmlrpc/xmlrpc.pro 2010-06-04 18:18:24.000000000 +0400 ++++ qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro 2010-06-04 18:23:23.000000000 +0400 +@@ -4,7 +4,6 @@ + win32:TARGET = ../qxmlrpc + + CONFIG += warn_on +-CONFIG += staticlib + CONFIG += debug_and_release + CONFIG += precompile_header + diff --git a/social/qxmlrpc/03_client.h_include_fix.patch b/social/qxmlrpc/03_client.h_include_fix.patch new file mode 100644 index 000000000..6f174cb95 --- /dev/null +++ b/social/qxmlrpc/03_client.h_include_fix.patch @@ -0,0 +1,13 @@ +Index: qxmlrpc-0.0.svn6/xmlrpc/client.h +=================================================================== +--- qxmlrpc-0.0.svn6.orig/xmlrpc/client.h 2010-06-04 18:18:24.000000000 +0400 ++++ qxmlrpc-0.0.svn6/xmlrpc/client.h 2010-06-04 18:20:21.000000000 +0400 +@@ -7,7 +7,7 @@ + #include <qobject.h> + #include <QHttp> + +-#include "xmlrpc/variant.h" ++#include "variant.h" + class QAuthenticator; + + namespace xmlrpc { diff --git a/social/qxmlrpc/04_do_not_link_gui.patch b/social/qxmlrpc/04_do_not_link_gui.patch new file mode 100644 index 000000000..c086d4990 --- /dev/null +++ b/social/qxmlrpc/04_do_not_link_gui.patch @@ -0,0 +1,24 @@ +Index: qxmlrpc-0.0.svn6/xmlrpc/stable.h +=================================================================== +--- qxmlrpc-0.0.svn6.orig/xmlrpc/stable.h 2010-06-04 18:23:58.000000000 +0400 ++++ qxmlrpc-0.0.svn6/xmlrpc/stable.h 2010-06-04 18:24:20.000000000 +0400 +@@ -2,7 +2,6 @@ + #ifndef STABLE_H + #define STABLE_H + #if defined(__cplusplus) and not defined(__OBJC__) +- #include <QtGui> + #include <QtXml> + #include <QtCore> + #include <QtNetwork> +Index: qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro +=================================================================== +--- qxmlrpc-0.0.svn6.orig/xmlrpc/xmlrpc.pro 2010-06-04 18:23:54.000000000 +0400 ++++ qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro 2010-06-04 18:24:12.000000000 +0400 +@@ -10,6 +10,7 @@ + DEPENDPATH += . + INCLUDEPATH += . .. + ++QT -= gui + QT += xml + QT += network + diff --git a/social/qxmlrpc/PKGBUILD b/social/qxmlrpc/PKGBUILD new file mode 100644 index 000000000..2e23c0a47 --- /dev/null +++ b/social/qxmlrpc/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Sid Karunaratne <sid at karunaratne dot net> +pkgname=qxmlrpc +pkgver=6 +pkgrel=1 +pkgdesc="a full Qt4 based implementation of XML-RPC protocol" +arch=('i686' 'x86_64') +url="https://code.google.com/p/qxmlrpc" +license=('LGPL') +depends=('qt') +makedepends=('subversion') +source=("https://repo.parabolagnulinux.org/other/$pkgname-$pkgver-$pkgrel-any.src.tar.xz"{,.sig} + "01_build_targets.patch" + "02_staticlib_removed.patch" + "03_client.h_include_fix.patch" + "04_do_not_link_gui.patch") +md5sums=("87a89cc118e816265989a87a2b3c9321" + "7f10b0f33b6d0a67136838740b4b7c72" + "7d997d9fc0f8ec08e7b0c640480eb941" + "ee1a3d2a284c93f41d3c76c163ee734d" + "c5cacf7e13b93abb3e8e223118c5abbb" + "8ff188be390bcd1966b354d7159fd0e6") + +build () { + cd "${srcdir}/${pkgname}" + msg "Starting build..." + + patch -p1 < ../01_build_targets.patch + patch -p1 < ../02_staticlib_removed.patch + patch -p1 < ../03_client.h_include_fix.patch + patch -p1 < ../04_do_not_link_gui.patch + + qmake + make +} + +package() { + install -Dm 755 "$srcdir/$pkgname/libqxmlrpc.so" "$pkgdir/usr/lib/libqxmlrpc.so" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/client.h" "$pkgdir/usr/include/qxmlrpc/client.h" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/request.h" "$pkgdir/usr/include/qxmlrpc/request.h" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/response.h" "$pkgdir/usr/include/qxmlrpc/response.h" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/server.h" "$pkgdir/usr/include/qxmlrpc/server.h" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/serverintrospection.h" "$pkgdir/usr/include/qxmlrpc/serverintrospection.h" + install -Dm 755 "$srcdir/$pkgname/xmlrpc/variant.h" "$pkgdir/usr/include/qxmlrpc/variant.h" +} diff --git a/social/qxmlrpc/SRCBUILD b/social/qxmlrpc/SRCBUILD new file mode 100644 index 000000000..b5fe17ebf --- /dev/null +++ b/social/qxmlrpc/SRCBUILD @@ -0,0 +1,30 @@ +pkgname=qxmlrpc +pkgver=6 +pkgrel=1 +pkgdesc="a full Qt4 based implementation of XML-RPC protocol" +arch=('any') +url="https://code.google.com/p/qxmlrpc" +license=('LGPL') +makedepends=('subversion') +_svntrunk="http://qxmlrpc.googlecode.com/svn/trunk/" +_svnmod="qxmlrpc" + +build() { + msg "Connecting to SVN server...." + + if [[ -d "$_svnmod/.svn" ]]; then + (cd "$_svnmod" && svn up -r "$pkgver") + else + svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod" + fi + + msg "SVN checkout done or server timeout" +} + +package() { + export PKGEXT=.src.tar.xz + export PKGDEST=${SRCDEST} + + mv ${srcdir}/${_svnmod} ${pkgdir}/ + +} diff --git a/social/ruby-headers/PKGBUILD b/social/ruby-headers/PKGBUILD index aa00d8d2c..f621772e9 100644..100755 --- a/social/ruby-headers/PKGBUILD +++ b/social/ruby-headers/PKGBUILD @@ -3,8 +3,8 @@ pkgname=ruby-headers _pkgname=ruby -pkgver=1.9.3_p0 -_pkgver=1.9.3-p0 +pkgver=1.9.3_p194 +_pkgver=1.9.3-p194 pkgrel=1 pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug." arch=('any') @@ -12,7 +12,6 @@ url="http://www.ruby-lang.org/en/" license=('GPL2' 'custom:Ruby') depends=("ruby=$pkgver") source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") -md5sums=('65401fb3194cdccd6c1175ab29b8fdb8') build() { /bin/true @@ -29,3 +28,4 @@ package() { install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } +md5sums=('2278eff4cfed3cbc0653bc73085caa34') diff --git a/social/ruby-shadow/PKGBUILD b/social/ruby-shadow/PKGBUILD index ec243aaea..ec243aaea 100644..100755 --- a/social/ruby-shadow/PKGBUILD +++ b/social/ruby-shadow/PKGBUILD diff --git a/social/seeks/PKGBUILD b/social/seeks/PKGBUILD index cdc4a798d..f686a2fc9 100644..100755 --- a/social/seeks/PKGBUILD +++ b/social/seeks/PKGBUILD @@ -1,9 +1,8 @@ -# Co-maintainer: Gitus < git at shroomrider dot com > -# Co-maintainer: Enjolras < 0enjolras0 at laposte dot net > +# Maintainer: Kete < kete at ninthfloor dot org > pkgname=seeks pkgver=0.4.1 -pkgrel=3 +pkgrel=5 pkgdesc="A social decentralized internet overlay for collaborative searches" arch=('i686' 'x86_64' 'mips64el') url="http://www.seeks-project.info/site/" diff --git a/social/seeks/conf.patch b/social/seeks/conf.patch index 93e12c311..93e12c311 100644..100755 --- a/social/seeks/conf.patch +++ b/social/seeks/conf.patch diff --git a/social/seeks/docbook2man.patch b/social/seeks/docbook2man.patch index c5de2e063..c5de2e063 100644..100755 --- a/social/seeks/docbook2man.patch +++ b/social/seeks/docbook2man.patch diff --git a/social/seeks/img_websearch.patch b/social/seeks/img_websearch.patch index 94362e2fc..94362e2fc 100644..100755 --- a/social/seeks/img_websearch.patch +++ b/social/seeks/img_websearch.patch diff --git a/social/seeks/install b/social/seeks/install index 35f383a3c..35f383a3c 100644..100755 --- a/social/seeks/install +++ b/social/seeks/install diff --git a/social/seeks/logfile.patch b/social/seeks/logfile.patch index 9f4ab9b02..9f4ab9b02 100644..100755 --- a/social/seeks/logfile.patch +++ b/social/seeks/logfile.patch diff --git a/social/seeks/seeks.conf.d b/social/seeks/seeks.conf.d index c28382aca..c28382aca 100644..100755 --- a/social/seeks/seeks.conf.d +++ b/social/seeks/seeks.conf.d diff --git a/social/seeks/seeks.install b/social/seeks/seeks.install index bf9849e78..bf9849e78 100644..100755 --- a/social/seeks/seeks.install +++ b/social/seeks/seeks.install diff --git a/social/seeks/seeks.logrotate b/social/seeks/seeks.logrotate index 98b411884..98b411884 100644..100755 --- a/social/seeks/seeks.logrotate +++ b/social/seeks/seeks.logrotate diff --git a/social/seeks/seeks.rc.d b/social/seeks/seeks.rc.d index 67de9251a..67de9251a 100644..100755 --- a/social/seeks/seeks.rc.d +++ b/social/seeks/seeks.rc.d diff --git a/social/seeks/seeksdaemon b/social/seeks/seeksdaemon index 551197d28..551197d28 100644..100755 --- a/social/seeks/seeksdaemon +++ b/social/seeks/seeksdaemon diff --git a/social/sipwitch/PKGBUILD b/social/sipwitch/PKGBUILD index 8cb84fad5..8cb84fad5 100644..100755 --- a/social/sipwitch/PKGBUILD +++ b/social/sipwitch/PKGBUILD diff --git a/social/sobby/PKGBUILD b/social/sobby/PKGBUILD index 644c74aec..644c74aec 100644..100755 --- a/social/sobby/PKGBUILD +++ b/social/sobby/PKGBUILD diff --git a/social/spectrum/PKGBUILD b/social/spectrum/PKGBUILD index 95040efb6..95040efb6 100644..100755 --- a/social/spectrum/PKGBUILD +++ b/social/spectrum/PKGBUILD diff --git a/social/spectrum/logrotate.spectrum b/social/spectrum/logrotate.spectrum index ae52ff156..ae52ff156 100644..100755 --- a/social/spectrum/logrotate.spectrum +++ b/social/spectrum/logrotate.spectrum diff --git a/social/spectrum/spectrum.install b/social/spectrum/spectrum.install index 738fc5bbe..738fc5bbe 100644..100755 --- a/social/spectrum/spectrum.install +++ b/social/spectrum/spectrum.install diff --git a/social/squirm/PKGBUILD b/social/squirm/PKGBUILD new file mode 100644 index 000000000..da3a6d372 --- /dev/null +++ b/social/squirm/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Spider.007 <archPackage@spider007.net> +# Contributor: Spider.007 <archPackage@spider007.net> +pkgname=squirm +pkgver=1.26 +pkgrel=1 +pkgdesc="Fast & configurable proxy redirector" +url="http://squirm.foote.com.au/" +source=("$url/$pkgname-$pkgver.tgz") +md5sums=('54ac1d208620ec1e4419f97315d38848') +license=('GPL2') +arch=('i686' 'x86_64' 'mips64el') + +build() { + cd $srcdir/$pkgname-$pkgver + + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver + +# make install uses a weird prefix + install -d $pkgdir/etc/squirm $pkgdir/var/log/squirm + install -Dm755 squirm $pkgdir/usr/bin/squirm + install -m644 squirm.conf.dist $pkgdir/etc/squirm/squirm.conf + install -m644 squirm.patterns.dist $pkgdir/etc/squirm/squirm.patterns + +# use absolute path files + sed -e "s,logs,/var/log/squirm,g" \ + -e "s,pattern ,& /etc/squirm/,g" \ + -i $pkgdir/etc/squirm/squirm.conf +} diff --git a/social/statusnet/PKGBUILD b/social/statusnet/PKGBUILD index 998751df5..998751df5 100644..100755 --- a/social/statusnet/PKGBUILD +++ b/social/statusnet/PKGBUILD diff --git a/social/statusnet/statusnet.install b/social/statusnet/statusnet.install index 5ec72e7c2..5ec72e7c2 100644..100755 --- a/social/statusnet/statusnet.install +++ b/social/statusnet/statusnet.install diff --git a/social/strongswan/PKGBUILD b/social/strongswan/PKGBUILD index 8c5e42885..8c5e42885 100644..100755 --- a/social/strongswan/PKGBUILD +++ b/social/strongswan/PKGBUILD diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD index 87d3415e9..87d3415e9 100644..100755 --- a/social/tinc/PKGBUILD +++ b/social/tinc/PKGBUILD diff --git a/social/tinc/tincd.conf b/social/tinc/tincd.conf index e86139b44..e86139b44 100644..100755 --- a/social/tinc/tincd.conf +++ b/social/tinc/tincd.conf diff --git a/social/tinc/tincd.rcd b/social/tinc/tincd.rcd index 16f39f8ca..16f39f8ca 100644..100755 --- a/social/tinc/tincd.rcd +++ b/social/tinc/tincd.rcd diff --git a/social/tokyocabinet/PKGBUILD b/social/tokyocabinet/PKGBUILD index 6e9b7969d..6e9b7969d 100644..100755 --- a/social/tokyocabinet/PKGBUILD +++ b/social/tokyocabinet/PKGBUILD diff --git a/social/tomb/PKGBUILD b/social/tomb/PKGBUILD index a0ac0334f..a0ac0334f 100644..100755 --- a/social/tomb/PKGBUILD +++ b/social/tomb/PKGBUILD diff --git a/social/tomb/tomb.install b/social/tomb/tomb.install index c1ee8b339..c1ee8b339 100644..100755 --- a/social/tomb/tomb.install +++ b/social/tomb/tomb.install diff --git a/social/tomoyo-tools/PKGBUILD b/social/tomoyo-tools/PKGBUILD index aacd1dbe4..aacd1dbe4 100644..100755 --- a/social/tomoyo-tools/PKGBUILD +++ b/social/tomoyo-tools/PKGBUILD diff --git a/social/tomoyo-tools/tomoyo-tools.install b/social/tomoyo-tools/tomoyo-tools.install index 6fb5e16d2..6fb5e16d2 100644..100755 --- a/social/tomoyo-tools/tomoyo-tools.install +++ b/social/tomoyo-tools/tomoyo-tools.install diff --git a/social/trytond/PKGBUILD b/social/trytond/PKGBUILD new file mode 100755 index 000000000..237c599f9 --- /dev/null +++ b/social/trytond/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Robin Baumgartner <robin@baumgartners.ch> +pkgname=trytond +pkgver=2.4.0 +_pkgdir=2.4 +pkgrel=1 +pkgdesc="A three-tiers high-level general purpose application platform (server application)" +arch=('any') +url="http://www.tryton.org/" +license=('GPL3') +depends=('python2>=2.4' 'python-lxml' 'python-egenix-mx-base' 'python-relatorio>=0.2.0' 'python-genshi>=0.5' 'python2-polib') +optdepends=('python-psycopg2: support for PostgreSQL database' + 'python-pywebdav: support for WebDAV feature' + 'pydot: support for displaying workflow graphs' + 'python-pytz: timezone support' + 'pyopenssl: support for SSL connection') +makedepends=('python2-distribute') +install="trytond.install" +source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" + 'trytond.install' + 'trytond.rc') +md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4' + '768e68c01cb5913e36ea89c67fc98038' + '3ca6aff9b30a52bcf159be7ca630fb6e') + +build() { + cd $srcdir/$pkgname-$pkgver + python2 setup.py install --root=$pkgdir + install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf + install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond +} diff --git a/social/trytond/trytond.install b/social/trytond/trytond.install new file mode 100755 index 000000000..46d6daaba --- /dev/null +++ b/social/trytond/trytond.install @@ -0,0 +1,20 @@ +post_install() { + echo + echo "Adding tryton group... " + groupadd tryton + echo + echo "Adding tryton user... " + useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton + + echo "Note:" + echo "==> Please don't forget to configure your PostgreSQL database for the program." +} + +post_remove() { + echo "Removing tryton system user... " + userdel tryton && echo "trytond [done]" +} + +op=$1 +shift +[ "$(type -t "$op")" = "function" ] && $op "$@" diff --git a/social/trytond/trytond.rc b/social/trytond/trytond.rc new file mode 100755 index 000000000..a93172a58 --- /dev/null +++ b/social/trytond/trytond.rc @@ -0,0 +1,52 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond` +case "$1" in + start) + stat_busy "Starting Tryton server" + # handling log file + if [ ! -e /var/log/trytond/trytond.log ]; then + mkdir -p /var/log/trytond + touch /var/log/trytond/trytond.log + chown -R trytond:trytond /var/log/trytond + fi + # starting the daemon + if [ -z "$PID" ]; then + su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \ + --logfile=/var/log/trytond/trytond.log &> /dev/null &" + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon trytond + stat_done + fi + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping Tryton server" + if [ ! -z "$PID" ]; then + if [ $? -gt 0 ]; then + stat_fail + else + kill $PID &> /dev/null & + rm_daemon trytond + stat_done + fi + else + stat_fail + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/social/uci/PKGBUILD b/social/uci/PKGBUILD index d306b77bd..d306b77bd 100644..100755 --- a/social/uci/PKGBUILD +++ b/social/uci/PKGBUILD diff --git a/social/ucommon/PKGBUILD b/social/ucommon/PKGBUILD index 240fcc3db..240fcc3db 100644..100755 --- a/social/ucommon/PKGBUILD +++ b/social/ucommon/PKGBUILD |