Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Tue, 25 Dec 2018 05:53:48 +0000

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
_at_@ -2,13 +2,14 @@
 # Maintainer: Stuart Cardall <developer_at_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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Dec 25 2018 - 05:53:48 UTC