summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-10-07 17:49:01 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-10-07 17:49:01 +0000
commit7d1252a7629da872e1629eabc112cc4e0fb13926 (patch)
tree0d7d470ea0b88626d40c7f9ea5965a1d62468cc3 /app-admin/denyhosts
parentUpdate elog message in pkg_postinst. (diff)
downloadgentoo-2-7d1252a7629da872e1629eabc112cc4e0fb13926.tar.gz
gentoo-2-7d1252a7629da872e1629eabc112cc4e0fb13926.tar.bz2
gentoo-2-7d1252a7629da872e1629eabc112cc4e0fb13926.zip
Stabilize for all. Tested on stable x86 host, only text files changed. Remove old version
(Portage version: 2.1.9.12/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/denyhosts')
-rw-r--r--app-admin/denyhosts/ChangeLog7
-rw-r--r--app-admin/denyhosts/denyhosts-2.6-r1.ebuild70
-rw-r--r--app-admin/denyhosts/denyhosts-2.6-r4.ebuild4
3 files changed, 8 insertions, 73 deletions
diff --git a/app-admin/denyhosts/ChangeLog b/app-admin/denyhosts/ChangeLog
index de3c397d008d..be8ad71117fa 100644
--- a/app-admin/denyhosts/ChangeLog
+++ b/app-admin/denyhosts/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/denyhosts
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.41 2010/10/07 12:45:33 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.42 2010/10/07 17:49:01 darkside Exp $
+
+ 07 Oct 2010; Jeremy Olexa <darkside@gentoo.org> -denyhosts-2.6-r1.ebuild,
+ denyhosts-2.6-r4.ebuild:
+ Stabilize for all. Tested on stable x86 host, only text files changed.
+ Remove old version
*denyhosts-2.6-r4 (07 Oct 2010)
diff --git a/app-admin/denyhosts/denyhosts-2.6-r1.ebuild b/app-admin/denyhosts/denyhosts-2.6-r1.ebuild
deleted file mode 100644
index 11a2ce4f3842..000000000000
--- a/app-admin/denyhosts/denyhosts-2.6-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2009 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.10 2009/12/25 21:59:20 arfrever Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-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 arm hppa ~ppc sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_MODNAME="${MY_PN}"
-
-src_prepare() {
- # changes default file installations
- epatch "${FILESDIR}"/${P}-gentoo.patch
- epatch "${FILESDIR}"/${P}-log-injection-regex.patch
- 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
-
- dodoc CHANGELOG.txt README.txt
-
- keepdir /var/lib/denyhosts
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- if [[ ! -f "${ROOT}etc/hosts.deny" ]]; then
- touch "${ROOT}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 /usr/bin/denyhosts.py -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."
-}
diff --git a/app-admin/denyhosts/denyhosts-2.6-r4.ebuild b/app-admin/denyhosts/denyhosts-2.6-r4.ebuild
index cafe7aebb4da..ff917574aaad 100644
--- a/app-admin/denyhosts/denyhosts-2.6-r4.ebuild
+++ b/app-admin/denyhosts/denyhosts-2.6-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6-r4.ebuild,v 1.1 2010/10/07 12:45:33 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6-r4.ebuild,v 1.2 2010/10/07 17:49:01 darkside Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ppc sparc x86"
IUSE=""
DEPEND=""