wok diff ipset/receipt @ rev 20529

Up netdata (1.11.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 14 17:58:37 2018 +0100 (2018-11-14)
parents
children c697de7825ae
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipset/receipt	Wed Nov 14 17:58:37 2018 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ipset"
     1.7 +VERSION="6.32"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Hi speed match for an entry against a set of firewall rules."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://ipset.netfilter.org/"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +
    1.16 +DEPENDS="libmnl"
    1.17 +BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
    1.23 +	sed -i "s/uname -r/echo $KVERSION/" configure
    1.24 +	./configure --prefix=/usr \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.35 +	cp -a $install/usr/sbin $fs/usr
    1.36 +}