wok-next annotate 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
rev   line source
pascal@15887 1 # SliTaz package receipt.
pascal@15887 2
pascal@15887 3 PACKAGE="portsentry"
pascal@15887 4 VERSION="1.2"
pascal@15887 5 CATEGORY="network"
pascal@15887 6 SHORT_DESC="Portscan detection daemon."
pascal@15887 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15887 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15887 9 LICENSE="CCPL"
pascal@15887 10 WEB_SITE="http://sentrytools.sourceforge.net/"
pascal@15887 11 WGET_URL="$SF_MIRROR/sentrytools/$TARBALL"
pascal@15887 12
pascal@15887 13 DEPENDS=""
pascal@15887 14 BUILD_DEPENDS=""
pascal@15887 15
pascal@15887 16 # Rules to configure and make the package.
pascal@15887 17 compile_rules()
pascal@15887 18 {
pascal@15887 19 sed -i 's/dot $/&\\/' portsentry.c
pascal@15887 20 make linux
pascal@15887 21 }
pascal@15887 22
pascal@15887 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15887 24 genpkg_rules()
pascal@15887 25 {
pascal@15887 26 mkdir -p $fs/usr/sbin $fs/etc/portsentry
pascal@15887 27 cp -a $src/portsentry $fs/usr/sbin
pascal@15887 28 cp -a $src/portsentry.conf $fs/etc/portsentry
pascal@15887 29 cat > $fs/etc/portsentry/portsentry.ignore.static <<EOT
pascal@15887 30 127.0.0.1/32
pascal@15887 31 192.168.0.0/16
pascal@15887 32 10.0.0.0/8
pascal@15887 33 EOT
pascal@15887 34 }