ChangeLog

# ChangeLog for app-admin/denyhosts
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.33 2008/08/16 17:39:22 tove Exp $

16 Aug 2008; Torsten Veller metadata.xml:
Remove strerror from metadata.xml (#89719)

29 Sep 2007; Steve Dibb denyhosts-2.6-r1.ebuild:
amd64 stable, security bug 181213

25 Sep 2007; Raúl Porcel denyhosts-2.6-r1.ebuild:
alpha/sparc stable wrt security #181213

25 Sep 2007; Jeroen Roovers denyhosts-2.6-r1.ebuild:
Stable for HPPA (bug #181213).

24 Sep 2007; Christian Faulhammer
denyhosts-2.6-r1.ebuild:
stable x86, security bug 181213

*denyhosts-2.6-r1 (13 Sep 2007)

13 Sep 2007;
+files/denyhosts-2.6-log-injection-regex.patch, +denyhosts-2.6-r1.ebuild:
Fixes log injection reported by Sune Kloppenborg Jeppesen in bug #181213.

14 Aug 2007; Benjamin Smee files/denyhosts.init:
fix for bug #174501

13 May 2007; Thilo Bangert metadata.xml:
add herd

05 May 2007; Jeroen Roovers -denyhosts-2.4b.ebuild,
-denyhosts-2.5.ebuild:
Remove "vulnerable" versions (only ebuild differences are in CVS headers and
KEYWORDS).

24 Jan 2007; Marius Mauch denyhosts-2.4b.ebuild,
denyhosts-2.5.ebuild, denyhosts-2.6.ebuild:
Replacing einfo with elog

29 Dec 2006; Peter Weller denyhosts-2.6.ebuild:
Stable on amd64 wrt bug #157163

25 Dec 2006; Jeroen Roovers denyhosts-2.6.ebuild:
Stable for HPPA (bug #157163).

21 Dec 2006; Bryan Østergaard denyhosts-2.6.ebuild:
Stable on Alpha, bug 157163.

11 Dec 2006; Gustavo Zacarias denyhosts-2.6.ebuild:
Stable on sparc wrt security #157163

*denyhosts-2.6 (09 Dec 2006)

09 Dec 2006; Benjamin Smee
+files/denyhosts-2.6-gentoo.patch, +denyhosts-2.6.ebuild:
version bump for bug #157163 addresses security issue

16 Nov 2006; Jeroen Roovers denyhosts-2.5.ebuild:
Stable for HPPA (bug #155238).

19 Oct 2006; Bryan Østergaard denyhosts-2.5.ebuild:
Stable on Alpha.

04 Sep 2006; denyhosts-2.5.ebuild:
stable on amd64

30 Aug 2006; Gustavo Zacarias denyhosts-2.5.ebuild:
Stable on sparc

25 Aug 2006; Paul Varner denyhosts-2.5.ebuild:
Stable on x86. Bug #143710

*denyhosts-2.5 (11 Jul 2006)

11 Jul 2006; Benjamin Smee
+files/denyhosts-2.5-gentoo.patch, +denyhosts-2.5.ebuild:
Version bump

28 May 2006; Benjamin Smee
files/denyhosts-2.4b-gentoo.patch:
Small change to patch for bug #130488

05 May 2006; Tobias Scherbaum
denyhosts-2.4b.ebuild:
Added to ~ppc, bug #132282

*denyhosts-2.4b (27 Apr 2006)

27 Apr 2006; Benjamin Smee
+files/denyhosts-2.4b-gentoo.patch, +denyhosts-2.4b.ebuild:
Version bump and fix bug #131034

19 Apr 2006; Benjamin Smee
files/denyhosts-2.4-gentoo.patch:
Change to config file for bug #130488

*denyhosts-2.4 (18 Apr 2006)

18 Apr 2006; Benjamin Smee
+files/denyhosts-2.4-gentoo.patch, +denyhosts-2.4.ebuild:
Version bump and small config change for possible security issue

*denyhosts-2.2 (30 Mar 2006)

30 Mar 2006; Benjamin Smee
+files/denyhosts-2.2-gentoo.patch, +denyhosts-2.2.ebuild:
Version bump for bug #128011

*denyhosts-2.1 (28 Feb 2006)

28 Feb 2006; Benjamin Smee
+files/denyhosts-2.1-gentoo.patch, +denyhosts-2.1.ebuild:
Version bump

06 Jan 2006; Gustavo Zacarias
denyhosts-1.1.2-r1.ebuild:
Keyworded ~sparc wrt #117819

*denyhosts-1.1.2-r1 (11 Nov 2005)

11 Nov 2005; Benjamin Smee
+denyhosts-1.1.2-r1.ebuild:
Sed call to fix initscript issue as per bug #110324. Added ~amd64

05 Nov 2005; Fernando J. Pereda denyhosts-1.1.2.ebuild:
added ~alpha keyword wrt bug #110576

03 Nov 2005; Benjamin Smee files/denyhosts.init:
Change to initfile for bug #111371

*denyhosts-1.1.2 (07 Oct 2005)

07 Oct 2005; Benjamin Smee +files/denyhosts.init,
+files/denyhosts-gentoo.patch, +metadata.xml, +denyhosts-1.1.2.ebuild:
Initial import. Thanks to Rene Zbinden and Mike Kelly for initial ebuild

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX denyhosts-2.6-gentoo.patch 1072 RMD160 e396870f65e7cd512996229d901c6c19bd403b8b SHA1 c1d913cc632a6dd4ae3b557d0c8a5321987bc6b8 SHA256 9a8aa093691efd23a0f34f7dd6ec8716eaeb266ceb96f851f7b2eb12dad44a5a
AUX denyhosts-2.6-log-injection-regex.patch 1142 RMD160 0fee22c97c27bcd7c3fa40c0ae1377d8c1cabb66 SHA1 92d9cb6e69179e0e0d49b78db1fdceec4cc4bbf5 SHA256 836bbec93f10e6314afc63a98c0312c1ba7ec95ba0bb857807f3dd9131f79df8
AUX denyhosts-gentoo.patch 2395 RMD160 8f028a90f5afa17f77d6bd346e4f2b1e44266d83 SHA1 0e5a55cd8c5bca95265e322bac919f70da0a5b48 SHA256 50f169c45f674708fef8f1912a816b798107e4e624e027974e71d1c585a2b3ed
AUX denyhosts.init 362 RMD160 ef6f3cb195f1e8c333bc2e574509147f014536da SHA1 11339953c3ba1e8aaf4ac18337f22a876cac5712 SHA256 671186507b221383b3e542aa38866677764e04ecb5ce01f3dabf904f3743b1f5
DIST DenyHosts-2.6.tar.gz 42667 RMD160 cab4206af992f5405ed1c9b302341c7b5649c71a SHA1 02143843cb7c37c986c222b7acc11f7b75eb7373 SHA256 5190ead13a7238e3ccf328cb3b71b16716e1c73939909a4f3fa6904ba58ddf7d
EBUILD denyhosts-2.6-r1.ebuild 1789 RMD160 110e5e5602807e66500b6455f614fa7d400c0ff7 SHA1 f5d8d3d0bfac0fc766516666b739a5b32fd70d00 SHA256 35ec639634804bbd7c589b56cd300af92d4378ab45f03d1dace430a2c4b48b54
EBUILD denyhosts-2.6.ebuild 1735 RMD160 c2868f05c73d6801ec0661baf0f86c848735330c SHA1 68646486c00925518b5b98417d7fc78c26e034d6 SHA256 7102915971f81507a4394752ae0221545c90b417433c3756b21701a63694d7dc
MISC ChangeLog 4615 RMD160 60b61292afeb43e1c55b151cf6dcb7854a2f5ebd SHA1 78a0f3ecef2ebea9f3a6ed9b8409f2f2ccb2e012 SHA256 b3cbd84b63b03079290e1ba04a70ff34f3ef2661f3552c4d4d3451f69986555b
MISC metadata.xml 241 RMD160 dbd39e15096a9c09432225b4dee87bcadcb33907 SHA1 1beb1a93e4526085c26b282271027ad508b29059 SHA256 950a704ea9fcebef2e688e8bd6e0f0d292c967e246d58e4778b9955b1d615ab4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkinEL4ACgkQV3J2n04Eaux4aACg1UDzOdif0RLJw2rwRfRxiqFZ
KUQAnRerdlhxFigz1qVuVJaMXiw3fDN5
=NddH
-----END PGP SIGNATURE-----

denyhosts-2.6-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6-r1.ebuild,v 1.5 2007/09/29 02:19:12 beandog 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
epatch "${FILESDIR}"/${P}-log-injection-regex.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

elog "You can configure DenyHosts to run as a daemon by running:"
elog
elog "rc-update add denyhosts default"
elog
elog "or as a cronjob, by adding the following to /etc/crontab"
elog "# run DenyHosts every 10 minutes"
elog "*/10 * * * * root python /usr/bin/denyhosts -c /etc/denyhosts.conf"
elog
elog "More information can be found at http://denyhosts.sourceforge.net/faq.html"
elog
ewarn "Modify /etc/denyhosts.conf to suit your environment system."
}

denyhosts-2.6.ebuild

# Copyright 1999-2007 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.7 2007/07/13 06:07:37 mr_bones_ 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

elog "You can configure DenyHosts to run as a daemon by running:"
elog
elog "rc-update add denyhosts default"
elog
elog "or as a cronjob, by adding the following to /etc/crontab"
elog "# run DenyHosts every 10 minutes"
elog "*/10 * * * * root python /usr/bin/denyhosts -c /etc/denyhosts.conf"
elog
elog "More information can be found at http://denyhosts.sourceforge.net/faq.html"
elog
ewarn "Modify /etc/denyhosts.conf to suit your environment system."
}

files

metadata.xml




no-herd

maintainer-needed@gentoo.org