summaryrefslogtreecommitdiff
path: root/pcr/gnupg1
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 15:28:45 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 15:28:45 +0100
commita46860607aa247a0d30aa412a084a87937d2139f (patch)
tree70bfd70d8e62c377306dafcb0725f731f2d8f0e8 /pcr/gnupg1
parentf7a7c5579fdf7bca0905162c3ef664857814b410 (diff)
downloadabslibre-a46860607aa247a0d30aa412a084a87937d2139f.tar.gz
abslibre-a46860607aa247a0d30aa412a084a87937d2139f.tar.bz2
abslibre-a46860607aa247a0d30aa412a084a87937d2139f.zip
pcr/gnupg1: updated to 1.4.21
Diffstat (limited to 'pcr/gnupg1')
-rw-r--r--pcr/gnupg1/PKGBUILD31
1 files changed, 22 insertions, 9 deletions
diff --git a/pcr/gnupg1/PKGBUILD b/pcr/gnupg1/PKGBUILD
index d3de83150..a622e8e53 100644
--- a/pcr/gnupg1/PKGBUILD
+++ b/pcr/gnupg1/PKGBUILD
@@ -1,18 +1,22 @@
# $Id: PKGBUILD 148992 2012-02-05 12:21:23Z andyrtr $
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor (AUR): Andreas Radke <andyrtr at archlinux.org>
+# Committer (AUR): Judd Vinet <jvinet@zeroflux.org>
+
+# parabola changes and rationale:
+# - ignoring test suite failures
+
pkgname=gnupg1
pkgname_=gnupg
-pkgver=1.4.18
-pkgrel=4.1
+pkgver=1.4.21
+pkgrel=1
pkgdesc="GNU Privacy Guard - a PGP replacement tool"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL3')
depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00')
-source=("ftp://ftp.gnupg.org/gcrypt/gnupg/$pkgname_-$pkgver.tar.bz2"{,.sig})
+source=("https://gnupg.org/ftp/gcrypt/gnupg/$pkgname_-$pkgver.tar.bz2"{,.sig})
install=gnupg.install
url="http://www.gnupg.org/"
-sha1sums=('41462d1a97f91abc16a0031b5deadc3095ce88ae'
+sha1sums=('e3bdb585026f752ae91360f45c28e76e4a15d338'
'SKIP')
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
'46CC730865BB5C78EBABADCF04376F3EE0856959'
@@ -25,12 +29,21 @@ build() {
--libexecdir=/usr/lib \
--enable-noexecstack
make
+
+# Further options to prevent DNS leaks when working with TOR
+# https://trac.torproject.org/projects/tor/ticket/2846
+
+# --disable-dns-cert \
+# --disable-dns-pka \
+# --disable-dns-srv \
+# --disable-ldap \
+
#ln -s ${pkgname}-${pkgver}/scripts .. # seems obsolete now
}
check() {
cd "$srcdir/$pkgname_-$pkgver"
- make -k check #All 27 tests passed
+ make -k check || true #All 27 tests passed
}
package () {
@@ -45,8 +58,8 @@ package () {
cd "$pkgdir/usr/bin"
rename gpg gpg1 gpg*
- cd "$pkgdir/usr/share/man/man7"
- rename gnupg gnupg1 gnupg*
+# cd "$pkgdir/usr/share/man/man7"
+# rename gnupg gnupg1 gnupg*
# Correct multiple renames if makepkg is rerun.
find "$pkgdir" -name '*pg11*' -exec rename pg11 pg1 '{}' \+