diff options
author | root <root@rshg054.dnsready.net> | 2011-08-05 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-05 23:14:36 +0000 |
commit | 6eacc0759bca4167f2dcd67ce43bca78cb2a06ca (patch) | |
tree | 9924a03656bbae858177323b61bfb213fe14a4b4 /testing/gnupg2 | |
parent | 7e5cd77730015792e26338edcc137acf3f1bd2ae (diff) |
Fri Aug 5 23:14:36 UTC 2011
Diffstat (limited to 'testing/gnupg2')
-rw-r--r-- | testing/gnupg2/PKGBUILD | 30 | ||||
-rw-r--r-- | testing/gnupg2/gnupg2-2.0.16-security.patch | 11 | ||||
-rw-r--r-- | testing/gnupg2/gnupg2.install | 20 |
3 files changed, 61 insertions, 0 deletions
diff --git a/testing/gnupg2/PKGBUILD b/testing/gnupg2/PKGBUILD new file mode 100644 index 000000000..d286b8504 --- /dev/null +++ b/testing/gnupg2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 134457 2011-08-04 06:36:59Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> + +pkgname=gnupg2 +pkgver=2.0.17 +pkgrel=2 +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=('123af099740fd159c73a0352a274ec81') diff --git a/testing/gnupg2/gnupg2-2.0.16-security.patch b/testing/gnupg2/gnupg2-2.0.16-security.patch new file mode 100644 index 000000000..b265c1532 --- /dev/null +++ b/testing/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/testing/gnupg2/gnupg2.install b/testing/gnupg2/gnupg2.install new file mode 100644 index 000000000..27c121ffd --- /dev/null +++ b/testing/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: |