summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-25 21:59:20 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-25 21:59:20 +0000
commit5d566a0c76493ea4f3686af01c690938587dd7a0 (patch)
treeacdde4e04e1eb8f64c70e950da96ae5e7f20094a /app-admin/denyhosts
parentdistutils_src_install() installs denyhosts.py, so don't install it again. (diff)
downloadgentoo-2-5d566a0c76493ea4f3686af01c690938587dd7a0.tar.gz
gentoo-2-5d566a0c76493ea4f3686af01c690938587dd7a0.tar.bz2
gentoo-2-5d566a0c76493ea4f3686af01c690938587dd7a0.zip
Delete obsolete call to sed and update elog message.
(Portage version: 15152-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/denyhosts')
-rw-r--r--app-admin/denyhosts/denyhosts-2.6-r1.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-admin/denyhosts/denyhosts-2.6-r1.ebuild b/app-admin/denyhosts/denyhosts-2.6-r1.ebuild
index 343773a95564..11a2ce4f3842 100644
--- a/app-admin/denyhosts/denyhosts-2.6-r1.ebuild
+++ b/app-admin/denyhosts/denyhosts-2.6-r1.ebuild
@@ -1,6 +1,6 @@
# 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.9 2009/12/25 21:54:16 arfrever Exp $
+# $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"
@@ -31,8 +31,6 @@ src_prepare() {
# 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"
}
@@ -64,7 +62,7 @@ pkg_postinst() {
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 "*/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