aboutsummaryrefslogtreecommitdiffstats
path: root/main/paxmark
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-16 16:45:09 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-04-16 16:46:03 +0300
commitd17f3c2075202389a163cf1d8bb300dd86005ae0 (patch)
tree222bfb87835e36e130fa056f27a68a9317659591 /main/paxmark
parentac343d2ace15fbf276307386e5c18f6c1908ac47 (diff)
downloadaports-d17f3c2075202389a163cf1d8bb300dd86005ae0.tar.bz2
aports-d17f3c2075202389a163cf1d8bb300dd86005ae0.tar.xz
main/paxmark: add 'e' only if -z is not specified
-z is clear all flags and it disables all flags - even the default ones.
Diffstat (limited to 'main/paxmark')
-rw-r--r--main/paxmark/APKBUILD8
-rw-r--r--main/paxmark/paxmark2
2 files changed, 5 insertions, 5 deletions
diff --git a/main/paxmark/APKBUILD b/main/paxmark/APKBUILD
index 63809acd03..6e146b5171 100644
--- a/main/paxmark/APKBUILD
+++ b/main/paxmark/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=paxmark
-pkgver=0.6
+pkgver=0.7
pkgrel=0
pkgdesc="Manage PaX marking of executables"
url="http://alpinelinux.org"
@@ -22,6 +22,6 @@ package() {
ln -s paxmark "$pkgdir"/usr/sbin/paxmark.sh || return 1
}
-md5sums="363ee24e0f8eba76033e27d8ddca4e57 paxmark"
-sha256sums="1a2c0275f908d5011d4227dcc04eb32c53c63f2a6ce98f6fae0376e4c5e86c83 paxmark"
-sha512sums="eaa0a5cc11d3101df075a5291b14fa4865d959ce580f45e2b898be99397d6956aa1e34809a115d1a8ff7b7cc18abdc29cdf2ed36fdbd01c94500a05d248a5291 paxmark"
+md5sums="6a2d2b43989dc2d77e2a5db38bdcc8b4 paxmark"
+sha256sums="53d96c338a69917f5d76c1c4af590b16a2c80bb3fdfdcfeb31ae222371aea13a paxmark"
+sha512sums="10f503a1404503cb604402595684e3e28ced5b40ae4709e72bd13d696bd080c7d416392f5901e2874cc94bdc91f5f172bc19fa79739022b8ca1cfdb7f25ddc4b paxmark"
diff --git a/main/paxmark/paxmark b/main/paxmark/paxmark
index 40bac6082f..2a933246e7 100644
--- a/main/paxmark/paxmark
+++ b/main/paxmark/paxmark
@@ -19,7 +19,7 @@ local xval=""
[ "${flags//[!p]}" -a -z "${flags//[!P]}" ] && xval="${xval}p"
[ "${flags//[!E]}" ] && xval="${xval}E"
[ "${flags//[!e]}" -a -z "${flags//[!E]}" ] && xval="${xval}e"
-[ -z "${flags//[!Ee]}" ] && xval="${xval}e"
+[ "${flags//[!z]}" -a -z "${flags//[!Ee]}" ] && xval="${xval}e"
[ "${flags//[!M]}" ] && xval="${xval}M"
[ "${flags//[!m]}" -a -z "${flags//[!M]}" ] && xval="${xval}m"
[ "${flags//[!R]}" ] && xval="${xval}R"