diff options
Diffstat (limited to 'social')
-rw-r--r-- | social/facter/PKGBUILD | 24 | ||||
-rw-r--r-- | social/libowfat/PKGBUILD | 29 | ||||
-rw-r--r-- | social/libowfat/libowfat.install | 39 | ||||
-rw-r--r-- | social/opentracker/PKGBUILD | 60 | ||||
-rw-r--r-- | social/opentracker/license.txt | 2 | ||||
-rwxr-xr-x | social/opentracker/opentracker.rc.d | 37 | ||||
-rw-r--r-- | social/puppet/PKGBUILD | 52 | ||||
-rwxr-xr-x | social/puppet/puppet | 45 | ||||
-rw-r--r-- | social/puppet/puppet.conf | 30 | ||||
-rw-r--r-- | social/puppet/puppet.install | 46 | ||||
-rwxr-xr-x | social/puppet/puppetmaster | 45 | ||||
-rw-r--r-- | social/ruby-headers/PKGBUILD | 11 | ||||
-rw-r--r-- | social/ruby-shadow/PKGBUILD | 22 | ||||
-rw-r--r-- | social/statusnet/PKGBUILD | 1259 | ||||
-rw-r--r-- | social/statusnet/statusnet.install | 2 | ||||
-rw-r--r-- | social/tinc/PKGBUILD | 11 |
16 files changed, 488 insertions, 1226 deletions
diff --git a/social/facter/PKGBUILD b/social/facter/PKGBUILD new file mode 100644 index 000000000..877572abb --- /dev/null +++ b/social/facter/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Thomas S Hatch <thatch45 (at) Gmail.com> +# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com> + +pkgname=facter +pkgver=1.6.0 +pkgrel=1 +pkgdesc="A library for collecting facts about your system." +arch=("any") +url="http://puppetlabs.com/projects/facter/" +license=("Apache") +depends=("ruby") +options=(!emptydirs) +source=(http://puppetlabs.com/downloads/facter/facter-$pkgver.tar.gz) +md5sums=('bf7e384bf247935e973cfd7bf5592dfe') + +package() { + cd $srcdir/facter-$pkgver + + ruby ./install.rb \ + --destdir=$pkgdir \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin + +} diff --git a/social/libowfat/PKGBUILD b/social/libowfat/PKGBUILD new file mode 100644 index 000000000..ea43adfab --- /dev/null +++ b/social/libowfat/PKGBUILD @@ -0,0 +1,29 @@ +# Contributors: +# Alexander Ulrich <a.ulrich@student.uni-tuebingen.de> +# Mildred <silkensedai@online.fr> +# henning mueller <henning@orgizm.net> + +pkgname=libowfat +pkgver=0.28 +pkgrel=4 +pkgdesc='GPL reimplementation of libdjb' +arch=(i686 x86_64) +url=http://www.fefe.de/libowfat/ +depends=() +license=(GPL) +install=libowfat.install +source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2) +md5sums=(6bbee9a86506419657d87123b7a6f2c1) + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr/ LIBDIR=$pkgdir/usr/lib MAN3DIR=$pkgdir/usr/share/man/man3 install + + cd $pkgdir/usr/share/man/man3 + mv buffer.3 buffer-libowfat.3 +} diff --git a/social/libowfat/libowfat.install b/social/libowfat/libowfat.install new file mode 100644 index 000000000..a08aef10c --- /dev/null +++ b/social/libowfat/libowfat.install @@ -0,0 +1,39 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + echo "The manpage buffer(3) was moved to buffer-libowfat(3) because + it conflicts with package openssl" +} + +# 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() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD new file mode 100644 index 000000000..61702974c --- /dev/null +++ b/social/opentracker/PKGBUILD @@ -0,0 +1,60 @@ +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=opentracker +pkgver=20110831 +pkgrel=1 +pkgdesc='An open and free bittorrent tracker' +arch=('i686' 'x86_64') +url='http://erdgeist.org/arts/software/opentracker/' +license=('custom:Beer' 'GPL') +makedepends=('libowfat' 'cvs') +depends=('bash' 'zlib') +backup=('etc/opentracker/config') +source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz" + 'opentracker.rc.d' + 'license.txt') +md5sums=('ad992e0b7e8f84ddab391da5307e67c6' + '390bde9d010e79ab1309c02dcf9972e8' + '865211941e882c0aff5d36a22ac9efaa') + +_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot' +_cvsmod='opentracker' + +mksource() { + pushd "${srcdir}" + msg 'Connecting to CVS server....' + if [ -d ${_cvsmod}/CVS ]; then + cd ${_cvsmod} + cvs -z3 update -d + else + cvs -z3 -d ${_cvsroot} co -f ${_cvsmod} + cd ${_cvsmod} + fi + + msg 'CVS checkout done or server timeout' + popd + + tar czf ${pkgname}-${pkgver}.tar.gz ${_cvsmod}/ +} + +build() { + cd "${srcdir}/${_cvsmod}" + msg 'Starting make...' + + sed -e 's#PREFIX?=..#PREFIX?=/usr#' \ + -e 's#LIBOWFAT_HEADERS=$(PREFIX)/libowfat#LIBOWFAT_HEADERS=$(PREFIX)/include#' \ + -e 's#LIBOWFAT_LIBRARY=$(PREFIX)/libowfat#LIBOWFAT_LIBRARY=$(PREFIX)/lib#' \ + -e 's/#FEATURES+=-DWANT_ACCESSLIST_WHITE/FEATURES+=-DWANT_ACCESSLIST_WHITE/' \ + -e 's/#FEATURES+=-DWANT_RESTRICT_STATS/FEATURES+=-DWANT_RESTRICT_STATS/' \ + -e 's/FEATURES+=-DWANT_FULLSCRAPE/#FEATURES+=-DWANT_FULLSCRAPE/' \ + -i Makefile + sed -e 's|# tracker.rootdir /usr/local/etc/opentracker|tracker.rootdir /etc/opentracker|' \ + -e 's|# access.stats 192.168.0.23|access.stats 127.0.0.1|' \ + -i opentracker.conf.sample + + make || return 1 + install -D -m 755 opentracker $pkgdir/usr/bin/opentracker + install -D -m 755 $srcdir/opentracker.rc.d $pkgdir/etc/rc.d/opentracker + install -D -m 644 opentracker.conf.sample $pkgdir/etc/opentracker/config + install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/opentracker/license.txt +} diff --git a/social/opentracker/license.txt b/social/opentracker/license.txt new file mode 100644 index 000000000..ff1bb40f5 --- /dev/null +++ b/social/opentracker/license.txt @@ -0,0 +1,2 @@ +This software was written by Dirk Engling <erdgeist@erdgeist.org> +It is considered beerware. Prost. Skol. Cheers or whatever. diff --git a/social/opentracker/opentracker.rc.d b/social/opentracker/opentracker.rc.d new file mode 100755 index 000000000..b1aa34c14 --- /dev/null +++ b/social/opentracker/opentracker.rc.d @@ -0,0 +1,37 @@ +#!/bin/bash + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/opentracker` + +case "$1" in + start) + stat_busy "Starting opentracker Daemon" + [ -z "$PID" ] && su nobody -s /bin/sh -c "/usr/bin/opentracker -f /etc/opentracker/config&" + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon opentracker + stat_done + fi + ;; + stop) + stat_busy "Stopping opentracker Daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon opentracker + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/social/puppet/PKGBUILD b/social/puppet/PKGBUILD new file mode 100644 index 000000000..10338bea0 --- /dev/null +++ b/social/puppet/PKGBUILD @@ -0,0 +1,52 @@ +# Puppet: Installer: Arch +# Maintainer: Thomas S Hatch <thatch45 (at) Gmail (dot) com> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Miah Johnson <miah (at) chia-pet dot org> +# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com> + +pkgname=puppet +pkgver=2.7.1 +pkgrel=1 +pkgdesc="A system for automating system administration tasks." +arch=("any") +url="http://puppetlabs.com/projects/puppet/" +license=("Apache") +depends=("ruby" "ruby-shadow" "facter") +backup=("etc/puppet/puppet.conf") +options=(emptydirs) +install="puppet.install" +source=("http://puppetlabs.com/downloads/puppet/puppet-$pkgver.tar.gz" + "puppet" + "puppetmaster" + "puppet.conf") +md5sums=('7a0346758af0222dc5e2b2b1a99c44ec' + '59dbf39e251bc4877e7604a5876c642d' + '4c507c580cb28d7a5adc9ea6b3626657' + 'a6c0ce2eb12d62fdd3421aa9dff3477d') + +package() { + cd $srcdir/puppet-$pkgver + + # Install + ruby ./install.rb \ + --destdir=$pkgdir \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --mandir=/usr/share/man + + # Set up vim and emacs + install -Dp -m0644 ext/vim/ftdetect/puppet.vim $pkgdir/usr/share/vim/vimfiles/ftdetect/puppet.vim + install -Dp -m0644 ext/vim/syntax/puppet.vim $pkgdir/usr/share/vim/vimfiles/syntax/puppet.vim + install -Dp -m0644 ext/emacs/puppet-mode.el $pkgdir/usr/share/emacs/site-lisp/puppet-mode.el + install -Dp -m0644 ext/emacs/puppet-mode-init.el $pkgdir/usr/share/emacs/site-lisp/site-start.d/puppet-mode-init.el + + # Configuration and rc scripts + install -d $pkgdir/etc/{puppet,rc.d} + install -m 644 $srcdir/puppet.conf $pkgdir/etc/puppet/puppet.conf + + install -D $srcdir/puppet $pkgdir/etc/rc.d/puppet + install -D $srcdir/puppetmaster $pkgdir/etc/rc.d/puppetmaster + + # Move pi to prevent file conflict + mv $pkgdir/usr/bin/pi $pkgdir/usr/bin/puppet-pi +} diff --git a/social/puppet/puppet b/social/puppet/puppet new file mode 100755 index 000000000..4126be850 --- /dev/null +++ b/social/puppet/puppet @@ -0,0 +1,45 @@ +#!/bin/bash +DAEMON=$(type -p puppetd) + +. /etc/rc.conf +. /etc/rc.d/functions +[ -f /etc/conf.d/puppet ] && . /etc/conf.d/puppet + +PID=$(pidof -xo %PPID $DAEMON) +case "$1" in + start) + stat_busy "Starting Puppet Daemon" + if [ -z "$PID" ]; then + [ -f /var/run/puppet.pid ] && rm -f /var/run/puppet.pid + $DAEMON $PUPPETD_ARGS + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + PID=$(pidof -xo %PPID $DAEMON) + echo $PID > /var/run/puppet.pid + add_daemon puppet + stat_done + fi + ;; + stop) + stat_busy "Stopping Puppet Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon puppet + rm -f /var/run/puppet.pid + stat_done + fi + ;; + restart) + $0 stop + if [ ! -z $PID ]; then + while ps -p $PID > /dev/null; do sleep 1; done + fi + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/social/puppet/puppet.conf b/social/puppet/puppet.conf new file mode 100644 index 000000000..169f28b3b --- /dev/null +++ b/social/puppet/puppet.conf @@ -0,0 +1,30 @@ +[main] + # The Puppet log directory. + # The default value is '$vardir/log'. + logdir = /var/log/puppet + + # Where Puppet PID files are kept. + # The default value is '$vardir/run'. + rundir = /var/run/puppet + + # Where SSL certificates are kept. + # The default value is '$confdir/ssl'. + ssldir = $vardir/ssl + factpath=$vardir/lib/facter + pluginsync=true + + +[agent] + # The file in which puppetd stores a list of the classes + # associated with the retrieved configuratiion. Can be loaded in + # the separate ``puppet`` executable using the ``--loadclasses`` + # option. + # The default value is '$confdir/classes.txt'. + classfile = $vardir/classes.txt + + # Where puppetd caches the local configuration. An + # extension indicating the cache format is added automatically. + # The default value is '$confdir/localconfig'. + localconfig = $vardir/localconfig + +#[master] diff --git a/social/puppet/puppet.install b/social/puppet/puppet.install new file mode 100644 index 000000000..928df566b --- /dev/null +++ b/social/puppet/puppet.install @@ -0,0 +1,46 @@ +# Puppet: Installer: Arch +# Maintainer: Thomas S Hatch <thatch45 (at) Gmail (dot) com> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Miah Johnson <Miah (at) chia-pet dot org> + +pre_install() { + getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null + getent passwd puppet &>/dev/null || useradd -r -u 52 -g puppet -d /var/lib/puppet -s /sbin/nologin -c "Puppet" puppet &>/dev/null || : +} + +pre_upgrade() { + pre_install + usermod -d /var/lib/puppet puppet &>/dev/null || : +} + +post_install() { + : +} + +pre_remove() { +if [ -f /var/run/puppetmasterd.pid ]; then + PIDOF=$(pidof -xo %PPID puppetmasterd) + PIDFILE=$(cat /var/run/puppetmasterd.pid) + if [ $PIDOF -eq $PIDFILE ]; then + /etc/rc.d/puppetmaster stop + fi +fi + +if [ -f /var/run/puppetd.pid ]; then + PIDOF=$(pidof -xo %PPID puppetd) + PIDFILE=$(cat /var/run/puppetd.pid) + if [ $PIDOF -eq $PIDFILE ]; then + /etc/rc.d/puppet stop + fi +fi +} + +post_remove() { + # Remove user and group + userdel puppet +} + +op=$1 +shift + +$op "$@" diff --git a/social/puppet/puppetmaster b/social/puppet/puppetmaster new file mode 100755 index 000000000..8b3971053 --- /dev/null +++ b/social/puppet/puppetmaster @@ -0,0 +1,45 @@ +#!/bin/bash +DAEMON=$(type -p puppetmasterd) + +. /etc/rc.conf +. /etc/rc.d/functions +[ -f /etc/conf.d/puppetmaster ] && . /etc/conf.d/puppetmaster + +PID=$(pidof -xo %PPID $DAEMON) +case "$1" in + start) + stat_busy "Starting Puppet Master Daemon" + if [ -z "$PID" ]; then + [ -f /var/run/puppetmaster.pid ] && rm -f /var/run/puppetmaster.pid + $DAEMON $PUPPETMASTER_ARGS + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + PID=$(pidof -xo %PPID $DAEMON) + echo $PID > /var/run/puppetmaster.pid + add_daemon puppetmaster + stat_done + fi + ;; + stop) + stat_busy "Stopping Puppet Master Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon puppetmaster + rm -f /var/run/puppetmaster.pid + stat_done + fi + ;; + restart) + $0 stop + if [ ! -z $PID ]; then + while ps -p $PID > /dev/null; do sleep 1; done + fi + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/social/ruby-headers/PKGBUILD b/social/ruby-headers/PKGBUILD index 9deedb708..c89b7accd 100644 --- a/social/ruby-headers/PKGBUILD +++ b/social/ruby-headers/PKGBUILD @@ -3,15 +3,15 @@ pkgname=ruby-headers _pkgname=ruby -pkgver=1.9.2_p180 -_pkgver=1.9.2-p180 +pkgver=1.9.2_p290 +_pkgver=1.9.2-p290 pkgrel=2 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') +license=('GPL2' 'custom:Ruby') depends=("ruby=$pkgver") -source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") +source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") build() { /bin/true @@ -27,4 +27,5 @@ package() { install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -md5sums=('68510eeb7511c403b91fe5476f250538') + +md5sums=('096758c3e853b839dc980b183227b182') diff --git a/social/ruby-shadow/PKGBUILD b/social/ruby-shadow/PKGBUILD new file mode 100644 index 000000000..ec243aaea --- /dev/null +++ b/social/ruby-shadow/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Thomas S Hatch <thatch45@gmail.com> +pkgname=ruby-shadow +pkgver=1.4.9 +pkgrel=4 +pkgdesc="Interface for shadow passwords for Ruby" +arch=(i686 x86_64) +depends=('ruby') +license=('publicdomain') +url=('https://github.com/thatch45/ruby-shadow') +source=("https://github.com/downloads/thatch45/ruby-shadow/$pkgname-$pkgver.tar.gz") +md5sums=('63ee20d3f0cb456dc2a50107124c64d9') + +build() { + cd $srcdir/shadow-$pkgver + ruby extconf.rb + make +} + +package() { + cd $srcdir/shadow-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/social/statusnet/PKGBUILD b/social/statusnet/PKGBUILD index 7aa359e38..998751df5 100644 --- a/social/statusnet/PKGBUILD +++ b/social/statusnet/PKGBUILD @@ -1,82 +1,41 @@ # 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 +pkgname=statusnet-base +pkgver=0.9.9 + +# find available plugins and locales +srcfile=${SRCDEST}/${pkgbase}-${pkgver}.tar.gz +if [ -e ${srcfile} ]; then +plugins=($(bsdtar -tf ${srcfile} \ + ${pkgbase}-${pkgver}/plugins | \ + cut -d'/' -f3 | sort -u)) +locales=($(bsdtar -tf ${srcfile} \ + ${pkgbase}-${pkgver}/locale | \ + cut -d'/' -f3 | sort -u)) +fi + +# looping avoids having "statusnet-plugin-" package +pkgname=(${pkgname} + $(for plugin in ${plugins[@]}; do + echo ${plugin} | tr [A-Z] [a-z] | \ + sed "s/^/statusnet-plugin-/" + done) + $(for locale in ${locales[@]}; do + echo ${locale} | tr [A-Z] [a-z] | \ + sed "s/^/statusnet-i18n-/" + done)) pkgrel=1 -pkgdesc="StatusNet is a Free and Open Source microblogging platform." arch=('any') +pkgdesc="StatusNet is a Free and Open Source microblogging platform." 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') +md5sums=('766c9d42825fc99d8ad6c554a959568b' + 'c638cb36b7da7eb67a67e031f59e6068') +options=(!strip !zipman emptydirs) build() { /bin/true @@ -86,8 +45,9 @@ package_statusnet-base() { provides=('statusnet') optdepends=('memcache: for caching database queries' 'php-xcache: for accelerating PHP code execution' + 'php-apc: for accelerating PHP code execution' 'php-ldap: for the LDAP plugin' - 'statusnet-plugins-ostatus: for federation') + 'statusnet-plugin-ostatus: for federation') cd "$srcdir/$pkgbase-${pkgver}" @@ -122,6 +82,9 @@ package_statusnet-base() { install -d ${usr_dir}/plugins install -d ${usr_dir}/locale + + install -d ${pkgdir}/srv/http + ln -s /usr/share/webapps/${pkgbase} ${pkgdir}/srv/http/ } # Helper for creating i18n packages @@ -133,1166 +96,36 @@ statusnet-i18n-helper() { } # Helper for creating plugin packages -statusnet-plugins-helper() { +statusnet-plugin-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]) +for plugin in ${plugins[@]}; do + plugin_lower=$(echo ${plugin} | tr [A-Z] [a-z]) - echo " -package_statusnet-plugins-${plugin_lower}() { + eval " +package_statusnet-plugin-${plugin_lower}() { pkgdesc='${plugin} plugin for StatusNet' - depends=('statusnet') + depends=('statusnet-base') groups=('statusnet-plugins') - statusnet-plugins-helper ${plugin} + statusnet-plugin-helper ${plugin} }" - done +done - # Generates a pkgname line - echo "${plugins[@]}" | tr [A-Z] [a-z] | \ - sed "s/\(^\| \)\([^ ]\+\)/\1'statusnet-plugins-\2'/g" - - cd ../../.. -} +for locale in ${locales[@]}; do + locale_lower=$(echo ${locale} | tr [A-Z] [a-z]) -# 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 " + eval " package_statusnet-i18n-${locale_lower}() { pkgdesc='${locale} locale for StatusNet' - depends=('statusnet') + depends=('statusnet-base') 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 -} +done diff --git a/social/statusnet/statusnet.install b/social/statusnet/statusnet.install index 426934404..5ec72e7c2 100644 --- a/social/statusnet/statusnet.install +++ b/social/statusnet/statusnet.install @@ -2,8 +2,6 @@ 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 diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD index b8f16a57c..72c1a8186 100644 --- a/social/tinc/PKGBUILD +++ b/social/tinc/PKGBUILD @@ -1,6 +1,6 @@ pkgname=tinc -pkgver=1.0.15 -pkgrel=2 +pkgver=1.0.16 +pkgrel=1 pkgdesc="VPN (Virtual Private Network) daemon" arch=(i686 x86_64) url="http://www.tinc-vpn.org/" @@ -9,7 +9,9 @@ depends=('lzo2' 'zlib' 'openssl') source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz tincd.conf tincd.rcd) -md5sums=('44bb7d1618955a0a56e9e159f1c46362') +md5sums=('f1c7ed94878725fb2cf4efb02bf160da' + '9b40646cd898709e90ae3c32baecb075' + '75516d05803ee6c6b22516e10129ad99') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,6 +30,3 @@ package() { install -Dm755 $srcdir/tincd.rcd $pkgdir/etc/rc.d/tincd install -Dm755 $srcdir/tincd.conf $pkgdir/etc/conf.d/tincd } -md5sums=('44bb7d1618955a0a56e9e159f1c46362' - '9b40646cd898709e90ae3c32baecb075' - '75516d05803ee6c6b22516e10129ad99') |