summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-08-18 18:21:34 +0200
committerChristoph Lohmann <20h@r-36.net>2015-08-18 18:21:34 +0200
commit294142a806c9423ab47309c8871815e12e7c0107 (patch)
tree5ed2e0adeee77a7afa6a92ebc2ad4785ffddec5a
parent957a6f0812bbc7140b89219de68458c715f35999 (diff)
downloadsurf-294142a806c9423ab47309c8871815e12e7c0107.tar.gz
surf-294142a806c9423ab47309c8871815e12e7c0107.tar.bz2
surf-294142a806c9423ab47309c8871815e12e7c0107.zip
Add PaX support.
Mprotect needs to be turned off for Webkit.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a9d4d1d..3b7c757 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@ install: all
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f surf ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
+ @[ -e /sbin/paxctl ] && /sbin/paxctl -m ${DESTDIR}${PREFIX}/bin/surf
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1