summaryrefslogtreecommitdiffstats
path: root/unstable
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-04-09 17:01:47 +0000
committerMichael Mason <ms13sp@gmail.com>2009-04-09 17:01:47 +0000
commitc6d09a377d235ef3e9a661edea677313d8a64b84 (patch)
treeec591c7bdd62619c8da3a183f4051ad6351b64c4 /unstable
parentb528361d880cba9d6f03b8f0353619acd1fc3fa5 (diff)
downloadaports-c6d09a377d235ef3e9a661edea677313d8a64b84.tar.bz2
aports-c6d09a377d235ef3e9a661edea677313d8a64b84.tar.xz
unstable/knock Initial Commit
Diffstat (limited to 'unstable')
-rw-r--r--unstable/knock/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/unstable/knock/APKBUILD b/unstable/knock/APKBUILD
new file mode 100644
index 000000000..2827d6bfd
--- /dev/null
+++ b/unstable/knock/APKBUILD
@@ -0,0 +1,29 @@
+# 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"