summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-10-26 15:25:27 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-10-26 15:25:27 +0000
commit43d34abf12a892164c4ad6ba9eac54a252a4d6c7 (patch)
tree48476d5b8e1f87dc7e919a83ca939615119cdfb9 /net-misc/knock/knock-0.3.1.ebuild
parentrepoman commit (Manifest recommit) (diff)
downloadgentoo-2-43d34abf12a892164c4ad6ba9eac54a252a4d6c7.tar.gz
gentoo-2-43d34abf12a892164c4ad6ba9eac54a252a4d6c7.tar.bz2
gentoo-2-43d34abf12a892164c4ad6ba9eac54a252a4d6c7.zip
Version bump.
Diffstat (limited to 'net-misc/knock/knock-0.3.1.ebuild')
-rw-r--r--net-misc/knock/knock-0.3.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/knock/knock-0.3.1.ebuild b/net-misc/knock/knock-0.3.1.ebuild
new file mode 100644
index 000000000000..89283ec1d24f
--- /dev/null
+++ b/net-misc/knock/knock-0.3.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.3.1.ebuild,v 1.1 2004/10/26 15:25:27 pyrania Exp $
+
+inherit eutils
+
+DESCRIPTION="A simple port-knocking daemon"
+HOMEPAGE="http://www.zeroflux.org/knock/"
+SRC_URI="http://www.zeroflux.org/knock/${P}.tar.gz"
+
+DEPEND=">=net-libs/libpcap-0.8.3-r1"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/nonblock.patch
+ epatch ${FILESDIR}/knockd.conf.patch
+}
+
+src_compile() {
+ econf || die "could not configure"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc README
+ dohtml doc/index.html
+
+ insinto /etc/conf.d; newins ${FILESDIR}/knockd.confd knock
+ exeinto /etc/init.d; newexe ${FILESDIR}/knockd.initd knock
+}