[138298] trunk/dports/security/policykit
devans at macports.org
devans at macports.org
Sat Jul 4 12:59:01 PDT 2015
Revision: 138298
https://trac.macports.org/changeset/138298
Author: devans at macports.org
Date: 2015-07-04 12:59:01 -0700 (Sat, 04 Jul 2015)
Log Message:
-----------
policykit: remove fdatasync patch previously used for leopard and earlier, issue now handled correctly upstream, fix configuration for +docs variant (#48245).
Modified Paths:
--------------
trunk/dports/security/policykit/Portfile
Removed Paths:
-------------
trunk/dports/security/policykit/files/patch-fdatasync.diff
Modified: trunk/dports/security/policykit/Portfile
===================================================================
--- trunk/dports/security/policykit/Portfile 2015-07-04 15:42:41 UTC (rev 138297)
+++ trunk/dports/security/policykit/Portfile 2015-07-04 19:59:01 UTC (rev 138298)
@@ -6,6 +6,7 @@
name policykit
version 0.113
+revision 1
description PolicyKit is an application-level toolkit for defining and \
handling the policy that allows unprivileged processes to \
speak to privileged processes
@@ -39,7 +40,6 @@
pre-patch {
if {${os.platform} eq "darwin" && ${os.major} < 10} {
- patchfiles-append patch-fdatasync.diff
reinplace "s|security/pam|pam/pam|" ${worksrcpath}/configure.ac \
${worksrcpath}/src/polkitagent/polkitagenthelper-pam.c \
${worksrcpath}/src/programs/pkexec.c
@@ -64,14 +64,13 @@
--enable-systemd=no \
--disable-silent-rules \
--disable-test \
- --enable-man-pages \
- --disable-gtk-doc
+ --enable-man-pages
destroot.keepdirs ${destroot}${prefix}/etc/polkit-1/localauthority \
${destroot}${prefix}/var/lib/polkit-1
variant docs description {Build API docs using gtk-doc} {
- configure.args-delete --disable-gtk-doc
+ configure.args-append --enable-gtk-doc
depends_build-append port:gtk-doc
}
Deleted: trunk/dports/security/policykit/files/patch-fdatasync.diff
===================================================================
--- trunk/dports/security/policykit/files/patch-fdatasync.diff 2015-07-04 15:42:41 UTC (rev 138297)
+++ trunk/dports/security/policykit/files/patch-fdatasync.diff 2015-07-04 19:59:01 UTC (rev 138298)
@@ -1,12 +0,0 @@
---- src/polkitagent/polkitagenthelperprivate.orig 2011-05-03 16:42:24.000000000 -0400
-+++ src/polkitagent/polkitagenthelperprivate.c 2011-05-03 16:42:48.000000000 -0400
-@@ -103,7 +103,7 @@
- {
- fflush (stdout);
- fflush (stderr);
-- fdatasync (fileno(stdout));
-- fdatasync (fileno(stderr));
-+ fsync (fileno(stdout));
-+ fsync (fileno(stderr));
- usleep (100 * 1000);
- }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150704/2c9a767d/attachment.html>
More information about the macports-changes
mailing list