[alpine-aports] [PATCH] community/fwsnort: run tests in fakeroot

alpine-mips-patches
Details
Message ID
<20181225061059.EFE68592E8@mx12.valuehost.ru>
Sender timestamp
1545717228
DKIM signature
missing
Download raw message
Patch: +2 -1
check() fails otherwise with the following output:

[+] fwsnort has been successfully installed!

[*] ./test-fwsnort.pl: You must be root (or equivalent UID 0 account) to effectively test fwsnort at ./test-fwsnort.pl line 822.
>>> ERROR: fwsnort: check failed
---
 community/fwsnort/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/fwsnort/APKBUILD b/community/fwsnort/APKBUILD
index a26fe72b70..87e49d48e0 100644
--- a/community/fwsnort/APKBUILD
+++ b/community/fwsnort/APKBUILD
@@ -2,13 +2,14 @@
 # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
 pkgname=fwsnort
 pkgver=1.6.8
-pkgrel=0
+pkgrel=1
 pkgdesc="Application layer IDS/IPS by translating snort rules into iptables"
 url="http://www.cipherdyne.org/fwsnort/"
 arch="noarch"
 license="GPL"
 depends="perl perl-netaddr-ip perl-iptables-parse iptables ip6tables net-tools wget"
 install="$pkgname.post-install"
+options="checkroot"
 source="http://www.cipherdyne.org/$pkgname/download/$pkgname-nodeps-$pkgver.tar.gz
 	fwsnort.up
 	fwsnort.update
-- 
2.20.1




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---