pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/polkit Use NOT_PAX_MPROTECT_SAFE rather than ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/66ab0991344f
branches: trunk
changeset: 381308:66ab0991344f
user: youri <youri%pkgsrc.org@localhost>
date: Mon Jun 04 01:23:41 2018 +0000
description:
Use NOT_PAX_MPROTECT_SAFE rather than paxctl directly.
diffstat:
security/polkit/Makefile | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r f4d3d8d73dc9 -r 66ab0991344f security/polkit/Makefile
--- a/security/polkit/Makefile Mon Jun 04 01:21:08 2018 +0000
+++ b/security/polkit/Makefile Mon Jun 04 01:23:41 2018 +0000
@@ -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 @@
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+= 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