wok-next view knock/receipt @ rev 20612

Up autofs (5.1.4), c-ares, curl (7.58.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 23:07:29 2018 +0300 (2018-04-19)
parents 6cb94d9c1f79
children d6378d455338
line source
1 # SliTaz package receipt v2.
3 PACKAGE="knock"
4 VERSION="0.7"
5 CATEGORY="security"
6 SHORT_DESC="Port knock sequence listener"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
14 BUILD_DEPENDS="libpcap-dev"
16 compile_rules() {
17 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
18 touch done.knock.u
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install || return 1
24 install -Dm755 $stuff/etc/init.d/knock $install/etc/init.d/knock
25 install -Dm755 $stuff/usr/sbin/knockd-helper $install/usr/sbin/knockd-helper
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="iptables libpcap"
31 CONFIG_FILES="/etc/knockd.conf"
32 }