FreeBSD Bugzilla – Attachment 134718 Details for
Bug 179426
[maintainer-update] Update security/py-fail2ban to 0.8.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-fail2ban.diff
py-fail2ban.diff (text/x-diff; charset=iso-8859-1), 5.95 KB, created by
Frederic Culot
on 2013-06-10 18:48:03 UTC
(
hide
)
Description:
py-fail2ban.diff
Filename:
MIME Type:
Creator:
Frederic Culot
Created:
2013-06-10 18:48:03 UTC
Size:
5.95 KB
patch
obsolete
>diff -ruN py-fail2ban.bak/Makefile py-fail2ban/Makefile >--- py-fail2ban.bak/Makefile 2013-06-10 02:05:39.000000000 -0400 >+++ py-fail2ban/Makefile 2013-06-10 11:36:39.000000000 -0400 >@@ -2,8 +2,7 @@ > # $FreeBSD: ports/security/py-fail2ban/Makefile,v 1.19 2013/02/25 22:55:56 svnexp Exp $ > > PORTNAME= fail2ban >-PORTVERSION= 0.8.8 >-PORTREVISION= 1 >+PORTVERSION= 0.8.9 > CATEGORIES= security python > MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/ > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -14,9 +13,9 @@ > > LICENSE= GPLv2 > >-GITVERSION= 0-g51a3be2 >+GITVERSION= 0-g152c619 > FETCH_ARGS= -pRr >-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-ff91bd4 >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-1a3155a > > MAKE_JOBS_SAFE= yes > >@@ -28,7 +27,9 @@ > > PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \ > --install-data=${ETCDIR} >-PYDISTUTILS_PKGVERSION= 0.8.8 >+PYDISTUTILS_PKGVERSION= 0.8.9 >+ >+PORTDOCS= README.md DEVELOP run-rootless.txt > > FILES= ${WRKSRC}/fail2ban-regex \ > ${WRKSRC}/man/fail2ban-client.1 \ >@@ -37,12 +38,21 @@ > ${WRKSRC}/client/configreader.py \ > ${WRKSRC}/fail2ban-client > >+.include <bsd.port.options.mk> >+ > post-patch: > @${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' > @${REINPLACE_CMD} -e 's,/bin/grep,grep,g' \ > ${WRKSRC}/config/action.d/sendmail-whois-lines.conf > > post-install: >+.if ${PORT_OPTIONS:MDOCS} >+ @${ECHO_MSG} "===> Installing additional documentation in ${DOCSDIR}." >+ @${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/DEVELOP ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/doc/run-rootless.txt ${DOCSDIR} >+.endif > @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -ruN py-fail2ban.bak/distinfo py-fail2ban/distinfo >--- py-fail2ban.bak/distinfo 2013-06-10 02:05:39.000000000 -0400 >+++ py-fail2ban/distinfo 2013-06-10 10:00:22.000000000 -0400 >@@ -1,2 +1,2 @@ >-SHA256 (fail2ban-fail2ban-0.8.8-0-g51a3be2.tar.gz) = 5b020aaa2316dc4348a1489187db2cb124c4cf2a13f84aed7064fc5bc948a8ab >-SIZE (fail2ban-fail2ban-0.8.8-0-g51a3be2.tar.gz) = 125364 >+SHA256 (fail2ban-fail2ban-0.8.9-0-g152c619.tar.gz) = b20c1a074620a1003ec4e48e30ac40a41cc6f4242a37eb6a78fa29daa9165bb7 >+SIZE (fail2ban-fail2ban-0.8.9-0-g152c619.tar.gz) = 159957 >diff -ruN py-fail2ban.bak/files/patch-common.conf py-fail2ban/files/patch-common.conf >--- py-fail2ban.bak/files/patch-common.conf 2013-06-10 02:05:39.000000000 -0400 >+++ py-fail2ban/files/patch-common.conf 2013-06-10 10:00:28.000000000 -0400 >@@ -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 -ruN py-fail2ban.bak/files/patch-setup.py py-fail2ban/files/patch-setup.py >--- py-fail2ban.bak/files/patch-setup.py 1969-12-31 19:00:00.000000000 -0500 >+++ py-fail2ban/files/patch-setup.py 2013-06-10 10:00:28.000000000 -0400 >@@ -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'] >+ ) >+ ] >+ ) >diff -ruN py-fail2ban.bak/pkg-plist py-fail2ban/pkg-plist >--- py-fail2ban.bak/pkg-plist 2013-06-10 02:05:39.000000000 -0400 >+++ py-fail2ban/pkg-plist 2013-06-10 10:00:28.000000000 -0400 >@@ -6,6 +6,9 @@ > %%ETCDIR%%/action.d/ipfilter.conf > %%ETCDIR%%/action.d/ipfw.conf > %%ETCDIR%%/action.d/iptables-allports.conf >+%%ETCDIR%%/action.d/iptables-blocktype.conf >+%%ETCDIR%%/action.d/iptables-ipset-proto4.conf >+%%ETCDIR%%/action.d/iptables-ipset-proto6.conf > %%ETCDIR%%/action.d/iptables-multiport-log.conf > %%ETCDIR%%/action.d/iptables-multiport.conf > %%ETCDIR%%/action.d/iptables-new.conf >@@ -17,6 +20,7 @@ > %%ETCDIR%%/action.d/mail.conf > %%ETCDIR%%/action.d/mynetwatchman.conf > %%ETCDIR%%/action.d/pf.conf >+%%ETCDIR%%/action.d/route.conf > %%ETCDIR%%/action.d/sendmail-buffered.conf > %%ETCDIR%%/action.d/sendmail-whois-lines.conf > %%ETCDIR%%/action.d/sendmail-whois.conf >@@ -28,6 +32,7 @@ > %%ETCDIR%%/filter.d/apache-nohome.conf > %%ETCDIR%%/filter.d/apache-noscript.conf > %%ETCDIR%%/filter.d/apache-overflows.conf >+%%ETCDIR%%/filter.d/assp.conf > %%ETCDIR%%/filter.d/asterisk.conf > %%ETCDIR%%/filter.d/bsd-sendmail.conf > %%ETCDIR%%/filter.d/bsd-sshd.conf >@@ -42,6 +47,7 @@ > %%ETCDIR%%/filter.d/gssftpd.conf > %%ETCDIR%%/filter.d/lighttpd-auth.conf > %%ETCDIR%%/filter.d/lighttpd-fastcgi.conf >+%%ETCDIR%%/filter.d/mysqld-auth.conf > %%ETCDIR%%/filter.d/named-refused.conf > %%ETCDIR%%/filter.d/pam-generic.conf > %%ETCDIR%%/filter.d/php-url-fopen.conf >@@ -50,8 +56,10 @@ > %%ETCDIR%%/filter.d/pure-ftpd.conf > %%ETCDIR%%/filter.d/qmail.conf > %%ETCDIR%%/filter.d/recidive.conf >+%%ETCDIR%%/filter.d/roundcube-auth.conf > %%ETCDIR%%/filter.d/sasl.conf > %%ETCDIR%%/filter.d/sieve.conf >+%%ETCDIR%%/filter.d/sogo-auth.conf > %%ETCDIR%%/filter.d/sshd-ddos.conf > %%ETCDIR%%/filter.d/sshd.conf > %%ETCDIR%%/filter.d/vsftpd.conf >@@ -83,6 +91,8 @@ > %%PYTHON_SITELIBDIR%%/client/jailsreader.pyc > %%PYTHON_SITELIBDIR%%/common/__init__.py > %%PYTHON_SITELIBDIR%%/common/__init__.pyc >+%%PYTHON_SITELIBDIR%%/common/exceptions.py >+%%PYTHON_SITELIBDIR%%/common/exceptions.pyc > %%PYTHON_SITELIBDIR%%/common/helpers.py > %%PYTHON_SITELIBDIR%%/common/helpers.pyc > %%PYTHON_SITELIBDIR%%/common/protocol.py
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179426
:
134717
| 134718