summaryrefslogtreecommitdiffstats
path: root/package/portsentry/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-16 19:17:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-16 19:17:17 +0000
commitc5d540327a93ac4d3b6a3826cf6f20fb7a700acd (patch)
tree6bf5f55313ee1c06ec631f40ac3804410140edc8 /package/portsentry/patches
parent3a09403a94c91065a9611fb36faa2c44f21c4863 (diff)
add portsentry package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/portsentry/patches')
-rw-r--r--package/portsentry/patches/100-conf_location.patch11
-rw-r--r--package/portsentry/patches/101-postsentry_c.patch12
2 files changed, 23 insertions, 0 deletions
diff --git a/package/portsentry/patches/100-conf_location.patch b/package/portsentry/patches/100-conf_location.patch
new file mode 100644
index 000000000..457c9c827
--- /dev/null
+++ b/package/portsentry/patches/100-conf_location.patch
@@ -0,0 +1,11 @@
+--- portsentry/portsentry_config.h 2003-05-23 20:10:13.000000000 +0200
++++ portsentry.old/portsentry_config.h 2005-07-09 21:21:15.000000000 +0200
+@@ -22,7 +22,7 @@
+
+ /* These are probably ok. Be sure you change the Makefile if you */
+ /* change the path */
+-#define CONFIG_FILE "/usr/local/psionic/portsentry/portsentry.conf"
++#define CONFIG_FILE "/etc/portsentry.conf"
+
+ /* The location of Wietse Venema's TCP Wrapper hosts.deny file */
+ #define WRAPPER_HOSTS_DENY "/etc/hosts.deny"
diff --git a/package/portsentry/patches/101-postsentry_c.patch b/package/portsentry/patches/101-postsentry_c.patch
new file mode 100644
index 000000000..e36bb2a12
--- /dev/null
+++ b/package/portsentry/patches/101-postsentry_c.patch
@@ -0,0 +1,12 @@
+--- portsentry/portsentry.c 2003-05-23 20:10:13.000000000 +0200
++++ portsentry.old/portsentry.c 2005-07-09 21:57:24.000000000 +0200
+@@ -1581,8 +1581,7 @@
+ Usage (void)
+ {
+ printf ("PortSentry - Port Scan Detector.\n");
+- printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot
+-sourceforget dot net>\n");
++ printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot sourceforget dot net>\n");
+ printf ("Licensing restrictions apply. Please see documentation\n");
+ printf ("Version: %s\n\n", VERSION);
+ #ifdef SUPPORT_STEALTH