pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mozilla-rootcerts Limit broken openssl.cnf ha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1bea25743ff
branches:  trunk
changeset: 359660:d1bea25743ff
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Mar 15 18:52:55 2017 +0000

description:
Limit broken openssl.cnf handling to NetBSD only after no response from
bsiegert@.  There's no reason to pollute other operating systems.

Bump PKGREVISION.

diffstat:

 security/mozilla-rootcerts/Makefile                   |  4 ++--
 security/mozilla-rootcerts/files/mozilla-rootcerts.sh |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 69deddceaf50 -r d1bea25743ff security/mozilla-rootcerts/Makefile
--- a/security/mozilla-rootcerts/Makefile       Wed Mar 15 18:45:56 2017 +0000
+++ b/security/mozilla-rootcerts/Makefile       Wed Mar 15 18:52:55 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2017/03/03 15:46:27 bsiegert Exp $
+# $NetBSD: Makefile,v 1.26 2017/03/15 18:52:55 jperkin Exp $
 
 DISTNAME=      mozilla-rootcerts-1.0.${CERTDATA_DATE}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    security
 MASTER_SITES=  -https://hg.mozilla.org/mozilla-central/raw-file/052b90b5414f/security/nss/lib/ckfw/builtins/certdata.txt
 DISTFILES=     ${CERTDATA}
diff -r 69deddceaf50 -r d1bea25743ff security/mozilla-rootcerts/files/mozilla-rootcerts.sh
--- a/security/mozilla-rootcerts/files/mozilla-rootcerts.sh     Wed Mar 15 18:45:56 2017 +0000
+++ b/security/mozilla-rootcerts/files/mozilla-rootcerts.sh     Wed Mar 15 18:52:55 2017 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mozilla-rootcerts.sh,v 1.12 2017/03/03 15:46:27 bsiegert Exp $
+# $NetBSD: mozilla-rootcerts.sh,v 1.13 2017/03/15 18:52:56 jperkin Exp $
 #
 # This script is meant to be used as follows:
 #
@@ -188,9 +188,10 @@
        }'
        ;;
 install)
-       # quell warnings for a missing config file
-       touch $destdir$conffile
-
+       if [ `uname -s` = "NetBSD" ]; then
+               # quell warnings for a missing config file
+               touch $destdir$conffile
+       fi
        if [ ! -d $destdir$SSLDIR ]; then
                ${ECHO} 1>&2 "ERROR: $destdir$SSLDIR does not exist, aborting."
                exit 1



Home | Main Index | Thread Index | Old Index