wok-next view portsentry/receipt @ rev 20491

More packing...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 02:04:32 2018 +0200 (2018-03-13)
parents eab35a9f8d16
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="portsentry"
4 VERSION="1.2"
5 CATEGORY="network"
6 SHORT_DESC="Portscan detection daemon"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CCPL"
9 WEB_SITE="http://sentrytools.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/sentrytools/$TARBALL"
14 compile_rules() {
15 sed -i 's/dot $/&\\/' portsentry.c
16 make linux || return 1
18 install -Dm 755 $src/portsentry $install/usr/sbin/portsentry
19 install -Dm 644 $src/portsentry.conf $install/etc/portsentry/portsentry.conf
20 cat > $install/etc/portsentry/portsentry.ignore.static <<EOT
21 127.0.0.1/32
22 192.168.0.0/16
23 10.0.0.0/8
24 EOT
25 }
27 genpkg_rules() {
28 copy @std
29 }