Subject: [alpine-aports] [PATCH] main/paxmark: don't redirect attr stderr output to /dev/null

From: Sören Tempel <[email-masked]>
Date: Thu, 10 Dec 2015 21:52:18 +0100

Makes debugging easier.
---
 main/paxmark/APKBUILD | 8 ++++----
 main/paxmark/paxmark  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/main/paxmark/APKBUILD b/main/paxmark/APKBUILD
index 693d7b1..aee2788 100644
--- a/main/paxmark/APKBUILD
+++ b/main/paxmark/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Timo Teräs <[email-masked]>
 pkgname=paxmark
 pkgver=0.8
-pkgrel=0
+pkgrel=1
 pkgdesc="Manage PaX marking of executables"
 url="http://alpinelinux.org"
 arch="noarch"
@@ -22,6 +22,6 @@ package() {
 	ln -s paxmark "$pkgdir"/usr/sbin/paxmark.sh || return 1
 }
 
-md5sums="d1c67376f89eb8bfc3e1ed32535dd47e  paxmark"
-sha256sums="b7a3eca3f20609f79319d27a5008d5e8b70740f0f73759016b783d75f3ffc0bd  paxmark"
-sha512sums="57cf21d4e02e3f64ec9d4fd8df242be916de6fc9b01196d437ad1bcae96acd85b528ab9c2cd21e079cd5cb7ab7b509e99a29855c49b291cb25c748b45f4adc47  paxmark"
+md5sums="b5b1192f8ad0664a37f67f4187b3a8b7  paxmark"
+sha256sums="41bf92a2412200d22ca0f6c7e98d407ff5cb0c1495ccab58f8e1ba388812752f  paxmark"
+sha512sums="e0f99417e5effb7e0e5269c625aff36e8bb0a6d47853ce9260c8a9f215c66ccf8b6c62f64992451325c80f3ae52e63cb0b355db8cb8fce5e0db8c695037d2df4  paxmark"
diff --git a/main/paxmark/paxmark b/main/paxmark/paxmark
index de3124b..3bf6403 100644
--- a/main/paxmark/paxmark
+++ b/main/paxmark/paxmark
@@ -28,7 +28,7 @@ local xval=""
 [ "${flags//[!s]}" -a -z "${flags//[!S]}" ] && xval="${xval}s"
 
 for f in "$@"; do
-	attr -q -s pax.flags -V "${xval}" "${f}" >/dev/null 2>&1 && continue
+	attr -q -s pax.flags -V "${xval}" "${f}" >/dev/null && continue
 	ret=1
 done
 
-- 
2.6.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---