wok-6.x view portsentry/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-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 }