wok-current annotate knock/receipt @ rev 23288
updated perl-apache-dbi (1.07 -> 1.12)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 15:03:00 2020 +0100 (2020-03-29) |
parents | 6cb94d9c1f79 |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@1435 | 1 # SliTaz package receipt. |
pascal@1435 | 2 |
pascal@1435 | 3 PACKAGE="knock" |
pascal@19633 | 4 VERSION="0.7.8" |
pascal@19633 | 5 HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891" |
pascal@1435 | 6 CATEGORY="security" |
pascal@1435 | 7 SHORT_DESC="Port knock sequence listener." |
pascal@1435 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="GPL2" |
pascal@19633 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@1435 | 11 WEB_SITE="http://www.zeroflux.org/$PACKAGE" |
pascal@19633 | 12 WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip" |
pascal@1586 | 13 CONFIG_FILES="/etc/knockd.conf" |
pascal@1435 | 14 |
pascal@18046 | 15 DEPENDS="iptables libpcap" |
pascal@19633 | 16 BUILD_DEPENDS="libpcap-dev autoconf automake" |
erjo@9935 | 17 |
pascal@1435 | 18 # Rules to configure and make the package. |
pascal@1435 | 19 compile_rules() |
pascal@1435 | 20 { |
pascal@19633 | 21 patch -p1 < $stuff/knock.u |
pascal@19633 | 22 autoreconf -fi |
pascal@17686 | 23 ./configure --prefix=/usr \ |
pascal@17686 | 24 --infodir=/usr/share/info \ |
pascal@17686 | 25 --sysconfdir=/etc \ |
pascal@17686 | 26 --mandir=/usr/share/man \ |
pascal@17686 | 27 $CONFIGURE_ARGS && |
pascal@1435 | 28 make && |
erjo@9935 | 29 make DESTDIR=$DESTDIR install |
pascal@1435 | 30 } |
pascal@1435 | 31 |
pascal@1435 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1435 | 33 genpkg_rules() |
pascal@1435 | 34 { |
pascal@17686 | 35 cp -a $stuff/etc $fs |
pascal@17686 | 36 cp -a $stuff/usr $fs |
pascal@15601 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@15601 | 38 cp -a $install/usr/bin $fs/usr |
pascal@17686 | 39 cp -a $install/etc $fs |
pascal@1435 | 40 } |