summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-03-12 13:43:35 +0000
committergdt <gdt@pkgsrc.org>2020-03-12 13:43:35 +0000
commit740dbc80451c1d5ed26b867ddf942518610f6825 (patch)
tree417d71b20cde8f57b62c096ae9bd93cef4b6bde1 /security
parent7a5a0b664d2ed9acc5f3456bf042a8daf38bbc48 (diff)
downloadpkgsrc-740dbc80451c1d5ed26b867ddf942518610f6825.tar.gz
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 (limited to 'security')
-rw-r--r--security/mozilla-rootcerts-openssl/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/mozilla-rootcerts-openssl/Makefile b/security/mozilla-rootcerts-openssl/Makefile
index 8178d865592..ce229d69103 100644
--- a/security/mozilla-rootcerts-openssl/Makefile
+++ b/security/mozilla-rootcerts-openssl/Makefile
@@ -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 @@ CHECK_BUILTIN.openssl= no
# 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 @@ SET_PREFIX= yes
PLIST_SUBST+= MYETCDIR=${MY_PKG_SYSCONFDIR:S/^${PREFIX}//}
.endif
-NOT_FOR_UNPRIVILEGED= yes
-
OPENSSLDIR= ${PLACE}/openssl/certs
do-install: