wok diff portsentry/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents
children 080c1dff8494
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/portsentry/receipt	Mon Apr 14 19:59:46 2014 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="portsentry"
     1.7 +VERSION="1.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Portscan detection daemon."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +LICENSE="CCPL"
    1.13 +WEB_SITE="http://sentrytools.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/sentrytools/$TARBALL"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS=""
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's/dot $/&\\/' portsentry.c
    1.23 +	make linux
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/sbin $fs/etc/portsentry
    1.30 +	cp -a $src/portsentry $fs/usr/sbin
    1.31 +	cp -a $src/portsentry.conf $fs/etc/portsentry
    1.32 +	cat > $fs/etc/portsentry/portsentry.ignore.static <<EOT
    1.33 +127.0.0.1/32
    1.34 +192.168.0.0/16
    1.35 +10.0.0.0/8
    1.36 +EOT
    1.37 +}