wok-next view knock/receipt @ rev 20719
partimage: use patches
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 15:45:14 2018 +0300 (2018-05-27) |
parents | 757d032c55c7 |
children | d5aab818505e |
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 ./configure $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$DESTDIR 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 }