pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnutls disable the openssl compatibility libr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c99e17ec1e48
branches:  trunk
changeset: 396368:c99e17ec1e48
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Jul 22 16:50:07 2009 +0000

description:
disable the openssl compatibility library -- no pkg I know of needs
it, and it only has a potential to conflict with the real openssl
(bad things will happen if a program links or dlopen()s both)
bump PKGREVISION
(the bug fixed in the added patches is already fixed upstream, will
be in the next release)

diffstat:

 security/gnutls/Makefile         |   6 +++++-
 security/gnutls/PLIST            |   4 +---
 security/gnutls/distinfo         |   4 +++-
 security/gnutls/patches/patch-ak |  13 +++++++++++++
 security/gnutls/patches/patch-al |  13 +++++++++++++
 5 files changed, 35 insertions(+), 5 deletions(-)

diffs (96 lines):

diff -r 5de14291789c -r c99e17ec1e48 security/gnutls/Makefile
--- a/security/gnutls/Makefile  Wed Jul 22 16:37:26 2009 +0000
+++ b/security/gnutls/Makefile  Wed Jul 22 16:50:07 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.84 2009/07/18 10:32:32 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2009/07/22 16:50:07 drochner Exp $
 
 DISTNAME=      gnutls-2.8.1
+PKGREVISION=   1
 CATEGORIES=    security devel
 MASTER_SITES=  ftp://ftp.gnutls.org/pub/gnutls/ \
                ftp://ftp.gnupg.org/gcrypt/gnutls/ \
@@ -23,6 +24,9 @@
 TEST_TARGET=           check
 INFO_FILES=            yes
 
+# this library duplicates (and conflicts with) openssl
+CONFIGURE_ARGS+=       --disable-openssl-compatibility
+
 PKGCONFIG_OVERRIDE=    lib/gnutls.pc.in
 PKGCONFIG_OVERRIDE+=   libextra/gnutls-extra.pc.in
 
diff -r 5de14291789c -r c99e17ec1e48 security/gnutls/PLIST
--- a/security/gnutls/PLIST     Wed Jul 22 16:37:26 2009 +0000
+++ b/security/gnutls/PLIST     Wed Jul 22 16:50:07 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2009/06/14 18:13:29 joerg Exp $
+@comment $NetBSD: PLIST,v 1.36 2009/07/22 16:50:07 drochner Exp $
 bin/certtool
 bin/gnutls-cli
 bin/gnutls-cli-debug
@@ -11,7 +11,6 @@
 include/gnutls/gnutls.h
 include/gnutls/gnutlsxx.h
 include/gnutls/openpgp.h
-include/gnutls/openssl.h
 include/gnutls/pkcs12.h
 include/gnutls/x509.h
 info/gnutls-certificate-user-use-case.png
@@ -28,7 +27,6 @@
 info/gnutls-x509.png
 info/gnutls.info
 lib/libgnutls-extra.la
-lib/libgnutls-openssl.la
 lib/libgnutls.la
 lib/libgnutlsxx.la
 lib/pkgconfig/gnutls-extra.pc
diff -r 5de14291789c -r c99e17ec1e48 security/gnutls/distinfo
--- a/security/gnutls/distinfo  Wed Jul 22 16:37:26 2009 +0000
+++ b/security/gnutls/distinfo  Wed Jul 22 16:50:07 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2009/07/18 10:32:32 wiz Exp $
+$NetBSD: distinfo,v 1.59 2009/07/22 16:50:07 drochner Exp $
 
 SHA1 (gnutls-2.8.1.tar.bz2) = b5fd364848709393d05def7e926caddd27169525
 RMD160 (gnutls-2.8.1.tar.bz2) = 3b0d7a80a60dfc3222357d2c83a7ec32bd2c8e33
@@ -8,3 +8,5 @@
 SHA1 (patch-af) = bd4701640dfef5bfdce87d620befd93098b0dff3
 SHA1 (patch-ai) = 2c5c181ec6de9622cac66c2d5fe2cc8f3f89fbe8
 SHA1 (patch-aj) = 55187c2a07d67f789678b1a404c6b119b311fc82
+SHA1 (patch-ak) = ba01d607e6fad2108aed0ba2ef4a7c1168b42048
+SHA1 (patch-al) = 5b2e6bab1bc91b6e508915b984dcfa4e6030a8a6
diff -r 5de14291789c -r c99e17ec1e48 security/gnutls/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-ak  Wed Jul 22 16:50:07 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2009/07/22 16:50:07 drochner Exp $
+
+--- configure.orig     2009-06-17 20:42:30.000000000 +0200
++++ configure
+@@ -8587,7 +8587,7 @@ $as_echo "#define GNUTLS_POINTER_TO_INT_
+ $as_echo_n "checking whether to disable OpenSSL compatibility layer... " >&6; }
+   # Check whether --enable-openssl-compatibility was given.
+ if test "${enable_openssl_compatibility+set}" = set; then
+-  enableval=$enable_openssl_compatibility; enable_openssl=$withval
++  enableval=$enable_openssl_compatibility; enable_openssl=$enableval
+ else
+   enable_openssl=yes
+ fi
diff -r 5de14291789c -r c99e17ec1e48 security/gnutls/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-al  Wed Jul 22 16:50:07 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2009/07/22 16:50:07 drochner Exp $
+
+--- libextra/configure.orig    2009-06-17 20:47:38.000000000 +0200
++++ libextra/configure
+@@ -12996,7 +12996,7 @@ $as_echo "#define GNUTLS_POINTER_TO_INT_
+ $as_echo_n "checking whether to disable OpenSSL compatibility layer... " >&6; }
+   # Check whether --enable-openssl-compatibility was given.
+ if test "${enable_openssl_compatibility+set}" = set; then
+-  enableval=$enable_openssl_compatibility; enable_openssl=$withval
++  enableval=$enable_openssl_compatibility; enable_openssl=$enableval
+ else
+   enable_openssl=yes
+ fi



Home | Main Index | Thread Index | Old Index