aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knock/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-05 11:42:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-05 11:43:07 +0000
commit973f47dbc306f8d92f9aa8c65dfb5e68a0f23b2f (patch)
tree455839f9c552562025228eae925fcb42e29630c6 /testing/knock/APKBUILD
parenta8a0d7aadb3d9fb68d5822a103f83a872174ab90 (diff)
downloadaports-973f47dbc306f8d92f9aa8c65dfb5e68a0f23b2f.tar.bz2
aports-973f47dbc306f8d92f9aa8c65dfb5e68a0f23b2f.tar.xz
main/knock: moved from testing
Diffstat (limited to 'testing/knock/APKBUILD')
-rw-r--r--testing/knock/APKBUILD38
1 files changed, 0 insertions, 38 deletions
diff --git a/testing/knock/APKBUILD b/testing/knock/APKBUILD
deleted file mode 100644
index 9e3aeede26..0000000000
--- a/testing/knock/APKBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=knock
-pkgver=0.5
-pkgrel=2
-pkgdesc="A simple port-knocking daemon"
-url="http://www.zeroflux.org/projects/knock"
-arch="all"
-license="GPL"
-depends="iptables"
-makedepends="libpcap-dev"
-install=
-subpackages="$pkgname-doc"
-source="http://www.zeroflux.org/proj/knock/files/$pkgname-$pkgver.tar.gz
- knock.initd
- knock.confd"
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make -j1 || return 1
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make -j1 DESTDIR="$pkgdir" install
-
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/knockd
- install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/knockd
-}
-
-md5sums="ca09d61458974cff90a700aba6120891 knock-0.5.tar.gz
-5f05196d700c04287523d184226e2dc2 knock.initd
-8067d3b8401a0b5d513c44d3ff436032 knock.confd"