wok view firehol/receipt @ rev 22724

updated firehol (3.1.4 -> 3.1.6)
author Hans-G?nter Theisgen
date Thu Jan 23 08:56:30 2020 +0100 (2020-01-23)
parents 49e861a5cc92
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="firehol"
4 VERSION="3.1.6"
5 CATEGORY="security"
6 SHORT_DESC="A firewall for humans..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://firehol.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="curl iprange iproute2 ipset"
15 DEPENDS="$BUILD_DEPENDS bash"
17 CONFIG_FILES="/etc/firehol"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 mkdir -p $fs/usr/sbin
36 cp -a $install/etc $fs
37 for i in $(ls $install/usr/sbin)
38 do
39 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
40 done
41 cp -a $install/usr/libexec $fs/usr
42 cp -a $install/usr/share/update-ipsets $fs/usr/share
43 }