Commit c6d09a37 authored by Michael Mason's avatar Michael Mason

unstable/knock Initial Commit

parent b528361d
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=knock
pkgver=0.5
pkgrel=0
pkgdesc="A simple port-knocking daemon"
url="http://www.zeroflux.org/projects/knock"
license="GPL"
depends="uclibc iptables libpcap"
makedepends="libpcap-dev"
install=
subpackages="$pkgname-doc"
source="http://www.zeroflux.org/proj/knock/files/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make -j1 || return 1
make -j1 DESTDIR="$pkgdir" install
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="ca09d61458974cff90a700aba6120891 knock-0.5.tar.gz"
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