commit:     714af719a1e5452890c9b8aaeb7ab26ca674df9c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 10 10:53:45 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jul 10 11:52:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714af719

app-admin/denyhosts: Drop 2.9 and 3.0 (r0)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-admin/denyhosts/Manifest                       |  1 -
 app-admin/denyhosts/denyhosts-2.9.ebuild           | 72 ----------------------
 app-admin/denyhosts/denyhosts-3.0.ebuild           | 63 -------------------
 .../denyhosts/files/denyhosts-2.6-hostname.patch   | 21 -------
 4 files changed, 157 deletions(-)

diff --git a/app-admin/denyhosts/Manifest b/app-admin/denyhosts/Manifest
index 23c4ab6ea9b..46ed157092a 100644
--- a/app-admin/denyhosts/Manifest
+++ b/app-admin/denyhosts/Manifest
@@ -1,2 +1 @@
-DIST denyhosts-2.9.tar.gz 49472 BLAKE2B 
94f18da3db9dd7e0d979d4fb536160114fe1dc95ac43ad1f7bf3f235702698210e62b3872bf7f3360945228b187d97a274797d535a9b12b552bddf649b5d1fdf
 SHA512 
f41e2985e84f0eeaa493def6b8609de934889d02b124962b0bfd02ebe5e41d0670822124eb50ed84eb1c3b8a2a96775fbe09386cef48a3c3e04949fd6b1452c1
 DIST denyhosts-3.0.tar.gz 56283 BLAKE2B 
1ecb8a13ec9511cb4ac65579aa8f88117264f231b586c30a61ad9c78abd17aeebc5642e70f162fa7e73fe81a99821d494efca213b1bf864fd0e2043fa4374e6a
 SHA512 
8a1c796c259049ffab2c88cef780b175ec75c94216841421f831dfbf45f4ba0cdbcfbb0e3dab7200aa79eeb2416db5234ad5016d5770d8ab2f28ef4c9754e70d

diff --git a/app-admin/denyhosts/denyhosts-2.9.ebuild 
b/app-admin/denyhosts/denyhosts-2.9.ebuild
deleted file mode 100644
index 7711a19aa6d..00000000000
--- a/app-admin/denyhosts/denyhosts-2.9.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils readme.gentoo systemd
-
-DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers"
-HOMEPAGE="http://denyhost.sourceforge.net/";
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="
->=net-misc/openssh-6.7p1 dropped support for sys-apps/tcp-wrappers
-(see bug#531156) that means you either have patch openssh or use
-denyhosts' iptables feature to get any protection.
-
-You can configure DenyHosts to run as a daemon by running:
-# rc-update add denyhosts default
-or:
-# systemctl enable denyhosts.service
-(if you use systemd)
-
-To run DenyHosts as a cronjob instead of a daemon add the following
-to /etc/crontab
-# run DenyHosts every 10 minutes
-*/10  *  * * *    root    /usr/bin/denyhosts.py -c /etc/denyhosts.conf
-
-More information can be found at ${HOMEPAGE}faq.html"
-
-src_prepare() {
-       #systemd needs HOSTNAME
-       epatch "${FILESDIR}"/${PN}-2.6-hostname.patch
-
-       sed -e '/^DENY_THRESHOLD_VALID =/s/=.*/= 5/' \
-               -e '/^SECURE_LOG/s/^/#/' \
-               -e '\@#SECURE_LOG.*/var/log/messages@s/^#//' \
-               -i denyhosts.conf || die "sed failed"
-
-       distutils-r1_src_prepare
-}
-
-src_install() {
-       readme.gentoo_create_doc
-
-       dodoc CHANGELOG.txt README.txt PKG-INFO
-       distutils-r1_src_install
-
-       dodir /etc/logrotate.d
-       insinto /etc/logrotate.d
-       newins "${FILESDIR}"/${PN}.logrotate-r2 ${PN}
-
-       newinitd "${FILESDIR}"/denyhosts.init-r2 denyhosts
-       systemd_dounit "${FILESDIR}"/${PN}.service
-
-       keepdir /var/lib/denyhosts
-}
-
-pkg_postinst() {
-       [[ -f "${EROOT}etc/hosts.deny" ]] || touch "${EROOT}etc/hosts.deny"
-
-       readme.gentoo_print_elog
-}

diff --git a/app-admin/denyhosts/denyhosts-3.0.ebuild 
b/app-admin/denyhosts/denyhosts-3.0.ebuild
deleted file mode 100644
index cd2c9fdeea3..00000000000
--- a/app-admin/denyhosts/denyhosts-3.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils readme.gentoo systemd
-
-DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers"
-HOMEPAGE="https://github.com/denyhosts/denyhosts";
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="
->=net-misc/openssh-6.7p1 dropped support for sys-apps/tcp-wrappers
-(see bug#531156) that means you either have patch openssh or use
-denyhosts' iptables feature to get any protection.
-
-You can configure DenyHosts to run as a daemon by running:
-# rc-update add denyhosts default
-or:
-# systemctl enable denyhosts.service
-(if you use systemd)
-
-To run DenyHosts as a cronjob instead of a daemon add the following
-to /etc/crontab
-# run DenyHosts every 10 minutes
-*/10  *  * * *    root    /usr/bin/denyhosts.py -c /etc/denyhosts.conf
-
-More information can be found at ${HOMEPAGE}faq.html"
-
-src_prepare() {
-       sed -e '/^DENY_THRESHOLD_VALID =/s/=.*/= 5/' \
-               -e '/^SECURE_LOG/s/^/#/' \
-               -e '\@#SECURE_LOG.*/var/log/messages@s/^#//' \
-               -i denyhosts.conf || die "sed failed"
-
-       distutils-r1_src_prepare
-}
-
-src_install() {
-       readme.gentoo_create_doc
-
-       dodoc CHANGELOG.txt README.md
-       distutils-r1_src_install
-
-       dodir /etc/logrotate.d
-       insinto /etc/logrotate.d
-       newins "${FILESDIR}"/${PN}.logrotate-r2 ${PN}
-
-       newinitd "${FILESDIR}"/denyhosts.init-r2 denyhosts
-       systemd_dounit "${FILESDIR}"/${PN}.service
-
-       keepdir /var/lib/denyhosts
-}

diff --git a/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch 
b/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch
deleted file mode 100644
index 56d881319c5..00000000000
--- a/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -up ./denyhosts.py.orig ./denyhosts.py
---- ./denyhosts.py.orig        2012-01-30 13:14:41.146715839 -0600
-+++ ./denyhosts.py     2012-01-30 14:45:14.372539341 -0600
-@@ -1,5 +1,6 @@
- #!/usr/bin/env python
- import os
-+import platform
- import sys
- 
- import DenyHosts.python_version
-@@ -107,6 +108,10 @@ if __name__ == '__main__':
-             print "DenyHosts version:", VERSION
-             sys.exit(0)
- 
-+    # This is generally expected to be in the environment, but there's no
-+    # non-hackish way to get systemd to set it, so just hack it in here.
-+    os.environ['HOSTNAME'] = platform.node()
-+
-     prefs = Prefs(config_file)    
-             
-     first_time = 0

Reply via email to