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:23:41 UTC 2018

Modified Files:
        pkgsrc/security/polkit: Makefile

Log Message:
Use NOT_PAX_MPROTECT_SAFE rather than paxctl directly.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 pkgsrc/security/polkit/Makefile:1.11
--- pkgsrc/security/polkit/Makefile:1.10        Mon Jun  4 01:21:08 2018
+++ pkgsrc/security/polkit/Makefile     Mon Jun  4 01:23:41 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/06/04 01:21:08 youri Exp $
+# $NetBSD: Makefile,v 1.11 2018/06/04 01:23:41 youri Exp $
 
 DISTNAME=      polkit-0.114
 PKGREVISION=   1
@@ -13,6 +13,8 @@ LICENSE=      gnu-lgpl-v2
 BUILD_DEPENDS+=                libxslt-[0-9]*:../../textproc/libxslt
 BUILD_DEPENDS+=                docbook-xsl-[0-9]*:../../textproc/docbook-xsl
 
+NOT_PAX_MPROTECT_SAFE= lib/polkit-1/polkitd
+
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
@@ -65,12 +67,6 @@ 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"



Home | Main Index | Thread Index | Old Index