wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="portsentry"
4 VERSION="1.2"
5 CATEGORY="network"
6 SHORT_DESC="Portscan detection daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 LICENSE="CCPL"
10 WEB_SITE="http://sentrytools.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/sentrytools/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/dot $/&\\/' portsentry.c
20 make linux
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin $fs/etc/portsentry
27 cp -a $src/portsentry $fs/usr/sbin
28 cp -a $src/portsentry.conf $fs/etc/portsentry
29 cat > $fs/etc/portsentry/portsentry.ignore.static <<EOT
30 127.0.0.1/32
31 192.168.0.0/16
32 10.0.0.0/8
33 EOT
34 }