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 security/mozilla-ro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10b995cb8f27
branches:  trunk
changeset: 424558:10b995cb8f27
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Mar 12 13:43:35 2020 +0000

description:
security/mozilla-rootcerts-openssl: Allow in-pkgsrc unprivileged install

This was marked NOT_FOR_UNPRIVILEGED, but that is only appropriate
when the package (abusively, as a pre-existing well-discussed
compromise) writes outside of the pkgsrc prefix.

Patch by Jason Bacon, with general approval on tech-pkg.

ok dholland@

diffstat:

 security/mozilla-rootcerts-openssl/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5b97628485c6 -r 10b995cb8f27 security/mozilla-rootcerts-openssl/Makefile
--- a/security/mozilla-rootcerts-openssl/Makefile       Thu Mar 12 13:41:52 2020 +0000
+++ b/security/mozilla-rootcerts-openssl/Makefile       Thu Mar 12 13:43:35 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/12/07 18:29:31 sevan Exp $
+# $NetBSD: Makefile,v 1.12 2020/03/12 13:43:35 gdt Exp $
 
 PKGNAME=       mozilla-rootcerts-openssl-2.3
 CATEGORIES=    security
@@ -29,6 +29,7 @@
 # For native openssl this is in /etc outside of ${PREFIX}. Beware.
 #
 .if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
+NOT_FOR_UNPRIVILEGED=  yes
 PLACE=                 /etc
 SET_PREFIX=            yes
 PLIST_SUBST+=          MYETCDIR=etc
@@ -40,8 +41,6 @@
 PLIST_SUBST+=          MYETCDIR=${MY_PKG_SYSCONFDIR:S/^${PREFIX}//}
 .endif
 
-NOT_FOR_UNPRIVILEGED=  yes
-
 OPENSSLDIR=            ${PLACE}/openssl/certs
 
 do-install:



Home | Main Index | Thread Index | Old Index