diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-07-28 14:33:21 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-07-28 14:33:21 +0000 |
commit | 3e702f581ec9caa0369fe86cb4949cafe5e77078 (patch) | |
tree | 1d7b6fcd71802585c1a720d0c4201a261aa24d1d /app-admin/denyhosts | |
parent | p.mask vulnerable versions of dev-db/mysql, bug 271686 (diff) | |
download | gentoo-2-3e702f581ec9caa0369fe86cb4949cafe5e77078.tar.gz gentoo-2-3e702f581ec9caa0369fe86cb4949cafe5e77078.tar.bz2 gentoo-2-3e702f581ec9caa0369fe86cb4949cafe5e77078.zip |
remove vulnerable version, bug 271694
Diffstat (limited to 'app-admin/denyhosts')
-rw-r--r-- | app-admin/denyhosts/denyhosts-2.6.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/app-admin/denyhosts/denyhosts-2.6.ebuild b/app-admin/denyhosts/denyhosts-2.6.ebuild deleted file mode 100644 index 382086c1dc46..000000000000 --- a/app-admin/denyhosts/denyhosts-2.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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." -} |