wok-current view firehol/receipt @ rev 25569

BootProg: fix boot16.asm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 12 21:35:09 2023 +0000 (19 months ago)
parents e38fa996777e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="firehol"
4 VERSION="3.1.7"
5 CATEGORY="security"
6 SHORT_DESC="A firewall for humans..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/firehol/firehol/"
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 install DESTDIR=$DESTDIR
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 }