pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mozilla-rootcerts-openssl Catch up with mozil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b4ae13c30e9
branches:  trunk
changeset: 364268:0b4ae13c30e9
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Jun 22 17:53:59 2017 +0000

description:
Catch up with mozilla-rootcerts package

A recent rototill of mozilla-rootcerts removed the notion of /etc/ssl.
Remove that notion here so this builds again.

Add comment questioning setting PREFIX to /etc when pkgsrc openssl is
used, now that /etc/ssl is no longer used.

diffstat:

 security/mozilla-rootcerts-openssl/Makefile |  11 ++++-------
 security/mozilla-rootcerts-openssl/PLIST    |   4 ++--
 2 files changed, 6 insertions(+), 9 deletions(-)

diffs (61 lines):

diff -r f92ff5d8157d -r 0b4ae13c30e9 security/mozilla-rootcerts-openssl/Makefile
--- a/security/mozilla-rootcerts-openssl/Makefile       Thu Jun 22 16:56:47 2017 +0000
+++ b/security/mozilla-rootcerts-openssl/Makefile       Thu Jun 22 17:53:59 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2017/02/03 09:56:49 maya Exp $
+# $NetBSD: Makefile,v 1.7 2017/06/22 17:53:59 gdt Exp $
 
 PKGNAME=       mozilla-rootcerts-openssl-2
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  # empty
 DISTFILES=     # empty
@@ -28,9 +29,6 @@
 #
 # For native openssl this is in /etc outside of ${PREFIX}. Beware.
 #
-# Update: even for pkgsrc openssl it's in /etc for SSLDIR, as per the
-# mozilla-rootcerts script.
-#
 .if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
 PLACE=                 /etc
 SET_PREFIX=            yes
@@ -38,6 +36,7 @@
 CHECK_FILES_SUPPORTED= no
 .else
 PLACE=                 ${MY_PKG_SYSCONFDIR}
+# probably SET_PREFIX should not be set
 SET_PREFIX=            yes
 PLIST_SUBST+=          MYETCDIR=${MY_PKG_SYSCONFDIR:S/^${PREFIX}//}
 .endif
@@ -45,14 +44,12 @@
 NOT_FOR_UNPRIVILEGED=  yes
 
 OPENSSLDIR=            ${PLACE}/openssl/certs
-SSLDIR=                        /etc/ssl/certs
 
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${OPENSSLDIR}
-       #${INSTALL_DATA_DIR} ${DESTDIR}${SSLDIR} # must *not* exist
        cd ${WRKSRC} && ${SCRIPT} -d ${DESTDIR} install
        ${CHMOD} go+r ${DESTDIR}${OPENSSLDIR}/*.pem
-       ${CHMOD} go+r ${DESTDIR}${SSLDIR}/*.crt
+       ${CHMOD} go+r ${DESTDIR}${OPENSSLDIR}/*.crt
 
 .include "../../mk/bsd.pkg.mk"
 
diff -r f92ff5d8157d -r 0b4ae13c30e9 security/mozilla-rootcerts-openssl/PLIST
--- a/security/mozilla-rootcerts-openssl/PLIST  Thu Jun 22 16:56:47 2017 +0000
+++ b/security/mozilla-rootcerts-openssl/PLIST  Thu Jun 22 17:53:59 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2017/02/03 09:56:49 maya Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/06/22 17:53:59 gdt Exp $
 ${MYETCDIR}/openssl/certs/02265526.0
 ${MYETCDIR}/openssl/certs/024dc131.0
 ${MYETCDIR}/openssl/certs/03179a64.0
@@ -345,4 +345,4 @@
 ${MYETCDIR}/openssl/certs/mozilla-rootcert-97.pem
 ${MYETCDIR}/openssl/certs/mozilla-rootcert-98.pem
 ${MYETCDIR}/openssl/certs/mozilla-rootcert-99.pem
-etc/ssl/certs/ca-certificates.crt
+${MYETCDIR}/openssl/certs/ca-certificates.crt



Home | Main Index | Thread Index | Old Index