wok-6.x view ipset/receipt @ rev 20038

Add ipset, ipset-dev, iprange, firehol
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 24 19:59:19 2017 +0200 (2017-08-24)
parents
children c697de7825ae
line source
1 # SliTaz package receipt.
3 PACKAGE="ipset"
4 VERSION="6.32"
5 CATEGORY="security"
6 SHORT_DESC="Hi speed match for an entry against a set of firewall rules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ipset.netfilter.org/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libmnl"
14 BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
20 sed -i "s/uname -r/echo $KVERSION/" configure
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/sbin $fs/usr
33 }