wok-6.x view portsentry/receipt @ rev 18932
raine: use EXTRA_SOURCE_FILES to track the sources files (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 18:58:31 2016 +0100 (2016-02-26) |
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 }