wok-next view portsentry/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 2f03cb67a994
children 5ffe59e2de3a
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 -Dm755 $src/portsentry $install/usr/sbin/portsentry
19 install -Dm644 $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 }