diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-03 11:39:36 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-03 11:39:36 -0300 |
commit | ca2e05bb7791418f2af678704160d56d8184a21a (patch) | |
tree | 48a6f85c00b3ed2362cc4d9c9d7f5230bb854eba /community-staging | |
parent | 45675ec8babcd9ea73f6a49f51f6e7da9d1f1592 (diff) | |
parent | 48c96871761a4aad193d814e87ddb87c322e17d2 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/libgda3/PKGBUILD
community/intel-tbb/PKGBUILD
community/mtpaint/PKGBUILD
extra/cmake/PKGBUILD
extra/graphicsmagick/PKGBUILD
extra/kdeadmin/PKGBUILD
extra/kdelibs/PKGBUILD
extra/lyx/PKGBUILD
extra/qtscriptgenerator/PKGBUILD
kde-unstable/kdeadmin/PKGBUILD
kde-unstable/kdelibs/PKGBUILD
kde-unstable/kdeplasma-addons/PKGBUILD
libre/libretools/PKGBUILD
libre/p7zip-libre/PKGBUILD
multilib-testing/lib32-glibc/PKGBUILD
multilib/wine/PKGBUILD
testing/glibc/PKGBUILD
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/dsniff/PKGBUILD | 36 | ||||
-rw-r--r-- | community-staging/librcc/PKGBUILD | 49 | ||||
-rw-r--r-- | community-staging/librcc/librcc-strnlen.patch | 17 | ||||
-rw-r--r-- | community-staging/librcc/librcc.install | 6 | ||||
-rw-r--r-- | community-staging/perl-berkeleydb/PKGBUILD | 32 | ||||
-rw-r--r-- | community-staging/poedit/PKGBUILD | 30 | ||||
-rw-r--r-- | community-staging/poedit/poedit.install | 11 |
7 files changed, 181 insertions, 0 deletions
diff --git a/community-staging/dsniff/PKGBUILD b/community-staging/dsniff/PKGBUILD new file mode 100644 index 000000000..cd45f4e70 --- /dev/null +++ b/community-staging/dsniff/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 61459 2011-12-31 21:13:32Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: ViNS <gladiator@fastwebnet.it> + +pkgname=dsniff +pkgver=2.4b1 +pkgrel=21 +pkgdesc="Collection of tools for network auditing and penetration testing" +url="http://www.monkey.org/~dugsong/dsniff/" +arch=('i686' 'x86_64') +license=('BSD') +depends=('libpcap' 'openssl' 'libxmu' 'glib2' 'libnet' 'libnids') +source=("http://www.monkey.org/~dugsong/${pkgname}/beta/$pkgname-$pkgver.tar.gz" + "http://ftp.de.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_2.4b1+debian-18.diff.gz") +md5sums=('2f761fa3475682a7512b0b43568ee7d6' + 'fbc9f62f9ab2f98f24f53ad497c1ce5d') + +build() { + cd $srcdir/$pkgname-2.4 + patch -N < "${srcdir}"/dsniff_2.4b1+debian-18.diff + for i in *.dpatch; do + patch -N < "$i" + done + + LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 $LDFLAGS" ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-2.4 + make prefix="$pkgdir"/usr install + install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE + + install -d "$pkgdir"/usr/share + mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ +} diff --git a/community-staging/librcc/PKGBUILD b/community-staging/librcc/PKGBUILD new file mode 100644 index 000000000..5fe6879d7 --- /dev/null +++ b/community-staging/librcc/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 61463 2011-12-31 21:14:57Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=librcc +pkgver=0.2.6 +pkgrel=5 +pkgdesc="Charset Conversion Library" +arch=(i686 x86_64) +url="http://rusxmms.sourceforge.net/" +license=('GPL') +depends=(aspell enca libxml2 db librcd) +makedepends=(patch gtk gtk2) +install=librcc.install +options=('!libtool') +source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2 + librcc-strnlen.patch) +md5sums=('9bbf248c7312c73c0b6ca19b9c5a2af1' + '040313d1d8f166ccf2b128cea4c05f21') + +build() { + cd ${startdir}/src/$pkgname-${pkgver} + ./configure --prefix=/usr + patch -p1 <$srcdir/librcc-strnlen.patch + make +} + +package() { + cd ${startdir}/src/$pkgname-${pkgver} + mkdir -p $startdir/pkg/etc/rcc + mkdir -p $startdir/pkg/usr/lib/rcc/engines + mkdir -p $startdir/pkg/usr/bin + + make DESTDIR=$startdir/pkg install + + make -C examples + make -C examples install DESTDIR=$startdir/pkg + rm -f $startdir/pkg/usr/bin/example* + + install -m 644 examples/rcc.xml $startdir/pkg/etc + + if [ -f $startdir/pkg/usr/bin/rcc-gtk2-config ]; then + ln -s rcc-gtk2-config $startdir/pkg/usr/bin/rcc-config + elif [ -f $startdir/pkg/usr/bin/rcc-gtk-config ]; then + ln -s rcc-gtk-config $startdir/pkg/usr/bin/rcc-config + else + echo "#!/bin/bash" > $startdir/pkg/usr/bin/rcc-config + echo "echo \"Configuration UI is not available!\"" >> $startdir/pkg/usr/bin/rcc-config + fi +} diff --git a/community-staging/librcc/librcc-strnlen.patch b/community-staging/librcc/librcc-strnlen.patch new file mode 100644 index 000000000..9fc0e8b0b --- /dev/null +++ b/community-staging/librcc/librcc-strnlen.patch @@ -0,0 +1,17 @@ +diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h +--- librcc-0.2.6/src/rccstring.h 2006-01-08 15:42:59.000000000 +0000 ++++ librcc-0.2.6.qwe/src/rccstring.h 2009-09-28 08:45:37.000000000 +0000 +@@ -18,13 +18,6 @@ + int rccStringFixID(rcc_string string, rcc_context ctx); + int rccStringChangeID(rcc_string string, rcc_language_id language_id); + +-#ifdef HAVE_STRNLEN +-# ifndef strnlen +-int strnlen(const char *str, size_t size); +-# endif /* !strnlen */ +-#else +-int rccStrnlen(const char *str, size_t size); +-#endif /* HAVE_STRNLEN */ + int rccIsASCII(const char *str); + size_t rccStringSizedGetChars(const char *str, size_t size); + diff --git a/community-staging/librcc/librcc.install b/community-staging/librcc/librcc.install new file mode 100644 index 000000000..53b1d7ce7 --- /dev/null +++ b/community-staging/librcc/librcc.install @@ -0,0 +1,6 @@ +post_install() { + echo "-- Don't forget to install gtk or/and gtk2 packages to enable librcc" + echo " gui features" + echo "-- Also you may change /usr/bin/rcc-config symlink to switch between" + echo " gtk and gtk2 (rcc-gtk-config and rcc-gtk2-config)" +} diff --git a/community-staging/perl-berkeleydb/PKGBUILD b/community-staging/perl-berkeleydb/PKGBUILD new file mode 100644 index 000000000..573f61457 --- /dev/null +++ b/community-staging/perl-berkeleydb/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 61465 2011-12-31 21:15:35Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> +# Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-berkeleydb +pkgver=0.50 +pkgrel=2 +pkgdesc="Interface to Berkeley DB version 2, 3 or 4" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/BerkeleyDB/" +license=('GPL' 'PerlArtistic') +depends=('perl' 'db') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-$pkgver.tar.gz) +md5sums=('6afc8f49133c262c606d1b96e1412863') + +build() { + cd $srcdir/BerkeleyDB-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + _dbver=`pacman -Q db | cut -d\ -f2 | cut -d- -f1` + depends=('perl' "db=$_dbver") + + cd $srcdir/BerkeleyDB-$pkgver + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/community-staging/poedit/PKGBUILD b/community-staging/poedit/PKGBUILD new file mode 100644 index 000000000..eee2cfc84 --- /dev/null +++ b/community-staging/poedit/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 61467 2011-12-31 21:16:10Z spupykin $ +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=poedit +pkgver=1.4.6.1 +pkgrel=6 +pkgdesc="Cross-platform gettext catalogs (.po files) editor" +arch=('i686' 'x86_64') +url="http://www.poedit.net/" +license=('custom') +depends=('wxgtk>=2.8.11' 'gtkspell' 'db>=5.1' 'hicolor-icon-theme' 'gettext') +makedepends=('pkgconfig') +install=poedit.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('c63ffd991b1a6085ef356a6922356e0a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/community-staging/poedit/poedit.install b/community-staging/poedit/poedit.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/community-staging/poedit/poedit.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |