wok-next view portsentry/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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="https://sourceforge.net/projects/sentrytools/"
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 }