summaryrefslogtreecommitdiff
path: root/gnupg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg/Pkgfile')
-rw-r--r--gnupg/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnupg/Pkgfile b/gnupg/Pkgfile
index a22332ca2..7d015220e 100644
--- a/gnupg/Pkgfile
+++ b/gnupg/Pkgfile
@@ -5,13 +5,17 @@
name=gnupg
version=1.4.3
-release=1
+release=2
source=(ftp://ftp.gnupg.org/gcrypt/gnupg/$name-$version.tar.bz2 \
- ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz)
+ ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz \
+ $name-$version-mguard.patch)
build () {
cd $name-$version
+ # necessary because of --enable-m-guard
+ patch -p1 < $SRC/$name-$version-mguard.patch
+
zcat ../idea.c.gz > cipher/idea.c
./configure \
@@ -19,13 +23,11 @@ build () {
--libexecdir=/usr/lib \
--enable-static-rnd=linux \
--enable-dev-random \
+ --enable-m-guard \
--disable-nls \
--disable-ldap \
--enable-mailto
-# doesn't work in 1.4.3
-# --enable-m-guard \
-
make
make DESTDIR=$PKG install

Generated by cgit