wok-next diff portsentry/receipt @ rev 19293
o3read, ocaml, optipng, p7zip-full, pmail, python-nose, ratmenu: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 15:27:44 2016 +0200 (2016-07-06) |
parents | |
children | 2f03cb67a994 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/portsentry/receipt Wed Jul 06 15:27:44 2016 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="portsentry" 1.7 +VERSION="1.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Portscan detection daemon." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +LICENSE="CCPL" 1.13 +WEB_SITE="http://sentrytools.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/sentrytools/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + sed -i 's/dot $/&\\/' portsentry.c 1.23 + make linux 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/sbin $fs/etc/portsentry 1.30 + cp -a $src/portsentry $fs/usr/sbin 1.31 + cp -a $src/portsentry.conf $fs/etc/portsentry 1.32 + cat > $fs/etc/portsentry/portsentry.ignore.static <<EOT 1.33 +127.0.0.1/32 1.34 +192.168.0.0/16 1.35 +10.0.0.0/8 1.36 +EOT 1.37 +}