[139141] users/devans/GNOME-3/stable/dports/gnome/gnome-keyring/Portfile

devans at macports.org devans at macports.org
Mon Aug 3 15:24:27 PDT 2015


Revision: 139141
          https://trac.macports.org/changeset/139141
Author:   devans at macports.org
Date:     2015-08-03 15:24:27 -0700 (Mon, 03 Aug 2015)
Log Message:
-----------
GNOME-3/stable: gnome-keyring, clean up PAM configuration, update comments.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-keyring/Portfile

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-keyring/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-keyring/Portfile	2015-08-03 22:02:39 UTC (rev 139140)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-keyring/Portfile	2015-08-03 22:24:27 UTC (rev 139141)
@@ -56,21 +56,23 @@
 configure.cmd       ./autogen.sh
 
 configure.args      --without-libcap-ng \
+                    --disable-pam \
                     --disable-p11-tests \
                     --disable-silent-rules \
                     --disable-strict \
                     --disable-schemas-compile
 
 platform darwin {
-# darwin 15 (El Capitan) fails during activation if pam support is enabled
-# won't allow activation of module in system pam directory (/usr/lib/pam)
-    if {${os.major} < 10 || ${os.major} > 14} {
-        configure.args-append --disable-pam
-    } else {
+# On darwin 15 (El Capitan), System Integrity Protection (SIP)
+# blocks, by default, any attempt by non-AppStore applications
+# to install content in system locations.  This causes
+# activation of PAM modules in /usr/lib/pam by MacPorts to fail.
+# Disabling optional PAM support on this platform.
+    if {${os.major} > 9 && ${os.major} < 15} {
+        configure.args-delete --disable-pam
         configure.args-append --with-pam-dir=/usr/lib/pam
-
+        # installs PAM modules into /usr/lib/pam
         destroot.violate_mtree yes
-
         post-destroot {
             file delete ${destroot}/usr/lib/pam/pam_gnome_keyring.la
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150803/555fd8d7/attachment.html>


More information about the macports-changes mailing list