pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957a6f0
)
Add PaX support.
author
Christoph Lohmann
<20h@r-36.net>
Tue, 18 Aug 2015 16:21:34 +0000
(18:21 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Tue, 18 Aug 2015 16:21:34 +0000
(18:21 +0200)
Mprotect needs to be turned off for Webkit.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
a9d4d1d
..
3b7c757
100644
(file)
--- 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