aboutsummaryrefslogtreecommitdiffstats
path: root/main/fprobe
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-09 10:13:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-09 10:13:15 +0000
commit080c8bc0021ad1b55237e6a3feb24690aec62f5b (patch)
tree65532b8e852d625e1998d35cf972c1a68c0f7a30 /main/fprobe
parentd618cb16c40a2d2d4e6807dac7c8153c9b57d60f (diff)
downloadaports-080c8bc0021ad1b55237e6a3feb24690aec62f5b.tar.bz2
aports-080c8bc0021ad1b55237e6a3feb24690aec62f5b.tar.xz
main/fprobe: cleanup. replace exit 1
so abuild can cleanup on failures
Diffstat (limited to 'main/fprobe')
-rw-r--r--main/fprobe/APKBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD
index ca6d465d28..0f2c303853 100644
--- a/main/fprobe/APKBUILD
+++ b/main/fprobe/APKBUILD
@@ -22,10 +22,10 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd $_builddir
update_config_sub || return 1
- for i in ../*.patch
- do
- msg "Applying $i"
- patch -p1 < ../$i || exit 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
}
@@ -55,3 +55,13 @@ md5sums="65850d0470078269b33eee58cba77ac2 fprobe-1.1.tar.bz2
ba8632d883fb49e83ea16db67c50a69b fprobe-1.1-setgroups.patch
6dba73f47bd466c586a836d6f26fb712 fprobe.initd
ba9c9327456e4db897b60481705df282 fprobe.confd"
+sha256sums="3a1cedf5e7b0d36c648aa90914fa71a158c6743ecf74a38f4850afbac57d22a0 fprobe-1.1.tar.bz2
+e55dd0810b4311f507b498f2da31934e8989e244c7a013a126c67fc1681d453f fprobe-1.1-pidfile-sanity.patch
+24047a7bdf60c78b4e290e3e6e36b5a2f3b3adedd3138ae8cd243f6c350028f4 fprobe-1.1-setgroups.patch
+f3a7b96578c72ab500154086a375b5a91824815678eb27bfe98851970a039d2e fprobe.initd
+b43b07e971fccad26f3caee9e7ee929aae29a2094b723d5a8d970b051f44d4a1 fprobe.confd"
+sha512sums="35fa4bedf2c615093b6637630322115e12f005bc43186b86c55c6bdc76ae5308dd31e1d05632e26e07a30fba88d76b9acc98632bee4f372edcf9df5da3e32210 fprobe-1.1.tar.bz2
+429d863547901564abfbd4e9629213f517797a98024c78394f9e89242cf06fba640b3c969e9ef58361a51c2ce0b82e0d79759e92634e31ec51c7016351cb8770 fprobe-1.1-pidfile-sanity.patch
+6433b39d6612581b393064385aa206313a2a359d2373fffb64463b748392eb64c69737d4dec55cdfa51a21c1c01f1a123fdddb344cd9faed23c79d64cad00dcb fprobe-1.1-setgroups.patch
+cd260e61c48b77dc1f3de3d801619f72328e41b237801a1010486c5df465c0c5630ff5aadc376c7472f747914f7c58635157684216bf07cc9885dd9b18f7a0f4 fprobe.initd
+fd6e7cfc50d3962ab41f0109f87690b50d7b2852d5f613117421747c4451589f625a3a3a4405e20a57c2d56ef8a4c8659942564c02862e8906b5b75f56972bed fprobe.confd"