wok-current view knock/receipt @ rev 14698
Add perl-cgi, perl-config-general, perl-http-server-simple, perl-mailtools, perl-mime-lite, perl-mime-types
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 16:21:22 2013 +0200 (2013-06-07) |
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 }