wok-current view knock/receipt @ rev 2656

Add: add perl-socket6 perl-io-socket-inet6
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 18 22:24:41 2009 +0200 (2009-04-18)
parents 64bb96cfe591
children d1768332cee0
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.5"
5 CATEGORY="security"
6 SHORT_DESC="Port knock sequence listener."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="iptables"
10 BUILD_DEPENDS="libpcap"
11 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
12 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
13 CONFIG_FILES="/etc/knockd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f done.knock.u ] || patch -p1 < ../stuff/knock.u
20 touch done.knock.u
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a stuff/etc $fs
35 }