wok-6.x rev 19633

Up knock (0.7.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 10:32:17 2017 +0100 (2017-01-15)
parents ee9d75253dc1
children 38eb1fe036b4
files knock/receipt knock/stuff/knock.u
line diff
     1.1 --- a/knock/receipt	Sun Jan 15 09:50:31 2017 +0100
     1.2 +++ b/knock/receipt	Sun Jan 15 10:32:17 2017 +0100
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="knock"
     1.7 -VERSION="0.7"
     1.8 +VERSION="0.7.8"
     1.9 +HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891"
    1.10  CATEGORY="security"
    1.11  SHORT_DESC="Port knock sequence listener."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +TARBALL="$PACKAGE-$VERSION.zip"
    1.16  WEB_SITE="http://www.zeroflux.org/$PACKAGE"
    1.17 -WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
    1.18 +WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip"
    1.19  CONFIG_FILES="/etc/knockd.conf"
    1.20  
    1.21  DEPENDS="iptables libpcap"
    1.22 -BUILD_DEPENDS="libpcap-dev"
    1.23 +BUILD_DEPENDS="libpcap-dev autoconf automake"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	[ -f done.knock.u ] || patch -p1 < $stuff/knock.u
    1.29 -	touch done.knock.u
    1.30 +	patch -p1 < $stuff/knock.u
    1.31 +	autoreconf -fi
    1.32  	./configure --prefix=/usr \
    1.33  		--infodir=/usr/share/info \
    1.34  		--sysconfdir=/etc \
     2.1 --- a/knock/stuff/knock.u	Sun Jan 15 09:50:31 2017 +0100
     2.2 +++ b/knock/stuff/knock.u	Sun Jan 15 10:32:17 2017 +0100
     2.3 @@ -7,12 +7,4 @@
     2.4   
     2.5   [openSSH]
     2.6  
     2.7 ---- knock-0.5/src/knockd.c
     2.8 -+++ knock-0.5/src/knockd.c
     2.9 -@@ -46,5 +46,6 @@
    2.10 - #include <syslog.h>
    2.11 - #include <pcap.h>
    2.12 - #include <errno.h>
    2.13 -+#include <linux/limits.h>
    2.14 - #include "list.h"
    2.15