wok-next view knock/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d6378d455338
children
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/projects/knock"
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 ./configure $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$install install || return 1
21 install -Dm755 $stuff/etc/init.d/knock $install/etc/init.d/knock
22 install -Dm755 $stuff/usr/sbin/knockd-helper $install/usr/sbin/knockd-helper
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="iptables libpcap"
28 CONFIG_FILES="/etc/knockd.conf"
29 }