summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/blocksshd')
-rw-r--r--net-misc/blocksshd/ChangeLog5
-rw-r--r--net-misc/blocksshd/Manifest24
-rw-r--r--net-misc/blocksshd/blocksshd-1.0.ebuild55
-rw-r--r--net-misc/blocksshd/files/blocksshd-1.0.conf-dir-change.patch23
-rw-r--r--net-misc/blocksshd/files/blocksshd-1.0.etc-dir-change.patch11
-rw-r--r--net-misc/blocksshd/files/digest-blocksshd-1.02
6 files changed, 9 insertions, 111 deletions
diff --git a/net-misc/blocksshd/ChangeLog b/net-misc/blocksshd/ChangeLog
index 63a7f827c..a8e289430 100644
--- a/net-misc/blocksshd/ChangeLog
+++ b/net-misc/blocksshd/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 07 Mar 2007; Michael Pagano <mpagano@gmail.com> -blocksshd-1.0.ebuild,
+ -files/blocksshd-1.0.conf-dir-change.patch,
+ -files/blocksshd-1.0.etc-dir-change.patch:
+ Removed old version
+
05 Mar 2007; Michael Pagano <mpagano@gmail.com> +blocksshd-1.0.1.ebuild,
+files/blocksshd-1.0.1.conf-dir-change.patch,
+files/blocksshd-1.0.1.etc-dir-change.patch:
diff --git a/net-misc/blocksshd/Manifest b/net-misc/blocksshd/Manifest
index a837faa23..70c9ca921 100644
--- a/net-misc/blocksshd/Manifest
+++ b/net-misc/blocksshd/Manifest
@@ -6,39 +6,23 @@ AUX blocksshd-1.0.1.etc-dir-change.patch 360 RMD160 dacfe6bbb474da47879c7e4285a0
MD5 d7a19cdc37e6b878ebfc155434504400 files/blocksshd-1.0.1.etc-dir-change.patch 360
RMD160 dacfe6bbb474da47879c7e4285a01916471bc48e files/blocksshd-1.0.1.etc-dir-change.patch 360
SHA256 cf6eac7cb5984b3c2e0700a7d440c7b6b56e43bdee1dc0d519983999ad14f9c5 files/blocksshd-1.0.1.etc-dir-change.patch 360
-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
-SHA256 8ec8d02c126de756d3c05fbd2b2a2235b4b7d771c9e3372047cba9711ff71920 files/blocksshd-1.0.conf-dir-change.patch 1848
-AUX blocksshd-1.0.etc-dir-change.patch 374 RMD160 87c3390c398259204c5bcffe5c714ee1c6ef308d SHA1 6d1ed9d84af754616e1ad528d1d20a543ebfe0e0 SHA256 420d58822e90f9165fede72825157c2f1146d4d33098c8e6b8e87d9e73615e8d
-MD5 42046e690a1c0627183ac00a617cb6d0 files/blocksshd-1.0.etc-dir-change.patch 374
-RMD160 87c3390c398259204c5bcffe5c714ee1c6ef308d files/blocksshd-1.0.etc-dir-change.patch 374
-SHA256 420d58822e90f9165fede72825157c2f1146d4d33098c8e6b8e87d9e73615e8d files/blocksshd-1.0.etc-dir-change.patch 374
AUX blocksshd.init 598 RMD160 c9e64c3402401e2189e961c81c29cdf14392908f SHA1 17c746bd4888a62648fb0e5d6fda5ede4864e774 SHA256 91b8e98675617b605beb2223a861964516d5d73ef0a58e5be55b5c4b71f7e103
MD5 66d3e081b78861e88d561dd714ab7ab8 files/blocksshd.init 598
RMD160 c9e64c3402401e2189e961c81c29cdf14392908f files/blocksshd.init 598
SHA256 91b8e98675617b605beb2223a861964516d5d73ef0a58e5be55b5c4b71f7e103 files/blocksshd.init 598
DIST blocksshd-1.0.1.tar.gz 10587 RMD160 e4be391d57dfd21d2557ce0e36803e0caae8a71a SHA1 49dd6306018eb2528b8d212d0eff84830e7614ad SHA256 09f5377790c8c6df7afceaa2535f3a2d025f902671b9cb278b6aeacbf420a9af
-DIST blocksshd-1.0.tar.gz 10624 RMD160 cf69515be3671e97b03f44459d383514f224423d SHA1 bb4043a8ef2c096703705d730c0aaabd261b74ed SHA256 c00796839894ff470cd116bc960c3570ce60ec738227debf24aa423681d92528
EBUILD blocksshd-1.0.1.ebuild 1397 RMD160 3e4fe7e194f337279983fc8c04f2de6e6f2ce9e0 SHA1 65e5f82bc85e3a226b3d5183f86e3dc0480350b3 SHA256 79c39e71f2a03a073ed77677e548753180b2b6838d264125b67bb97ad1331053
MD5 1e5b7ac7a0a626d54477a9bb1ada3e3e blocksshd-1.0.1.ebuild 1397
RMD160 3e4fe7e194f337279983fc8c04f2de6e6f2ce9e0 blocksshd-1.0.1.ebuild 1397
SHA256 79c39e71f2a03a073ed77677e548753180b2b6838d264125b67bb97ad1331053 blocksshd-1.0.1.ebuild 1397
-EBUILD blocksshd-1.0.ebuild 1397 RMD160 3e4fe7e194f337279983fc8c04f2de6e6f2ce9e0 SHA1 65e5f82bc85e3a226b3d5183f86e3dc0480350b3 SHA256 79c39e71f2a03a073ed77677e548753180b2b6838d264125b67bb97ad1331053
-MD5 1e5b7ac7a0a626d54477a9bb1ada3e3e blocksshd-1.0.ebuild 1397
-RMD160 3e4fe7e194f337279983fc8c04f2de6e6f2ce9e0 blocksshd-1.0.ebuild 1397
-SHA256 79c39e71f2a03a073ed77677e548753180b2b6838d264125b67bb97ad1331053 blocksshd-1.0.ebuild 1397
-MISC ChangeLog 2270 RMD160 da71cfe9e81ddeefc845b1955ea60d59fa423a47 SHA1 d1a7acf6afc3f95f9817f4408e99767946000b9d SHA256 60f180c8489e42bc5495170d3a8ca1858203f12ce88244376be736278e568261
-MD5 8812dbc90e7bbf040408cc2231c39637 ChangeLog 2270
-RMD160 da71cfe9e81ddeefc845b1955ea60d59fa423a47 ChangeLog 2270
-SHA256 60f180c8489e42bc5495170d3a8ca1858203f12ce88244376be736278e568261 ChangeLog 2270
+MISC ChangeLog 2457 RMD160 97ddb763911c560996f13cf5c95fcf9858643ef0 SHA1 eb1160496c695d0dd301c65541308da52c7284bb SHA256 3f46409a074e4b2fb2eb5784ea258d4c1b8c679c3e859ccfde0aeee632580462
+MD5 5960582629fc0b3b5b950c80d57d9718 ChangeLog 2457
+RMD160 97ddb763911c560996f13cf5c95fcf9858643ef0 ChangeLog 2457
+SHA256 3f46409a074e4b2fb2eb5784ea258d4c1b8c679c3e859ccfde0aeee632580462 ChangeLog 2457
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 6a03531b2ba53b5bc009de387b9c808b files/digest-blocksshd-1.0 174
-RMD160 9d8fef364630d5e221e8ba057086303c95ab5c0e files/digest-blocksshd-1.0 174
-SHA256 15b04ba202967141fbb11695979ced96911db93a31d72076120b7d0a7796ae5d files/digest-blocksshd-1.0 174
MD5 c38ecd1cf7cf0fdf3a20069a71aa84e9 files/digest-blocksshd-1.0.1 244
RMD160 ceb9774c92abac76fe158908ff102e87cfed48ec files/digest-blocksshd-1.0.1 244
SHA256 e4346e7080daa992d86d563ac21a426637d6c8eff7a4204c26b18a12c464e170 files/digest-blocksshd-1.0.1 244
diff --git a/net-misc/blocksshd/blocksshd-1.0.ebuild b/net-misc/blocksshd/blocksshd-1.0.ebuild
deleted file mode 100644
index 380c1b214..000000000
--- a/net-misc/blocksshd/blocksshd-1.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2007 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://sourceforge.net/projects/blocksshd"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=virtual/perl-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
- >=dev-perl/Net-Subnets-0.21
- >=virtual/perl-Getopt-Long-2.34
- >=net-firewall/iptables-1.3.5-r1"
-
-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/files/blocksshd-1.0.conf-dir-change.patch b/net-misc/blocksshd/files/blocksshd-1.0.conf-dir-change.patch
deleted file mode 100644
index 96aeae667..000000000
--- a/net-misc/blocksshd/files/blocksshd-1.0.conf-dir-change.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- blocksshd.conf.orig 2006-11-08 04:42:39.000000000 -0500
-+++ blocksshd.conf 2006-11-13 10:30:51.000000000 -0500
-@@ -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-1.0.etc-dir-change.patch b/net-misc/blocksshd/files/blocksshd-1.0.etc-dir-change.patch
deleted file mode 100644
index 32b8b22d2..000000000
--- a/net-misc/blocksshd/files/blocksshd-1.0.etc-dir-change.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- blocksshd.orig 2006-11-08 01:58:44.000000000 -0500
-+++ blocksshd 2006-11-13 10:26:54.000000000 -0500
-@@ -43,7 +43,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-1.0 b/net-misc/blocksshd/files/digest-blocksshd-1.0
deleted file mode 100644
index 16541e55d..000000000
--- a/net-misc/blocksshd/files/digest-blocksshd-1.0
+++ /dev/null
@@ -1,2 +0,0 @@
-RMD160 cf69515be3671e97b03f44459d383514f224423d blocksshd-1.0.tar.gz 10624
-SHA256 c00796839894ff470cd116bc960c3570ce60ec738227debf24aa423681d92528 blocksshd-1.0.tar.gz 10624