pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/mozilla-rootcerts



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Fri Mar  3 15:46:27 UTC 2017

Modified Files:
        pkgsrc/security/mozilla-rootcerts: Makefile
        pkgsrc/security/mozilla-rootcerts/files: mozilla-rootcerts.sh

Log Message:
Create /etc/openssl/openssl.cnf if it does not exist.

Otherwise, there is one nonsensical warning on every openssl invocation.
I have seen dozens of recipes for NetBSD setups, and each one cargo-cults
a "touch openssl.cnf" against that noise.

Bump package revision.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/security/mozilla-rootcerts/Makefile
cvs rdiff -u -r1.11 -r1.12 \
    pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/mozilla-rootcerts/Makefile
diff -u pkgsrc/security/mozilla-rootcerts/Makefile:1.24 pkgsrc/security/mozilla-rootcerts/Makefile:1.25
--- pkgsrc/security/mozilla-rootcerts/Makefile:1.24     Fri Feb  3 09:56:49 2017
+++ pkgsrc/security/mozilla-rootcerts/Makefile  Fri Mar  3 15:46:27 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2017/02/03 09:56:49 maya Exp $
+# $NetBSD: Makefile,v 1.25 2017/03/03 15:46:27 bsiegert Exp $
 
 DISTNAME=      mozilla-rootcerts-1.0.${CERTDATA_DATE}
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  -https://hg.mozilla.org/mozilla-central/raw-file/052b90b5414f/security/nss/lib/ckfw/builtins/certdata.txt
 DISTFILES=     ${CERTDATA}

Index: pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh
diff -u pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh:1.11 pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh:1.12
--- pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh:1.11   Wed Feb  1 01:58:52 2017
+++ pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh        Fri Mar  3 15:46:27 2017
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mozilla-rootcerts.sh,v 1.11 2017/02/01 01:58:52 yyamano Exp $
+# $NetBSD: mozilla-rootcerts.sh,v 1.12 2017/03/03 15:46:27 bsiegert Exp $
 #
 # This script is meant to be used as follows:
 #
@@ -23,6 +23,7 @@ self="@LOCALBASE@/sbin/mozilla-rootcerts
 certfile="@DATADIR@/certdata.txt"
 certdir="/etc/ssl/certs"
 destdir=
+conffile="/etc/openssl/openssl.cnf"
 
 usage()
 {
@@ -187,6 +188,9 @@ extract)
        }'
        ;;
 install)
+       # quell warnings for a missing config file
+       touch $destdir$conffile
+
        if [ ! -d $destdir$SSLDIR ]; then
                ${ECHO} 1>&2 "ERROR: $destdir$SSLDIR does not exist, aborting."
                exit 1



Home | Main Index | Thread Index | Old Index