aboutsummaryrefslogtreecommitdiff
path: root/security/py-fail2ban/files
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2013-06-11 14:21:48 +0000
committerFrederic Culot <culot@FreeBSD.org>2013-06-11 14:21:48 +0000
commit6f41b547e8e54932306ac7467aeae4ffef75d26b (patch)
treec980d42179c2cfed467675a7c78c8a97baa5341e /security/py-fail2ban/files
parent6f074c1a3c660c197563deb58831aa27570040b3 (diff)
downloadports-6f41b547e8e54932306ac7467aeae4ffef75d26b.tar.gz
ports-6f41b547e8e54932306ac7467aeae4ffef75d26b.zip
Notes
Diffstat (limited to 'security/py-fail2ban/files')
-rw-r--r--security/py-fail2ban/files/patch-common.conf9
-rw-r--r--security/py-fail2ban/files/patch-setup.py12
2 files changed, 13 insertions, 8 deletions
diff --git a/security/py-fail2ban/files/patch-common.conf b/security/py-fail2ban/files/patch-common.conf
index 18224ad1782a..74361cdc16c8 100644
--- a/security/py-fail2ban/files/patch-common.conf
+++ b/security/py-fail2ban/files/patch-common.conf
@@ -1,6 +1,6 @@
--- config/filter.d/common.conf.orig 2012-01-20 22:50:22.000000000 +0100
+++ config/filter.d/common.conf 2012-01-20 23:10:52.000000000 +0100
-@@ -32,6 +32,9 @@
+@@ -35,6 +35,9 @@
# EXAMPLES: sshd[31607], pop(pam_unix)[4920]
__daemon_combs_re = (?:%(__pid_re)s?:\s+%(__daemon_re)s|%(__daemon_re)s%(__pid_re)s?:)
@@ -10,10 +10,3 @@
# Some messages have a kernel prefix with a timestamp
# EXAMPLES: kernel: [769570.846956]
__kernel_prefix = kernel: \[\d+\.\d+\]
-@@ -43,5 +46,5 @@
- #
- # [hostname] [vserver tag] daemon_id spaces
- # this can be optional (for instance if we match named native log files)
--__prefix_line = \s*(?:%(__hostname)s )?(?:%(__kernel_prefix)s )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
-+__prefix_line = \s*%(__bsd_verbose_mode)s?(?:\S+ )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
-
diff --git a/security/py-fail2ban/files/patch-setup.py b/security/py-fail2ban/files/patch-setup.py
new file mode 100644
index 000000000000..f969a436996a
--- /dev/null
+++ b/security/py-fail2ban/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig 2013-06-10 03:40:55.000000000 -0400
++++ setup.py 2013-06-10 03:41:17.000000000 -0400
+@@ -67,9 +67,6 @@
+ ),
+ ('/var/run/fail2ban',
+ ''
+- ),
+- ('/usr/share/doc/fail2ban',
+- ['README.md', 'DEVELOP', 'doc/run-rootless.txt']
+ )
+ ]
+ )