diff options
author | spz <spz@pkgsrc.org> | 2009-09-15 20:00:47 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2009-09-15 20:00:47 +0000 |
commit | 0bab02efa098ace986930be301d3914207e0f594 (patch) | |
tree | 3dc7467da1e265267344dbef67d1095fcc80a844 /security | |
parent | 6a098901488e33dd1d5eaf12108c5c33d2d47b2d (diff) | |
download | pkgsrc-0bab02efa098ace986930be301d3914207e0f594.tar.gz |
take wip/pkcs11-helper as generated by Daniel 'morr' Horecki <shinden@linux.pl>
add options, DESTDIR, LICENSE and other small updates to pkgsrc-current
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 3 | ||||
-rw-r--r-- | security/pkcs11-helper/patches/patch-aa | 34 |
2 files changed, 36 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile index bdc653eaa10..57cf013d437 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.358 2009/09/13 19:58:14 manu Exp $ +# $NetBSD: Makefile,v 1.359 2009/09/15 20:00:47 spz Exp $ # COMMENT= Security tools @@ -236,6 +236,7 @@ SUBDIR+= php-mhash SUBDIR+= php-suhosin SUBDIR+= pinentry SUBDIR+= pinepgp +SUBDIR+= pkcs11-helper SUBDIR+= pks SUBDIR+= policykit SUBDIR+= policykit-gnome diff --git a/security/pkcs11-helper/patches/patch-aa b/security/pkcs11-helper/patches/patch-aa new file mode 100644 index 00000000000..062ffd39aa6 --- /dev/null +++ b/security/pkcs11-helper/patches/patch-aa @@ -0,0 +1,34 @@ +$NetBSD: patch-aa,v 1.1 2009/09/15 20:00:47 spz Exp $ + +--- configure.ac.orig 2008-07-31 17:44:03.000000000 +0200 ++++ configure.ac 2009-01-27 15:09:26.000000000 +0100 +@@ -281,10 +281,25 @@ + AC_CHECK_LIB([pthread], [pthread_create]) + fi + +-PKG_CHECK_MODULES([OPENSSL], [libcrypto >= 0.9.7], [have_openssl="yes"], [have_openssl="no"]) +-if test "${have_openssl}" = "no"; then +- PKG_CHECK_MODULES([OPENSSL], [openssl >= 0.9.7], [have_openssl="yes"], [have_openssl="no"]) +-fi ++PKG_CHECK_MODULES( ++ [OPENSSL], ++ [libcrypto >= 0.9.7], ++ [have_openssl="yes"], ++ [PKG_CHECK_MODULES( ++ [OPENSSL], ++ [openssl >= 0.9.7], ++ [have_openssl="yes"], ++ [AC_CHECK_LIB( ++ [crypto], ++ [RSA_version], ++ [ ++ have_openssl="yes" ++ OPENSSL_LIBS="-lcrypto" ++ ], ++ [have_openssl="no"] ++ )] ++ )] ++) + + PKG_CHECK_MODULES([GNUTLS], [gnutls >= 1.4], [have_gnutls="yes"], [have_gnutls="no"]) + PKG_CHECK_MODULES([NSS], [nss >= 3.11], [have_nss="yes"], [have_nss="no"]) |