summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-19 15:06:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-19 15:06:46 +0000
commitc367a42d0ec2f09e77edbd3ecf51f17cb8ea8c6d (patch)
tree2b60b47c24f5e1e5d3da012f1e3d2bfa66780715
parent607073c269eeb26d0b3afd909d3cef0a3466e5f3 (diff)
downloadaports-c367a42d0ec2f09e77edbd3ecf51f17cb8ea8c6d.tar.bz2
aports-c367a42d0ec2f09e77edbd3ecf51f17cb8ea8c6d.tar.xz
main/firefox: disable mprotect for now
we might want disable the jit in the long run and keep mprotect
-rw-r--r--main/firefox/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/firefox/APKBUILD b/main/firefox/APKBUILD
index 86f76f8ad..f0ddc8dcb 100644
--- a/main/firefox/APKBUILD
+++ b/main/firefox/APKBUILD
@@ -4,7 +4,7 @@ pkgname=firefox
pkgver=4.0.1
_pkgver=4.0.1
_xulver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="firefox web browser"
url="http://www.firefox.com"
arch="all"
@@ -84,6 +84,9 @@ package() {
install -m644 ${srcdir}/mozilla-2.0/other-licenses/branding/firefox/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png
install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/firefox.desktop
install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/firefox-safe.desktop
+
+ # firefox currently does not work with mprotect. disable it for now
+ paxctl -c -m "$pkgdir"/usr/lib/firefox-$pkgver/firefox
}
md5sums="9abda7d23151e97913c8555a64c13f34 firefox-4.0.1.source.tar.bz2