mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 02:36:34 +02:00
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
# Maintainer: François Chavant <alpine@mail.chavant.info>
|
|
pkgname=firehol
|
|
pkgver=3.1.7
|
|
pkgrel=2
|
|
pkgdesc="firewall for humans"
|
|
url="https://github.com/firehol/firehol"
|
|
arch="noarch"
|
|
license=" GPL-2.0-only"
|
|
depends="bash iprange iproute2 iptables"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="https://github.com/firehol/firehol/releases/download/v$pkgver/firehol-$pkgver.tar.bz2
|
|
firehol.initd
|
|
"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-fireqos \
|
|
--disable-link-balancer \
|
|
--disable-update-ipsets \
|
|
--disable-vnetbuild
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm -f "$pkgdir/usr/sbin/$pkgname"
|
|
ln -s "/usr/libexec/$pkgname/$pkgver/$pkgname" "$pkgdir/usr/sbin/$pkgname"
|
|
mkdir -p "$pkgdir/etc/init.d"
|
|
install -m 755 "$startdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
e80f8e52bd4e48d9f549d7efdea6eb600c128c2729f038e2a9bbebbbb9a0bf47d8ed911c1c32f9241071c65ed57b6a6bff77796a51378b11ddcf10f793e94064 firehol-3.1.7.tar.bz2
|
|
7c2c3387b29ff0674e1c4ae500c8ea591388bf4aa3c4d72eaf3f2fcac1cf546e3e2ae026c2bf5e9c62b4f29f0a75e60c9a621bc0a6f78df22502dbbd9f9a2556 firehol.initd
|
|
"
|