tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Does mozilla-rootcerts-openssl need to be unconditionally NOT_FOR_UNPRIVILEGED?
security/mozilla-rootcerts-openssl is required for install.packages() to
function in R.
I found that on Darwin, it installs and functions fine in an
unprivileged tree if I comment out NOT_FOR_UNPRIVILEGED.
It seems to me that the unprivileged install is only needed to install
in /etc, which only happens if using builtin openssl.
I think the patch below should allow installing in unprivileged mode:
--- Makefile 7 Dec 2019 18:29:31 -0000 1.11
+++ Makefile 9 Mar 2020 13:49:54 -0000
@@ -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