diff options
-rw-r--r-- | net-misc/blocksshd/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/blocksshd/Manifest | 32 | ||||
-rw-r--r-- | net-misc/blocksshd/blocksshd-0.9.ebuild | 54 | ||||
-rw-r--r-- | net-misc/blocksshd/blocksshd-1.0.ebuild | 2 | ||||
-rw-r--r-- | net-misc/blocksshd/files/blocksshd-0.9.conf-dir-change.patch | 23 | ||||
-rw-r--r-- | net-misc/blocksshd/files/blocksshd-0.9.etc-dir-change.patch | 11 | ||||
-rw-r--r-- | net-misc/blocksshd/files/digest-blocksshd-0.9 | 3 |
7 files changed, 14 insertions, 116 deletions
diff --git a/net-misc/blocksshd/ChangeLog b/net-misc/blocksshd/ChangeLog index bc498029a..ccc2f8d4a 100644 --- a/net-misc/blocksshd/ChangeLog +++ b/net-misc/blocksshd/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Nov 2006; Stefan Schweizer <genstef@gentoo.org> -blocksshd-0.9.ebuild, + -files/blocksshd-0.9.conf-dir-change.patch, + -files/blocksshd-0.9.etc-dir-change.patch, blocksshd-1.0.ebuild: + fix repoman, remove old ebuild + 13 Nov 2006; Christian Faulhammer <opfer@gentoo.org> +files/digest-blocksshd-1.0, Manifest: recreate Manifest diff --git a/net-misc/blocksshd/Manifest b/net-misc/blocksshd/Manifest index 30d42025d..3e5215a4a 100644 --- a/net-misc/blocksshd/Manifest +++ b/net-misc/blocksshd/Manifest @@ -1,11 +1,3 @@ -AUX blocksshd-0.9.conf-dir-change.patch 1835 RMD160 fddd7f72cf1675ab860d71f90890dfb07d77134a SHA1 ef138021aedc120b88821fd4eef37def45031afa SHA256 b1364d91709e94cf108e8b97b2f87f0d9d3aeabf89167fe1f5b0a472b8116925 -MD5 16bf30a251774fa8448b22aa54678f36 files/blocksshd-0.9.conf-dir-change.patch 1835 -RMD160 fddd7f72cf1675ab860d71f90890dfb07d77134a files/blocksshd-0.9.conf-dir-change.patch 1835 -SHA256 b1364d91709e94cf108e8b97b2f87f0d9d3aeabf89167fe1f5b0a472b8116925 files/blocksshd-0.9.conf-dir-change.patch 1835 -AUX blocksshd-0.9.etc-dir-change.patch 372 RMD160 796584e95502a035c192b2e86c5cc0d64e38b224 SHA1 843ce12bef70d1cc6e82531f2bc338fd88006e36 SHA256 ff35d6530707d3e6e801ca47d5b10d5b8cb0e4ae9e23296d0ae119d344d9e068 -MD5 bdd453a390f2aa1c004061a177e479f6 files/blocksshd-0.9.etc-dir-change.patch 372 -RMD160 796584e95502a035c192b2e86c5cc0d64e38b224 files/blocksshd-0.9.etc-dir-change.patch 372 -SHA256 ff35d6530707d3e6e801ca47d5b10d5b8cb0e4ae9e23296d0ae119d344d9e068 files/blocksshd-0.9.etc-dir-change.patch 372 AUX blocksshd-1.0.conf-dir-change.patch 1848 RMD160 e83f16dd4ae557fef82ba4d1c521f40e6d27aede SHA1 7b6dda66e0c2c80bf160f1a9d3f0c6de017e419d SHA256 8ec8d02c126de756d3c05fbd2b2a2235b4b7d771c9e3372047cba9711ff71920 MD5 cff8c2fdd59c9d7b9aa454a0de5b40aa files/blocksshd-1.0.conf-dir-change.patch 1848 RMD160 e83f16dd4ae557fef82ba4d1c521f40e6d27aede files/blocksshd-1.0.conf-dir-change.patch 1848 @@ -18,27 +10,19 @@ AUX blocksshd.init 598 RMD160 c9e64c3402401e2189e961c81c29cdf14392908f SHA1 17c7 MD5 66d3e081b78861e88d561dd714ab7ab8 files/blocksshd.init 598 RMD160 c9e64c3402401e2189e961c81c29cdf14392908f files/blocksshd.init 598 SHA256 91b8e98675617b605beb2223a861964516d5d73ef0a58e5be55b5c4b71f7e103 files/blocksshd.init 598 -DIST blocksshd-0.9.tar.gz 9929 RMD160 6ff2fe17b6a2c0e07e7b757d08555cefa6f75e61 SHA1 aa53806e126c08719ebcb602fde270a77f81a527 SHA256 280bc57932bb6694d26202edab65679da9a925ca1e6d1ff891bcecd3f11ec360 DIST blocksshd-1.0.tar.gz 10624 RMD160 cf69515be3671e97b03f44459d383514f224423d SHA1 bb4043a8ef2c096703705d730c0aaabd261b74ed SHA256 c00796839894ff470cd116bc960c3570ce60ec738227debf24aa423681d92528 -EBUILD blocksshd-0.9.ebuild 1354 RMD160 16a9cec13015180b63afd247e6794c66137e558b SHA1 77bed00cb514f247ea777468ddbd14d5ae760759 SHA256 f9720f11101e2da34ce28ff57c7a3cbb3819cff6cbb7de0cbbac8ac76840b6e5 -MD5 e02ff0b41af27013e40fe86602e9361a blocksshd-0.9.ebuild 1354 -RMD160 16a9cec13015180b63afd247e6794c66137e558b blocksshd-0.9.ebuild 1354 -SHA256 f9720f11101e2da34ce28ff57c7a3cbb3819cff6cbb7de0cbbac8ac76840b6e5 blocksshd-0.9.ebuild 1354 -EBUILD blocksshd-1.0.ebuild 1360 RMD160 c7dd7c04fac7b53b5ff372bc491f9d37d25cd3fd SHA1 41c931abd0428025319ff5db9508c8a72bbbdfd8 SHA256 5039f3b706df01428efd484737fd773b89133382443e24eb063296a97a494443 -MD5 7884c4ee3910ac4c266df8c827047bca blocksshd-1.0.ebuild 1360 -RMD160 c7dd7c04fac7b53b5ff372bc491f9d37d25cd3fd blocksshd-1.0.ebuild 1360 -SHA256 5039f3b706df01428efd484737fd773b89133382443e24eb063296a97a494443 blocksshd-1.0.ebuild 1360 -MISC ChangeLog 1639 RMD160 5463f9564d8e5cf3cf3bfad2359f3b49a30a21a4 SHA1 3dbb1a55968741fa00cec9a74b8ec84d975e0be0 SHA256 34edab0e82f5cbf95dbd2f69c32aaa5e3f27f6ba1040efec4740706328879691 -MD5 8289de9526d1cf40eda162d95ae382e8 ChangeLog 1639 -RMD160 5463f9564d8e5cf3cf3bfad2359f3b49a30a21a4 ChangeLog 1639 -SHA256 34edab0e82f5cbf95dbd2f69c32aaa5e3f27f6ba1040efec4740706328879691 ChangeLog 1639 +EBUILD blocksshd-1.0.ebuild 1389 RMD160 eb541583a4f9bc0852bf1d9fa7fc4a70d55d58a7 SHA1 75326a483ceab973134a5cd5d25eb4168e3fada7 SHA256 75128104abf1bbfa1340e2f8ac617af7b656168ff47e0fed8b41ccb70cad41b4 +MD5 f43d58bd08ae7b042b0f78f4fa406456 blocksshd-1.0.ebuild 1389 +RMD160 eb541583a4f9bc0852bf1d9fa7fc4a70d55d58a7 blocksshd-1.0.ebuild 1389 +SHA256 75128104abf1bbfa1340e2f8ac617af7b656168ff47e0fed8b41ccb70cad41b4 blocksshd-1.0.ebuild 1389 +MISC ChangeLog 1862 RMD160 fe184c7c9dbadc5796a3e2db263d32ae15e7db3c SHA1 c95a12e8aeb6aa97215663433cd568fbcb0e6507 SHA256 b159e80211549c4747b3aab639f854a522249241dd3c6807c4ab0a643ba88c55 +MD5 02aa0e6e2bfdd84c63dcd835de21d197 ChangeLog 1862 +RMD160 fe184c7c9dbadc5796a3e2db263d32ae15e7db3c ChangeLog 1862 +SHA256 b159e80211549c4747b3aab639f854a522249241dd3c6807c4ab0a643ba88c55 ChangeLog 1862 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 -MD5 204119c9163d50fcea4d71ae53fb1332 files/digest-blocksshd-0.9 235 -RMD160 1490dea318d2d285a94417050cc2628dd382e988 files/digest-blocksshd-0.9 235 -SHA256 4c6d6df1d25165afaaf06241cd5d7a579d5531ba00d6344a4e7ffe232cbafe94 files/digest-blocksshd-0.9 235 MD5 6d86039d853836c93acf033f64ac2586 files/digest-blocksshd-1.0 238 RMD160 a4ba5d835626127d1e79b9241f3b03526ea0eae5 files/digest-blocksshd-1.0 238 SHA256 3d83d1abcda685eb399d5acc74fc97a5ba65586a8815046fafb37270b90b9f10 files/digest-blocksshd-1.0 238 diff --git a/net-misc/blocksshd/blocksshd-0.9.ebuild b/net-misc/blocksshd/blocksshd-0.9.ebuild deleted file mode 100644 index d4690e62d..000000000 --- a/net-misc/blocksshd/blocksshd-0.9.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -DESCRIPTION="Protects computers from SSH brute force attacks by dynamically blocking IP addresses by adding iptables rules." -HOMEPAGE="http://blocksshd.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=dev-perl/File-Tail-0.99.1 - >=dev-perl/Net-DNS-0.53-r1 - >=dev-perl/Sys-Hostname-Long-1.2 - >=net-firewall/iptables-1.3.5-r1 - >=perl-core/Getopt-Long-2.34 - >=perl-core/Sys-Syslog-0.16" - -src_unpack() { - unpack ${A} - cd "${S}" - - # convert CRLF to LF - edos2unix blocksshd blocksshd.conf - - #apply patches - epatch "${FILESDIR}"/blocksshd-${PV}.conf-dir-change.patch - epatch "${FILESDIR}"/blocksshd-${PV}.etc-dir-change.patch -} - -src_install() { - dosbin blocksshd || die "dosbin failed" - dodoc CHANGELOG CREDITS README VERSION blocksshd.conf - - newinitd "${FILESDIR}/blocksshd.init" blocksshd - - insinto /etc/blocksshd - newins blocksshd.conf blocksshd.conf.sample -} - -pkg_postinst() { - ewarn - ewarn "The configuration file ${ROOT}etc/blocksshd/blocksshd.conf.sample" - ewarn "must be renamed before blocksshd will run." - ewarn "Please review this configuration file for settings that might" - ewarn "be appropiate for your setup." - ewarn -} diff --git a/net-misc/blocksshd/blocksshd-1.0.ebuild b/net-misc/blocksshd/blocksshd-1.0.ebuild index 2dee71c77..fc9c2af7a 100644 --- a/net-misc/blocksshd/blocksshd-1.0.ebuild +++ b/net-misc/blocksshd/blocksshd-1.0.ebuild @@ -19,7 +19,7 @@ RDEPEND=">=perl-core/Sys-Syslog-0.16 >=dev-perl/Sys-Hostname-Long-1.2 >=dev-perl/File-Tail-0.99.1 >=dev-perl/Net-DNS-0.53-r1 - >=Net-Subnets-0.21 + >=dev-perl/Net-Subnets-0.21 >=perl-core/Getopt-Long-2.34 >=net-firewall/iptables-1.3.5-r1" diff --git a/net-misc/blocksshd/files/blocksshd-0.9.conf-dir-change.patch b/net-misc/blocksshd/files/blocksshd-0.9.conf-dir-change.patch deleted file mode 100644 index 0d743eeab..000000000 --- a/net-misc/blocksshd/files/blocksshd-0.9.conf-dir-change.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- blocksshd.conf 2006-09-18 08:49:29.000000000 -0400 -+++ blocksshd.conf 2006-09-18 08:48:35.000000000 -0400 -@@ -3,16 +3,16 @@ - $cfg = { - os => 'linux', # Target OS - either linux or bsd - chain => 'blocksshd', # Name of iptables or pf chain -- logfile => '/var/log/secure', # Log file to monitor -+ logfile => '/var/log/messages', # Log file to monitor - logcheck => '10', # How often to check the log file - max_attempts => '4', # Max number of failures - timeout => '360', # Reset IP count if no activity after time out in seconds -- unblock => '1', # Enable unblocking -+ unblock => '0', # Enable unblocking - unblock_timeout => '43200', # Time in seconds after which to unblock a blocked IP address - restore_blocked => '0', # Turn on checking for previously blocked IPs -- log_ips => '/usr/local/etc/blocksshd.list', # Log file for blocked IPs -+ log_ips => '/etc/blocksshd/blocksshd.list', # Log file for blocked IPs - pid_file => '/var/run/blocksshd.pid', # Location of PID file -- send_email => '1', # Enable the sending of email notifications -+ send_email => '0', # Enable the sending of email notifications - email => 'root', # Email address to send notifications - mail => '/bin/mail', # Location of mail binary - iptables => '/sbin/iptables', # Location of iptables binary - only for Linux diff --git a/net-misc/blocksshd/files/blocksshd-0.9.etc-dir-change.patch b/net-misc/blocksshd/files/blocksshd-0.9.etc-dir-change.patch deleted file mode 100644 index 5f0dd02ec..000000000 --- a/net-misc/blocksshd/files/blocksshd-0.9.etc-dir-change.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- blocksshd 2006-09-18 08:49:27.000000000 -0400 -+++ blocksshd 2006-09-18 08:48:35.000000000 -0400 -@@ -41,7 +41,7 @@ - our $cfg; - - # This is where the configuration file is located -- require '/usr/local/etc/blocksshd.conf'; -+ require '/etc/blocksshd/blocksshd.conf'; - - my $work = { - ipv4 => '(?:\d{1,3}\.){3}\d{1,3}', # regexp to match ipv4 address diff --git a/net-misc/blocksshd/files/digest-blocksshd-0.9 b/net-misc/blocksshd/files/digest-blocksshd-0.9 deleted file mode 100644 index e01be022f..000000000 --- a/net-misc/blocksshd/files/digest-blocksshd-0.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5d54ceb1fdf7bc59ca3c6236fad9732d blocksshd-0.9.tar.gz 9929 -RMD160 6ff2fe17b6a2c0e07e7b757d08555cefa6f75e61 blocksshd-0.9.tar.gz 9929 -SHA256 280bc57932bb6694d26202edab65679da9a925ca1e6d1ff891bcecd3f11ec360 blocksshd-0.9.tar.gz 9929 |