# ChangeLog for app-admin/denyhosts
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.18 2006/11/16 00:21:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.19 2006/12/09 15:48:58 strerror Exp $
+
+*denyhosts-2.6 (09 Dec 2006)
+
+ 09 Dec 2006; Benjamin Smee <strerror@gentoo.org>
+ +files/denyhosts-2.6-gentoo.patch, +denyhosts-2.6.ebuild:
+ version bump for bug #157163 addresses security issue
16 Nov 2006; Jeroen Roovers <jer@gentoo.org> denyhosts-2.5.ebuild:
Stable for HPPA (bug #155238).
MD5 fa65e735cd707d8ef7cdd8bc8d312294 files/denyhosts-2.5-gentoo.patch 1389
RMD160 523bc30e661e3cda13608b815d9630c269912fc7 files/denyhosts-2.5-gentoo.patch 1389
SHA256 49cbe19b24e1e8d71e98db6dc0c2d7c04fcd2a85be081b78f72bc21e46540150 files/denyhosts-2.5-gentoo.patch 1389
+AUX denyhosts-2.6-gentoo.patch 1072 RMD160 e396870f65e7cd512996229d901c6c19bd403b8b SHA1 c1d913cc632a6dd4ae3b557d0c8a5321987bc6b8 SHA256 9a8aa093691efd23a0f34f7dd6ec8716eaeb266ceb96f851f7b2eb12dad44a5a
+MD5 d224528900ced34e5445b822b5e993c2 files/denyhosts-2.6-gentoo.patch 1072
+RMD160 e396870f65e7cd512996229d901c6c19bd403b8b files/denyhosts-2.6-gentoo.patch 1072
+SHA256 9a8aa093691efd23a0f34f7dd6ec8716eaeb266ceb96f851f7b2eb12dad44a5a files/denyhosts-2.6-gentoo.patch 1072
AUX denyhosts-gentoo.patch 2395 RMD160 8f028a90f5afa17f77d6bd346e4f2b1e44266d83 SHA1 0e5a55cd8c5bca95265e322bac919f70da0a5b48 SHA256 50f169c45f674708fef8f1912a816b798107e4e624e027974e71d1c585a2b3ed
MD5 90c425b8fbcfa5fc084063999c2e3b9a files/denyhosts-gentoo.patch 2395
RMD160 8f028a90f5afa17f77d6bd346e4f2b1e44266d83 files/denyhosts-gentoo.patch 2395
SHA256 12359a78c8ff363055778427392b9013412a99b0adb542d999b9e4f9e3e0cf49 files/denyhosts.init 345
DIST DenyHosts-2.4b.tar.gz 42206 RMD160 7a228f2735c58c2c0e7717a2a48edaf87f894826 SHA1 7521d1e0330ebd30a261786405eb614f9d87e8f9 SHA256 851a050c6eb78618605eecdfae80a1ac412b2adc99160fb9c9d275f64858a7c1
DIST DenyHosts-2.5.tar.gz 42612 RMD160 757d4b231bbf793ce0d1a2605de5a8f6cb87c27a SHA1 fa28d3863986b256ff72644340bba9d79e3bdc4f SHA256 1efa1a977d0341bc5c94dbc652f86f3834e12013d7dc19a4f6e7b4b4c0242ed4
+DIST DenyHosts-2.6.tar.gz 42667 RMD160 cab4206af992f5405ed1c9b302341c7b5649c71a SHA1 02143843cb7c37c986c222b7acc11f7b75eb7373 SHA256 5190ead13a7238e3ccf328cb3b71b16716e1c73939909a4f3fa6904ba58ddf7d
EBUILD denyhosts-2.4b.ebuild 1747 RMD160 8e3b6b849eeede598c65081816185bdf1498e184 SHA1 ec2fba93b8b3a39cef44e8e5e04cb8576e1fa7cb SHA256 efd7bf2106e412189c3ed6b53c36ce42f01e8e2f0238e06fb717805bb16e8fb8
MD5 0fd5633f50ba059f77b6f215a82a1132 denyhosts-2.4b.ebuild 1747
RMD160 8e3b6b849eeede598c65081816185bdf1498e184 denyhosts-2.4b.ebuild 1747
MD5 8228e3b263e5b2265e5c9c78c3a5bee9 denyhosts-2.5.ebuild 1740
RMD160 00888586a743a7bf1b10d2c3b99dda7e6dc9fdb1 denyhosts-2.5.ebuild 1740
SHA256 e9da30dab212d25f851b96bb13c912398f3adf25e62b952e9f505ba2a1f135d9 denyhosts-2.5.ebuild 1740
-MISC ChangeLog 2705 RMD160 cc5d638b336b0fa2fbd7f509a12ec652090bcfdb SHA1 bda58c609bd007a131467a3dae01a980ce13c595 SHA256 e837bf0c5f4434a40d51b98590058dd875b30588f466b8c14b855e35a062664f
-MD5 b2a86866381987069d2c20f40d0a4cd6 ChangeLog 2705
-RMD160 cc5d638b336b0fa2fbd7f509a12ec652090bcfdb ChangeLog 2705
-SHA256 e837bf0c5f4434a40d51b98590058dd875b30588f466b8c14b855e35a062664f ChangeLog 2705
+EBUILD denyhosts-2.6.ebuild 1749 RMD160 866ba09f533048b1d64f33400eabae3d209f6df9 SHA1 e5ee17a31ce9eeb171125b191d5614fcf941c7aa SHA256 e27576ef7660cc444f197081596e08495676bbbca7de2f5686cdce11d3d85c29
+MD5 ea2c33508f4575298d1e75ad9a6fe7be denyhosts-2.6.ebuild 1749
+RMD160 866ba09f533048b1d64f33400eabae3d209f6df9 denyhosts-2.6.ebuild 1749
+SHA256 e27576ef7660cc444f197081596e08495676bbbca7de2f5686cdce11d3d85c29 denyhosts-2.6.ebuild 1749
+MISC ChangeLog 2908 RMD160 befb68708e07d1aa99c28019fcba86658829fd5d SHA1 fc9396533b68def401f8b4766717eb228eb0fc82 SHA256 a8a8527972127b93531c9608009bfd703cf33e0c661a549db265ddfe2e0f794e
+MD5 9e4b1c44c29d78c50015da9ec1851978 ChangeLog 2908
+RMD160 befb68708e07d1aa99c28019fcba86658829fd5d ChangeLog 2908
+SHA256 a8a8527972127b93531c9608009bfd703cf33e0c661a549db265ddfe2e0f794e ChangeLog 2908
MISC metadata.xml 203 RMD160 dc85a4597b327e3b50807559983ede0e147601f0 SHA1 8e318897e209b03f9c3bde8aaee0c18f379bfe7d SHA256 20b101cf5998d0c063fc2304f3c071c8a6aeb35940882f05a19ac1169e74d174
MD5 82c6f940fc1a08d481d8d46de563bce7 metadata.xml 203
RMD160 dc85a4597b327e3b50807559983ede0e147601f0 metadata.xml 203
MD5 edfe8030ae0252ab91e17a984df7e447 files/digest-denyhosts-2.5 238
RMD160 c839d7e2799bcd8cd7dd0e6264de22af7812720e files/digest-denyhosts-2.5 238
SHA256 e448049c16e2620304757dcc2b12d1c198e7abf9e97183e33b507334b0199413 files/digest-denyhosts-2.5 238
+MD5 0b2fac84380e47840828a988a45432ec files/digest-denyhosts-2.6 238
+RMD160 7814e4e9b217a7bf73e33b80de7c7098ba6794c2 files/digest-denyhosts-2.6 238
+SHA256 b147471e95f374999228127295b8bde626934347b71c66d5cd0ba2b4ebde0ef6 files/digest-denyhosts-2.6 238
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6.ebuild,v 1.1 2006/12/09 15:48:58 strerror Exp $
+
+inherit distutils eutils
+
+my_PN="DenyHosts"
+my_P="${my_PN}-${PV}"
+DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers"
+HOMEPAGE="http://www.denyhosts.net"
+SRC_URI="mirror://sourceforge/${PN}/${my_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc x86"
+IUSE=""
+DEPEND=">=dev-lang/python-2.3"
+S="${WORKDIR}/${my_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # changes default file installations
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ sed -i -e 's:#!/usr/bin/env python:#!/usr/bin/python:' \
+ denyhosts.py || die "sed failed"
+ sed -i -e 's:DENY_THRESHOLD_VALID = 10:DENY_THRESHOLD_VALID = 5:' \
+ denyhosts.cfg-dist || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ insinto /etc
+ insopts -m0640
+ newins denyhosts.cfg-dist denyhosts.conf
+
+ newinitd "${FILESDIR}"/denyhosts.init denyhosts
+
+ exeinto /usr/bin
+ newexe denyhosts.py denyhosts
+
+ dodoc CHANGELOG.txt README.txt
+
+ keepdir /var/lib/denyhosts
+}
+
+pkg_postinst() {
+ if [ ! -f /etc/hosts.deny ]
+ then
+ touch /etc/hosts.deny
+ fi
+
+ einfo "You can configure DenyHosts to run as a daemon by running:"
+ einfo
+ einfo "rc-update add denyhosts default"
+ einfo
+ einfo "or as a cronjob, by adding the following to /etc/crontab"
+ einfo "# run DenyHosts every 10 minutes"
+ einfo "*/10 * * * * root python /usr/bin/denyhosts -c /etc/denyhosts.conf"
+ einfo
+ einfo "More information can be found at http://denyhosts.sourceforge.net/faq.html"
+ einfo
+ ewarn "Modify /etc/denyhosts.conf to suit your environment system."
+}
+
--- /dev/null
+--- denyhosts.cfg-dist 2006-08-20 14:09:57.000000000 +0000
++++ denyhosts.cfg-new 2006-12-09 15:41:20.000000000 +0000
+@@ -9,13 +9,13 @@
+ # argument
+ #
+ # Redhat or Fedora Core:
+-SECURE_LOG = /var/log/secure
++#SECURE_LOG = /var/log/secure
+ #
+ # Mandrake, FreeBSD or OpenBSD:
+ #SECURE_LOG = /var/log/auth.log
+ #
+-# SuSE:
+-#SECURE_LOG = /var/log/messages
++# Gentoo/SuSE:
++SECURE_LOG = /var/log/messages
+ #
+ # Mac OS X (v10.4 or greater -
+ # also refer to: http://www.denyhosts.net/faq.html#macos
+@@ -150,7 +150,7 @@
+ # Note: it is recommended that you use an absolute pathname
+ # for this value (eg. /home/foo/denyhosts/data)
+ #
+-WORK_DIR = /usr/share/denyhosts/data
++WORK_DIR = /var/lib/denyhosts
+ #
+ #######################################################################
+
+@@ -192,10 +192,10 @@
+ # running at a time.
+ #
+ # Redhat/Fedora:
+-LOCK_FILE = /var/lock/subsys/denyhosts
++#LOCK_FILE = /var/lock/subsys/denyhosts
+ #
+-# Debian
+-#LOCK_FILE = /var/run/denyhosts.pid
++# Gentoo/Debian
++LOCK_FILE = /var/run/denyhosts.pid
+ #
+ # Misc
+ #LOCK_FILE = /tmp/denyhosts.lock
--- /dev/null
+MD5 fc2365305a9402886a2b0173d1beb7df DenyHosts-2.6.tar.gz 42667
+RMD160 cab4206af992f5405ed1c9b302341c7b5649c71a DenyHosts-2.6.tar.gz 42667
+SHA256 5190ead13a7238e3ccf328cb3b71b16716e1c73939909a4f3fa6904ba58ddf7d DenyHosts-2.6.tar.gz 42667