wok-next view portsentry/receipt @ rev 18384
fbida: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 09:21:51 2015 +0200 (2015-09-18) |
parents | |
children | 2f03cb67a994 |
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 }