diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /social |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'social')
-rw-r--r-- | social/bitcoin-daemon/PKGBUILD | 55 | ||||
-rw-r--r-- | social/bitcoin-daemon/bitcoin-daemon.install | 18 | ||||
-rw-r--r-- | social/bitcoin-daemon/makefile.archlinux | 72 | ||||
-rw-r--r-- | social/bitcoin-daemon/rc.bitcoind | 35 | ||||
-rw-r--r-- | social/diaspora-git/PKGBUILD | 100 | ||||
-rw-r--r-- | social/diaspora-git/diaspora.bin | 3 | ||||
-rw-r--r-- | social/diaspora-git/diaspora.install | 29 | ||||
-rw-r--r-- | social/diaspora-git/diaspora.logrotate | 5 | ||||
-rw-r--r-- | social/diaspora-git/diaspora.pam | 3 | ||||
-rw-r--r-- | social/diaspora-git/diaspora.rc | 65 | ||||
-rw-r--r-- | social/haveged/PKGBUILD | 28 | ||||
-rw-r--r-- | social/haveged/haveged | 44 | ||||
-rw-r--r-- | social/inadyn-opendns/PKGBUILD | 32 | ||||
-rw-r--r-- | social/inadyn-opendns/inadyn-opendns.install | 17 | ||||
-rw-r--r-- | social/inadyn-opendns/inadyn.rc-script | 38 | ||||
-rw-r--r-- | social/liblockfile/PKGBUILD | 30 | ||||
-rw-r--r-- | social/lockfile-progs/PKGBUILD | 26 | ||||
-rw-r--r-- | social/monkeysphere/PKGBUILD | 22 | ||||
-rw-r--r-- | social/monkeysphere/monkeysphere.install | 40 | ||||
-rw-r--r-- | social/ruby-headers/PKGBUILD | 29 | ||||
-rw-r--r-- | social/statusnet/PKGBUILD | 1298 | ||||
-rw-r--r-- | social/statusnet/statusnet.install | 13 |
22 files changed, 2002 insertions, 0 deletions
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD new file mode 100644 index 000000000..4728160d0 --- /dev/null +++ b/social/bitcoin-daemon/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: fauno <fauno@kiwwwi.com.ar> +# Contributor: Artefact2 <artefact2@gmail.com> +# Contributor: shahid <helllamer@gmail.com> + +pkgname=bitcoin-daemon +_pkgname=bitcoin +pkgver=0.3.20.2 +_bcver=0.3.20 +pkgrel=1 +pkgdesc="Bitcoin is a peer-to-peer network based digital currency." +arch=('i686' 'x86_64') +url="http://www.bitcoin.org/" +depends=('expat' 'boost-libs>=1.43') +makedepends=('boost') +conflicts=('bitcoin-bin' 'bitcoin') +license=('MIT') +install="bitcoin-daemon.install" +source=(http://ufpr.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-$_bcver/bitcoin-$pkgver-linux.tar.gz + makefile.archlinux + bitcoin-daemon.install + rc.bitcoind) +md5sums=('f527a2669f4cfe82abf1fe9bea070c64' + '8e2ff558c2538e53c177513ad7d8b9a5' + 'a388684057de2bb543cb7f795dc693cf' + '4a9ab4997487bb5f8e3c6b1d580045af') + +build() { + cd $srcdir/${_pkgname}-${pkgver}/src + + # copy correct makefile to src dir + cp $srcdir/makefile.archlinux Makefile + + # fixes... + mkdir -p obj/nogui 2>/dev/null + rm -f cryptopp/obj/* + + # to build (single-threaded make due to OOM issues) + make bitcoind +} + +package() { + cd $srcdir/${_pkgname}-${pkgver} + mkdir -p $pkgdir/{usr/bin,usr/share/licenses/$pkgname,etc/rc.d,var/lib/$pkgname} + + install -D -m755 ./src/bitcoind $pkgdir/usr/bin/ + install -D -m755 $srcdir/rc.bitcoind $pkgdir/etc/rc.d/bitcoind + install -m 644 ./license.txt $pkgdir/usr/share/licenses/$pkgname/ + + # strip shit from executables + find $pkgdir/usr/bin/ -type f | xargs -L1 strip + + # the bitcoin data directory should not readable by others (wallet is sensitive data) + chown -R 8333:8333 $pkgdir/var/lib/$pkgname + chmod -R 700 $pkgdir/var/lib/$pkgname +} diff --git a/social/bitcoin-daemon/bitcoin-daemon.install b/social/bitcoin-daemon/bitcoin-daemon.install new file mode 100644 index 000000000..2eea98e2c --- /dev/null +++ b/social/bitcoin-daemon/bitcoin-daemon.install @@ -0,0 +1,18 @@ +post_install() { + echo "==> Creating the bitcoin user…" + groupadd -g 8333 bitcoin + useradd -d /var/lib/bitcoin-daemon -g 8333 -u 8333 -s /bin/false -N bitcoin + pw="$RANDOM$RANDOM$RANDOM" + echo "==> Setting the default RPC password to $pw" + echo "rpcpassword=$pw" >> /var/lib/bitcoin-daemon/bitcoin.conf + chown 8333:8333 /var/lib/bitcoin-daemon/bitcoin.conf + chmod 400 /var/lib/bitcoin-daemon/bitcoin.conf + echo "==> You can add bitcoind to your DAEMONS array in rc.conf." +} + +post_remove() { + echo "==> Deleting the bitcoin user…" + groupdel bitcoin + userdel bitcoin + echo "==> Your configuration file and wallet is still in /opt/bitcoin-daemon." +} diff --git a/social/bitcoin-daemon/makefile.archlinux b/social/bitcoin-daemon/makefile.archlinux new file mode 100644 index 000000000..062a29d82 --- /dev/null +++ b/social/bitcoin-daemon/makefile.archlinux @@ -0,0 +1,72 @@ +# Copyright (c) 2009-2010 Satoshi Nakamoto +# Rewritten for Archlinux by shahid +# Distributed under the MIT/X11 software license, see the accompanying +# file license.txt or http://www.opensource.org/licenses/mit-license.php. + + +INCLUDEPATHS= \ + -I"/usr/include" \ + +LIBPATHS= \ + -L"/usr/lib" \ + -L"/usr/local/lib" + +LIBS= \ + -Wl,-Bstatic \ + -l boost_system \ + -l boost_filesystem \ + -l boost_program_options \ + -l boost_thread \ + -l db_cxx \ + -l crypto \ + -Wl,-Bdynamic \ + -l gthread-2.0 \ + ${LDFLAGS} + +DEBUGFLAGS=-g -D__WXDEBUG__ +CCFLAGS=${CXXFLAGS} -Wno-invalid-offsetof -Wformat $(WXDEFS) $(INCLUDEPATHS) +HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \ + script.h db.h net.h irc.h main.h rpc.h uibase.h ui.h noui.h init.h + +OBJS= \ + obj/util.o \ + obj/script.o \ + obj/db.o \ + obj/net.o \ + obj/irc.o \ + obj/main.o \ + obj/rpc.o \ + obj/init.o \ + cryptopp/obj/sha.o \ + cryptopp/obj/cpu.o + + +all: bitcoin + + +headers.h.gch: headers.h $(HEADERS) + g++ -c $(CCFLAGS) -DGUI -o $@ $< + +obj/%.o: %.cpp $(HEADERS) headers.h.gch + g++ -c $(CCFLAGS) -DGUI -o $@ $< + +# -DCRYPTOPP_DISABLE_SSE2 +cryptopp/obj/%.o: cryptopp/%.cpp + g++ -c $(CCFLAGS) -O3 -o $@ $< + +bitcoin: $(OBJS) obj/ui.o obj/uibase.o + g++ $(CCFLAGS) -o $@ $(LIBPATHS) $^ $(WXLIBS) $(LIBS) + + +obj/nogui/%.o: %.cpp $(HEADERS) + g++ -c $(CCFLAGS) -o $@ $< + +bitcoind: $(OBJS:obj/%=obj/nogui/%) + g++ $(CCFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) -ldl -lz + + +clean: + -rm -f obj/*.o + -rm -f obj/nogui/*.o + -rm -f cryptopp/obj/*.o + -rm -f headers.h.gch diff --git a/social/bitcoin-daemon/rc.bitcoind b/social/bitcoin-daemon/rc.bitcoind new file mode 100644 index 000000000..98d713ffd --- /dev/null +++ b/social/bitcoin-daemon/rc.bitcoind @@ -0,0 +1,35 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting bitcoind" + su -s /bin/bash -c "nohup bitcoind -gen -datadir=/var/lib/bitcoin-daemon &" bitcoin > /dev/null 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon bitcoind + stat_done + fi + ;; + stop) + stat_busy "Stopping bitcoind" + su -s /bin/bash -c "bitcoind -datadir=/var/lib/bitcoin-daemon stop" bitcoin &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon bitcoind + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/social/diaspora-git/PKGBUILD b/social/diaspora-git/PKGBUILD new file mode 100644 index 000000000..52a6b990e --- /dev/null +++ b/social/diaspora-git/PKGBUILD @@ -0,0 +1,100 @@ +# Maintainer: fauno <fauno@kiwwwi.com.ar> +# Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com> +# Contributor: Splashy <splash at open-web dot fr> + +# After installing, see the Diaspora wiki page for more information: +# https://wiki.archlinux.org/index.php/Diaspora + +pkgname=diaspora-git +pkgver=20110208 +pkgrel=1 +pkgdesc="A privacy aware, personally controlled, do-it-all, open source social network" +arch=('i686' 'x86_64') +url="http://www.joindiaspora.com/" +license=('AGPL3') +depends=('ruby' 'mysql-ruby' 'redis' 'imagemagick' 'libxslt') +makedepends=('git' 'ruby-headers') +install=diaspora.install +source=('diaspora.bin' + 'diaspora.rc' + 'diaspora.logrotate' + 'diaspora.pam') + +_gitroot="http://github.com/diaspora/diaspora.git" +_gitname="diaspora" + +build() { + cd "$srcdir" + + msg "Connecting to the Git server..." + + if [[ -d $_gitname ]] ; then + pushd $_gitname + git pull origin + msg "The local files are updated." + popd + else + git clone $_gitroot + msg "Git clone done." + fi + + msg "Start making..." + + [[ -d $_gitname-build ]] && rm -fr $_gitname-build + git clone $_gitname $_gitname-build + + # Recover gems cache + rm -fr $_gitname-gems + mkdir -p $_gitname-gems + [[ -d cache ]] && mv cache $_gitname-gems + +# Include all gems + export GEM_HOME="$srcdir/$_gitname-gems" + export GEM_PATH="$srcdir/$_gitname-gems" + export PATH="${PATH}:${GEM_PATH}/bin" + + gem install bundler + + # Patch ruby_core_source to not install the headers in the system + # Remove this if you are behind a proxy and install the ruby-headers package instead +# gem install ruby_core_source +# sed -i "s@^ dest_dir.*@ dest_dir = \"$srcdir/rubyhdrs/\" + ruby_dir@" \ +# $_gitname-gems/gems/ruby_core_source*/lib/ruby_core_source.rb + + pushd $_gitname-build + bundle install --path vendor + + # We make this now because we do not install the git history + tar czf public/source.tar.gz `git ls-tree -r master | awk '{print $4}'` + + rm -fr .git + popd + + # Keep the gems cache + mv $_gitname-gems/cache "$srcdir" +} + +package() { + cd "$srcdir" + + usrdir="$pkgdir/usr/share/webapps" + + install -d "$usrdir" + cp -r $_gitname-build "$usrdir/$_gitname" + #cp -r $_gitname-gems "$usrdir/" + find "$usrdir/$_gitname-gems" \ + -type d -name ".git" -exec rm -fr '{}' \; &>/dev/null || true + + install -Dm755 $_gitname.bin "$pkgdir/usr/bin/$_gitname" + install -Dm755 $_gitname.rc "$pkgdir/etc/rc.d/$_gitname" + install -Dm644 $_gitname.logrotate "$pkgdir/etc/logrotate.d/$_gitname" + install -Dm644 $_gitname.pam "$pkgdir/etc/pam.d/$_gitname" + + install -d $pkgdir/usr/share/licenses/$_gitname/ + install -Dm644 ${srcdir}/$_gitname-build/{AUTHORS,COPYRIGHT,GNU-AGPL-3.0} \ + $pkgdir/usr/share/licenses/$_gitname/ +} +md5sums=('7e7402127f9a05bc58aff0adc5057d1c' + '7bffaaee41b515247ba19a19c77dc5bf' + '60f6b3972c73cbc6b1c9ab87c88fb655' + '96f82c38f3f540b53f3e5144900acf17') diff --git a/social/diaspora-git/diaspora.bin b/social/diaspora-git/diaspora.bin new file mode 100644 index 000000000..d18a40014 --- /dev/null +++ b/social/diaspora-git/diaspora.bin @@ -0,0 +1,3 @@ +cd /usr/share/webapps/diaspora +export GEM_HOME=/usr/share/webapps/diaspora-gems/ +./script/server &>>/var/log/diaspora.log diff --git a/social/diaspora-git/diaspora.install b/social/diaspora-git/diaspora.install new file mode 100644 index 000000000..faf2cb78f --- /dev/null +++ b/social/diaspora-git/diaspora.install @@ -0,0 +1,29 @@ + +dusr=diaspora +dhome=/usr/share/webapps/diaspora +dgems=/usr/share/webapps/diaspora-gems +dlog=/var/log/diaspora.log + +post_install() { + getent passwd $dusr &>/dev/null || useradd -r -d $dhome -s /bin/bash $dusr &>/dev/null + chown -R $dusr:$dusr $dhome $dgems &>/dev/null + [[ -f $dlog ]] && chown $dusr:$dusr $dlog +} + +pre_upgrade(){ + etc/rc.d/diaspora stop &>/dev/null + return 0 +} + +post_upgrade(){ + post_install $1 +} + +pre_remove(){ + pre_upgrade $1 +} + +post_remove(){ + getent passwd $dusr &>/dev/null && userdel -f $dusr + return 0 +} diff --git a/social/diaspora-git/diaspora.logrotate b/social/diaspora-git/diaspora.logrotate new file mode 100644 index 000000000..bb5564a79 --- /dev/null +++ b/social/diaspora-git/diaspora.logrotate @@ -0,0 +1,5 @@ +/var/log/diaspora.log { + notifempty + copytruncate + missingok +} diff --git a/social/diaspora-git/diaspora.pam b/social/diaspora-git/diaspora.pam new file mode 100644 index 000000000..53724d1f8 --- /dev/null +++ b/social/diaspora-git/diaspora.pam @@ -0,0 +1,3 @@ +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so diff --git a/social/diaspora-git/diaspora.rc b/social/diaspora-git/diaspora.rc new file mode 100644 index 000000000..bd79237ee --- /dev/null +++ b/social/diaspora-git/diaspora.rc @@ -0,0 +1,65 @@ +#!/bin/bash + +daemon_name=diaspora +dusr=diaspora + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pgrep -u $daemon_name` + +case "$1" in + start) + #Check if mysqld and redis are running, start them if not + ck_daemon mysqld && /etc/rc.d/mysqld start + ck_daemon redis && /etc/rc.d/redis start + + if [ ! -e /var/log/$daemon_name.log ]; then + touch /var/log/$daemon_name.log + chown $dusr:$dusr /var/log/$daemon_name.log + fi + + stat_busy "Starting $daemon_name daemon" + [ -z "$PID" ] && /bin/su - $dusr -c "/usr/bin/$daemon_name &" + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + add_daemon $daemon_name + stat_done + fi + ;; + + stop) + stat_busy "Stopping $daemon_name daemon" + kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + while [ ! -z "$(pgrep -u $daemon_name)" ]; do + sleep 1; + done + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + status) + stat_busy "Checking $daemon_name status" + ck_status $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|restart|status}" +esac + +exit 0 + +# vim: syntax=sh diff --git a/social/haveged/PKGBUILD b/social/haveged/PKGBUILD new file mode 100644 index 000000000..804a22199 --- /dev/null +++ b/social/haveged/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: pootzko <pootzko@gmail.com> +# Contributor: kfgz <kfgz@interia.pl> + +pkgname=haveged +pkgver=1.0 +pkgrel=1 +pkgdesc="A simple entropy daemon." +arch=('i686' 'x86_64') +url="http://www.issihosts.com/haveged" +license="GPL" +depends=() +source=(${url}/${pkgname}-${pkgver}.tar.gz + haveged) +md5sums=('72df03658cafac35e087fb75f6d4100d' + '264b725be5271288b40f363d7cfc6b68') + + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/etc/init.d + cd ${srcdir} + install -D -m755 haveged ${pkgdir}/etc/rc.d/haveged +} + + diff --git a/social/haveged/haveged b/social/haveged/haveged new file mode 100644 index 000000000..c0e13b40d --- /dev/null +++ b/social/haveged/haveged @@ -0,0 +1,44 @@ +#!/bin/bash +## +# chkconfig: 2345 75 25 +# description: havege entropy daemon +# +# source function library +. /etc/rc.conf +. /etc/rc.d/functions + +RETVAL=0 +prog="haveged" + +case "$1" in +start) + stat_busy $"Starting $prog" + /usr/sbin/$prog -w 1024 -v 1 + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon $prog + stat_done + fi + ;; + +stop) + stat_busy $"Stopping $prog" + kill `cat /var/run/$prog.pid` + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon $prog + stat_done + rm -f /var/lock/$prog + fi + ;; + +restart) + $0 stop + $0 start + ;; + +*) + echo "usage: $prog [start|stop|restart]" +esac diff --git a/social/inadyn-opendns/PKGBUILD b/social/inadyn-opendns/PKGBUILD new file mode 100644 index 000000000..75e8dc1ae --- /dev/null +++ b/social/inadyn-opendns/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Bug <Bug2000@gmail.com> +# Maintainer: Bug <Bug2000@gmail.com> +pkgname=inadyn-opendns +pkgver=1.99 +pkgrel=3 +pkgdesc="Simple dynamic DNS client with SSL support" +arch=('i686') +url="http://www.opendns.com/account/dynamic_dns/downloads" +license=('GPL') +makedepends=('unzip') +depends=('curl') +conflicts=('inadyn') +provides=('inadyn') +backup=('etc/inadyn.conf') +install=('inadyn-opendns.install') +source=("http://www.opendns.com/support/ddns_files/inadyn.source.v$pkgver.zip" + 'inadyn.rc-script') +md5sums=('0f2cf9c3ea3482c03e1c42f8480f1c55' + '73c61f9939546c28119242a1e12ffcff') + +build() { + cd "$srcdir/inadyn.source.v$pkgver" + + make || return 1 + + install -Dm755 bin/linux/inadyn $pkgdir/usr/sbin/inadyn + install -Dm644 man/inadyn.8 $pkgdir/usr/share/man/man8/inadyn.8 + install -Dm644 man/inadyn.conf.5 $pkgdir/usr/share/man/man5/inadyn.conf.5 + install -Dm644 readme.html $pkgdir/usr/share/doc/inadyn/readme.html + install -Dm755 $srcdir/inadyn.rc-script $pkgdir/etc/rc.d/inadyn + install -Dm644 inadyn.conf $pkgdir/etc/inadyn.conf +} diff --git a/social/inadyn-opendns/inadyn-opendns.install b/social/inadyn-opendns/inadyn-opendns.install new file mode 100644 index 000000000..e1a842430 --- /dev/null +++ b/social/inadyn-opendns/inadyn-opendns.install @@ -0,0 +1,17 @@ +post_install() { +/bin/true +echo Please remember to change the /etc/inadyn.conf file for your settings. +} + +post_upgrade() { +/bin/true +} + +pre_remove() { +/bin/true +} + +op=$1 +shift + +$op "$@"
\ No newline at end of file diff --git a/social/inadyn-opendns/inadyn.rc-script b/social/inadyn-opendns/inadyn.rc-script new file mode 100644 index 000000000..2ee29d59e --- /dev/null +++ b/social/inadyn-opendns/inadyn.rc-script @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/inadyn` +case "$1" in + start) + stat_busy "Starting INADYN Daemon" + [ -z "$PID" ] && /usr/sbin/inadyn --background --input_file /etc/inadyn.conf >>/var/log/inadyn 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + PID=`pidof -o %PPID /usr/sbin/inadyn` + echo $PID >/var/run/inadyn.pid + add_daemon inadyn + stat_done + fi + ;; + stop) + stat_busy "Stopping INADYN Daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon inadyn + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 + diff --git a/social/liblockfile/PKGBUILD b/social/liblockfile/PKGBUILD new file mode 100644 index 000000000..e3428763c --- /dev/null +++ b/social/liblockfile/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> + +pkgname=liblockfile +pkgver=1.08_4 +pkgrel=1 +pkgdesc="a library with NFS-safe locking functions" +arch=('i686' 'x86_64') +license=('GPL') +url="http://packages.debian.org/unstable/libs/liblockfile1" +depends=('glibc') +makedepends=() +source=(http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_1.08.orig.tar.gz + http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${pkgver/_/-}.debian.tar.bz2) + +build() { + cd $startdir/src/$pkgname-1.08 + + for p in `cat ../debian/patches/series` ; do + patch -p1 < ../debian/patches/$p + done + + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + + mkdir -p $startdir/pkg/usr/{lib,bin,include,share/man/man1,share/man/man3} + make install prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man || return 1 +} + +md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e' + '50c0c049d2838704f5720f5fd9eaddac') diff --git a/social/lockfile-progs/PKGBUILD b/social/lockfile-progs/PKGBUILD new file mode 100644 index 000000000..57d833952 --- /dev/null +++ b/social/lockfile-progs/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> + +pkgname=lockfile-progs +pkgver=0.1.15 +pkgrel=1 +pkgdesc="programs for locking and unlocking files and mailboxes" +arch=('i686' 'x86_64') +license=('GPL') +url="http://packages.debian.org/unstable/misc/lockfile-progs" +depends=('glibc') +makedepends=('liblockfile') +source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz) + +build() { + cd $startdir/src/sid + + make || return 1 + + mkdir -p $startdir/pkg/usr/bin + install -s bin/* $startdir/pkg/usr/bin + + mkdir -p $startdir/pkg/usr/share/man/man1 + install man/*.1 $startdir/pkg/usr/share/man/man1 +} + +md5sums=('abfcda83a1868073673f4d78066b8f8a') diff --git a/social/monkeysphere/PKGBUILD b/social/monkeysphere/PKGBUILD new file mode 100644 index 000000000..c804b8409 --- /dev/null +++ b/social/monkeysphere/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: fauno <fauno@kiwwwi.com.ar> +# Based on monkeysphere-git from +# Contributor: Olivier Mehani <shtrom-arch@ssji.net> +# $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $ +pkgname=monkeysphere +pkgver=0.35 +pkgrel=1 +pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" +arch=('i686' 'x86_64') +url="http://web.monkeysphere.info/" +license=('GPL3') +depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1') +source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz) +install=monkeysphere.install +md5sums=('481ac14c9fdef0ccd1944c593bd4f517') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + mkdir -p $pkgdir/var/lib/monkeysphere +} diff --git a/social/monkeysphere/monkeysphere.install b/social/monkeysphere/monkeysphere.install new file mode 100644 index 000000000..cc31e728d --- /dev/null +++ b/social/monkeysphere/monkeysphere.install @@ -0,0 +1,40 @@ +#!/bin/sh +# $Id: monkeysphere.install 264 2010-11-10 00:57:53Z shtrom $ +# vim:set ts=2 sw=2 et: + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + echo ">>> Creating monkeysphere user and group and setting permissions..." + getent group monkeysphere >/dev/null || usr/sbin/groupadd monkeysphere + getent passwd monkeysphere >/dev/null || usr/sbin/useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere + chown monkeysphere:monkeysphere /var/lib/monkeysphere +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + usr/sbin/userdel monkeysphere &>/dev/null + (getent group monkeysphere >/dev/null && usr/sbin/groupdel monkeysphere &>/dev/null) || /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + diff --git a/social/ruby-headers/PKGBUILD b/social/ruby-headers/PKGBUILD new file mode 100644 index 000000000..b7ef76edc --- /dev/null +++ b/social/ruby-headers/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com> + +pkgname=ruby-headers +_pkgname=ruby +pkgver=1.9.2_p136 +_pkgver=1.9.2-p136 +pkgrel=1 +pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug." +arch=('any') +url="http://www.ruby-lang.org/en/" +license=('custom') +depends=('ruby') +source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") +md5sums=('52958d35d1b437f5d9d225690de94c13') + +build() { + /bin/true +} + +package() { + cd "$srcdir/$_pkgname-$_pkgver" + + # Just to make sure, since currently we have /usr/include/ruby-1.9.1 for ruby 1.9.2 + _hdrdir=`ruby -e "require 'rbconfig'; puts Config::CONFIG['rubyhdrdir']"` + + install -d "$pkgdir$_hdrdir/$_pkgname-$_pkgver" + install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/social/statusnet/PKGBUILD b/social/statusnet/PKGBUILD new file mode 100644 index 000000000..7aa359e38 --- /dev/null +++ b/social/statusnet/PKGBUILD @@ -0,0 +1,1298 @@ +# Contributor: fauno <fauno@kiwwwi.com.ar> +pkgbase=statusnet +pkgname=('statusnet-base' +'statusnet-plugins-piwikanalytics' +'statusnet-plugins-groupprivatemessage' +'statusnet-plugins-subscriptionthrottle' 'statusnet-plugins-mollom' +'statusnet-plugins-noticetitle' 'statusnet-plugins-googleanalytics' +'statusnet-plugins-groupfavorited' 'statusnet-plugins-simpleurl' +'statusnet-plugins-modhelper' 'statusnet-plugins-meteor' +'statusnet-plugins-newmenu' 'statusnet-plugins-memcached' +'statusnet-plugins-ldapauthorization' 'statusnet-plugins-lilurl' +'statusnet-plugins-template' 'statusnet-plugins-openx' +'statusnet-plugins-sharenotice' 'statusnet-plugins-logfilter' +'statusnet-plugins-spotify' 'statusnet-plugins-adsense' +'statusnet-plugins-postdebug' 'statusnet-plugins-inprocesscache' +'statusnet-plugins-blacklist' 'statusnet-plugins-linkpreview' +'statusnet-plugins-realtime' 'statusnet-plugins-openexternallinktarget' +'statusnet-plugins-diskcache' 'statusnet-plugins-autosandbox' +'statusnet-plugins-linkback' 'statusnet-plugins-apilogger' +'statusnet-plugins-autocomplete' 'statusnet-plugins-wikihashtags' +'statusnet-plugins-imap' 'statusnet-plugins-anonymousfave' +'statusnet-plugins-sample' 'statusnet-plugins-memcache' +'statusnet-plugins-ostatus' 'statusnet-plugins-tabfocus' +'statusnet-plugins-ldapcommon' 'statusnet-plugins-mapstraction' +'statusnet-plugins-userlimit' 'statusnet-plugins-echo' +'statusnet-plugins-tinymce' 'statusnet-plugins-requirevalidatedemail' +'statusnet-plugins-modplus' 'statusnet-plugins-enjit' 'statusnet-plugins-apc' +'statusnet-plugins-cachelog' 'statusnet-plugins-followeveryone' +'statusnet-plugins-facebookbridge' 'statusnet-plugins-emailsummary' +'statusnet-plugins-orbited' 'statusnet-plugins-urlshortener' +'statusnet-plugins-ldapauthentication' 'statusnet-plugins-openid' +'statusnet-plugins-sqlprofile' 'statusnet-plugins-directiondetector' +'statusnet-plugins-twitterbridge' 'statusnet-plugins-geonames' +'statusnet-plugins-extendedprofile' 'statusnet-plugins-wikihowprofile' +'statusnet-plugins-blankad' 'statusnet-plugins-clientsideshorten' +'statusnet-plugins-forcegroup' 'statusnet-plugins-emailauthentication' +'statusnet-plugins-comet' 'statusnet-plugins-recaptcha' +'statusnet-plugins-registerthrottle' 'statusnet-plugins-mobileprofile' +'statusnet-plugins-ptiturl' 'statusnet-plugins-submirror' +'statusnet-plugins-gravatar' 'statusnet-plugins-sphinxsearch' +'statusnet-plugins-geourl' 'statusnet-plugins-infinitescroll' +'statusnet-plugins-slicedfavorites' 'statusnet-plugins-disqus' +'statusnet-plugins-minify' 'statusnet-plugins-tighturl' +'statusnet-plugins-yammerimport' 'statusnet-plugins-bitlyurl' +'statusnet-plugins-awesomeness' 'statusnet-plugins-userflag' +'statusnet-plugins-blogspamnet' +'statusnet-plugins-reverseusernameauthentication' 'statusnet-plugins-sitemap' +'statusnet-plugins-mobile' 'statusnet-plugins-poweredbystatusnet' +'statusnet-plugins-bookmark' 'statusnet-plugins-firephp' +'statusnet-plugins-xcache' 'statusnet-plugins-rsscloud' +'statusnet-plugins-casauthentication' 'statusnet-i18n-nn' +'statusnet-i18n-af' 'statusnet-i18n-cs' 'statusnet-i18n-mk' 'statusnet-i18n-ml' +'statusnet-i18n-hsb' 'statusnet-i18n-pl' 'statusnet-i18n-he' +'statusnet-i18n-en_gb' 'statusnet-i18n-pt' 'statusnet-i18n-tr' +'statusnet-i18n-ja' 'statusnet-i18n-ru' 'statusnet-i18n-uk' 'statusnet-i18n-fi' +'statusnet-i18n-ka' 'statusnet-i18n-bg' 'statusnet-i18n-de' 'statusnet-i18n-hu' +'statusnet-i18n-ar' 'statusnet-i18n-te' 'statusnet-i18n-el' 'statusnet-i18n-ko' +'statusnet-i18n-is' 'statusnet-i18n-da' 'statusnet-i18n-it' +'statusnet-i18n-arz' 'statusnet-i18n-gl' 'statusnet-i18n-fa' +'statusnet-i18n-ca' 'statusnet-i18n-fr' 'statusnet-i18n-en' +'statusnet-i18n-fur' 'statusnet-i18n-br' 'statusnet-i18n-zh_tw' +'statusnet-i18n-eo' 'statusnet-i18n-nl' 'statusnet-i18n-nb' 'statusnet-i18n-es' +'statusnet-i18n-vi' 'statusnet-i18n-pt_br' 'statusnet-i18n-ga' +'statusnet-i18n-ia' 'statusnet-i18n-sv' 'statusnet-i18n-zh_cn') +pkgver=0.9.7 +pkgrel=1 +pkgdesc="StatusNet is a Free and Open Source microblogging platform." +arch=('any') +url="http://status.net" +license=('AGPL') +groups=('social-web') +depends=('php>=5.2.3' 'mysql>=5' 'php-gd' 'php-curl' 'php-gmp') +provides=() +options=() +source=("http://status.net/${pkgbase}-${pkgver}.tar.gz" + statusnet.install) +install=statusnet.install +md5sums=('321674f47934e62ff4bd94b80d9d9ba0' + '24991580625ec177c144ed5acdbe6dbc') + +build() { + /bin/true +} + +package_statusnet-base() { + provides=('statusnet') + optdepends=('memcache: for caching database queries' + 'php-xcache: for accelerating PHP code execution' + 'php-ldap: for the LDAP plugin' + 'statusnet-plugins-ostatus: for federation') + + cd "$srcdir/$pkgbase-${pkgver}" + + etc_dir="${pkgdir}/etc/webapps/${pkgbase}" + usr_dir="${pkgdir}/usr/share/webapps/${pkgbase}" + + install -d ${usr_dir} + install -d ${etc_dir} + install -d ${pkgdir}/usr/share/doc/${pkgbase}/ + install -d ${pkgdir}/usr/share/licenses/${pkgbase} + + install -m644 ./{config.php,htaccess}.sample \ + ${pkgdir}/usr/share/doc/${pkgbase}/ + + install -m644 ./{README,EVENTS.txt,lighttpd.conf.example} \ + ${pkgdir}/usr/share/doc/${pkgbase}/ + + install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgbase}/ + + rm -f *.sample README COPYING README EVENTS.txt *.example + + cp -ra * ${usr_dir}/ + chmod a+w ${usr_dir}/{avatar,background,file} + + msg2 "Install bogus config.php" + touch ${etc_dir}/config.php + chmod a+w ${etc_dir}/config.php + ln -s /etc/webapps/statusnet/config.php ${usr_dir}/config.php + + msg2 "Remove locale and plugins in favor of split packages" + rm -rf ${usr_dir}/{locale,plugins} + + install -d ${usr_dir}/plugins + install -d ${usr_dir}/locale +} + +# Helper for creating i18n packages +statusnet-i18n-helper() { + cd "${srcdir}/${pkgbase}-${pkgver}" + + install -d "${pkgdir}/usr/share/webapps/statusnet/locale/${1}" + cp -ra "./locale/${1}" "${pkgdir}/usr/share/webapps/statusnet/locale/${1}/" +} + +# Helper for creating plugin packages +statusnet-plugins-helper() { + cd "${srcdir}/${pkgbase}-${pkgver}" + + install -d "${pkgdir}/usr/share/webapps/statusnet/plugins/${1}" + cp -ra "./plugins/${1}" "${pkgdir}/usr/share/webapps/statusnet/plugins/${1}/" +} + +# Gets the available plugins and returns package_statusnet-plugins-* functions +# Must be ran from PKGBUILD dir after `makepkg -o` +helper_get_plugins() { + cd ./src/${pkgbase}-${pkgver}/plugins + plugins=($(find . -maxdepth 1 -type d | sed "s/^.*\///")) + + for plugin in ${plugins[@]}; do + plugin_lower=$(echo ${plugin} | tr [A-Z] [a-z]) + + echo " +package_statusnet-plugins-${plugin_lower}() { + pkgdesc='${plugin} plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ${plugin} +}" + done + + # Generates a pkgname line + echo "${plugins[@]}" | tr [A-Z] [a-z] | \ + sed "s/\(^\| \)\([^ ]\+\)/\1'statusnet-plugins-\2'/g" + + cd ../../.. +} + +# Gets the available plugins and returns package_statusnet-i18n-* functions +# Must be ran from PKGBUILD dir after `makepkg -o` +helper_get_locales() { + cd ./src/${pkgbase}-${pkgver}/locale + locales=($(find . -maxdepth 1 -type d | sed "s/^.*\///")) + + for locale in ${locales[@]}; do + locale_lower=$(echo ${locale} | tr [A-Z] [a-z]) + + echo " +package_statusnet-i18n-${locale_lower}() { + pkgdesc='${locale} locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ${locale} +}" + done + + # Generates a pkgname line + echo "${locales[@]}" | tr [A-Z] [a-z] | \ + sed "s/\(^\| \)\([^ ]\+\)/\1'statusnet-i18n-\2'/g" + cd ../../.. +} + +# AUTOGENERATED. Delete from next line before update + +package_statusnet-plugins-piwikanalytics() { + pkgdesc='PiwikAnalytics plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper PiwikAnalytics +} + +package_statusnet-plugins-groupprivatemessage() { + pkgdesc='GroupPrivateMessage plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper GroupPrivateMessage +} + +package_statusnet-plugins-subscriptionthrottle() { + pkgdesc='SubscriptionThrottle plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SubscriptionThrottle +} + +package_statusnet-plugins-mollom() { + pkgdesc='Mollom plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Mollom +} + +package_statusnet-plugins-noticetitle() { + pkgdesc='NoticeTitle plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper NoticeTitle +} + +package_statusnet-plugins-googleanalytics() { + pkgdesc='GoogleAnalytics plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper GoogleAnalytics +} + +package_statusnet-plugins-groupfavorited() { + pkgdesc='GroupFavorited plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper GroupFavorited +} + +package_statusnet-plugins-simpleurl() { + pkgdesc='SimpleUrl plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SimpleUrl +} + +package_statusnet-plugins-modhelper() { + pkgdesc='ModHelper plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ModHelper +} + +package_statusnet-plugins-meteor() { + pkgdesc='Meteor plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Meteor +} + +package_statusnet-plugins-newmenu() { + pkgdesc='NewMenu plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper NewMenu +} + +package_statusnet-plugins-memcached() { + pkgdesc='Memcached plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Memcached +} + +package_statusnet-plugins-ldapauthorization() { + pkgdesc='LdapAuthorization plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LdapAuthorization +} + +package_statusnet-plugins-lilurl() { + pkgdesc='LilUrl plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LilUrl +} + +package_statusnet-plugins-template() { + pkgdesc='Template plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Template +} + +package_statusnet-plugins-openx() { + pkgdesc='OpenX plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper OpenX +} + +package_statusnet-plugins-sharenotice() { + pkgdesc='ShareNotice plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ShareNotice +} + +package_statusnet-plugins-logfilter() { + pkgdesc='LogFilter plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LogFilter +} + +package_statusnet-plugins-spotify() { + pkgdesc='Spotify plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Spotify +} + +package_statusnet-plugins-adsense() { + pkgdesc='Adsense plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Adsense +} + +package_statusnet-plugins-postdebug() { + pkgdesc='PostDebug plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper PostDebug +} + +package_statusnet-plugins-inprocesscache() { + pkgdesc='InProcessCache plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper InProcessCache +} + +package_statusnet-plugins-blacklist() { + pkgdesc='Blacklist plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Blacklist +} + +package_statusnet-plugins-linkpreview() { + pkgdesc='LinkPreview plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LinkPreview +} + +package_statusnet-plugins-realtime() { + pkgdesc='Realtime plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Realtime +} + +package_statusnet-plugins-openexternallinktarget() { + pkgdesc='OpenExternalLinkTarget plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper OpenExternalLinkTarget +} + +package_statusnet-plugins-diskcache() { + pkgdesc='DiskCache plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper DiskCache +} + +package_statusnet-plugins-autosandbox() { + pkgdesc='AutoSandbox plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper AutoSandbox +} + +package_statusnet-plugins-linkback() { + pkgdesc='Linkback plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Linkback +} + +package_statusnet-plugins-apilogger() { + pkgdesc='ApiLogger plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ApiLogger +} + +package_statusnet-plugins-autocomplete() { + pkgdesc='Autocomplete plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Autocomplete +} + +package_statusnet-plugins-wikihashtags() { + pkgdesc='WikiHashtags plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper WikiHashtags +} + +package_statusnet-plugins-imap() { + pkgdesc='Imap plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Imap +} + +package_statusnet-plugins-anonymousfave() { + pkgdesc='AnonymousFave plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper AnonymousFave +} + +package_statusnet-plugins-sample() { + pkgdesc='Sample plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Sample +} + +package_statusnet-plugins-memcache() { + pkgdesc='Memcache plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Memcache +} + +package_statusnet-plugins-ostatus() { + pkgdesc='OStatus plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper OStatus +} + +package_statusnet-plugins-tabfocus() { + pkgdesc='TabFocus plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper TabFocus +} + +package_statusnet-plugins-ldapcommon() { + pkgdesc='LdapCommon plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LdapCommon +} + +package_statusnet-plugins-mapstraction() { + pkgdesc='Mapstraction plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Mapstraction +} + +package_statusnet-plugins-userlimit() { + pkgdesc='UserLimit plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper UserLimit +} + +package_statusnet-plugins-echo() { + pkgdesc='Echo plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Echo +} + +package_statusnet-plugins-tinymce() { + pkgdesc='TinyMCE plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper TinyMCE +} + +package_statusnet-plugins-requirevalidatedemail() { + pkgdesc='RequireValidatedEmail plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper RequireValidatedEmail +} + +package_statusnet-plugins-modplus() { + pkgdesc='ModPlus plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ModPlus +} + +package_statusnet-plugins-enjit() { + pkgdesc='Enjit plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Enjit +} + +package_statusnet-plugins-apc() { + pkgdesc='APC plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper APC +} + +package_statusnet-plugins-cachelog() { + pkgdesc='CacheLog plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper CacheLog +} + +package_statusnet-plugins-followeveryone() { + pkgdesc='FollowEveryone plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper FollowEveryone +} + +package_statusnet-plugins-facebookbridge() { + pkgdesc='FacebookBridge plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper FacebookBridge +} + +package_statusnet-plugins-emailsummary() { + pkgdesc='EmailSummary plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper EmailSummary +} + +package_statusnet-plugins-orbited() { + pkgdesc='Orbited plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Orbited +} + +package_statusnet-plugins-urlshortener() { + pkgdesc='UrlShortener plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper UrlShortener +} + +package_statusnet-plugins-ldapauthentication() { + pkgdesc='LdapAuthentication plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper LdapAuthentication +} + +package_statusnet-plugins-openid() { + pkgdesc='OpenID plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper OpenID +} + +package_statusnet-plugins-sqlprofile() { + pkgdesc='SQLProfile plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SQLProfile +} + +package_statusnet-plugins-directiondetector() { + pkgdesc='DirectionDetector plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper DirectionDetector +} + +package_statusnet-plugins-twitterbridge() { + pkgdesc='TwitterBridge plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper TwitterBridge +} + +package_statusnet-plugins-geonames() { + pkgdesc='Geonames plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Geonames +} + +package_statusnet-plugins-extendedprofile() { + pkgdesc='ExtendedProfile plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ExtendedProfile +} + +package_statusnet-plugins-wikihowprofile() { + pkgdesc='WikiHowProfile plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper WikiHowProfile +} + +package_statusnet-plugins-blankad() { + pkgdesc='BlankAd plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper BlankAd +} + +package_statusnet-plugins-clientsideshorten() { + pkgdesc='ClientSideShorten plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ClientSideShorten +} + +package_statusnet-plugins-forcegroup() { + pkgdesc='ForceGroup plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ForceGroup +} + +package_statusnet-plugins-emailauthentication() { + pkgdesc='EmailAuthentication plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper EmailAuthentication +} + +package_statusnet-plugins-comet() { + pkgdesc='Comet plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Comet +} + +package_statusnet-plugins-recaptcha() { + pkgdesc='Recaptcha plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Recaptcha +} + +package_statusnet-plugins-registerthrottle() { + pkgdesc='RegisterThrottle plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper RegisterThrottle +} + +package_statusnet-plugins-mobileprofile() { + pkgdesc='MobileProfile plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper MobileProfile +} + +package_statusnet-plugins-ptiturl() { + pkgdesc='PtitUrl plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper PtitUrl +} + +package_statusnet-plugins-submirror() { + pkgdesc='SubMirror plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SubMirror +} + +package_statusnet-plugins-gravatar() { + pkgdesc='Gravatar plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Gravatar +} + +package_statusnet-plugins-sphinxsearch() { + pkgdesc='SphinxSearch plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SphinxSearch +} + +package_statusnet-plugins-geourl() { + pkgdesc='GeoURL plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper GeoURL +} + +package_statusnet-plugins-infinitescroll() { + pkgdesc='InfiniteScroll plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper InfiniteScroll +} + +package_statusnet-plugins-slicedfavorites() { + pkgdesc='SlicedFavorites plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper SlicedFavorites +} + +package_statusnet-plugins-disqus() { + pkgdesc='Disqus plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Disqus +} + +package_statusnet-plugins-minify() { + pkgdesc='Minify plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Minify +} + +package_statusnet-plugins-tighturl() { + pkgdesc='TightUrl plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper TightUrl +} + +package_statusnet-plugins-yammerimport() { + pkgdesc='YammerImport plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper YammerImport +} + +package_statusnet-plugins-bitlyurl() { + pkgdesc='BitlyUrl plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper BitlyUrl +} + +package_statusnet-plugins-awesomeness() { + pkgdesc='Awesomeness plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Awesomeness +} + +package_statusnet-plugins-userflag() { + pkgdesc='UserFlag plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper UserFlag +} + +package_statusnet-plugins-blogspamnet() { + pkgdesc='BlogspamNet plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper BlogspamNet +} + +package_statusnet-plugins-reverseusernameauthentication() { + pkgdesc='ReverseUsernameAuthentication plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper ReverseUsernameAuthentication +} + +package_statusnet-plugins-sitemap() { + pkgdesc='Sitemap plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Sitemap +} + +package_statusnet-plugins-mobile() { + pkgdesc='Mobile plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Mobile +} + +package_statusnet-plugins-poweredbystatusnet() { + pkgdesc='PoweredByStatusNet plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper PoweredByStatusNet +} + +package_statusnet-plugins-bookmark() { + pkgdesc='Bookmark plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper Bookmark +} + +package_statusnet-plugins-firephp() { + pkgdesc='FirePHP plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper FirePHP +} + +package_statusnet-plugins-xcache() { + pkgdesc='XCache plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper XCache +} + +package_statusnet-plugins-rsscloud() { + pkgdesc='RSSCloud plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper RSSCloud +} + +package_statusnet-plugins-casauthentication() { + pkgdesc='CasAuthentication plugin for StatusNet' + depends=('statusnet') + groups=('statusnet-plugins') + + statusnet-plugins-helper CasAuthentication +} + +package_statusnet-i18n-nn() { + pkgdesc='nn locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper nn +} + +package_statusnet-i18n-af() { + pkgdesc='af locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper af +} + +package_statusnet-i18n-cs() { + pkgdesc='cs locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper cs +} + +package_statusnet-i18n-mk() { + pkgdesc='mk locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper mk +} + +package_statusnet-i18n-ml() { + pkgdesc='ml locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ml +} + +package_statusnet-i18n-hsb() { + pkgdesc='hsb locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper hsb +} + +package_statusnet-i18n-pl() { + pkgdesc='pl locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper pl +} + +package_statusnet-i18n-he() { + pkgdesc='he locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper he +} + +package_statusnet-i18n-en_gb() { + pkgdesc='en_GB locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper en_GB +} + +package_statusnet-i18n-pt() { + pkgdesc='pt locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper pt +} + +package_statusnet-i18n-tr() { + pkgdesc='tr locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper tr +} + +package_statusnet-i18n-ja() { + pkgdesc='ja locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ja +} + +package_statusnet-i18n-ru() { + pkgdesc='ru locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ru +} + +package_statusnet-i18n-uk() { + pkgdesc='uk locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper uk +} + +package_statusnet-i18n-fi() { + pkgdesc='fi locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper fi +} + +package_statusnet-i18n-ka() { + pkgdesc='ka locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ka +} + +package_statusnet-i18n-bg() { + pkgdesc='bg locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper bg +} + +package_statusnet-i18n-de() { + pkgdesc='de locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper de +} + +package_statusnet-i18n-hu() { + pkgdesc='hu locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper hu +} + +package_statusnet-i18n-ar() { + pkgdesc='ar locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ar +} + +package_statusnet-i18n-te() { + pkgdesc='te locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper te +} + +package_statusnet-i18n-el() { + pkgdesc='el locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper el +} + +package_statusnet-i18n-ko() { + pkgdesc='ko locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ko +} + +package_statusnet-i18n-is() { + pkgdesc='is locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper is +} + +package_statusnet-i18n-da() { + pkgdesc='da locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper da +} + +package_statusnet-i18n-it() { + pkgdesc='it locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper it +} + +package_statusnet-i18n-arz() { + pkgdesc='arz locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper arz +} + +package_statusnet-i18n-gl() { + pkgdesc='gl locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper gl +} + +package_statusnet-i18n-fa() { + pkgdesc='fa locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper fa +} + +package_statusnet-i18n-ca() { + pkgdesc='ca locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ca +} + +package_statusnet-i18n-fr() { + pkgdesc='fr locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper fr +} + +package_statusnet-i18n-en() { + pkgdesc='en locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper en +} + +package_statusnet-i18n-fur() { + pkgdesc='fur locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper fur +} + +package_statusnet-i18n-br() { + pkgdesc='br locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper br +} + +package_statusnet-i18n-zh_tw() { + pkgdesc='zh_TW locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper zh_TW +} + +package_statusnet-i18n-eo() { + pkgdesc='eo locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper eo +} + +package_statusnet-i18n-nl() { + pkgdesc='nl locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper nl +} + +package_statusnet-i18n-nb() { + pkgdesc='nb locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper nb +} + +package_statusnet-i18n-es() { + pkgdesc='es locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper es +} + +package_statusnet-i18n-vi() { + pkgdesc='vi locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper vi +} + +package_statusnet-i18n-pt_br() { + pkgdesc='pt_BR locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper pt_BR +} + +package_statusnet-i18n-ga() { + pkgdesc='ga locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ga +} + +package_statusnet-i18n-ia() { + pkgdesc='ia locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper ia +} + +package_statusnet-i18n-sv() { + pkgdesc='sv locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper sv +} + +package_statusnet-i18n-zh_cn() { + pkgdesc='zh_CN locale for StatusNet' + depends=('statusnet') + groups=('statusnet-locales') + + statusnet-i18n-helper zh_CN +} diff --git a/social/statusnet/statusnet.install b/social/statusnet/statusnet.install new file mode 100644 index 000000000..426934404 --- /dev/null +++ b/social/statusnet/statusnet.install @@ -0,0 +1,13 @@ +post_install(){ + cat <<EOM +StatusNet is now installed on your system. + +You should link /usr/share/webapps/statusnet to /srv/http/ + +Start MySQL and your prefered webserver and visit +http://yoursite.tld/statusnet/install.php + +Write permissions of /usr/share/webapps/statusnet has been granted to ensure the +installation process can write the config file. +EOM +} |