pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgcrypt don't enable padlock support on Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed089cd3e4f3
branches:  trunk
changeset: 585520:ed089cd3e4f3
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Feb 19 00:55:31 2011 +0000

description:
don't enable padlock support on NetBSD by default, it crashes on padlock
capable CPUs

diffstat:

 security/libgcrypt/Makefile   |  3 ++-
 security/libgcrypt/options.mk |  5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 247194330f6a -r ed089cd3e4f3 security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile       Sat Feb 19 00:43:10 2011 +0000
+++ b/security/libgcrypt/Makefile       Sat Feb 19 00:55:31 2011 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2010/11/13 21:09:02 shattered Exp $
+# $NetBSD: Makefile,v 1.49 2011/02/19 00:55:31 jmcneill Exp $
 
 DISTNAME=      libgcrypt-1.4.6
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
                http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
diff -r 247194330f6a -r ed089cd3e4f3 security/libgcrypt/options.mk
--- a/security/libgcrypt/options.mk     Sat Feb 19 00:43:10 2011 +0000
+++ b/security/libgcrypt/options.mk     Sat Feb 19 00:55:31 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2009/12/18 18:54:24 drochner Exp $
+# $NetBSD: options.mk,v 1.6 2011/02/19 00:55:31 jmcneill Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libgcrypt
 PKG_SUPPORTED_OPTIONS= idea
@@ -11,7 +11,10 @@
 # cipher/rijndael.c:do_padlock()
 .  if empty(CC_VERSION:Mgcc-3.*)
 PKG_SUPPORTED_OPTIONS+=        via-padlock
+# With GCC 4.1.3 on NetBSD, do_padlock() crashes with signal 11
+.    if ${OPSYS} != "NetBSD"
 PKG_SUGGESTED_OPTIONS+=        via-padlock
+.    endif
 .  endif
 .endif
 



Home | Main Index | Thread Index | Old Index