wok-6.x annotate firehol/receipt @ rev 25252

updated python-zfec (1.5.3 -> 1.5.5)
author Hans-G?nter Theisgen
date Thu Jul 14 07:44:30 2022 +0100 (2022-07-14)
parents e38fa996777e
children
rev   line source
pascal@20038 1 # SliTaz package receipt.
pascal@20038 2
pascal@20038 3 PACKAGE="firehol"
Hans-G?nter@24549 4 VERSION="3.1.7"
pascal@20038 5 CATEGORY="security"
pascal@20038 6 SHORT_DESC="A firewall for humans..."
pascal@20038 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20038 8 LICENSE="GPL2"
pascal@24954 9 WEB_SITE="https://github.com/firehol/firehol/"
Hans-G?nter@22724 10
pascal@20038 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20038 12 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@22724 13
Hans-G?nter@22724 14 BUILD_DEPENDS="curl iprange iproute2 ipset"
Hans-G?nter@22724 15 DEPENDS="$BUILD_DEPENDS bash"
Hans-G?nter@22724 16
pascal@20038 17 CONFIG_FILES="/etc/firehol"
pascal@20038 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pascal@20038 25 # Rules to configure and make the package.
pascal@20038 26 compile_rules()
pascal@20038 27 {
Hans-G?nter@22724 28 ./configure \
Hans-G?nter@22724 29 --prefix=/usr \
Hans-G?nter@22724 30 --sysconfdir=/etc \
pascal@20038 31 $CONFIGURE_ARGS &&
pascal@20038 32 make &&
Hans-G?nter@24549 33 make install DESTDIR=$DESTDIR
pascal@20038 34 }
pascal@20038 35
pascal@20038 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20038 37 genpkg_rules()
pascal@20038 38 {
Hans-G?nter@22724 39 mkdir -p $fs/usr/share
Hans-G?nter@22724 40 mkdir -p $fs/usr/sbin
Hans-G?nter@22724 41
Hans-G?nter@22724 42 cp -a $install/etc $fs
Hans-G?nter@22724 43 for i in $(ls $install/usr/sbin)
Hans-G?nter@22724 44 do
pascal@20038 45 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
Hans-G?nter@22724 46 done
Hans-G?nter@22724 47 cp -a $install/usr/libexec $fs/usr
Hans-G?nter@22724 48 cp -a $install/usr/share/update-ipsets $fs/usr/share
pascal@20038 49 }