New package: firehol-3.1.6

This commit is contained in:
juantascon 2019-11-20 17:16:38 +01:00 committed by Helmut Pozimski
parent 6c39d1d63d
commit 12c84f9f48
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
set -e
exec firehol stop

View file

@ -0,0 +1,4 @@
#!/bin/sh
[ ! -e /etc/firehol/firehol.conf ] && exit 0
firehol start || exit 1
exec chpst -b firehol pause

24
srcpkgs/firehol/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'firehol'
pkgname=firehol
version=3.1.6
revision=1
build_style=gnu-configure
configure_args="--disable-doc --disable-man"
hostmakedepends="automake iproute2 kmod procps-ng iprange iputils traceroute curl ipset"
depends="iproute2 kmod procps-ng iprange iputils traceroute curl ipset"
short_desc="Firewall for humans"
maintainer="juan <juan@horlux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/firehol/firehol/"
distfiles="https://github.com/firehol/firehol/archive/v${version}.tar.gz"
checksum=dc71650a933c1fd420956813d79f9a058bcf3cbaa84b928536a53995ecb889e4
pre_configure() {
./autogen.sh
export BASH_VERSION_PATH=$(bash --version|head -n 1)
export IPRANGE_VERSION=$(iprange --version|head -n 1)
}
post_install() {
vsv firehol
}