summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-08-23 01:47:37 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-08-23 01:47:37 +0000
commit435e2772bf1580735bc10d6bef8cc7e380965c44 (patch)
tree8bc178b72e486a40b46600c691ca92ccc3ee8b70 /net-misc/knock
parentupdated dependencies for but 231870. (diff)
downloadhistorical-435e2772bf1580735bc10d6bef8cc7e380965c44.tar.gz
historical-435e2772bf1580735bc10d6bef8cc7e380965c44.tar.bz2
historical-435e2772bf1580735bc10d6bef8cc7e380965c44.zip
remove unused patches
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-misc/knock')
-rw-r--r--net-misc/knock/ChangeLog8
-rw-r--r--net-misc/knock/files/knockd.conf.patch18
-rw-r--r--net-misc/knock/files/nonblock.patch22
3 files changed, 6 insertions, 42 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog
index 9cd24fe858d7..9011ead9c280 100644
--- a/net-misc/knock/ChangeLog
+++ b/net-misc/knock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/knock
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.36 2008/09/25 14:34:01 hawking Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.37 2009/08/23 01:43:17 darkside Exp $
+
+ 23 Aug 2009; Jeremy Olexa <darkside@gentoo.org> -files/knockd.conf.patch,
+ -files/nonblock.patch:
+ remove unused patches
25 Sep 2008; Ali Polatel <hawking@gentoo.org> metadata.xml:
Added myself to metadata.xml.
diff --git a/net-misc/knock/files/knockd.conf.patch b/net-misc/knock/files/knockd.conf.patch
deleted file mode 100644
index 7154ad646f78..000000000000
--- a/net-misc/knock/files/knockd.conf.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-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/files/nonblock.patch b/net-misc/knock/files/nonblock.patch
deleted file mode 100644
index 5a698026982b..000000000000
--- a/net-misc/knock/files/nonblock.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur knock-0.3/src/knock.c knock-0.3-fix/src/knock.c
---- knock-0.3/src/knock.c 2004-05-07 00:56:03.000000000 +0200
-+++ knock-0.3-fix/src/knock.c 2004-08-04 00:53:25.663567392 +0200
-@@ -30,6 +30,7 @@
- #include <string.h>
- #include <resolv.h>
- #include <getopt.h>
-+#include <fcntl.h>
-
- static char version[] = "0.3";
-
-@@ -79,7 +80,10 @@
- if(o_udp) {
- sd = socket(PF_INET, SOCK_DGRAM, 0);
- } else {
-+ int flags;
- sd = socket(PF_INET, SOCK_STREAM, 0);
-+ flags = fcntl(sd, F_GETFL, 0);
-+ fcntl(sd, F_SETFL, flags | O_NONBLOCK);
- }
- memset(&addr, 0, sizeof(addr));
- addr.sin_family = AF_INET;