wok view portsentry/receipt @ rev 17563

syslinux/iso2exe: use iso size to compute md5sum, update README
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 07 15:54:50 2015 +0100 (2015-02-07)
parents
children 080c1dff8494
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 }