From a306c2530354c1c02351c4cc02eefa53c8d23eac Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Aug 2011 23:14:31 +0000 Subject: Tue Aug 9 23:14:31 UTC 2011 --- community-staging/ekg2/PKGBUILD | 40 ++++++++++++++ community-staging/gtk-gnutella/PKGBUILD | 26 +++++++++ community-staging/ifuse/PKGBUILD | 28 ++++++++++ community-staging/jabberd14/PKGBUILD | 34 ++++++++++++ community-staging/jabberd14/build-fix.patch | 84 +++++++++++++++++++++++++++++ community-staging/jabberd14/jabberd | 58 ++++++++++++++++++++ community-staging/net6/PKGBUILD | 26 +++++++++ community-staging/net6/build-fix.patch | 24 +++++++++ community-staging/nzbget/ChangeLog | 18 +++++++ community-staging/nzbget/PKGBUILD | 33 ++++++++++++ community-staging/smalltalk/PKGBUILD | 42 +++++++++++++++ 11 files changed, 413 insertions(+) create mode 100644 community-staging/ekg2/PKGBUILD create mode 100644 community-staging/gtk-gnutella/PKGBUILD create mode 100644 community-staging/ifuse/PKGBUILD create mode 100644 community-staging/jabberd14/PKGBUILD create mode 100644 community-staging/jabberd14/build-fix.patch create mode 100644 community-staging/jabberd14/jabberd create mode 100644 community-staging/net6/PKGBUILD create mode 100644 community-staging/net6/build-fix.patch create mode 100644 community-staging/nzbget/ChangeLog create mode 100644 community-staging/nzbget/PKGBUILD create mode 100644 community-staging/smalltalk/PKGBUILD (limited to 'community-staging') diff --git a/community-staging/ekg2/PKGBUILD b/community-staging/ekg2/PKGBUILD new file mode 100644 index 000000000..403ec002d --- /dev/null +++ b/community-staging/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-staging/gtk-gnutella/PKGBUILD b/community-staging/gtk-gnutella/PKGBUILD new file mode 100644 index 000000000..1eb8c2b0f --- /dev/null +++ b/community-staging/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-staging/ifuse/PKGBUILD b/community-staging/ifuse/PKGBUILD new file mode 100644 index 000000000..e85372405 --- /dev/null +++ b/community-staging/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-staging/jabberd14/PKGBUILD b/community-staging/jabberd14/PKGBUILD new file mode 100644 index 000000000..fccef817a --- /dev/null +++ b/community-staging/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-staging/jabberd14/build-fix.patch b/community-staging/jabberd14/build-fix.patch new file mode 100644 index 000000000..4f39b523e --- /dev/null +++ b/community-staging/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-staging/jabberd14/jabberd b/community-staging/jabberd14/jabberd new file mode 100644 index 000000000..afbe6ef69 --- /dev/null +++ b/community-staging/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-staging/net6/PKGBUILD b/community-staging/net6/PKGBUILD new file mode 100644 index 000000000..1d5a6e025 --- /dev/null +++ b/community-staging/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-staging/net6/build-fix.patch b/community-staging/net6/build-fix.patch new file mode 100644 index 000000000..7e932bce6 --- /dev/null +++ b/community-staging/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-staging/nzbget/ChangeLog b/community-staging/nzbget/ChangeLog new file mode 100644 index 000000000..74030cd3d --- /dev/null +++ b/community-staging/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-staging/nzbget/PKGBUILD b/community-staging/nzbget/PKGBUILD new file mode 100644 index 000000000..278e38ac8 --- /dev/null +++ b/community-staging/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-staging/smalltalk/PKGBUILD b/community-staging/smalltalk/PKGBUILD new file mode 100644 index 000000000..1be6f7500 --- /dev/null +++ b/community-staging/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