summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-08-27 11:33:04 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-08-27 11:33:04 +0000
commitafe0cd31cdb99c8070b419d84fac8ed44dbb7572 (patch)
treedb72788d13cfaa128b9e0173b3520cb6854bb689 /net-misc/knock
parentversion bump (diff)
downloadhistorical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.tar.gz
historical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.tar.bz2
historical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.zip
Closed bugs #59315, #59265 and #59251.
Diffstat (limited to 'net-misc/knock')
-rw-r--r--net-misc/knock/ChangeLog10
-rw-r--r--net-misc/knock/Manifest7
-rw-r--r--net-misc/knock/files/knockd.conf.patch18
-rw-r--r--net-misc/knock/knock-0.1.ebuild17
-rw-r--r--net-misc/knock/knock-0.3.ebuild3
5 files changed, 45 insertions, 10 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog
index 8c9dd83a4300..e2ad3234061d 100644
--- a/net-misc/knock/ChangeLog
+++ b/net-misc/knock/ChangeLog
@@ -1,11 +1,11 @@
# ChangeLog for net-misc/knock
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.11 2004/08/27 11:18:55 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.12 2004/08/27 11:33:04 pyrania Exp $
- 27 Aug 2004; <pyrania@gentoo.org> +files/knock-0.3-nonblock.patch,
- knock-0.3.ebuild:
- Added patch to make use of non-blocking TCP connections. Thanks to Per
- Cederberg <per@percederberg.net> in bug #59315.
+ 27 Aug 2004; <pyrania@gentoo.org> +files/knockd.conf.patch,
+ knock-0.1.ebuild, +files/knock-0.3-nonblock.patch, knock-0.3.ebuild:
+ Closed bugs #59315, #59265 and #59251. Thanks to Per Cederberg
+ <per@percederberg.net>.
18 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> knock-0.3.ebuild:
Added amd64 keyword, closing #57090.
diff --git a/net-misc/knock/Manifest b/net-misc/knock/Manifest
index d7150325e0b6..0cb468a1d446 100644
--- a/net-misc/knock/Manifest
+++ b/net-misc/knock/Manifest
@@ -1,8 +1,9 @@
-MD5 f27b60ab89680a272708004880d00217 ChangeLog 1067
-MD5 91796620e054c23b1ac6f9afc8d2547f knock-0.3.ebuild 852
+MD5 d4f0688c4d48da509e45d9e939f39887 ChangeLog 1079
+MD5 7fe476bc7b7596f823fa683465335542 knock-0.3.ebuild 890
MD5 85096de16c2a05f92c5a5fb0e800a2bc metadata.xml 252
-MD5 51196c0eabf737a2d86389c1eb1e8664 knock-0.1.ebuild 634
+MD5 08b11771cd7346931f036300c334c1d3 knock-0.1.ebuild 882
MD5 56d82b74345f127c4af5b92580b2b465 files/knock-0.3-nonblock.patch 617
+MD5 ac58083c3cf8cbe43867dc69a30cbeec files/knockd.conf.patch 676
MD5 503e3134931fbbd7729e4c6eb69bc38b files/digest-knock-0.1 60
MD5 6f594c8b1eb17d15a0ab9a73331598e3 files/digest-knock-0.3 60
MD5 ae09af5fe36f302c2b18a66ec789e6d4 files/knockd.initd 492
diff --git a/net-misc/knock/files/knockd.conf.patch b/net-misc/knock/files/knockd.conf.patch
new file mode 100644
index 000000000000..7154ad646f78
--- /dev/null
+++ b/net-misc/knock/files/knockd.conf.patch
@@ -0,0 +1,18 @@
+diff -Naur knock-0.3/knockd.conf knock-0.3_/knockd.conf
+--- knock-0.3/knockd.conf 2004-05-07 00:56:03.000000000 +0200
++++ knock-0.3_/knockd.conf 2004-08-27 13:23:51.103555768 +0200
+@@ -4,12 +4,12 @@
+ [openSSH]
+ sequence = 7000,8000,9000
+ seq_timeout = 5
+- command = /usr/sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
++ command = /sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
+ tcpflags = syn
+
+ [closeSSH]
+ sequence = 9000,8000,7000
+ seq_timeout = 5
+- command = /usr/sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
++ command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
+ tcpflags = syn
+
diff --git a/net-misc/knock/knock-0.1.ebuild b/net-misc/knock/knock-0.1.ebuild
index 2df5b4480afe..eb55a81a47b3 100644
--- a/net-misc/knock/knock-0.1.ebuild
+++ b/net-misc/knock/knock-0.1.ebuild
@@ -1,16 +1,31 @@
# 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.1.ebuild,v 1.8 2004/07/12 01:40:04 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.1.ebuild,v 1.9 2004/08/27 11:33:04 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"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-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
diff --git a/net-misc/knock/knock-0.3.ebuild b/net-misc/knock/knock-0.3.ebuild
index f1805790b745..52e91890c9fe 100644
--- a/net-misc/knock/knock-0.3.ebuild
+++ b/net-misc/knock/knock-0.3.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.6 2004/08/27 11:18:55 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.3.ebuild,v 1.7 2004/08/27 11:33:04 pyrania Exp $
inherit eutils
@@ -18,6 +18,7 @@ IUSE=""
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-nonblock.patch
+ epatch ${FILESDIR}/knockd.conf.patch
}
src_compile() {