diff options
author | Markus Nigbur <pyrania@gentoo.org> | 2004-04-15 23:00:45 +0000 |
---|---|---|
committer | Markus Nigbur <pyrania@gentoo.org> | 2004-04-15 23:00:45 +0000 |
commit | 7cf2fa9434874bc3bb87e7269177a8b382f7e191 (patch) | |
tree | d6cb7e2427d58430c022efc0808a7e1c16a33782 /net-misc/knock | |
parent | needs qt-3.2 according to bug #47973 (Manifest recommit) (diff) | |
download | gentoo-2-7cf2fa9434874bc3bb87e7269177a8b382f7e191.tar.gz gentoo-2-7cf2fa9434874bc3bb87e7269177a8b382f7e191.tar.bz2 gentoo-2-7cf2fa9434874bc3bb87e7269177a8b382f7e191.zip |
Initial import #3.
Diffstat (limited to 'net-misc/knock')
-rw-r--r-- | net-misc/knock/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/knock/Manifest | 2 | ||||
-rw-r--r-- | net-misc/knock/files/digest-knock-0.1 | 1 | ||||
-rw-r--r-- | net-misc/knock/files/knockd.confd | 6 | ||||
-rw-r--r-- | net-misc/knock/files/knockd.initd | 20 | ||||
-rw-r--r-- | net-misc/knock/knock-0.1.ebuild | 22 | ||||
-rw-r--r-- | net-misc/knock/metadata.xml | 9 |
7 files changed, 68 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..86478245bb39 --- /dev/null +++ b/net-misc/knock/Manifest @@ -0,0 +1,2 @@ +MD5 482683c15645a8d1a2382a86f6801a38 knock-0.1.ebuild 370 +MD5 ee2451a5cffbfa05a1c751e918913b83 files/digest-knock-0.1 60 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> |