From 4784cc8068c68b6fc23c2bd0ee8158b2a924f5f4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Aug 2011 23:14:32 +0000 Subject: Sun Aug 14 23:14:32 UTC 2011 --- community-testing/aria2/PKGBUILD | 31 ++++++++ community-testing/ekg2/PKGBUILD | 40 +++++++++++ community-testing/filezilla/PKGBUILD | 35 +++++++++ community-testing/filezilla/filezilla.install | 11 +++ community-testing/freerdp/PKGBUILD | 30 ++++++++ community-testing/freerdp/freerdp.changelog | 2 + community-testing/gloox/PKGBUILD | 22 ++++++ community-testing/gnustep-base/ChangeLog | 6 ++ community-testing/gnustep-base/PKGBUILD | 34 +++++++++ community-testing/gsasl/PKGBUILD | 27 +++++++ community-testing/gtk-gnutella/PKGBUILD | 26 +++++++ community-testing/gwenhywfar/PKGBUILD | 25 +++++++ community-testing/ifuse/PKGBUILD | 28 ++++++++ community-testing/jabberd14/PKGBUILD | 34 +++++++++ community-testing/jabberd14/build-fix.patch | 84 ++++++++++++++++++++++ community-testing/jabberd14/jabberd | 58 +++++++++++++++ community-testing/libinfinity/PKGBUILD | 31 ++++++++ community-testing/libmicrohttpd/PKGBUILD | 37 ++++++++++ .../libmicrohttpd/libmicrohttpd.install | 20 ++++++ community-testing/libvirt/PKGBUILD | 81 +++++++++++++++++++++ community-testing/libvirt/libvirt.install | 38 ++++++++++ community-testing/libvirt/libvirtd.conf.d | 3 + community-testing/libvirt/libvirtd.rc.d | 66 +++++++++++++++++ .../libvirt/openbsd-netcat-default.patch | 36 ++++++++++ community-testing/libvirt/unixperms.patch | 47 ++++++++++++ community-testing/libvirt/yajl-2.x.patch | 66 +++++++++++++++++ community-testing/mailutils/PKGBUILD | 46 ++++++++++++ community-testing/mailutils/mailutils.install | 20 ++++++ community-testing/minbif/PKGBUILD | 39 ++++++++++ community-testing/minbif/minbif | 49 +++++++++++++ community-testing/minbif/minbif.install | 18 +++++ community-testing/net6/PKGBUILD | 26 +++++++ community-testing/net6/build-fix.patch | 24 +++++++ community-testing/nzbget/ChangeLog | 18 +++++ community-testing/nzbget/PKGBUILD | 33 +++++++++ community-testing/remmina-plugins/PKGBUILD | 29 ++++++++ .../remmina-plugins/remmina-plugins.install | 11 +++ community-testing/rsyslog/PKGBUILD | 52 ++++++++++++++ community-testing/rsyslog/rsyslog | 39 ++++++++++ community-testing/rsyslog/rsyslog.conf.d | 6 ++ community-testing/rsyslog/rsyslog.logrotate | 7 ++ community-testing/smalltalk/PKGBUILD | 42 +++++++++++ 42 files changed, 1377 insertions(+) create mode 100644 community-testing/aria2/PKGBUILD create mode 100644 community-testing/ekg2/PKGBUILD create mode 100644 community-testing/filezilla/PKGBUILD create mode 100644 community-testing/filezilla/filezilla.install create mode 100644 community-testing/freerdp/PKGBUILD create mode 100644 community-testing/freerdp/freerdp.changelog create mode 100644 community-testing/gloox/PKGBUILD create mode 100644 community-testing/gnustep-base/ChangeLog create mode 100644 community-testing/gnustep-base/PKGBUILD create mode 100644 community-testing/gsasl/PKGBUILD create mode 100644 community-testing/gtk-gnutella/PKGBUILD create mode 100644 community-testing/gwenhywfar/PKGBUILD create mode 100644 community-testing/ifuse/PKGBUILD create mode 100644 community-testing/jabberd14/PKGBUILD create mode 100644 community-testing/jabberd14/build-fix.patch create mode 100644 community-testing/jabberd14/jabberd create mode 100644 community-testing/libinfinity/PKGBUILD create mode 100644 community-testing/libmicrohttpd/PKGBUILD create mode 100644 community-testing/libmicrohttpd/libmicrohttpd.install create mode 100644 community-testing/libvirt/PKGBUILD create mode 100644 community-testing/libvirt/libvirt.install create mode 100644 community-testing/libvirt/libvirtd.conf.d create mode 100755 community-testing/libvirt/libvirtd.rc.d create mode 100644 community-testing/libvirt/openbsd-netcat-default.patch create mode 100644 community-testing/libvirt/unixperms.patch create mode 100644 community-testing/libvirt/yajl-2.x.patch create mode 100644 community-testing/mailutils/PKGBUILD create mode 100644 community-testing/mailutils/mailutils.install create mode 100644 community-testing/minbif/PKGBUILD create mode 100644 community-testing/minbif/minbif create mode 100644 community-testing/minbif/minbif.install create mode 100644 community-testing/net6/PKGBUILD create mode 100644 community-testing/net6/build-fix.patch create mode 100644 community-testing/nzbget/ChangeLog create mode 100644 community-testing/nzbget/PKGBUILD create mode 100644 community-testing/remmina-plugins/PKGBUILD create mode 100644 community-testing/remmina-plugins/remmina-plugins.install create mode 100644 community-testing/rsyslog/PKGBUILD create mode 100755 community-testing/rsyslog/rsyslog create mode 100644 community-testing/rsyslog/rsyslog.conf.d create mode 100644 community-testing/rsyslog/rsyslog.logrotate create mode 100644 community-testing/smalltalk/PKGBUILD (limited to 'community-testing') diff --git a/community-testing/aria2/PKGBUILD b/community-testing/aria2/PKGBUILD new file mode 100644 index 000000000..19a015c8a --- /dev/null +++ b/community-testing/aria2/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Angel Velasquez +# Contributor: Alexander Fehr +# Contributor: Daniel J Griffiths + +pkgname=aria2 +pkgver=1.12.1 +pkgrel=2 +pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' +arch=('i686' 'x86_64') +url='http://aria2.sourceforge.net/' +license=('GPL') +depends=('gnutls' 'libxml2' 'sqlite3' 'c-ares' 'ca-certificates') +source=("http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2") +md5sums=('9f3bf96d92bc8b70b74817ed10c2c7e7') + +build() { + cd aria2-${pkgver} + + ./configure \ + --prefix=/usr \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + + make +} + +package() { + cd aria2-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/ekg2/PKGBUILD b/community-testing/ekg2/PKGBUILD new file mode 100644 index 000000000..403ec002d --- /dev/null +++ b/community-testing/ekg2/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 53828 2011-08-08 16:55:24Z jelle $ +# Maintainer: Mateusz Herych + +pkgname=ekg2 +pkgver=0.3.1 +pkgrel=1 +pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client" +arch=('i686' 'x86_64') +url="http://ekg2.org/" +license=('GPL') +depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib' 'gpgme') +optdepends=( 'xosd: for xosd support' + 'sqlite3: sqlite support' + 'gtk2: gtk support') +provides=('ekg2-unicode') +source=(http://pl.ekg2.org/ekg2-$pkgver.tar.gz) +md5sums=('652e492fcf72281a42c3e5960347516e') + +build() { + cd $srcdir/$pkgname-$pkgver + sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-libgadu \ + --with-xosd \ + --enable-unicode \ + --enable-shared \ + --without-gpg + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + rm -rf $pkgdir/usr/lib/perl5/core_perl/perllocal.pod + mv $pkgdir/usr/libexec/ioctld $pkgdir/usr/lib/ekg2/ioctld + rm -rf $pkgdir/usr/libexec + chmod -R 755 $pkgdir/usr/lib/perl5 +} +md5sums=('68fc05b432c34622df6561eaabef5a40') diff --git a/community-testing/filezilla/PKGBUILD b/community-testing/filezilla/PKGBUILD new file mode 100644 index 000000000..73cb4f030 --- /dev/null +++ b/community-testing/filezilla/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 53693 2011-08-07 21:01:03Z bluewind $ +# Contributor: Alexander Fehr +# Maintainer: Daniel J Griffiths + +pkgname=filezilla +pkgver=3.5.0 +pkgrel=2 +pkgdesc="Fast and reliable FTP, FTPS and SFTP client" +arch=('i686' 'x86_64') +url="http://filezilla-project.org/" +license=('GPL') +depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite3') +install=filezilla.install +source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2") +md5sums=('25617d75167d07c0d3cfced69a4cf7cc') + +build() { + cd ${pkgname}-${pkgver} + ./autogen.sh + ./configure \ + --prefix=/usr \ + --disable-manualupdatecheck \ + --disable-autoupdatecheck \ + --disable-static \ + --with-tinyxml=builtin + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} +md5sums=('6a83c3afe99c2679d5a3aa73607d80a7') diff --git a/community-testing/filezilla/filezilla.install b/community-testing/filezilla/filezilla.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/community-testing/filezilla/filezilla.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-testing/freerdp/PKGBUILD b/community-testing/freerdp/PKGBUILD new file mode 100644 index 000000000..799008275 --- /dev/null +++ b/community-testing/freerdp/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 53713 2011-08-07 21:41:20Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Stijn Segers + +pkgname=freerdp +pkgver=0.8.2 +pkgrel=3 +pkgdesc="Free RDP client" +arch=('i686' 'x86_64') +url="http://freerdp.sourceforge.net" +license=('GPL') +depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib') +makedepends=('krb5') +conflicts=('freerdp-git') +changelog=${pkgname}.changelog +options=('!libtool') +source=(http://downloads.sourceforge.net/project/freerdp/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz) +md5sums=('cde590336292c977dfc1b4b7badf24d2') + +build() { + cd `find ${srcdir}/ -type d -name freerdp-\*` + [ -x configure ] || sh ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd `find ${srcdir}/ -type d -name freerdp-\*` + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/freerdp/freerdp.changelog b/community-testing/freerdp/freerdp.changelog new file mode 100644 index 000000000..d47f165c3 --- /dev/null +++ b/community-testing/freerdp/freerdp.changelog @@ -0,0 +1,2 @@ +0.7.1-1 to 0.7.1-2 +* Added x86_64 to supported architectures (tested by figue). diff --git a/community-testing/gloox/PKGBUILD b/community-testing/gloox/PKGBUILD new file mode 100644 index 000000000..bd6adf0e1 --- /dev/null +++ b/community-testing/gloox/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 53716 2011-08-07 21:42:08Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea + +pkgname=gloox +pkgver=1.0 +pkgrel=2 +pkgdesc="C++ libraries for development of Jabber client/component/server" +arch=(i686 x86_64) +url="http://camaya.net/gloox" +options=('!libtool') +license=("GPL") +depends=('libidn' 'gnutls') +source=(http://camaya.net/download/gloox-$pkgver.tar.bz2) +md5sums=('f8eacf1c6476e0a309b453fd04f90e31') + +build() { + cd $startdir/src/gloox-$pkgver + ./configure --prefix=/usr + make + make DESTDIR=$startdir/pkg install +} diff --git a/community-testing/gnustep-base/ChangeLog b/community-testing/gnustep-base/ChangeLog new file mode 100644 index 000000000..590f23f5e --- /dev/null +++ b/community-testing/gnustep-base/ChangeLog @@ -0,0 +1,6 @@ +2007-07-24 Snowman + * rebuilt against toolchain in current + * fixed SMP build + * fixed file ownership +2007-06-26 tardo +* Built for x86_64 diff --git a/community-testing/gnustep-base/PKGBUILD b/community-testing/gnustep-base/PKGBUILD new file mode 100644 index 000000000..d13e1f326 --- /dev/null +++ b/community-testing/gnustep-base/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 53739 2011-08-07 22:05:20Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta +# Contributor: Sebastian Sareyko + +pkgname=gnustep-base +pkgver=1.22.0 +pkgrel=3 +pkgdesc="The GNUstep base package" +arch=('i686' 'x86_64') +url="http://www.gnustep.org/" +license=("GPL" "LGPL") +depends=(libxslt avahi gmp gcc-libs openssl libffi gnustep-make gnutls) +makedepends=(gcc-objc) +conflicts=('gnustep-base-svn') +groups=('gnustep-core') +options=('!emptydirs' '!makeflags') +source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz) +md5sums=('7faab4891ae6c1e7a6c806d6da368410') + +build() { + cd "$srcdir/$pkgname-$pkgver" + source /etc/profile.d/GNUstep.sh + ./configure --prefix=/usr --sysconfdir=/etc/GNUstep --with-ffi-include=/usr/lib/libffi-3.0.9/include/ + # fix file ownership + sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble + make VERBOSE=1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + chown -R root.root "$pkgdir/" +} diff --git a/community-testing/gsasl/PKGBUILD b/community-testing/gsasl/PKGBUILD new file mode 100644 index 000000000..735a57862 --- /dev/null +++ b/community-testing/gsasl/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 53719 2011-08-07 21:42:52Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Orivej Desh +# Maintainer: Orivej Desh + +pkgname=gsasl +pkgver=1.6.1 +pkgrel=3 +pkgdesc="Simple Authentication and Security Layer framework and a few common SASL mechanisms" +arch=("i686" "x86_64") +url="http://josefsson.org/gsasl/" +license=("GPL") +depends=('gnutls' 'libidn' 'krb5' 'libgcrypt') +source=("ftp://ftp.gnu.org/gnu/gsasl/$pkgname-$pkgver.tar.gz") +md5sums=('7ae813eeb1f90ad52e9a781ac9e17f28') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/share/info/dir" "$pkgdir/usr/lib/libgsasl.la" +} diff --git a/community-testing/gtk-gnutella/PKGBUILD b/community-testing/gtk-gnutella/PKGBUILD new file mode 100644 index 000000000..1eb8c2b0f --- /dev/null +++ b/community-testing/gtk-gnutella/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 53764 2011-08-08 05:26:47Z ebelanger $ +# Contributor: Dan McGee +# Contributor: Tom Newsom +# Maintainer: Daniel J Griffiths + +pkgname=gtk-gnutella +pkgver=0.97 +pkgrel=2 +pkgdesc="A Gnutella client written in C" +arch=('i686' 'x86_64') +url="http://gtk-gnutella.sourceforge.net/" +license=('GPL') +depends=('gtk2') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('d44e1af3441fb07a5e5712b0d522fae5') +sha1sums=('1b50790adc494d7023a7cf9319d7cdef1c9ab51e') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./build.sh --prefix=/usr --gtk2 --disable-dbus +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install INSTALL_PREFIX="${pkgdir}" +} diff --git a/community-testing/gwenhywfar/PKGBUILD b/community-testing/gwenhywfar/PKGBUILD new file mode 100644 index 000000000..1512a7eb1 --- /dev/null +++ b/community-testing/gwenhywfar/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 53745 2011-08-07 22:06:07Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea + +pkgname=gwenhywfar +pkgver=4.2.0 +pkgrel=2 +pkgdesc="OS abstraction functions for various projects" +arch=(i686 x86_64) +url="http://www.aquamaniac.de" +options=('!libtool') +license=("LGPL") +depends=('openssl' 'gnutls') +makedepends=('gtk2' 'qt') +optdepends=('gtk2' 'qt') +source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=62&file=01&dummy=gwenhywfar-$pkgver.tar.gz") +md5sums=('62d15e090a0c21bc9d22489ceaaadfde') + +build() { + pacman -Q gwenhywfar && return 1 + cd $srcdir/gwenhywfar-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --enable-ssl + make + make DESTDIR=$pkgdir install +} diff --git a/community-testing/ifuse/PKGBUILD b/community-testing/ifuse/PKGBUILD new file mode 100644 index 000000000..e85372405 --- /dev/null +++ b/community-testing/ifuse/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=ifuse +pkgver=1.1.1 +pkgrel=4 +pkgdesc='A fuse filesystem to access the contents of an iPhone or iPod Touch' +url='http://libimobiledevice.org/' +arch=('i686' 'x86_64') +license=('LGPL2.1') +depends=('libimobiledevice' 'fuse') +source=("http://www.libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2") +md5sums=('8d528a79de024b91f12f8ac67965c37c') + +build() { + cd ${pkgname}-${pkgver} + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/jabberd14/PKGBUILD b/community-testing/jabberd14/PKGBUILD new file mode 100644 index 000000000..fccef817a --- /dev/null +++ b/community-testing/jabberd14/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 53845 2011-08-08 21:03:13Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=jabberd14 +pkgver=1.6.1.1 +pkgrel=10 +pkgdesc="old (1.4) jabber server branch" +arch=(i686 x86_64) +url="http://jabberd.org/" +license=("GPL") +depends=(pth libidn expat popt gnutls) +optdepends=(libmysqlclient) +conflicts=(jabberd) +backup=(etc/jabberd/jabber.xml) +options=('!libtool') +source=(http://download.jabberd.org/jabberd14/jabberd14-$pkgver.tar.gz + build-fix.patch + jabberd) +md5sums=('597c7ee14518ba22b1cee883b4737d87' + 'ad795626f26c01700a23515e0e75d654' + '5869169394d70977858320648075c7a6') + +build() { + cd $srcdir/jabberd14-$pkgver + export LDFLAGS="$LDFLAGS -lgcrypt" + [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --enable-ssl --enable-legacy --sysconfdir=/etc/jabberd --localstatedir=/var + echo "#undef HAVE_GNUTLS_EXTRA" >>config.h + [ $NOEXTRACT -eq 1 ] || patch -Rp1 <$srcdir/build-fix.patch + make -j1 + make DESTDIR=$pkgdir install + install -D -m 0755 $srcdir/jabberd $pkgdir/etc/rc.d/jabberd + rm -rf $pkgdir/var/run +} diff --git a/community-testing/jabberd14/build-fix.patch b/community-testing/jabberd14/build-fix.patch new file mode 100644 index 000000000..4f39b523e --- /dev/null +++ b/community-testing/jabberd14/build-fix.patch @@ -0,0 +1,84 @@ +diff -wbBur /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/lib/xmlnode.cc jabberd14-1.6.1.1/jabberd/lib/xmlnode.cc +--- /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/lib/xmlnode.cc 2011-08-09 00:37:29.000000000 +0400 ++++ jabberd14-1.6.1.1/jabberd/lib/xmlnode.cc 2007-04-07 23:43:18.000000000 +0400 +@@ -910,8 +910,8 @@ + } + + /* separate this step from the next one, and check for a predicate in this step */ +- start_predicate = strchr((char*)path, '['); +- next_step = strchr((char*)path, '/'); ++ start_predicate = strchr(path, '['); ++ next_step = strchr(path, '/'); + if (start_predicate == NULL && next_step == NULL) { + this_step = pstrdup(p, path); + } else if (start_predicate == NULL || start_predicate > next_step && next_step != NULL) { +@@ -1833,8 +1833,7 @@ + if (lang != NULL && strchr(lang, '-') != NULL) { + snprintf(general_lang, sizeof(general_lang), "%s", lang); + if (strchr(lang, '-') != NULL) { +- char *tmp = strchr((char*)lang, '-'); +- tmp[0] = 0; ++ strchr(lang, '-')[0] = 0; + } else { + general_lang[0] = 0; + } +diff -wbBur /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/log.cc jabberd14-1.6.1.1/jabberd/log.cc +--- /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/log.cc 2011-08-09 00:37:29.000000000 +0400 ++++ jabberd14-1.6.1.1/jabberd/log.cc 2007-07-20 17:56:59.000000000 +0400 +@@ -86,7 +86,7 @@ + char *pos, c = '\0'; + if(zone != NULL && debug__zones != NULL) + { +- pos = strchr((char*)zone,'.'); ++ pos = strchr(zone,'.'); + if(pos != NULL) + { + c = *pos; +diff -wbBur /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/mio_tls.cc jabberd14-1.6.1.1/jabberd/mio_tls.cc +--- /mnt/temp/builds/staging-i686/sergej/build/src/jabberd14-1.6.1.1/jabberd/mio_tls.cc 2011-08-09 00:53:55.000000000 +0400 ++++ jabberd14-1.6.1.1/jabberd/mio_tls.cc 2007-07-17 03:20:44.000000000 +0400 +@@ -43,7 +43,6 @@ + #include + #include + #include +-#include + + // Tell gcrypt that we are using libpth - had to move this to a plain C file + extern "C" void mio_tls_gcrypt_init(void); +@@ -613,8 +612,7 @@ + } + + // load OpenPGP key/certificate +-// ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile); +- ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile, GNUTLS_OPENPGP_FMT_BASE64); ++ ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile); + if (ret < 0) { + log_error(NULL, "Error loading OpenPGP key pub=%s/priv=%s: %s", pubfile, privfile, gnutls_strerror(ret)); + continue; +@@ -633,8 +631,7 @@ + } + + // load the OpenPGP keyring +-// ret = gnutls_certificate_set_openpgp_keyring_file(current_credentials, file); +- ret = gnutls_certificate_set_openpgp_keyring_file(current_credentials, file, GNUTLS_OPENPGP_FMT_BASE64); ++ ret = gnutls_certificate_set_openpgp_keyring_file(current_credentials, file); + if (ret < 0) { + log_error(NULL, "Error loading OpenPGP keyring %s: %s", file, gnutls_strerror(ret)); + continue; +@@ -643,8 +640,6 @@ + continue; + } + +- +-/* + // load GnuPG trustdb + if (j_strcmp(xmlnode_get_localname(cur), "trustdb") == 0) { + char const *const file = xmlnode_get_data(cur); +@@ -661,7 +656,6 @@ + continue; + } + } +-*/ + + // setup protocols to use + if (j_strcmp(xmlnode_get_localname(cur), "protocols") == 0) { diff --git a/community-testing/jabberd14/jabberd b/community-testing/jabberd14/jabberd new file mode 100644 index 000000000..afbe6ef69 --- /dev/null +++ b/community-testing/jabberd14/jabberd @@ -0,0 +1,58 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +get_pid() { + pidof /usr/bin/jabberd +} + +case "$1" in + start) + stat_busy "Starting Jabber daemon" + + [ -d /var/run/jabberd ] || mkdir -p /var/run/jabberd + [ -f /var/run/jabberd/jabber.pid ] && rm -f /var/run/jabberd/jabber.pid + PID=`get_pid` + if [ -z "$PID" ]; then + /usr/bin/jabberd -c /etc/jabberd/jabber.xml -B >/dev/null 2>/dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + sleep 1 # wait on children + echo `get_pid` > /var/run/jabberd/jabberd.pid + add_daemon jabberd + sleep 1 + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping Jabber daemon" + PID=`get_pid` + [ ! -z "$PID" ] && kill $PID &> /dev/null + sleep 2 + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/jabberd/jabberd.pid &> /dev/null + rm_daemon jabberd + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-testing/libinfinity/PKGBUILD b/community-testing/libinfinity/PKGBUILD new file mode 100644 index 000000000..6f6e5f123 --- /dev/null +++ b/community-testing/libinfinity/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 53722 2011-08-07 21:43:34Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Sven-Hendrik Haase +# Contributor: Gregory Haynes + +pkgname=libinfinity +pkgver=0.5.1 +pkgrel=2 +pkgdesc="An implementation of the Infininote protocol written in GObject-based C" +arch=('i686' 'x86_64') +url="http://gobby.0x539.de" +license=('GPL') +depends=('gnutls>=1.7.2' 'gsasl>=0.2.21' 'glib2>=2.16' 'libxml2>=2.0' 'gtk2') +makedepends=('gtk-doc' 'pkgconfig') +optdepends=('avahi: zeroconf support' + 'gtk2: gtk support') +options=('!libtool') +source=("http://releases.0x539.de/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('85e6d75e101fe25503653d2202054eff') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --localstatedir=/var + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + rm -rf $pkgdir/var +} diff --git a/community-testing/libmicrohttpd/PKGBUILD b/community-testing/libmicrohttpd/PKGBUILD new file mode 100644 index 000000000..357863f07 --- /dev/null +++ b/community-testing/libmicrohttpd/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 53725 2011-08-07 21:44:17Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Norberto Lopes +# Contributor: Kao Dome +# Contributor: Dmitrij D. Czarkoff +# Contributor: Mathias Rohnstock + +pkgname=libmicrohttpd +pkgver=0.9.12 +pkgrel=2 +pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/libmicrohttpd/" +license=('LGPL') +options=('!libtool') +depends=('gnutls') +install=libmicrohttpd.install +source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) +md5sums=('35b000cd7d201ace2b071d53a02b2c0d') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-dependency-tracking --enable-largefile \ + --enable-curl --enable-messages --with-pic + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/platform.h \ + ${pkgdir}/usr/include/$pkgname/platform.h + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/plibc/plibc.h \ + ${pkgdir}/usr/include/$pkgname/plibc.h + sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' \ + $pkgdir/usr/lib/pkgconfig/libmicrohttpd.pc +} diff --git a/community-testing/libmicrohttpd/libmicrohttpd.install b/community-testing/libmicrohttpd/libmicrohttpd.install new file mode 100644 index 000000000..dc0d2b996 --- /dev/null +++ b/community-testing/libmicrohttpd/libmicrohttpd.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(microhttpd.info microhttpd-tutorial.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} diff --git a/community-testing/libvirt/PKGBUILD b/community-testing/libvirt/PKGBUILD new file mode 100644 index 000000000..87c98529a --- /dev/null +++ b/community-testing/libvirt/PKGBUILD @@ -0,0 +1,81 @@ +# $Id: PKGBUILD 53748 2011-08-07 22:06:51Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Jonathan Wiersma + +pkgname=libvirt +pkgver=0.9.4 +pkgrel=2 +pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" +arch=('i686' 'x86_64') +url="http://libvirt.org/" +license=('LGPL') +depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' + 'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus-core' 'libxau' 'libxdmcp' 'libpcap' + 'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs' + 'iproute2') +makedepends=('pkgconfig' 'lvm2') +optdepends=('bridge-utils: for briged networking (default)' + 'dnsmasq: for NAT/DHCP for guests' + 'kernel26-ovz24: for openvz guests' + 'kvm' + 'lxc' + 'openbsd-netcat: for remote management over ssh' + 'qemu' + 'user-mode-linux' + 'virtualbox_bin' + 'virtualbox-ose' + 'xen' + 'radvd') +options=('emptydirs' '!libtool') +backup=('etc/conf.d/libvirtd' + 'etc/libvirt/libvirtd.conf' + 'etc/libvirt/qemu.conf' + 'etc/sasl2/libvirt.conf') +install="libvirt.install" +source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" + libvirtd.rc.d + libvirtd.conf.d + openbsd-netcat-default.patch + unixperms.patch + yajl-2.x.patch) +md5sums=('86b411b11bd23d4af20611699f372af7' + 'c43244c40a0437038c82089618e7beaa' + '3ed0e24f5b5e25bf553f5427d64915e6' + 'ee7052f3929d5d918236c646a59edebf' + 'db95aecdf2ccf3693fef5821cdcb7eba' + '5745bb8d0b254abb7a3528c66e03b0f9') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fix + export PYTHON=`which python2` + for file in $(find . -name '*.py' -print); do + sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + +# for more information on authentication see http://libvirt.org/auth.html +# If you wish to have unix-permissions based access rather than only polkit +# access, create a group called libvirt and uncomment the line below: +# patch -Np1 -i "$srcdir"/unixperms.patch + + [ $NOEXTRACT -eq 1 ] || patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch + + # fixes for yajl 2.0 API changes +# [ $NOEXTRACT -eq 1 ] || patch -Np1 -i "$srcdir/yajl-2.x.patch" + + export LDFLAGS=-lX11 + [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" \ + --with-storage-lvm --without-xen --with-udev --without-hal + find -name Makefile -exec sed -i 's#-L /usr#-L/usr#' {} \; + make -j1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/libvirtd.rc.d "$pkgdir"/etc/rc.d/libvirtd + install -D -m644 "$srcdir"/libvirtd.conf.d "$pkgdir"/etc/conf.d/libvirtd + rm -rf $pkgdir/var/run +} diff --git a/community-testing/libvirt/libvirt.install b/community-testing/libvirt/libvirt.install new file mode 100644 index 000000000..3881386d2 --- /dev/null +++ b/community-testing/libvirt/libvirt.install @@ -0,0 +1,38 @@ +_libvirt_setup() { + rm -f /usr/lib/python?.?/site-packages/libvirt.pyc + echo ">>> To use libvirt as a non-root user:" + echo ">>> Use polkit to grant access." + echo ">>> ...or change the access model in /etc/libvirt/libvirtd.conf." + echo ">>> (see unixperms.patch in PKGBUILD for help)" + echo "" +} + +post_install() { + _libvirt_setup || return 1 + echo ">>> Be sure to see optdepends as you may find some of them helpfull." + echo ">>> Especially: bridge-utils, dnsmasq, and hal." + echo "" + echo ">>> To start libvirtd run: '/etc/rc.d/libvirtd start' as root." + echo ">>> Add 'libvirtd' to daemons in /etc/rc.conf if you want it to load upon" + echo ">>> booting." + echo "" + /bin/true +} + +post_upgrade() { + _libvirt_setup || return 1 + echo ">>> To finish the upgrade, restart libvirtd by running the command:" + echo ">>> '/etc/rc.d/libvirtd restart' as root or rebooting." + echo ">>> You may also need to run 'rm -rf ~/.libvirt'" + echo "" + /bin/true +} + +post_remove() { + rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc + echo ">>> You may wish to delete the group 'libvirt' if it still exists." + echo ">>> It can be removed by running 'groupdel libvirt' as root." + echo "" + depmod -a + /bin/true +} diff --git a/community-testing/libvirt/libvirtd.conf.d b/community-testing/libvirt/libvirtd.conf.d new file mode 100644 index 000000000..d4d25b47a --- /dev/null +++ b/community-testing/libvirt/libvirtd.conf.d @@ -0,0 +1,3 @@ +LIBVIRTD_CONFIG="/etc/libvirt/libvirtd.conf" +LIBVIRTD_ARGS="-p /var/run/libvirtd.pid" +KRB5_KTNAME="/etc/libvirt/krb5.tab" diff --git a/community-testing/libvirt/libvirtd.rc.d b/community-testing/libvirt/libvirtd.rc.d new file mode 100755 index 000000000..193bffa9c --- /dev/null +++ b/community-testing/libvirt/libvirtd.rc.d @@ -0,0 +1,66 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/conf.d/libvirtd +. /etc/rc.d/functions + +LIBVIRTD_CONFIG_ARGS= +if [ -n "$LIBVIRTD_CONFIG" ] +then + LIBVIRTD_CONFIG_ARGS="--config $LIBVIRTD_CONFIG" +fi + +PID=`pidof -o %PPID /usr/sbin/libvirtd` +case "$1" in + start) + stat_busy "Starting libvirtd" + export RADVD=/usr/sbin/radvd + for i in /var/run/libvirt/qemu /var/run/libvirt/lxc /var/run/libvirt/uml /var/run/libvirt/network; do + [ -d $i ] || mkdir -p $i + done + [ -z "$PID" ] && ( + mkdir -p /var/{cache,run}/libvirt + rm -rf /var/cache/libvirt/* + KRB5_KTNAME=$KRB5_KTNAME \ + /usr/sbin/libvirtd --daemon $LIBVIRTD_CONFIG_ARGS $LIBVIRTD_ARGS + ) + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon libvirtd + stat_done + fi + ;; + stop) + stat_busy "Stopping libvirtd" + [ ! -z "$PID" ] && ( + kill $PID &> /dev/null + rm -rf /var/cache/libvirt/* + rm -f /var/run/libvirtd.pid + ) + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon libvirtd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + reload) + stat_busy "Reloading libvirtd configuration" + [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + fi + ;; + *) + echo $"Usage: $0 {start|stop|restart|reload}" + ;; +esac +exit 0 diff --git a/community-testing/libvirt/openbsd-netcat-default.patch b/community-testing/libvirt/openbsd-netcat-default.patch new file mode 100644 index 000000000..c7543c5a4 --- /dev/null +++ b/community-testing/libvirt/openbsd-netcat-default.patch @@ -0,0 +1,36 @@ +diff -wbBur libvirt-0.9.4.org/src/qemu/qemu_migration.c libvirt-0.9.4/src/qemu/qemu_migration.c +--- libvirt-0.9.4.org/src/qemu/qemu_migration.c 2011-08-03 05:36:34.000000000 +0400 ++++ libvirt-0.9.4/src/qemu/qemu_migration.c 2011-08-03 13:29:56.000000000 +0400 +@@ -1612,7 +1612,7 @@ + ret = qemuMonitorMigrateToUnix(priv->mon, background_flags, + unixfile); + } else if (qemuCapsGet(priv->qemuCaps, QEMU_CAPS_MIGRATE_QEMU_EXEC)) { +- const char *args[] = { "nc", "-U", unixfile, NULL }; ++ const char *args[] = { "nc.openbsd", "-U", unixfile, NULL }; + ret = qemuMonitorMigrateToCommand(priv->mon, QEMU_MONITOR_MIGRATE_BACKGROUND, args); + } else { + ret = -1; +diff -wbBur libvirt-0.9.4.org/src/remote/remote_driver.c libvirt-0.9.4/src/remote/remote_driver.c +--- libvirt-0.9.4.org/src/remote/remote_driver.c 2011-07-29 09:14:03.000000000 +0400 ++++ libvirt-0.9.4/src/remote/remote_driver.c 2011-08-03 13:30:05.000000000 +0400 +@@ -588,7 +588,7 @@ + username, + !tty, + !verify, +- netcat ? netcat : "nc", ++ netcat ? netcat : "nc.openbsd", + keyfile, + sockname))) + goto failed; +diff -wbBur libvirt-0.9.4.org/src/rpc/virnetsocket.c libvirt-0.9.4/src/rpc/virnetsocket.c +--- libvirt-0.9.4.org/src/rpc/virnetsocket.c 2011-08-01 05:32:35.000000000 +0400 ++++ libvirt-0.9.4/src/rpc/virnetsocket.c 2011-08-03 13:29:46.000000000 +0400 +@@ -629,7 +629,7 @@ + if (noVerify) + virCommandAddArgList(cmd, "-o", "StrictHostKeyChecking=no", NULL); + virCommandAddArgList(cmd, nodename, +- netcat ? netcat : "nc", ++ netcat ? netcat : "nc.openbsd", + "-U", path, NULL); + + return virNetSocketNewConnectCommand(cmd, retsock); diff --git a/community-testing/libvirt/unixperms.patch b/community-testing/libvirt/unixperms.patch new file mode 100644 index 000000000..b3fb86cf5 --- /dev/null +++ b/community-testing/libvirt/unixperms.patch @@ -0,0 +1,47 @@ +diff -ur libvirt-0.7.4-orig/daemon/libvirtd.conf libvirt-0.7.4-patched/daemon/libvirtd.conf +--- libvirt-0.7.4-orig/daemon/libvirtd.conf 2009-11-23 03:10:33.398655655 -0800 ++++ libvirt-0.7.4-patched/daemon/libvirtd.conf 2009-11-23 03:09:37.831189671 -0800 +@@ -78,14 +78,14 @@ + # without becoming root. + # + # This is restricted to 'root' by default. +-#unix_sock_group = "libvirt" ++unix_sock_group = "libvirt" + + # Set the UNIX socket permissions for the R/O socket. This is used + # for monitoring VM status only + # + # Default allows any user. If setting group ownership may want to + # restrict this to: +-#unix_sock_ro_perms = "0777" ++unix_sock_ro_perms = "0770" + + # Set the UNIX socket permissions for the R/W socket. This is used + # for full management of VMs +@@ -95,7 +95,7 @@ + # + # If not using PolicyKit and setting group ownership for access + # control then you may want to relax this to: +-#unix_sock_rw_perms = "0770" ++unix_sock_rw_perms = "0770" + + # Set the name of the directory in which sockets will be found/created. + #unix_sock_dir = "/var/run/libvirt" +@@ -126,7 +126,7 @@ + # + # To restrict monitoring of domains you may wish to enable + # an authentication mechanism here +-#auth_unix_ro = "none" ++auth_unix_ro = "none" + + # Set an authentication scheme for UNIX read-write sockets + # By default socket permissions only allow root. If PolicyKit +@@ -135,7 +135,7 @@ + # + # If the unix_sock_rw_perms are changed you may wish to enable + # an authentication mechanism here +-#auth_unix_rw = "none" ++auth_unix_rw = "none" + + # Change the authentication scheme for TCP sockets. + # diff --git a/community-testing/libvirt/yajl-2.x.patch b/community-testing/libvirt/yajl-2.x.patch new file mode 100644 index 000000000..80d3edce0 --- /dev/null +++ b/community-testing/libvirt/yajl-2.x.patch @@ -0,0 +1,66 @@ +--- a/src/util/json.c 2011-03-24 03:10:26.000000000 -0400 ++++ b/src/util/json.c 2011-04-25 20:01:29.354939116 -0400 +@@ -709,7 +709,7 @@ + + static int virJSONParserHandleNumber(void * ctx, + const char * s, +- unsigned int l) ++ size_t l) + { + virJSONParserPtr parser = ctx; + char *str = strndup(s, l); +@@ -735,7 +735,7 @@ + + static int virJSONParserHandleString(void * ctx, + const unsigned char * stringVal, +- unsigned int stringLen) ++ size_t stringLen) + { + virJSONParserPtr parser = ctx; + virJSONValuePtr value = virJSONValueNewStringLen((const char *)stringVal, +@@ -756,7 +756,7 @@ + + static int virJSONParserHandleMapKey(void * ctx, + const unsigned char * stringVal, +- unsigned int stringLen) ++ size_t stringLen) + { + virJSONParserPtr parser = ctx; + virJSONParserStatePtr state; +@@ -894,14 +894,14 @@ + /* XXX add an incremental streaming parser - yajl trivially supports it */ + virJSONValuePtr virJSONValueFromString(const char *jsonstring) + { +- yajl_parser_config cfg = { 1, 1 }; + yajl_handle hand; + virJSONParser parser = { NULL, NULL, 0 }; + virJSONValuePtr ret = NULL; + + VIR_DEBUG("string=%s", jsonstring); + +- hand = yajl_alloc(&parserCallbacks, &cfg, NULL, &parser); ++ hand = yajl_alloc(&parserCallbacks, NULL, &parser); ++ yajl_config(hand, yajl_allow_comments, 1); + + if (yajl_parse(hand, + (const unsigned char *)jsonstring, +@@ -1002,15 +1002,16 @@ + + char *virJSONValueToString(virJSONValuePtr object) + { +- yajl_gen_config conf = { 0, " " }; /* Turns off pretty printing since QEMU can't cope */ + yajl_gen g; + const unsigned char *str; + char *ret = NULL; +- unsigned int len; ++ size_t len; + + VIR_DEBUG("object=%p", object); + +- g = yajl_gen_alloc(&conf, NULL); ++ g = yajl_gen_alloc(NULL); ++ yajl_gen_config(g, yajl_gen_beautify, 0); ++ yajl_gen_config(g, yajl_gen_indent_string, " "); + + if (virJSONValueToStringOne(object, g) < 0) { + virReportOOMError(); diff --git a/community-testing/mailutils/PKGBUILD b/community-testing/mailutils/PKGBUILD new file mode 100644 index 000000000..521f58a01 --- /dev/null +++ b/community-testing/mailutils/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 53728 2011-08-07 21:45:04Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=mailutils +pkgver=2.2 +pkgrel=3 +pkgdesc="MUA command line tool (mailx)" +arch=(i686 x86_64) +url="http://www.gnu.org/software/mailutils/" +license=('GPL') +depends=('libldap' 'pam' 'gnutls' 'guile') +makedepends=('python2' 'emacs') +optdepends=('python2') +conflicts=('libsieve') +install=mailutils.install +options=(zipman !emptydirs) +source=(http://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2) +md5sums=('834d2f616b922856127ecfe6c2de7d1a') + +build() { + cd "$srcdir/mailutils-$pkgver" + + py2=`pacman -Q python2 | cut -d\ -f2 | cut -d. -f1-2` + py3=`pacman -Q python | cut -d\ -f2 | cut -d. -f1-2` + + export PYTHON=/usr/bin/python2 + export PYTHON_CONFIG=/usr/bin/python2-config + export CFLAGS="$CFLAGS `pkg-config --cflags python-$py2`" + export LDFLAGS="$LDFLAGS `pkg-config --libs python-$py2`" + + [ -f Makefile ] || ./configure --prefix=/usr --with-gdbm --with-gnutls \ + --libexecdir=/usr/lib/$pkgname --without-fribidi \ + --without-tcp-wrappers +# [ -z "$py3" ] || find -type f -name Makefile -exec sed -i "s|python$py3|python$py2|" {} \; + make -j1 +} + +package() { + cd "$srcdir/mailutils-$pkgver" + make -j1 DESTDIR=$pkgdir install + rm -f $pkgdir/usr/share/info/dir + mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail + mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1 + chown -R root:root $pkgdir +} diff --git a/community-testing/mailutils/mailutils.install b/community-testing/mailutils/mailutils.install new file mode 100644 index 000000000..03b451b3e --- /dev/null +++ b/community-testing/mailutils/mailutils.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(mailutils.info mailutils.info-1 mailutils.info-2) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} diff --git a/community-testing/minbif/PKGBUILD b/community-testing/minbif/PKGBUILD new file mode 100644 index 000000000..663b6d65a --- /dev/null +++ b/community-testing/minbif/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 53751 2011-08-07 23:40:14Z lfleischer $ +# Maintainer: Lukas Fleischer +# Contributor: AkiraYB + +pkgname=minbif +pkgver=1.0.4 +pkgrel=4 +pkgdesc='An IRC gateway to IM networks that uses libpurple.' +arch=('i686' 'x86_64') +url='http://minbif.im/' +license=('GPL2') +depends=('gnutls' 'libcaca' 'libpurple') +makedepends=('cmake') +optdepends=('xinetd: to run minbif through xinetd') +backup=('etc/minbif/minbif.conf' + 'etc/minbif/minbif.motd') +install='minbif.install' +source=("http://minbif.im/attachments/download/90/${pkgname}-${pkgver}.tar.gz" + 'minbif') +md5sums=('25069fb6015dfb9ddc24ef2e09e74da3' + '307a6fab42bcaeed11a55b5fb4589778') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \ + ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -dm0755 "${pkgdir}/var/lib" + install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif" + install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users" + install -Dm0755 "${srcdir}/minbif" "${pkgdir}/etc/rc.d/minbif" + + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/minbif/minbif b/community-testing/minbif/minbif new file mode 100644 index 000000000..47888d169 --- /dev/null +++ b/community-testing/minbif/minbif @@ -0,0 +1,49 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/minbif` +case "$1" in + start) + stat_busy "Starting minbif daemon" + if [ -z "$PID" ]; then + if [ ! -d /var/run/minbif ]; then + mkdir -p /var/run/minbif && chown minbif:minbif /var/run/minbif + fi + [ -f /var/run/minbif/minbif.pid ] && rm -f /var/run/minbif/minbif.pid + CMD='/usr/bin/minbif --pidfile /var/run/minbif/minbif.pid \ + /etc/minbif/minbif.conf' + su -s /bin/sh -c "$CMD" minbif + + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon minbif + stat_done + fi + else + stat_fail + fi + ;; + + stop) + stat_busy "Stopping minbif daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm -f /var/run/minbif/minbif.pid + rm_daemon minbif + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-testing/minbif/minbif.install b/community-testing/minbif/minbif.install new file mode 100644 index 000000000..264763407 --- /dev/null +++ b/community-testing/minbif/minbif.install @@ -0,0 +1,18 @@ +post_install() { + grep -qs ^minbif: /etc/group || groupadd -g 67 minbif + grep -qs ^minbif: /etc/passwd || useradd -u 67 -g minbif \ + -d /var/lib/minbif -s /bin/false minbif + + chown -R minbif:minbif /var/lib/minbif + chmod 0770 /var/lib/minbif + chmod 0770 /var/lib/minbif/users +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + grep -qs ^minbif: /etc/passwd && userdel minbif + grep -qs ^minbif: /etc/group && groupdel minbif +} diff --git a/community-testing/net6/PKGBUILD b/community-testing/net6/PKGBUILD new file mode 100644 index 000000000..1d5a6e025 --- /dev/null +++ b/community-testing/net6/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 53842 2011-08-08 20:25:54Z spupykin $ +# Contributor: Angel 'angvp' Velasquez +# Contributor: William Rea +# Contributor: Jaroslav Lichtblau + +pkgname=net6 +pkgver=1.3.12 +pkgrel=2 +pkgdesc="A library that provides a TCP protocol abstraction for C++" +arch=('i686' 'x86_64') +url="http://gobby.0x539.de/" +license=('LGPL') +depends=('gnutls' 'libsigc++2.0') +options=('!libtool') +source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz + build-fix.patch) +md5sums=('506776416d8aea2b9ea13a81f9145383' + '18ac67590d6bce0a0a4a6a21af8da429') + +build() { + cd ${srcdir}/$pkgname-$pkgver + patch -Rp1 <$srcdir/build-fix.patch + ./configure --prefix=/usr + make + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/net6/build-fix.patch b/community-testing/net6/build-fix.patch new file mode 100644 index 000000000..7e932bce6 --- /dev/null +++ b/community-testing/net6/build-fix.patch @@ -0,0 +1,24 @@ +diff -wbBur /mnt/temp/builds/staging-i686/sergej/build/src/net6-1.3.12/inc/encrypt.hpp net6-1.3.12/inc/encrypt.hpp +--- /mnt/temp/builds/staging-i686/sergej/build/src/net6-1.3.12/inc/encrypt.hpp 2011-08-09 00:19:29.000000000 +0400 ++++ net6-1.3.12/inc/encrypt.hpp 2009-11-15 16:02:46.000000000 +0300 +@@ -34,7 +34,7 @@ + typedef gnutls_anon_server_credentials gnutls_anon_server_credentials_t; + typedef gnutls_transport_ptr gnutls_transport_ptr_t; + typedef gnutls_dh_params gnutls_dh_params_t; +-//typedef gnutls_connection_end gnutls_connection_end_t; ++typedef gnutls_connection_end gnutls_connection_end_t; + + class dh_params: private net6::non_copyable + { +diff -wbBur /mnt/temp/builds/staging-i686/sergej/build/src/net6-1.3.12/src/encrypt.cpp net6-1.3.12/src/encrypt.cpp +--- /mnt/temp/builds/staging-i686/sergej/build/src/net6-1.3.12/src/encrypt.cpp 2011-08-09 00:20:12.000000000 +0400 ++++ net6-1.3.12/src/encrypt.cpp 2009-11-15 16:02:46.000000000 +0300 +@@ -25,7 +25,7 @@ + { + const unsigned int DH_BITS = 1024; + +- net6::gnutls_session_t create_session(gnutls_connection_end_t end) ++ net6::gnutls_session_t create_session(net6::gnutls_connection_end_t end) + { + net6::gnutls_session_t session; + gnutls_init(&session, end); diff --git a/community-testing/nzbget/ChangeLog b/community-testing/nzbget/ChangeLog new file mode 100644 index 000000000..74030cd3d --- /dev/null +++ b/community-testing/nzbget/ChangeLog @@ -0,0 +1,18 @@ +2010-05-12 Jaroslav Lichtblau + * Fixed FS#19399 - missing postprocess-example.conf file + +2010-05-04 Jaroslav Lichtblau + * Update to major release 0.7.0 + +2009-10-11 Jaroslav Lichtblau + * Dependency added (gnutls) in v0.6.0-2 + +2008-03-20 Jaroslav Lichtblau + * Update to major release 0.6.0 + +2008-09-25 Jaroslav Lichtblau + * Update to major release 0.5.1 + +2008-09-09 Jaroslav Lichtblau + * Package moved to [community] + * Update to major release 0.5.0 diff --git a/community-testing/nzbget/PKGBUILD b/community-testing/nzbget/PKGBUILD new file mode 100644 index 000000000..278e38ac8 --- /dev/null +++ b/community-testing/nzbget/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 53834 2011-08-08 19:30:16Z jelle $ +# Maintainer: Jaroslav Lichtblau + +pkgname=nzbget +pkgver=0.7.0 +pkgrel=3 +pkgdesc="Downloads from Usenet using .nzb files" +arch=('i686' 'x86_64') +url="http://nzbget.sourceforge.net/" +license=('GPL') +depends=('gnutls' 'libpar2' 'libxml2' 'ncurses') +makedepends=('autoconf' 'automake') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('27971846aba75f5e312d80dce7edbc5d') + +build() { + cd ${srcdir}/$pkgname-$pkgver + +# autoreconf -fi || return 1 +#uudeview ("uulib") has been removed, and "it did not work well anyway" + ./configure --prefix=/usr --enable-parcheck || return 1 + make +} +package() { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install + +#other files + install -d ${pkgdir}/usr/share/$pkgname || return 1 + install -m644 -t ${pkgdir}/usr/share/$pkgname \ + AUTHORS postprocess-example.sh postprocess-example.conf \ + ChangeLog nzbget.conf.example README || return 1 +} diff --git a/community-testing/remmina-plugins/PKGBUILD b/community-testing/remmina-plugins/PKGBUILD new file mode 100644 index 000000000..9e4534e2f --- /dev/null +++ b/community-testing/remmina-plugins/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 53731 2011-08-07 21:45:50Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Stijn Segers + +pkgname=remmina-plugins +pkgver=0.9.2 +pkgrel=2 +pkgdesc="Remina plugins" +#"Remmina supports multiple network protocols in an integrated and consistant user interface. +# Currently RDP, VNC, XDMCP and SSH are supported." +arch=(i686 x86_64) +url="http://sourceforge.net/projects/remmina/" +license=('GPL') +conflicts=(remmina-plugins-svn) +depends=("remmina>=0.9.0" freerdp libxkbfile telepathy-glib) +makedepends=(intltool pkgconfig gettext perl avahi) +install=remmina-plugins.install +options=('!libtool') +source=(http://downloads.sourceforge.net/project/remmina/0.9/$pkgname-$pkgver.tar.gz) +md5sums=('6f6b7cb18f7604f3f17eeda5173ede6a') + +build() { + cd $srcdir/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-ssh --enable-rdp \ + --enable-vnc --enable-xdmcp --enable-nx \ + --enable-telepathy + make + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/remmina-plugins/remmina-plugins.install b/community-testing/remmina-plugins/remmina-plugins.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/community-testing/remmina-plugins/remmina-plugins.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-testing/rsyslog/PKGBUILD b/community-testing/rsyslog/PKGBUILD new file mode 100644 index 000000000..14d38eb88 --- /dev/null +++ b/community-testing/rsyslog/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 53982 2011-08-10 20:56:05Z spupykin $ +# Maintainer: Sergej Pupykin + +pkgname=rsyslog +pkgver=5.8.4 +pkgrel=2 +pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" +url="http://www.rsyslog.com/" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('zlib') +makedepends=('postgresql-libs>=8.4.1' 'libmysqlclient' 'net-snmp' 'gnutls') +optdepends=('postgresql-libs: PostgreSQL Database Support' + 'libmysqlclient: MySQL Database Support' + 'net-snmp' + 'gnutls') +backup=('etc/rsyslog.conf' \ + 'etc/logrotate.d/rsyslog' + 'etc/conf.d/rsyslog') +options=('strip' 'zipman' '!libtool') +source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz" + 'rsyslog' + 'rsyslog.logrotate' + 'rsyslog.conf.d') +md5sums=('a2c2a65ac84d9a895c52a754aff61986' + 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' + '8065db4bef3061a4f000ba58779f6829' + '1a0cd4530dd5d1439456d5ae230574d9') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --enable-mysql \ + --enable-pgsql \ + --enable-mail \ + --enable-imfile \ + --enable-imtemplate \ + --enable-snmp \ + --enable-gnutls \ + --enable-inet \ + --with-systemdsystemunitdir=/lib/systemd/system + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make install DESTDIR=${pkgdir} + # Install Daemons and Configuration Files + install -D -m755 ${srcdir}/${pkgname} ${pkgdir}/etc/rc.d/${pkgname}d + install -D -m644 ${pkgname}.conf ${pkgdir}/etc/${pkgname}.conf + install -D -m644 $srcdir/${pkgname}.logrotate ${pkgdir}/etc/logrotate.d/${pkgname} + install -D -m644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/${pkgname} +} diff --git a/community-testing/rsyslog/rsyslog b/community-testing/rsyslog/rsyslog new file mode 100755 index 000000000..ee0145418 --- /dev/null +++ b/community-testing/rsyslog/rsyslog @@ -0,0 +1,39 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/rsyslog + +PID=`pidof -o %PPID /usr/sbin/rsyslogd` +case "$1" in + start) + stat_busy "Starting RSyslogd" + [ -z "$PID" ] && /usr/sbin/rsyslogd $RSYSLOGD_ARGS + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon rsyslogd + stat_done + fi + ;; + stop) + stat_busy "Stopping RSyslogd" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm -f /var/run/rsyslogd.pid + rm -f /var/rsyslogd.persist + rm_daemon rsyslogd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-testing/rsyslog/rsyslog.conf.d b/community-testing/rsyslog/rsyslog.conf.d new file mode 100644 index 000000000..e39f8c3b9 --- /dev/null +++ b/community-testing/rsyslog/rsyslog.conf.d @@ -0,0 +1,6 @@ +# +# Parameters to be passed to rsyslogd +# This should almost certainly include at least the current compatability +# level, e.g. -c4 +# +RSYSLOGD_ARGS="-c4" diff --git a/community-testing/rsyslog/rsyslog.logrotate b/community-testing/rsyslog/rsyslog.logrotate new file mode 100644 index 000000000..76306c560 --- /dev/null +++ b/community-testing/rsyslog/rsyslog.logrotate @@ -0,0 +1,7 @@ +/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log { + missingok + sharedscripts + postrotate + /usr/bin/killall -HUP /usr/sbin/rsyslogd + endscript +} diff --git a/community-testing/smalltalk/PKGBUILD b/community-testing/smalltalk/PKGBUILD new file mode 100644 index 000000000..1be6f7500 --- /dev/null +++ b/community-testing/smalltalk/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 53831 2011-08-08 19:25:38Z jelle $ +# Maintainer: Kaiting Chen +# Contributor: mrshpot +# Contributor: Michael Fellinger + +pkgname=smalltalk +pkgver=3.2.4 +pkgrel=2 +pkgdesc='A free implementation of Smalltalk-80 by the GNU project' +url='http://smalltalk.gnu.org/' +license=('GPL' 'LGPL') +arch=('i686' 'x86_64') +options=('!libtool') + +depends=('gmp' 'libffi' 'libsigsegv' 'readline') +makedepends=('gdbm' 'gtk2' 'sqlite3' 'tk' 'zip') + +source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('a36a7c9beddca08dc492b500738efc82') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/smalltalk \ + --with-imagedir=/var/lib/smalltalk \ + --enable-gtk=yes \ + --with-system-libffi \ + --with-system-libsigsegv \ + --with-readline \ + --with-tcl --with-tk \ + --with-x --without-emacs + make +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install + + # fix manpage symlink + rm -f $pkgdir/usr/share/man/man1/gst-reload.1 + ln -s gst-load.1 $pkgdir/usr/share/man/man1/gst-reload.1 +} -- cgit v1.2.3-54-g00ecf