summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2016-12-16 16:21:54 +0000
committerhans <hans@pkgsrc.org>2016-12-16 16:21:54 +0000
commit80bc7b3e1c5237ffd0cec40a2bbb85617bb3b7c6 (patch)
tree8c075d7ae8142deb1bae99896e902d848f3da879 /security
parentd1a3f4314351546c14b680b9b999daef5b79594d (diff)
downloadpkgsrc-80bc7b3e1c5237ffd0cec40a2bbb85617bb3b7c6.tar.gz
Make this build on SunOS.
Diffstat (limited to 'security')
-rw-r--r--security/gnupg21/Makefile3
-rw-r--r--security/gnupg21/distinfo3
-rw-r--r--security/gnupg21/patches/patch-g13_sh-dmcrypt.c14
3 files changed, 18 insertions, 2 deletions
diff --git a/security/gnupg21/Makefile b/security/gnupg21/Makefile
index 948dc744060..81fd3db46cc 100644
--- a/security/gnupg21/Makefile
+++ b/security/gnupg21/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/12/04 05:17:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2016/12/16 16:21:54 hans Exp $
DISTNAME= gnupg-2.1.14
PKGNAME= ${DISTNAME:S/gnupg-/gnupg21-/}
@@ -30,6 +30,7 @@ TEST_TARGET= check
CONFIGURE_ARGS.SunOS+= ac_cv_func_getaddrinfo=yes
LDFLAGS.Darwin+= -lresolv
+LDFLAGS.SunOS+= -lsocket
.include "options.mk"
diff --git a/security/gnupg21/distinfo b/security/gnupg21/distinfo
index 606251ca004..a19f8910297 100644
--- a/security/gnupg21/distinfo
+++ b/security/gnupg21/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2016/08/20 16:18:03 wiz Exp $
+$NetBSD: distinfo,v 1.12 2016/12/16 16:21:54 hans Exp $
SHA1 (gnupg-2.1.14.tar.bz2) = bc7609a3a0daf0ed0efb22f77b43e82f28e20e34
RMD160 (gnupg-2.1.14.tar.bz2) = 22d1f1791133f48ab71e900617ad7fd13c8a4e0f
@@ -6,5 +6,6 @@ SHA512 (gnupg-2.1.14.tar.bz2) = 9f098bf589ecb841eb65fccad3ffd72c6645c8e186ddabab
Size (gnupg-2.1.14.tar.bz2) = 5706058 bytes
SHA1 (patch-dirmngr_Makefile.in) = fa74bcf4ea214945c64d383dff039ab938ae1446
SHA1 (patch-dirmngr_ks-engine-ldap.c) = 3a7d96d877cd52bed66c481af83da99c517d3380
+SHA1 (patch-g13_sh-dmcrypt.c) = a2505039fff9e1e90ab81076776542fa83f55d5e
SHA1 (patch-kbx_Makefile.in) = 58f7c3711744a42d40f580944fb768f7aaaf1b68
SHA1 (patch-tests_gpgscm_Makefile.in) = 1418ab0a3a93ae69b49db5198aa68fd3dd369548
diff --git a/security/gnupg21/patches/patch-g13_sh-dmcrypt.c b/security/gnupg21/patches/patch-g13_sh-dmcrypt.c
new file mode 100644
index 00000000000..4f67e11a218
--- /dev/null
+++ b/security/gnupg21/patches/patch-g13_sh-dmcrypt.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-g13_sh-dmcrypt.c,v 1.1 2016/12/16 16:21:54 hans Exp $
+
+--- g13/sh-dmcrypt.c.orig 2016-05-04 11:43:16.000000000 +0200
++++ g13/sh-dmcrypt.c 2016-07-26 11:24:35.449662123 +0200
+@@ -25,6 +25,9 @@
+ #include <errno.h>
+ #include <assert.h>
+ #include <sys/types.h>
++#ifdef __sun
++#include <sys/mkdev.h>
++#endif
+ #ifdef HAVE_STAT
+ # include <sys/stat.h>
+ #endif