diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-20 20:41:20 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-20 20:41:20 -0300 |
commit | 33fcf0e7b95e530b849e59e90fdea4001e01283d (patch) | |
tree | 5eab4f238207cce42c8351067ade9999df065a1f /core | |
parent | 3b0910bf6527c3b761d9579b2ed37a9a42595fa3 (diff) | |
parent | a1922d0ec660fdc1892f2783515f781c090df0a9 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gnash/PKGBUILD
community/libopenraw/PKGBUILD
community/smalltalk/PKGBUILD
core/coreutils/PKGBUILD
core/libarchive/PKGBUILD
extra/dhcp/PKGBUILD
extra/gmime/PKGBUILD
extra/gvfs/PKGBUILD
extra/kdeutils/PKGBUILD
extra/libreoffice/PKGBUILD
extra/lirc/PKGBUILD
extra/php-suhosin/PKGBUILD
extra/qtwebkit/PKGBUILD
extra/sdl_image/PKGBUILD
extra/sdl_net/PKGBUILD
extra/sdl_ttf/PKGBUILD
extra/spamassassin/PKGBUILD
extra/tftp-hpa/PKGBUILD
extra/totem-plparser/PKGBUILD
extra/tumbler/PKGBUILD
extra/vim/PKGBUILD
extra/wipe/PKGBUILD
extra/xfce4-netload-plugin/PKGBUILD
kde-unstable/kdebase-workspace/PKGBUILD
kde-unstable/kdebase-workspace/kde-np.pam
kde-unstable/kdebase-workspace/kde.pam
multilib/binutils-multilib/PKGBUILD
multilib/chuck/PKGBUILD
multilib/dev86/PKGBUILD
multilib/gcc-multilib/PKGBUILD
multilib/jack2-multilib/PKGBUILD
multilib/lib32-gdk-pixbuf2/PKGBUILD
multilib/lib32-glib2/PKGBUILD
multilib/lib32-glibc/PKGBUILD
multilib/lib32-glibc/lib32-glibc.conf
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-libpulse/PKGBUILD
multilib/lib32-pango/PKGBUILD
multilib/lib32-sdl_image/PKGBUILD
multilib/lib32-sdl_ttf/PKGBUILD
multilib/libtool-multilib/PKGBUILD
multilib/nspluginwrapper/PKGBUILD
multilib/q4wine/PKGBUILD
multilib/wine/PKGBUILD
staging/php/PKGBUILD
staging/php/php-fpm.conf.in.patch
staging/php/php.ini.patch
Diffstat (limited to 'core')
-rw-r--r-- | core/coreutils/PKGBUILD | 10 | ||||
-rw-r--r-- | core/dirmngr/PKGBUILD | 21 | ||||
-rw-r--r-- | core/dirmngr/dirmngr.install | 20 | ||||
-rw-r--r-- | core/gnupg/PKGBUILD | 36 | ||||
-rw-r--r-- | core/gnupg/gnupg.install | 21 | ||||
-rw-r--r-- | core/gnupg2/PKGBUILD | 30 | ||||
-rw-r--r-- | core/gnupg2/gnupg2-2.0.16-security.patch | 11 | ||||
-rw-r--r-- | core/gnupg2/gnupg2.install | 20 | ||||
-rw-r--r-- | core/gpgme/PKGBUILD | 36 | ||||
-rw-r--r-- | core/gpgme/gpgme.install | 18 | ||||
-rw-r--r-- | core/hdparm/PKGBUILD | 10 | ||||
-rw-r--r-- | core/inetutils/PKGBUILD | 9 | ||||
-rw-r--r-- | core/libarchive/PKGBUILD | 21 | ||||
-rw-r--r-- | core/libarchive/sparse-file.patch | 13 | ||||
-rw-r--r-- | core/libassuan/PKGBUILD | 31 | ||||
-rw-r--r-- | core/libassuan/libassuan.install | 20 | ||||
-rw-r--r-- | core/libksba/PKGBUILD | 23 | ||||
-rw-r--r-- | core/libksba/libksba.install | 20 | ||||
-rw-r--r-- | core/openssl/PKGBUILD | 8 | ||||
-rw-r--r-- | core/perl/PKGBUILD | 8 | ||||
-rw-r--r-- | core/perl/digest_eval_hole.diff | 61 | ||||
-rw-r--r-- | core/pinentry/PKGBUILD | 37 | ||||
-rw-r--r-- | core/pinentry/gtk2-pinentry-segfault.patch | 11 | ||||
-rw-r--r-- | core/pinentry/pinentry.install | 20 | ||||
-rw-r--r-- | core/pth/PKGBUILD | 43 | ||||
-rw-r--r-- | core/rpcbind/PKGBUILD | 6 |
26 files changed, 529 insertions, 35 deletions
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD index 8190cf341..f825c5f29 100644 --- a/core/coreutils/PKGBUILD +++ b/core/coreutils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 140430 2011-10-14 06:04:29Z allan $ +# $Id: PKGBUILD 146602 2012-01-14 00:30:45Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=coreutils -pkgver=8.14 -pkgrel=1.1 +pkgver=8.15 +pkgrel=1 pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') @@ -19,8 +19,8 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig} coreutils-uname.patch coreutils-pam.patch su.pam) -md5sums=('bcb135ce553493a45aba01b39eb3920a' - '279712f9afc954beaff0d99194c8f462' +md5sums=('094909fafa86110140b32e4948941545' + '2cdd273d93a77d03739fa81d7c2acfe5' 'c4fcca138b6abf6d443d48a6f0cd8833' 'aad79a2aa6d566c375d7bdd1b0767278' 'fa85e5cce5d723275b14365ba71a8aad') diff --git a/core/dirmngr/PKGBUILD b/core/dirmngr/PKGBUILD new file mode 100644 index 000000000..24ee2ea26 --- /dev/null +++ b/core/dirmngr/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 146749 2012-01-16 22:52:57Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=dirmngr +pkgver=1.1.0 +pkgrel=3 +pkgdesc="A daemon to handle CRL and certificate requests" +arch=('i686' 'x86_64') +license=('GPL') +url="ftp://ftp.gnupg.org/gcrypt/dirmngr" +depends=('libgcrypt' 'libldap' 'libksba' 'libgpg-error' 'libassuan' 'pth') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +install=dirmngr.install + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --libexecdir=/usr/lib + make + make DESTDIR=$pkgdir install +} +md5sums=('f2570f0248f5947daac200e85291b328') diff --git a/core/dirmngr/dirmngr.install b/core/dirmngr/dirmngr.install new file mode 100644 index 000000000..e26e0e7fd --- /dev/null +++ b/core/dirmngr/dirmngr.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(dirmngr.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/core/gnupg/PKGBUILD b/core/gnupg/PKGBUILD new file mode 100644 index 000000000..f678f304e --- /dev/null +++ b/core/gnupg/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 146739 2012-01-16 22:52:44Z dreisner $ +# Maintainer: Andreas Radke <andyrtr at archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> +pkgname=gnupg +pkgver=1.4.11 +pkgrel=3 +pkgdesc="GNU Privacy Guard - a PGP replacement tool" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00') +source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2) +install=gnupg.install +url="http://www.gnupg.org/" +md5sums=('411744e1ef8ce90b87938c4203f001f1') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --enable-noexecstack + make + #ln -s ${pkgname}-${pkgver}/scripts .. # seems obsolete now +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check #All 27 tests passed +} + +package () { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + + # fix fileconflict with gnupg2 pkg + rm ${pkgdir}/usr/share/man/man1/gpg-zip.1 +} diff --git a/core/gnupg/gnupg.install b/core/gnupg/gnupg.install new file mode 100644 index 000000000..5a6704716 --- /dev/null +++ b/core/gnupg/gnupg.install @@ -0,0 +1,21 @@ +info_dir=/usr/share/info +info_files=(gnupg1.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} +# vim:set ts=2 sw=2 et: diff --git a/core/gnupg2/PKGBUILD b/core/gnupg2/PKGBUILD new file mode 100644 index 000000000..367ce13b8 --- /dev/null +++ b/core/gnupg2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 146741 2012-01-16 22:52:47Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> + +pkgname=gnupg2 +pkgver=2.0.18 +pkgrel=1 +pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool" +arch=('i686' 'x86_64') +depends=('libldap' 'curl' 'bzip2' 'zlib' 'libksba' 'libgcrypt' + 'pth' 'libusb-compat' 'libassuan' 'texinfo' 'readline' 'pinentry' 'dirmngr') +license=('GPL') +url="http://www.gnupg.org/" +install=${pkgname}.install +source=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2) + +build() { + cd ${srcdir}/gnupg-$pkgver + ./configure --prefix=/usr --libexecdir=/usr/lib/gnupg2 #$EXTRAOPTS + make +} + +package() { + cd ${srcdir}/gnupg-$pkgver + make DESTDIR=${pkgdir} install + # move conflicting files + mv ${pkgdir}/usr/share/gnupg{,2} + rm -f ${pkgdir}/usr/share/info/dir +} +md5sums=('2f37e0722666a0fedbe4d9f9227ac4d7') diff --git a/core/gnupg2/gnupg2-2.0.16-security.patch b/core/gnupg2/gnupg2-2.0.16-security.patch new file mode 100644 index 000000000..b265c1532 --- /dev/null +++ b/core/gnupg2/gnupg2-2.0.16-security.patch @@ -0,0 +1,11 @@ +--- kbx/keybox-blob.c (revision 5367) ++++ kbx/keybox-blob.c (working copy) +@@ -898,6 +898,7 @@ + rc = gpg_error_from_syserror (); + goto leave; + } ++ names = tmp; + } + names[blob->nuids++] = p; + if (!i && (p=x509_email_kludge (p))) + diff --git a/core/gnupg2/gnupg2.install b/core/gnupg2/gnupg2.install new file mode 100644 index 000000000..27c121ffd --- /dev/null +++ b/core/gnupg2/gnupg2.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(gnupg.info gnupg.info-1 gnupg.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD new file mode 100644 index 000000000..830d06cc3 --- /dev/null +++ b/core/gpgme/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 146733 2012-01-16 22:51:33Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: Sarah Hay <sarah@archlinux.org> + +pkgname=gpgme +pkgver=1.3.1 +pkgrel=2 +pkgdesc="A C wrapper library for GnuPG" +arch=('i686' 'x86_64') +url="http://www.gnupg.org/related_software/gpgme/" +license=('GPL') +depends=('libgpg-error' 'pth' 'gnupg' 'gnupg2') +install=${pkgname}.install +options=('!libtool' '!emptydirs') +source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) +md5sums=('90afa8436ce2b2683c001c824bd22601' + 'a032ddc27177ef4ee54e25a231e62da5') +sha1sums=('7d19a95a2239da13764dad7f97541be884ec5a37' + '93316a81a8f903c5b604716b6937884ea7b0917a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/core/gpgme/gpgme.install b/core/gpgme/gpgme.install new file mode 100644 index 000000000..b54620d9a --- /dev/null +++ b/core/gpgme/gpgme.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gpgme.info gpgme.info-1 gpgme.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/core/hdparm/PKGBUILD b/core/hdparm/PKGBUILD index 662e6e13b..d793bb3cf 100644 --- a/core/hdparm/PKGBUILD +++ b/core/hdparm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 142539 2011-11-11 21:16:42Z tpowa $ +# $Id: PKGBUILD 146810 2012-01-18 17:16:31Z tpowa $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=hdparm -pkgver=9.37 -pkgrel=2 +pkgver=9.38 +pkgrel=1 pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" arch=(i686 x86_64 'mips64el') depends=('glibc') @@ -14,8 +14,6 @@ license=('BSD') url="http://sourceforge.net/projects/hdparm/" optdepends=('bash: for wiper.sh script') options=('emptydirs') -md5sums=('0bb94ddd1bedd5c02b1ca62f1caaf6de' - '74e368f384166a7710b447573cda120a') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -40,3 +38,5 @@ package() { #install license file install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT } +md5sums=('915e74685e2f25eaebe6a26c5d7ca700' + '74e368f384166a7710b447573cda120a') diff --git a/core/inetutils/PKGBUILD b/core/inetutils/PKGBUILD index f0ae4ce3a..c72a665aa 100644 --- a/core/inetutils/PKGBUILD +++ b/core/inetutils/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 146044 2012-01-04 17:06:20Z eric $ +# $Id: PKGBUILD 146753 2012-01-17 02:18:51Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=inetutils -pkgver=1.9 +pkgver=1.9.1 pkgrel=1 pkgdesc="A collection of common network programs" arch=('i686' 'x86_64' 'mips64el') @@ -20,8 +20,8 @@ install=inetutils.install source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.gz{,.sig} \ ftpd.rc ftpd.conf telnet.xinetd talk.xinetd rexec.xinetd rlogin.xinetd rsh.xinetd \ dnsdomainname domainname) -sha1sums=('c0466718360459622172bf80674005e20fefeb38' - '1bd1555c8e1db5a7a6d1b96a7647a6a9db1abc68' +sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90' + 'ff0aad9946a38915580b094dadf67e790e8a2f87' '84dc802b5e57b5e04c847572225a3b9612017155' '68a590083b45997dfdb80e666b2de762f494ba74' 'bfad98a4a62f1fff8779f076c6019ed07f9111af' @@ -60,7 +60,6 @@ check() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - rm "${pkgdir}/usr/bin/git-merge-changelog" install -d "${pkgdir}/bin" ln -s /usr/bin/hostname "${pkgdir}/bin/hostname" diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD index 00ea96ae3..dfae5e946 100644 --- a/core/libarchive/PKGBUILD +++ b/core/libarchive/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 140981 2011-10-20 13:56:51Z dan $ +# $Id: PKGBUILD 146703 2012-01-16 19:48:41Z dreisner $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=libarchive -pkgver=2.8.5 -pkgrel=2.1 +pkgver=3.0.3 +pkgrel=2 pkgdesc="library that can create and read several streaming archive formats" arch=('i686' 'x86_64' 'mips64el') url="http://libarchive.googlecode.com/" license=('BSD') depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat') -source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz" - release-2.8-fixes.patch) -md5sums=('9caf51dcf6213e9c9f5a1c27448b9c90' - '14dbbf2d31d68d8eedb93ec5531f3b0c') -sha256sums=('13993e0ffbd121ccda46ea226b1f8eac218de0fa8da7d8b1f998093d5c32a72d' - 'fcadc5ac3020a9fab5922d343baca28f067cc051e9b6f59e480349ba5b0a5060') +source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") +md5sums=('ca4090f0099432a9ac5a8b6618dc3892') +sha256sums=('c5fc7620f74a54b1717e4aed38aee85dc27a988ad1db7640f28eb63a82ea62d7') # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np0 < ../release-2.8-fixes.patch + ./configure --prefix=/usr --without-xml2 make } check() { cd "$srcdir/$pkgname-$pkgver" - make check + + # currently fails on i686 in a minor test involving atime updates (#60) + make check || : } package() { diff --git a/core/libarchive/sparse-file.patch b/core/libarchive/sparse-file.patch new file mode 100644 index 000000000..e7d3e473b --- /dev/null +++ b/core/libarchive/sparse-file.patch @@ -0,0 +1,13 @@ +Index: libarchive/archive_write_set_format_pax.c +=================================================================== +--- libarchive/archive_write_set_format_pax.c (revision 4094) ++++ libarchive/archive_write_set_format_pax.c (working copy) +@@ -1647,7 +1647,7 @@ + return (total); + + p = ((const unsigned char *)buff) + total; +- ws = s; ++ ws = s - total; + if (ws > pax->sparse_list->remaining) + ws = pax->sparse_list->remaining; + diff --git a/core/libassuan/PKGBUILD b/core/libassuan/PKGBUILD new file mode 100644 index 000000000..12e79ce0e --- /dev/null +++ b/core/libassuan/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 146745 2012-01-16 22:52:52Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=libassuan +pkgver=2.0.3 +pkgrel=1 +pkgdesc="A IPC library used by some GnuPG related software" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnupg.org/related_software/libassuan" +depends=('libgpg-error') +options=('!libtool') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +install=libassuan.install + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} +md5sums=('179d1918325fdb928c7bd90b8a514fc7') diff --git a/core/libassuan/libassuan.install b/core/libassuan/libassuan.install new file mode 100644 index 000000000..07e2672db --- /dev/null +++ b/core/libassuan/libassuan.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(assuan.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/core/libksba/PKGBUILD b/core/libksba/PKGBUILD new file mode 100644 index 000000000..ccc897c8b --- /dev/null +++ b/core/libksba/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 146743 2012-01-16 22:52:50Z dreisner $ +# Maintainer: damir <damir@archlinux.org> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> + +pkgname=libksba +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A CMS and X.509 access library" +arch=(i686 x86_64) +license=('GPL') +url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba" +depends=('bash' 'libgpg-error' 'glibc') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +options=(!libtool) +install=libksba.install + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make + make DESTDIR=$startdir/pkg install +} +md5sums=('e797f370b69b4dc776499d6a071ae137') diff --git a/core/libksba/libksba.install b/core/libksba/libksba.install new file mode 100644 index 000000000..3715b8960 --- /dev/null +++ b/core/libksba/libksba.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(ksba.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/core/openssl/PKGBUILD b/core/openssl/PKGBUILD index edba0ded3..8a9b94575 100644 --- a/core/openssl/PKGBUILD +++ b/core/openssl/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 146071 2012-01-05 04:59:04Z pierre $ +# $Id: PKGBUILD 146957 2012-01-19 17:48:26Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=openssl -_ver=1.0.0f +_ver=1.0.0g # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} pkgrel=1 @@ -20,8 +20,8 @@ source=("https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz" 'no-rpath.patch' 'gnu-linux-mips64el-gcc.patch' 'ca-dir.patch') -md5sums=('e358705fb4a8827b5e9224a73f442025' - 'fc1673f53946f1e7b408465f272484d8' +md5sums=('07ecbe4324f140d157478637d6beccf1' + '34315cf0fbbd1d18435948eb9712fcdf' '5bbc0655bda2af95bc8eb568963ce8ba' 'dc78d3d06baffc16217519242ce92478' 'd7115f0cc44df346d7b68c681819f94b' diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD index 7a1ee277e..c32205957 100644 --- a/core/perl/PKGBUILD +++ b/core/perl/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 146455 2012-01-11 15:21:16Z stephane $ +# $Id: PKGBUILD 146927 2012-01-19 10:01:03Z bluewind $ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: kevin <kevin.archlinux.org> # Contributor: judd <jvinet.zeroflux.org> # Contributor: francois <francois.archlinux.org> pkgname=perl pkgver=5.14.2 -pkgrel=6 +pkgrel=7 pkgdesc="A highly capable, feature-rich programming language" arch=(i686 x86_64 'mips64el') license=('GPL' 'PerlArtistic') @@ -17,6 +17,7 @@ source=(http://www.cpan.org/src/5.0/perl-${pkgver}.tar.bz2 perlbin.sh perlbin.csh provides.pl +digest_eval_hole.diff 0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch) install=perl.install options=('makeflags' '!purge') @@ -24,6 +25,7 @@ md5sums=('04a4c5d3c1f9f19d77daff8e8cd19a26' '5ed2542fdb9a60682f215bd33701e61a' '1f0cbbee783e8a6d32f01be5118e0d5e' '31fc0b5bb4935414394c5cfbec2cb8e5' + '490852b3d77c3b3866d0d75f5fbf5c5d' 'c25d86206d649046538c3daab7874564') build() { @@ -37,6 +39,8 @@ build() { arch_opts="" fi + patch -Np1 -i $srcdir/digest_eval_hole.diff + ./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" \ -Dprefix=/usr -Dinstallprefix=${pkgdir}/usr -Dvendorprefix=/usr \ -Dprivlib=/usr/share/perl5/core_perl \ diff --git a/core/perl/digest_eval_hole.diff b/core/perl/digest_eval_hole.diff new file mode 100644 index 000000000..47904137b --- /dev/null +++ b/core/perl/digest_eval_hole.diff @@ -0,0 +1,61 @@ +From 4b6a7324284e7435a361c58f7ddb32fc0c635bd0 Mon Sep 17 00:00:00 2001 +From: "Michael G. Schwern" <schwern@pobox.com> +Date: Mon, 3 Oct 2011 19:05:29 +0100 +Subject: Close the eval "require $module" security hole in + Digest->new($algorithm) + +Also the filter was incomplete. + +Bug-Debian: http://bugs.debian.org/644108 + +Patch-Name: fixes/digest_eval_hole.diff +--- + cpan/Digest/Digest.pm | 6 ++++-- + cpan/Digest/t/security.t | 14 ++++++++++++++ + 2 files changed, 18 insertions(+), 2 deletions(-) + create mode 100644 cpan/Digest/t/security.t + +diff --git a/cpan/Digest/Digest.pm b/cpan/Digest/Digest.pm +index 384dfc8..d714434 100644 +--- a/cpan/Digest/Digest.pm ++++ b/cpan/Digest/Digest.pm +@@ -24,7 +24,7 @@ sub new + shift; # class ignored + my $algorithm = shift; + my $impl = $MMAP{$algorithm} || do { +- $algorithm =~ s/\W+//; ++ $algorithm =~ s/\W+//g; + "Digest::$algorithm"; + }; + $impl = [$impl] unless ref($impl); +@@ -35,7 +35,9 @@ sub new + ($class, @args) = @$class if ref($class); + no strict 'refs'; + unless (exists ${"$class\::"}{"VERSION"}) { +- eval "require $class"; ++ my $pm_file = $class . ".pm"; ++ $pm_file =~ s{::}{/}g; ++ eval { require $pm_file }; + if ($@) { + $err ||= $@; + next; +diff --git a/cpan/Digest/t/security.t b/cpan/Digest/t/security.t +new file mode 100644 +index 0000000..5cba122 +--- /dev/null ++++ b/cpan/Digest/t/security.t +@@ -0,0 +1,14 @@ ++#!/usr/bin/env perl ++ ++# Digest->new() had an exploitable eval ++ ++use strict; ++use warnings; ++ ++use Test::More tests => 1; ++ ++use Digest; ++ ++$LOL::PWNED = 0; ++eval { Digest->new(q[MD;5;$LOL::PWNED = 42]) }; ++is $LOL::PWNED, 0; diff --git a/core/pinentry/PKGBUILD b/core/pinentry/PKGBUILD new file mode 100644 index 000000000..c94625d29 --- /dev/null +++ b/core/pinentry/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 146747 2012-01-16 22:52:55Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=pinentry +pkgver=0.8.1 +pkgrel=3 +pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnupg.org/aegypten2" +depends=('ncurses' 'libcap>=2.16') +makedepends=('gtk2' 'qt') +optdepends=('gtk2: for gtk2 backend' + 'qt: for qt4 backend') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz + gtk2-pinentry-segfault.patch) +install=pinentry.install + +build() { + cd $startdir/src/$pkgname-$pkgver + for file in qt4/*.moc; do + /usr/bin/moc ${file/.moc/.h} > ${file} + done + ./configure --prefix=/usr \ + --enable-pinentry-curses \ + --disable-pinentry-gtk \ + --disable-pinentry-qt \ + --enable-pinentry-gtk2 \ + --enable-pinentry-qt4 \ + --enable-fallback-curses + make + make DESTDIR=${pkgdir} install + #rm ${pkgdir}/usr/share/info/dir + #rm ${pkgdir}/usr/bin/pinentry + #ln -s /usr/bin/pinentry-gtk-2 ${pkgdir}/usr/bin/pinentry +} +md5sums=('81f99904daee5331eb6738408bb024b6' + 'bd9888fafc56464b2c4deaad5b8edb07') diff --git a/core/pinentry/gtk2-pinentry-segfault.patch b/core/pinentry/gtk2-pinentry-segfault.patch new file mode 100644 index 000000000..c0b9fb4ca --- /dev/null +++ b/core/pinentry/gtk2-pinentry-segfault.patch @@ -0,0 +1,11 @@ +--- gtk+-2/pinentry-gtk-2.c.orig 2010-03-03 05:19:55.000000000 -0600 ++++ gtk+-2/pinentry-gtk-2.c 2010-07-07 00:11:30.413572124 -0500 +@@ -145,7 +145,7 @@ + { + gdk_keyboard_ungrab (gdk_event_get_time (event)); + /* Unmake window transient for the root window. */ +- gdk_window_set_transient_for (win->window, NULL); ++ gdk_property_delete (win->window, gdk_atom_intern_static_string ("WM_TRANSIENT_FOR")); + } + + diff --git a/core/pinentry/pinentry.install b/core/pinentry/pinentry.install new file mode 100644 index 000000000..eed2c7124 --- /dev/null +++ b/core/pinentry/pinentry.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(pinentry.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/core/pth/PKGBUILD b/core/pth/PKGBUILD new file mode 100644 index 000000000..8ba1b8411 --- /dev/null +++ b/core/pth/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 146737 2012-01-16 22:52:42Z dreisner $ +# Maintainer: damir <damir@archlinux.org> + +pkgname=pth +pkgver=2.0.7 +pkgrel=4 +pkgdesc="The GNU Portable Threads." +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/pth/" +license=('LGPL') +depends=('glibc' 'awk') +options=('!libtool' '!makeflags') +source=(ftp://ftp.gnu.org/gnu/pth/$pkgname-$pkgver.tar.gz{,.sig}) +sha1sums=('9a71915c89ff2414de69fe104ae1016d513afeee' + '8cb16dffbf15ba92bda8d08918eaf5995642fc38') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --disable-static \ + --enable-shared \ + --with-pic + + sed -i "s|awk=''|awk=/bin/awk|g" shtool # "Cannot find a reasonable Awk" + + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR=${pkgdir} install +} diff --git a/core/rpcbind/PKGBUILD b/core/rpcbind/PKGBUILD index 7ddf7799e..c38f302fd 100644 --- a/core/rpcbind/PKGBUILD +++ b/core/rpcbind/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 142757 2011-11-14 20:23:15Z tpowa $ +# $Id: PKGBUILD 146812 2012-01-18 17:16:35Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=rpcbind pkgver=0.2.0 -pkgrel=5 +pkgrel=6 pkgdesc="portmap replacement which supports RPC over various protocols" arch=(i686 x86_64 'mips64el') depends=('bash' 'glibc' 'libtirpc') @@ -21,7 +21,7 @@ build() { cd $srcdir/$pkgname-$pkgver # patch for iana services file patch -Np1 -i ../rpcbind-sunrpc.patch - ./configure --prefix=/usr + ./configure --prefix=/usr --enable-warmstarts --with-statedir=/run make } |