summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-08-23 01:43:17 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-08-23 01:43:17 +0000
commit702f328d572ccac592aecf8d12850b745f9fc0e8 (patch)
tree42281955a3f6ec6c7b3dbba873e0fd0067dabd82 /net-misc/knock/files
parentremove unused patches (diff)
downloadgentoo-2-702f328d572ccac592aecf8d12850b745f9fc0e8.tar.gz
gentoo-2-702f328d572ccac592aecf8d12850b745f9fc0e8.tar.bz2
gentoo-2-702f328d572ccac592aecf8d12850b745f9fc0e8.zip
remove unused patches
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/knock/files')
-rw-r--r--net-misc/knock/files/knockd.conf.patch18
-rw-r--r--net-misc/knock/files/nonblock.patch22
2 files changed, 0 insertions, 40 deletions
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;