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])
 PLACE=            /etc
 SET_PREFIX=        yes
@@ -40,8 +41,6 @@

 OPENSSLDIR=        ${PLACE}/openssl/certs


Home | Main Index | Thread Index | Old Index