wok-next view knock/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }