wok view firehol/receipt @ rev 24369

updated binutils and libbfd (2.33.1 -> 2.37)
author Hans-G?nter Theisgen
date Sat Feb 05 09:26:55 2022 +0100 (2022-02-05)
parents 70ff70d49f5c
children e38fa996777e
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 mkdir -p $fs/usr/sbin
42 cp -a $install/etc $fs
43 for i in $(ls $install/usr/sbin)
44 do
45 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
46 done
47 cp -a $install/usr/libexec $fs/usr
48 cp -a $install/usr/share/update-ipsets $fs/usr/share
49 }