Commit a02ad24b authored by Nathan Angelacos's avatar Nathan Angelacos Committed by Natanael Copa

main/knock: Use TDFKAOlli fork that supports IPv6

parent 9a196002
# Contributor: Michael Mason <ms13sp@gmail.com> # Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=knock pkgname=knock
pkgver=0.7 pkgver=0.8
pkgrel=1 pkgrel=0
pkgdesc="A simple port-knocking daemon" pkgdesc="A simple port-knocking daemon"
url="http://www.zeroflux.org/projects/knock" url="http://www.zeroflux.org/projects/knock"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
depends="iptables" depends="iptables"
makedepends="libpcap-dev" makedepends="libpcap-dev autoconf automake"
install= install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://www.zeroflux.org/proj/knock/files/$pkgname-$pkgver.tar.gz # Original hasnt been maintained in a long time - use this fork instead - includes IPv6 support
_fork="TDFKAOlli"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_fork/$pkgname/archive/${pkgver}.tar.gz
knock.initd knock.initd
knock.confd" knock.confd"
options="!check"
_builddir="$srcdir/$pkgname-$pkgver" _builddir="$srcdir/$pkgname-$pkgver"
...@@ -29,6 +32,7 @@ prepare() { ...@@ -29,6 +32,7 @@ prepare() {
build() { build() {
cd "$_builddir" cd "$_builddir"
autoreconf -fi
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -50,12 +54,6 @@ package() { ...@@ -50,12 +54,6 @@ package() {
"$pkgdir"/etc/conf.d/knockd || return 1 "$pkgdir"/etc/conf.d/knockd || return 1
} }
md5sums="cb6373fd4ccb42eeca3ff406b7fdb8a7 knock-0.7.tar.gz sha512sums="cfc0b92e90c34ffa629b866e63f9f9f4b9c2423491680e6155efeb8f40c24446df29f961f2f8505441b153c2a87a32b834fd1182896b6de92dee430044680c27 knock-0.8.tar.gz
82eec0859406f1394fcdbbeacad118ce knock.initd
8067d3b8401a0b5d513c44d3ff436032 knock.confd"
sha256sums="9938479c321066424f74c61f6bee46dfd355a828263dc89561a1ece3f56578a4 knock-0.7.tar.gz
16a8d08c1fe354ea7bef9b3b7854592e87f16fac4707f8410137c512b4545fc5 knock.initd
569d0596f28e6df05aeff16331fa5b19c60e4d6a2e36eec57dc9ac377ba3b46e knock.confd"
sha512sums="eab5d855f7111d9411e84a56a15e8ea74f41c5bd9dee27ab49f0d8d509eeeb96a60c508928c92916dc0ec9b737c447ca8ca5ed4db6479b389549d60e76a85aa7 knock-0.7.tar.gz
369010549a1b33efe9f634794f039249421778d49739e8f10e4d6baa83424e066a63c0ef637b70762ee34617e7b67f9ac6683125d35ded85d6779d6b2ef0f7db knock.initd 369010549a1b33efe9f634794f039249421778d49739e8f10e4d6baa83424e066a63c0ef637b70762ee34617e7b67f9ac6683125d35ded85d6779d6b2ef0f7db knock.initd
63fa311e6adf21450d4c93008a9537ec1b3c0dbed28e3daf955f2761127d9d756f2f7a84d8357d81a5e1a5a48453f9179d0c18cf18af0b9f30437c862a438d7f knock.confd" 63fa311e6adf21450d4c93008a9537ec1b3c0dbed28e3daf955f2761127d9d756f2f7a84d8357d81a5e1a5a48453f9179d0c18cf18af0b9f30437c862a438d7f knock.confd"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment