wok view knock/receipt @ rev 24316
updated lynis (2.7.5 -> 3.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 25 09:41:30 2022 +0100 (2022-01-25) |
parents | 7c138665bd75 |
children | 96d99c76c5e9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.7.8"
5 HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891"
6 CATEGORY="security"
7 SHORT_DESC="Port knock sequence listener."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
12 WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip"
13 CONFIG_FILES="/etc/knockd.conf"
15 DEPENDS="iptables libpcap"
16 BUILD_DEPENDS="libpcap-dev autoconf automake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/jvinet/knock/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -p1 < $stuff/knock.u
29 autoreconf -fi
30 ./configure --prefix=/usr \
31 --infodir=/usr/share/info \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $stuff/etc $fs
43 cp -a $stuff/usr $fs
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/etc $fs
47 }