summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Marichez <falco@gentoo.org>2007-09-25 13:17:17 +0000
committerRaphaël Marichez <falco@gentoo.org>2007-09-25 13:17:17 +0000
commitb57695771d24424314306f21dc68bd3a9ad3a86d (patch)
treefc03400545813393d26f88691702571893cbbc6e /net-analyzer/fail2ban
parentfixed ChangeLog headers (diff)
downloadhistorical-b57695771d24424314306f21dc68bd3a9ad3a86d.tar.gz
historical-b57695771d24424314306f21dc68bd3a9ad3a86d.tar.bz2
historical-b57695771d24424314306f21dc68bd3a9ad3a86d.zip
Add logrotate script file as from upstream documentation (bug 193745)
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/ChangeLog6
-rw-r--r--net-analyzer/fail2ban/Manifest32
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.1.ebuild7
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-logrotate9
4 files changed, 40 insertions, 14 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index 39a04e0a7957..c2f9351c26ef 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,10 @@
# 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.36 2007/09/06 16:34:20 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.37 2007/09/25 13:17:16 falco Exp $
+
+ 25 Sep 2007; Raphael Marichez <falco@gentoo.org>
+ +files/fail2ban-logrotate, fail2ban-0.8.1.ebuild:
+ Add logrotate script file as from upstream documentation (bug 193745)
06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -fail2ban-0.7.9.ebuild,
-fail2ban-0.8.0.ebuild:
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 4c66b5905e3f..2c4765efad94 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -5,6 +5,10 @@ AUX fail2ban-0.8.0-regexp.patch 854 RMD160 24caae16d90adcf39577bd641ff6a09857908
MD5 69ea7796144a87684ec879b77e0c4615 files/fail2ban-0.8.0-regexp.patch 854
RMD160 24caae16d90adcf39577bd641ff6a09857908f73 files/fail2ban-0.8.0-regexp.patch 854
SHA256 6019024dbf067f8a78618eb728f3afef90daa75bbcd201be2119c323c1afd6d1 files/fail2ban-0.8.0-regexp.patch 854
+AUX fail2ban-logrotate 169 RMD160 fe231cb9569030203821f30349898ac47ab79e90 SHA1 b3144c7f06a9d62547b6c9957c0fb9503df4a093 SHA256 ab25b23fc6b76af215ebcceb03b0b66cc10e19fb94882dc6ff3ca207ca978b49
+MD5 71c9a9c2e4744216f30d89ebdb3ef45f files/fail2ban-logrotate 169
+RMD160 fe231cb9569030203821f30349898ac47ab79e90 files/fail2ban-logrotate 169
+SHA256 ab25b23fc6b76af215ebcceb03b0b66cc10e19fb94882dc6ff3ca207ca978b49 files/fail2ban-logrotate 169
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
@@ -20,14 +24,14 @@ EBUILD fail2ban-0.8.0-r1.ebuild 1584 RMD160 22586071378b53c45874994abec4cb8e8082
MD5 7c123635e6da98918f186fc985034dcc fail2ban-0.8.0-r1.ebuild 1584
RMD160 22586071378b53c45874994abec4cb8e8082f142 fail2ban-0.8.0-r1.ebuild 1584
SHA256 c08e0a90f881f1c0b1807dea7c3a2bbd3a5899c0c276c5bbe037aa39dba33427 fail2ban-0.8.0-r1.ebuild 1584
-EBUILD fail2ban-0.8.1.ebuild 1517 RMD160 b8503667a54d3ba4020bc6498f06e3b7320516d3 SHA1 c92d8598cee86199db2deeabe8168cfd981b278b SHA256 2adbc472e9c074729a281a18472a30ec5585f2160f5f5893b6861bbfb20ea628
-MD5 0a9c7a4c183a953ba5cc70932f8cd2e4 fail2ban-0.8.1.ebuild 1517
-RMD160 b8503667a54d3ba4020bc6498f06e3b7320516d3 fail2ban-0.8.1.ebuild 1517
-SHA256 2adbc472e9c074729a281a18472a30ec5585f2160f5f5893b6861bbfb20ea628 fail2ban-0.8.1.ebuild 1517
-MISC ChangeLog 5955 RMD160 6fe4b8137af49bcb6c43f70727bda1bee1b3b34a SHA1 e198c6944dbefeb29192330094d132ca33910425 SHA256 5a93fc8485a8e80207238706566fe77f8c8a01c9267da6ce10926c8a1a0231b3
-MD5 bbc066149caf0dc17edfa4a29f1e821d ChangeLog 5955
-RMD160 6fe4b8137af49bcb6c43f70727bda1bee1b3b34a ChangeLog 5955
-SHA256 5a93fc8485a8e80207238706566fe77f8c8a01c9267da6ce10926c8a1a0231b3 ChangeLog 5955
+EBUILD fail2ban-0.8.1.ebuild 1722 RMD160 12cb93bc0dda193bf3eba75beca7cfe6bc7c7e53 SHA1 ef333a27f6e38a7bc5c4d9335fb764f1c9de7e25 SHA256 24e2172f7cea4b894f6a83c5771d4488638e155cd59cea4e5897e3738376883c
+MD5 0572693967ef999ce4cd80a032b7d3d5 fail2ban-0.8.1.ebuild 1722
+RMD160 12cb93bc0dda193bf3eba75beca7cfe6bc7c7e53 fail2ban-0.8.1.ebuild 1722
+SHA256 24e2172f7cea4b894f6a83c5771d4488638e155cd59cea4e5897e3738376883c fail2ban-0.8.1.ebuild 1722
+MISC ChangeLog 6131 RMD160 ab24ddbb96dced438840d7b03c8ebc7aaa2ee31c SHA1 d7f72bd73e609bbad20a23370d1be9ad0d818453 SHA256 66d273ffe4ac47fd2ab5a45b33ab09f444f764987ace35722381f0891e1b8980
+MD5 ab3aab9680c1561f805eb45adcf2fc3d ChangeLog 6131
+RMD160 ab24ddbb96dced438840d7b03c8ebc7aaa2ee31c ChangeLog 6131
+SHA256 66d273ffe4ac47fd2ab5a45b33ab09f444f764987ace35722381f0891e1b8980 ChangeLog 6131
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159
RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159
@@ -42,9 +46,13 @@ MD5 3a7e53ff3167066863e5bdb3f79decbc files/digest-fail2ban-0.8.1 244
RMD160 56ce253838fdcdb9665c8933487cc15bd44543a2 files/digest-fail2ban-0.8.1 244
SHA256 34de829d9bfc87e0c5109b0bdef8028aa99231d9bf0b308dd2af5a1f639759d5 files/digest-fail2ban-0.8.1 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.6 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFG4CwUz974XjDVpbkRArXwAKCmUm2dWqiFe2ScTUHWmsbT5St5VgCdGl/n
-91IQXwaw5ywOCSLcKtTRT+U=
-=IAtm
+iQEVAwUBRvkKYjvRww8BFPxFAQL/fggAnRu46RCzaPDUYxy6nF9d0n5QFVmc7zgP
+h42+7VQ/EgJysmjEJRiKPY3kqUuTM62hvk2DSrKUQqfmtt9DsbYaenbnpbXxxDDk
+smH5s/AcNtXG2o58dN9F67bVunfkmm6A30/C7XBv3SGTu6AGN7xr0sar1N1vRpO0
+aswGAjBz38ItAvnkXrf03bYmNJZWPJvTsw7b3F5dBa8kcOCaGzjm+dtPVqsAyyAC
+V3WbZBubrbOQQD2QNysauStVBwoxeXiJBNMU7Ntg2GqCq3+/Ylfa1EgzvDIY9Th3
+eTcCMtNnS16S7Gk5csqBs9MiqdtR6i2zIbHRZ7wthbsyYgMPcvVl6A==
+=/RTH
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
index 155499d76e3c..f584b55ce9dc 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
@@ -1,6 +1,6 @@
# 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.8.1.ebuild,v 1.1 2007/08/31 15:06:17 falco Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild,v 1.2 2007/09/25 13:17:16 falco Exp $
inherit distutils
@@ -24,6 +24,11 @@ src_install() {
newinitd files/gentoo-initd fail2ban
dodoc CHANGELOG README TODO || die "dodoc failed"
doman man/*.1 || die "doman failed"
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins ${FILESDIR}/${PN}-logrotate ${PN} || die
}
pkg_postinst() {
diff --git a/net-analyzer/fail2ban/files/fail2ban-logrotate b/net-analyzer/fail2ban/files/fail2ban-logrotate
new file mode 100644
index 000000000000..a3e60e6acc6d
--- /dev/null
+++ b/net-analyzer/fail2ban/files/fail2ban-logrotate
@@ -0,0 +1,9 @@
+/var/log/fail2ban.log {
+ daily
+ rotate 7
+ missingok
+ compress
+ postrotate
+ /usr/local/bin/fail2ban-client reload 1>/dev/null || true
+ endscript
+}