ottxor 15/08/02 20:22:54 Modified: ChangeLog Added: denyhosts-3.0.ebuild Log: version bump (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Revision Changes Path 1.92 app-admin/denyhosts/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/ChangeLog?rev=1.92&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/ChangeLog?rev=1.92&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/ChangeLog?r1=1.91&r2=1.92 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- ChangeLog 7 Jun 2015 12:29:46 -0000 1.91 +++ ChangeLog 2 Aug 2015 20:22:54 -0000 1.92 @@ -1,6 +1,11 @@ # ChangeLog for app-admin/denyhosts # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.91 2015/06/07 12:29:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/ChangeLog,v 1.92 2015/08/02 20:22:54 ottxor Exp $ + +*denyhosts-3.0 (02 Aug 2015) + + 02 Aug 2015; Christoph Junghans <[email protected]> +denyhosts-3.0.ebuild: + version bump 07 Jun 2015; Justin Lecher <[email protected]> metadata.xml: Add github to remote-id in metadata.xml 1.1 app-admin/denyhosts/denyhosts-3.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/denyhosts-3.0.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/denyhosts-3.0.ebuild?rev=1.1&content-type=text/plain Index: denyhosts-3.0.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-3.0.ebuild,v 1.1 2015/08/02 20:22:54 ottxor Exp $ 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 }
