summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-04-15 23:00:45 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-04-15 23:00:45 +0000
commit4ed4bec55c249379ccf18b0383fc244cf715f0b4 (patch)
treeee352aab608b0f74a6a2e9a95b4114a42d853a04 /net-misc/knock
parentneeds qt-3.2 according to bug #47973 (diff)
downloadhistorical-4ed4bec55c249379ccf18b0383fc244cf715f0b4.tar.gz
historical-4ed4bec55c249379ccf18b0383fc244cf715f0b4.tar.bz2
historical-4ed4bec55c249379ccf18b0383fc244cf715f0b4.zip
Initial import #3.
Diffstat (limited to 'net-misc/knock')
-rw-r--r--net-misc/knock/ChangeLog8
-rw-r--r--net-misc/knock/Manifest6
-rw-r--r--net-misc/knock/files/digest-knock-0.11
-rw-r--r--net-misc/knock/files/knockd.confd6
-rw-r--r--net-misc/knock/files/knockd.initd20
-rw-r--r--net-misc/knock/knock-0.1.ebuild22
-rw-r--r--net-misc/knock/metadata.xml9
7 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog
new file mode 100644
index 000000000000..b6b96a0b559a
--- /dev/null
+++ b/net-misc/knock/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-misc/knock
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.4 2004/04/15 23:00:45 pyrania Exp $
+
+ 15 Apr 2004; Markus Nigbur <pyrania@gentoo.org> metadata.xml,
+ files/knockd.confd, files/knockd.initd:
+ Initial import.
+
diff --git a/net-misc/knock/Manifest b/net-misc/knock/Manifest
new file mode 100644
index 000000000000..696796ad7ab0
--- /dev/null
+++ b/net-misc/knock/Manifest
@@ -0,0 +1,6 @@
+MD5 bc6cb3029b09d59c67e9201500524894 knock-0.1.ebuild 637
+MD5 7e8896aa57d1c170fc1bfbbd584864b8 ChangeLog 336
+MD5 85096de16c2a05f92c5a5fb0e800a2bc metadata.xml 252
+MD5 ee2451a5cffbfa05a1c751e918913b83 files/digest-knock-0.1 60
+MD5 5826be08ff8c821d10a4307494618a9e files/knockd.confd 272
+MD5 5b120b96347062e388bb19279612907e files/knockd.initd 500
diff --git a/net-misc/knock/files/digest-knock-0.1 b/net-misc/knock/files/digest-knock-0.1
new file mode 100644
index 000000000000..376e02ece123
--- /dev/null
+++ b/net-misc/knock/files/digest-knock-0.1
@@ -0,0 +1 @@
+MD5 8dab9aab2541c48270988bd20035a40c knock-0.1.tar.gz 74305
diff --git a/net-misc/knock/files/knockd.confd b/net-misc/knock/files/knockd.confd
new file mode 100644
index 000000000000..8826f04e709d
--- /dev/null
+++ b/net-misc/knock/files/knockd.confd
@@ -0,0 +1,6 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/files/knockd.confd,v 1.1 2004/04/15 23:00:45 pyrania Exp $
+
+# options for knockd daemon
+OPTS="-d -i eth0"
diff --git a/net-misc/knock/files/knockd.initd b/net-misc/knock/files/knockd.initd
new file mode 100644
index 000000000000..160157ffc06a
--- /dev/null
+++ b/net-misc/knock/files/knockd.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/files/knockd.initd,v 1.1 2004/04/15 23:00:45 pyrania Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting knockd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/knockd -- ${OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping knockd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/knockd
+ eend $?
+}
diff --git a/net-misc/knock/knock-0.1.ebuild b/net-misc/knock/knock-0.1.ebuild
new file mode 100644
index 000000000000..84d70564168c
--- /dev/null
+++ b/net-misc/knock/knock-0.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.1.ebuild,v 1.4 2004/04/15 23:00:45 pyrania Exp $
+
+IUSE=""
+
+DESCRIPTION="port-knock server"
+SRC_URI="http://www.zeroflux.org/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.zeroflux.org/"
+
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc COPYING README
+ dohtml doc/index.html
+
+ insinto /etc/conf.d; newins ${FILESDIR}/knockd.confd knock
+ exeinto /etc/init.d; newexe ${FILESDIR}/knockd.initd knock
+}
diff --git a/net-misc/knock/metadata.xml b/net-misc/knock/metadata.xml
new file mode 100644
index 000000000000..a459abfcc968
--- /dev/null
+++ b/net-misc/knock/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>pyrania@gentoo.org</email>
+ <name>Markus Nigbur</name>
+</maintainer>
+</pkgmetadata>