From: Raphaƫl Marichez Date: Sat, 3 Mar 2007 22:08:16 +0000 (+0000) Subject: Add support for "force" startup, bypassing an old socket (bug #168071) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8596cffdeb6fec45f88c6164e16e02184dc4e21a;p=gentoo.git Add support for "force" startup, bypassing an old socket (bug #168071) Package-Manager: portage-2.1.2-r9 --- diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index add0fa01d692..adbbda405ae1 100644 --- a/net-analyzer/fail2ban/ChangeLog +++ b/net-analyzer/fail2ban/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/fail2ban # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.22 2007/02/01 17:25:07 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.23 2007/03/03 22:08:16 falco Exp $ + +*fail2ban-0.7.6-r1 (03 Mar 2007) + + 03 Mar 2007; Raphael Marichez +files/fail2ban.conf.d, + +files/fail2ban-0.7.6.init.d.patch, +fail2ban-0.7.6-r1.ebuild: + Add support for "force" startup, bypassing an old socket (bug #168071) *fail2ban-0.7.5-r1 (01 Feb 2007) *fail2ban-0.6.2-r1 (01 Feb 2007) diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest index c86f8ab73d75..4c37422cfae4 100644 --- a/net-analyzer/fail2ban/Manifest +++ b/net-analyzer/fail2ban/Manifest @@ -1,6 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX fail2ban-0.7.6.init.d.patch 422 RMD160 3fb1ede483890e8a04104f59165d304194396628 SHA1 426aa9207b5d54596ac117e1e92bb4c9f34a5c66 SHA256 162895c8d4d3dda8c3df7e67535b45c4e0a7979c6bd15f8e4eabb23aaef571a8 +MD5 5a8fd54986bde917f4895af109f8a6b8 files/fail2ban-0.7.6.init.d.patch 422 +RMD160 3fb1ede483890e8a04104f59165d304194396628 files/fail2ban-0.7.6.init.d.patch 422 +SHA256 162895c8d4d3dda8c3df7e67535b45c4e0a7979c6bd15f8e4eabb23aaef571a8 files/fail2ban-0.7.6.init.d.patch 422 +AUX fail2ban.conf.d 217 RMD160 7d8b079d1b569caf1d822af0ec8a040723f492c5 SHA1 9592b732be3d96699c9872add7287e82260f37c0 SHA256 e35f1f820bfe5ecaac2696d60155c348d84af428e8c615e97b900c24a587d233 +MD5 b209a04f9314dd064a4aa0ee505c8a4d files/fail2ban.conf.d 217 +RMD160 7d8b079d1b569caf1d822af0ec8a040723f492c5 files/fail2ban.conf.d 217 +SHA256 e35f1f820bfe5ecaac2696d60155c348d84af428e8c615e97b900c24a587d233 files/fail2ban.conf.d 217 DIST fail2ban-0.6.2.tar.bz2 25068 RMD160 6c829fc84d8e41c4daf4b9b1a7e2dd71a54eab01 SHA1 edfecbfac3050ead95d274b05b132890cdc302b7 SHA256 0009aa0ee055f900e157ee04d58f5cb3dfad9659197ee114643c48533e7744c4 DIST fail2ban-0.7.5.tar.bz2 38478 RMD160 ee839a2d53284723ed3f7c6d7cdab4e5de65244a SHA1 682e6898fb61630b078b5b04528a6beb11dafe5b SHA256 40d17a73100229d5e4d396b2c35de4a8f94367d44eea44b1e584740620d4a56c DIST fail2ban-0.7.6.tar.bz2 46501 RMD160 36482469975191f8724633cfe3262951cc405755 SHA1 d7e23f3c9b635224078bc4aa221d18eefa6f022a SHA256 44bb5c8b0a5e1192482d2e2695e65ed2bfe35601376cbe6ed584e304e41dfa92 @@ -12,14 +17,18 @@ EBUILD fail2ban-0.7.5-r1.ebuild 742 RMD160 8ccbee45a7f12fab229bdaca1d88f19e4a649 MD5 e5354ddaf1c040e31df860f4f4cd2a23 fail2ban-0.7.5-r1.ebuild 742 RMD160 8ccbee45a7f12fab229bdaca1d88f19e4a649c64 fail2ban-0.7.5-r1.ebuild 742 SHA256 2aa3fe92444701f12cdab07157c253b5565f32bcda90ec74437a8577e72b04fa fail2ban-0.7.5-r1.ebuild 742 +EBUILD fail2ban-0.7.6-r1.ebuild 923 RMD160 533752e3de35e1c3eabb95ef2df5761d686c42eb SHA1 b5c1222ceaefeee0d59f87ba8c9c164caadc0a85 SHA256 758626021a269153f8c9251f31987b4333b07bfbda560a1ce2911cfbd4389965 +MD5 fac18f66741c0184e4de4cb092af4f0e fail2ban-0.7.6-r1.ebuild 923 +RMD160 533752e3de35e1c3eabb95ef2df5761d686c42eb fail2ban-0.7.6-r1.ebuild 923 +SHA256 758626021a269153f8c9251f31987b4333b07bfbda560a1ce2911cfbd4389965 fail2ban-0.7.6-r1.ebuild 923 EBUILD fail2ban-0.7.6.ebuild 739 RMD160 21e3dfc27e198dc168708a7000d82f860b767a3c SHA1 4f15a9a0b074579989e3da45ee02bc0fdf557cc3 SHA256 deba20cdf92504c5d07c2f43ec162cced8bfc7374d5f2046d9cea567a8673ac9 MD5 0fd67d77799ffb7c9882fec93520dafb fail2ban-0.7.6.ebuild 739 RMD160 21e3dfc27e198dc168708a7000d82f860b767a3c fail2ban-0.7.6.ebuild 739 SHA256 deba20cdf92504c5d07c2f43ec162cced8bfc7374d5f2046d9cea567a8673ac9 fail2ban-0.7.6.ebuild 739 -MISC ChangeLog 3656 RMD160 8cf91ec88547b7341a26ce9dbdff332a1e8b1d2f SHA1 9abb16ca2ed249adc52cf22300d4b142be5f6d8d SHA256 b9501c4549e20fd1f3438d11fe4dc0e8d0903d9114f3b5ede5bb39fa74b4e6c6 -MD5 613a6065a5aea744463f00e498d4fb5c ChangeLog 3656 -RMD160 8cf91ec88547b7341a26ce9dbdff332a1e8b1d2f ChangeLog 3656 -SHA256 b9501c4549e20fd1f3438d11fe4dc0e8d0903d9114f3b5ede5bb39fa74b4e6c6 ChangeLog 3656 +MISC ChangeLog 3904 RMD160 7fffe4e6741784f2c3c10f8d5b44a6580ecd2d5d SHA1 1dbcab1b4b5ce88847ea82dd304594121b3b9d09 SHA256 a2a7b2ad7f3ade5352125a7cd6486093bb9c1da07c23f365efdea0d93bb286b0 +MD5 00bb8b3aaf8d23d7219008db44d65e69 ChangeLog 3904 +RMD160 7fffe4e6741784f2c3c10f8d5b44a6580ecd2d5d ChangeLog 3904 +SHA256 a2a7b2ad7f3ade5352125a7cd6486093bb9c1da07c23f365efdea0d93bb286b0 ChangeLog 3904 MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159 @@ -33,10 +42,6 @@ SHA256 caf39b007196137b3fb37e7a16770fc288c49d5cd7c6ebec619fe8d427b39d69 files/di MD5 4421de18834c92d9189d20364c9e58fc files/digest-fail2ban-0.7.6 244 RMD160 c171e116141982d9483c1ad4d7ce403f6613341e files/digest-fail2ban-0.7.6 244 SHA256 e7062030cb83e2ea077de481859c38edd03d7cafedde8be77345d0abddaf3760 files/digest-fail2ban-0.7.6 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFFwiJfz974XjDVpbkRAtveAKCyqUeOaG+JZlttUnVEsjWkSsjLDACdFHO6 -alox8uTbDpadRfhug0geCOI= -=ElKw ------END PGP SIGNATURE----- +MD5 4421de18834c92d9189d20364c9e58fc files/digest-fail2ban-0.7.6-r1 244 +RMD160 c171e116141982d9483c1ad4d7ce403f6613341e files/digest-fail2ban-0.7.6-r1 244 +SHA256 e7062030cb83e2ea077de481859c38edd03d7cafedde8be77345d0abddaf3760 files/digest-fail2ban-0.7.6-r1 244 diff --git a/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild new file mode 100644 index 000000000000..61df0d4b2157 --- /dev/null +++ b/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild,v 1.1 2007/03/03 22:08:16 falco Exp $ + +inherit distutils + +DESCRIPTION="Bans IP that make too many password failures" +HOMEPAGE="http://fail2ban.sourceforge.net/" +SRC_URI="mirror://sourceforge/fail2ban/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.4" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}.init.d.patch" +} + +src_install() { + distutils_src_install + + newconfd "${FILESDIR}"/fail2ban.conf.d fail2ban || die "newconfd failed" + newinitd files/gentoo-initd fail2ban || die "newinitd failed" + dodoc CHANGELOG README TODO + doman man/*.1 +} + +pkg_postinst() { + einfo + einfo "Configuration files are now in /etc/fail2ban" + einfo +} + diff --git a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 new file mode 100644 index 000000000000..584dfdbff762 --- /dev/null +++ b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 @@ -0,0 +1,3 @@ +MD5 e5d79eacf0a5fb9cfbbfa8e6dc8a12c1 fail2ban-0.7.6.tar.bz2 46501 +RMD160 36482469975191f8724633cfe3262951cc405755 fail2ban-0.7.6.tar.bz2 46501 +SHA256 44bb5c8b0a5e1192482d2e2695e65ed2bfe35601376cbe6ed584e304e41dfa92 fail2ban-0.7.6.tar.bz2 46501 diff --git a/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch b/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch new file mode 100644 index 000000000000..8ebe9b37c7b3 --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch @@ -0,0 +1,12 @@ +diff -uNr -r fail2ban-0.7.6.orig/files/gentoo-initd fail2ban-0.7.6/files/gentoo-initd +--- fail2ban-0.7.6.orig/files/gentoo-initd 2006-12-17 23:32:53.000000000 +0100 ++++ fail2ban-0.7.6/files/gentoo-initd 2007-03-03 22:46:09.191746854 +0100 +@@ -21,7 +21,7 @@ + + opts="start stop restart reload showlog" + +-FAIL2BAN="/usr/bin/fail2ban-client" ++FAIL2BAN="/usr/bin/fail2ban-client ${FAIL2BAN_OPTIONS}" + + depend() { + need net diff --git a/net-analyzer/fail2ban/files/fail2ban.conf.d b/net-analyzer/fail2ban/files/fail2ban.conf.d new file mode 100644 index 000000000000..3c957b9221ae --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban.conf.d @@ -0,0 +1,8 @@ +# Config file for /etc/init.d/fail2ban + +# For information on options, see "/usr/bin/fail2ban-client -h". + +FAIL2BAN_OPTIONS="" + +# Force execution of the server even if the socket already exists: +#FAIL2BAN_OPTIONS="-x"