denyhost: dropped unmaintained port

This commit is contained in:
Tim Biermann 2023-05-28 11:25:35 +02:00
parent 6845084e61
commit 4f074f66ea
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 0 additions and 131 deletions

View File

@ -1,57 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/denyhosts/
-rw-r--r-- root/root etc/denyhosts/denyhosts.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/denyhosts
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.7/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts-2.10-py2.7.egg-info
drwxr-xr-x root/root usr/lib/python2.7/site-packages/DenyHosts/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/__init__.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/allowedhosts.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/allowedhosts.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/constants.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/constants.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/counter.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/counter.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/daemon.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/daemon.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/deny_hosts.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/deny_hosts.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/denyfileutil.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/denyfileutil.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/filetracker.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/filetracker.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/lockfile.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/lockfile.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/loginattempt.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/loginattempt.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/plugin.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/plugin.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/prefs.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/prefs.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/purgecounter.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/purgecounter.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/python_version.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/python_version.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/regex.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/regex.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/report.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/report.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/restricted.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/restricted.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/sync.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/sync.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/util.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/util.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/version.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/DenyHosts/version.pyc
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/denyhosts
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/denyhosts.8.gz

View File

@ -1,5 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wBRPc5qbk1WtTnRoiPnTqcEJiLn2TbjqWmVZLMz97CkYwC0j8Ane1SFKXqBuV79VTDq6DvAB5gcG9lhIjFFXAk=
SHA256 (Pkgfile) = c3b440e2ce95e033fcddff90b127770b48f2477467784883bd1f12f4e1f148e7
SHA256 (.footprint) = 5b97cd5229e9dd4f3409cc100f4f67aee0bc6f4b52cf8d3d840f04b546cbe8c7
SHA256 (denyhost-2.10.tar.gz) = 2f519f39e8d00258ba0b6d4ce2a55501fdc08b52c5b5f8881c098b4460c89c26

View File

@ -1,41 +0,0 @@
# Description: A script intended to be run by Linux system administrators to help thwart ssh server attacks.
# URL: https://github.com/denyhosts/denyhosts
# Maintainer: unmaintained
# Depends on: python
name=denyhost
version=2.10
release=1
source=(https://github.com/denyhosts/denyhosts/archive/v$version/$name-$version.tar.gz)
build() {
cd denyhosts-$version
/usr/bin/python setup.py install --root=$PKG
chmod g-w $PKG/usr/share/man/man8/$name* \
$PKG/etc/denyhosts.conf
install -d $PKG/etc/{denyhosts,rc.d} $PKG/usr/sbin
mv $PKG/etc/denyhosts.conf \
$PKG/etc/denyhosts/denyhosts.conf
mv $PKG/usr/bin/daemon-control-dist \
$PKG/etc/rc.d/denyhosts
mv $PKG/usr/bin/denyhosts.py $PKG/usr/sbin/denyhosts
rmdir $PKG/usr/bin
sed -i \
-e 's|^DENYHOSTS_LOCK = .*|DENYHOSTS_LOCK = "/var/run/denyhosts.pid"|' \
-e 's|^DENYHOSTS_CFG = .*|DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"|' \
$PKG/etc/rc.d/denyhosts
sed -i \
-e 's|^SECURE_LOG = /var/log/auth.log|SECURE_LOG = /var/log/auth|' \
-e 's|^IPTABLES = /sbin/iptables|IPTABLES = /usr/sbin/iptables|' \
-e 's|^# BLOCKPORT = 22|BLOCKPORT = 22|' \
$PKG/etc/denyhosts/denyhosts.conf
}

View File

@ -1,28 +0,0 @@
NOTES:
The denyhost fork merged back with the original denyhosts, so this port name
is an anachronism.
The nftables project is featureful enough to make this port obsolete anyway,
so it's being marked unmaintained to give current users a chance to
replace their denyhosts setup with the nftables equivalent (dynamically
updated sets).
REQUIREMENTS:
python2, for now. There's an open pull request that promises python3
compatibility, but it hasn't received enough code review compared to the
easier alternative: replicate the desired functionality using nftables.
POST-INSTALL:
Edit /etc/denyhosts/denyhosts.conf as needed.
Edit /etc/inetd.conf, for example:
#<service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
sshd stream tcp nowait root /usr/sbin/sshd in.sshd
Add inetd and denyhosts to services array on /etc/rc.conf, after net and
before all the services supervised by denyhost and inetd (not sure if this
is necessary but it might be wise to allow protection before the services
start).