diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-08-22 15:25:21 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-08-22 15:25:21 +0000 |
commit | 0e8b642a314931e98122679038f80a23bc9b42bd (patch) | |
tree | 8eed825ecab1d6cca65ce147c9e4b547d0e77a40 /net-analyzer | |
parent | bumped EAPI to 5; committed directly to stable as no other changes present an... (diff) | |
download | historical-0e8b642a314931e98122679038f80a23bc9b42bd.tar.gz historical-0e8b642a314931e98122679038f80a23bc9b42bd.tar.bz2 historical-0e8b642a314931e98122679038f80a23bc9b42bd.zip |
Add live ebuild.
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/fail2ban/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/fail2ban/Manifest | 9 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-99999999.ebuild | 95 |
3 files changed, 106 insertions, 5 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index 73d1c4663609..512e57d2eb6c 100644 --- a/net-analyzer/fail2ban/ChangeLog +++ b/net-analyzer/fail2ban/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/fail2ban # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.142 2014/08/22 15:15:59 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.143 2014/08/22 15:25:20 jer Exp $ + +*fail2ban-99999999 (22 Aug 2014) + + 22 Aug 2014; Jeroen Roovers <jer@gentoo.org> +fail2ban-99999999.ebuild: + Add live ebuild. *fail2ban-0.9.0-r2 (22 Aug 2014) *fail2ban-0.8.14 (22 Aug 2014) diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest index efbf95835b97..17066010de54 100644 --- a/net-analyzer/fail2ban/Manifest +++ b/net-analyzer/fail2ban/Manifest @@ -10,12 +10,13 @@ DIST fail2ban-0.9.0.tar.gz 274108 SHA256 981d2461a75d818934e2dcacf618ad9460ac4a6 EBUILD fail2ban-0.8.13.ebuild 2348 SHA256 0f2490899c5a9c52bbbbe9c2c592acbacd35ea93bca361e7ba1c303027d68857 SHA512 a5d20b18d0f47fceb5fea72479b2ae3cd708cdc45d6d2572e9664af358c203e702cacfc169e8c795a6cbffb18c2f5302d3cf0b20ffe7adb05f22a6e7b79f1d41 WHIRLPOOL 40778439f38282f93b3e362d3545538d93ea1969c9bdb095abd57b2b382929c77a66845fe520d4de90e28102a994c0a36c0cc73e1ddf51c657916375669437d0 EBUILD fail2ban-0.8.14.ebuild 2353 SHA256 ebae2a57f30f33e96db04237ddf9654fac90f7a739019d24e908aaf198cb38fa SHA512 c452819f8a6d2a9aebdb7ce8f3cc91906edde74eb38572218f59c7027680c9fb58612cc68ee42cc63c2698233ef9067c13a8e87426f31b4f58620cadd5ca5b1e WHIRLPOOL d7eff97b0a44f50f59d89abae8e512479c22a8b082d8473f5f851fbfaa20767f5eeb42952873be2c39c430fb919b7c47b52b7d7895f66818a7c67ca137faf976 EBUILD fail2ban-0.9.0-r2.ebuild 3068 SHA256 ed09c5bf52fbce7dd4eb0ada7851705d7b02fd1e2f050be2ca69731a87738d34 SHA512 ae423ccf789bbc7f6edc90270d7ce876e8726d7c6ed39865530a9702ceed62982cb25d28d7d2f9c04f5a04bf0a232442e5364e4869b9a5266dee0547e4c63bb4 WHIRLPOOL 49bd886bc942f912a6cc27ed8345bf8d046be287be01c14af6eeff8a657e53fa9fa19169fddd52e49442f8488d3e9dc3e100ed7f58258cb58be9078d2fd92bea -MISC ChangeLog 20867 SHA256 ffc8ad0147340e4f0d8910b566e9a064ffd1d4d958ee24c8014078f017aaf797 SHA512 dbf765c51c7bc38dc800ab06cb4ef9629a1ac4c15b827ef64d3dc6357c423c5dd57fffe00e7859908a80ffdef706a594b6cf1a0d6d287a819c73a2b4bcc2960c WHIRLPOOL 3bafca81b129ba01cce5ca301386d1a1ccb528f95d4fb4014667c7ad25b96c09b558b5d81166e4d206c6d347b1a277ad787cd19d6810a581cad73269a62f5448 +EBUILD fail2ban-99999999.ebuild 2845 SHA256 f80b0157c2b9422a0dc97fb5a21a61ab9ab7c0fbaa86cf5065a220f4dcaea802 SHA512 7bfe3184cb8775c9deca6c8610251611a794f38024793ad61900fbb1e3a170a0950fdf1380486bec3cd73c71db23c17119ff28d9a95675eef4f1d48218265a3d WHIRLPOOL 985f4e7049bc0d97bd62fc703b2fa2c95b6a1c5df477c924d7de5fed008c2b66f4521316c7bdc81d6253f651104037a298b63e34cdc9bfd94c357644f0c7327f +MISC ChangeLog 20995 SHA256 5606e055bba2bb3fb156fb5d2c47487b054188b582106639f2bb6a86105dc003 SHA512 58eacbdfc513dc8c4189f92b2676c2d0690eeccb429775a3cff456790d4a26d33ef74ee47f8a73bb26bca3398528a84b9dd99955af6fe4142b77907312afef59 WHIRLPOOL 2f818ec14e98feebbae1dab1049fce4ff5950b90084e63cf45114cc43267908aff514c06630be7918ec4312209674c4beb3c7cc2037750e0add939ccbfa79e06 MISC metadata.xml 161 SHA256 442ce683981a7e51854e06ffdc2bdbbd956decf0d7a1f0c1ca056439a7230ebd SHA512 24f0086dfd65743d480e231efa20106ecd3980449864d6158b7e92542a0f4cfe58d3dbcbabd0042201beb43f5a57f6d30a912037cfcdc56ed56ac0532362c5da WHIRLPOOL de3b36cfc647f36b482a403ce526a395d38a69100917ee50aa5cbd888708678a6d4f67aae3381ef373b5ccb1df196503a2554765598491bd71da9c0415f24a80 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlP3XrEACgkQVWmRsqeSphMRZgCfUSrLywuAKhnYwrDVk58JaBcs -FCYAmQFEghWdsUpPFXW7WVczn/cISCTT -=f1jc +iEYEAREIAAYFAlP3YOEACgkQVWmRsqeSphO3gQCeJbuHP9ATAbooDGo9hbAjYcXR +vdsAn0XE+sKZwYVoeyiGBJFe9POo96wQ +=O8j5 -----END PGP SIGNATURE----- diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild new file mode 100644 index 000000000000..1d1b337231c4 --- /dev/null +++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-99999999.ebuild,v 1.1 2014/08/22 15:25:20 jer Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 git-r3 systemd vcs-snapshot + +DESCRIPTION="scans log files and bans IPs that show malicious signs" +HOMEPAGE="http://www.fail2ban.org/" +EGIT_REPO_URI="https://github.com/${PN}/${PN}/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="selinux" + +DEPEND="selinux? ( sec-policy/selinux-fail2ban )" +RDEPEND="net-misc/whois + virtual/mta + virtual/logger + net-firewall/iptables + selinux? ( sec-policy/selinux-fail2ban )" + +DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt ) + +src_unpack() { + git-r3_src_unpack +} + +src_prepare() { + # Replace /var/run with /run, but not in the top source directory + sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f -mindepth 2 ) || die + + distutils-r1_src_prepare +} + +python_test() { + ${EPYTHON} bin/${PN}-testcases +} + +src_install() { + distutils-r1_src_install + + rm -rf "${D}"/usr/share/doc/${PN} + + # not FILESDIR + newconfd files/gentoo-confd ${PN} + newinitd files/gentoo-initd ${PN} + systemd_dounit files/${PN}.service + systemd_dotmpfilesd files/${PN}-tmpfiles.conf + doman man/*.{1,5} + + # 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 files/${PN}-logrotate ${PN} +} + +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-0.7" + previous_less_than_0_7=$? +} + +pkg_postinst() { + if [[ $previous_less_than_0_7 = 0 ]] ; then + elog + elog "Configuration files are now in /etc/fail2ban/" + elog "You probably have to manually update your configuration" + elog "files before restarting Fail2ban!" + elog + elog "Fail2ban is not installed under /usr/lib anymore. The" + elog "new location is under /usr/share." + elog + elog "You are upgrading from version 0.6.x, please see:" + elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8" + fi + if ! has_version ${CATEGORY}/${PN}; then + if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then + elog "For most jail.conf configurations, it is recommended you install either" + elog "dev-python/pyinotify or app-admin/gamin (in order of preference)" + elog "to control how log file modifications are detected" + fi + if ! has_version dev-lang/python[sqlite]; then + elog "If you want to use ${PN}'s persistent database, then reinstall" + elog "dev-lang/python with USE=sqlite" + fi + if has_version sys-apps/systemd[-python]; then + elog "If you want to track logins through sys-apps/systemd's" + elog "journal backend, then reinstall sys-apps/systemd with USE=python" + fi + fi +} |