wok view knock/receipt @ rev 4597

Up: dstat (0.7.0)
author Paul Issott <paul@slitaz.org>
date Sun Dec 13 19:11:42 2009 +0000 (2009-12-13)
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 }