pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/polkit



Module Name:    pkgsrc
Committed By:   youri
Date:           Mon Jun  4 01:21:08 UTC 2018

Modified Files:
        pkgsrc/security/polkit: Makefile

Log Message:
On NetBSD, polkitd is not PaX MPROTECT safe, mark it as such.
Update pkgrevision for runtime fix.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/polkit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/polkit/Makefile
diff -u pkgsrc/security/polkit/Makefile:1.9 pkgsrc/security/polkit/Makefile:1.10
--- pkgsrc/security/polkit/Makefile:1.9 Sun Apr 29 05:14:36 2018
+++ pkgsrc/security/polkit/Makefile     Mon Jun  4 01:21:08 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2018/04/29 05:14:36 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/06/04 01:21:08 youri Exp $
 
 DISTNAME=      polkit-0.114
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  http://www.freedesktop.org/software/polkit/releases/
 
@@ -64,6 +65,13 @@ SUBST_FILES.paths+=  docs/man/pkexec.xml
 SUBST_FILES.paths+=    src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
 SUBST_SED.paths+=      -e 's,/usr/bin/,${PREFIX}/bin/,g'
 
+# On NetBSD, polkitd crashes because of PaX MPROTECT
+.if ${OPSYS} == "NetBSD"
+post-install:
+       paxctl +m ${DESTDIR}${PREFIX}/lib/polkit-1/polkitd
+.endif
+
+
 .include "../../lang/spidermonkey52/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index