wok-6.x view knock/receipt @ rev 10246
Up: bazaar to 2.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 02:01:43 2011 +0000 (2011-05-21) |
parents | d1768332cee0 |
children | 23c3aed67cd9 |
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 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
10 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
11 CONFIG_FILES="/etc/knockd.conf"
13 DEPENDS="iptables"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
21 touch done.knock.u
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a stuff/etc $fs
36 }