+++ /dev/null
-# ChangeLog for net-misc/sshguard
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 03 Apr 2007; Markus Ullmann <jokey@gentoo.org> -sshguard-0.91.ebuild:
- ebuild fixes
-
- 18 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
- sshguard-0.91-r1.ebuild:
- added trailing slash to HOMEPAGE URI
-
- 17 Mar 2007; Ali Polatel (hawking) <polatel@nerdshack.com>
- +sshguard-0.91-r1.ebuild, +files/sshguard-0.91-pam.patch:
- added patch to add support for PAM auth messages
-
- 08 Mar 2007; Christian Faulhammer <opfer@gentoo.org> sshguard-0.91.ebuild:
- added trailing slash to HOMEPAGE URI
-
- 07 Mar 2007; Ali Polatel (hawking) <polatel@nerdshack.com>
- +sshguard-0.91.ebuild, +metadata.xml:
- New ebuild for bug 169754
-
+++ /dev/null
-AUX sshguard-0.91-pam.patch 992 RMD160 fd5f1baf2473ce3e701de1ca85a51141362fb8fb SHA1 ee75f163226f5a3e98362b47d3bca70c7a94c9f2 SHA256 b39bc7fd864ebe185c16eb722266091347f1592f31b6bec05dc2c6662de29ed2
-DIST sshguard-0.91.tar.bz2 63751 RMD160 605da0e4eee81236edbca3cc35cee3a09267aec2 SHA1 c292ad11f64c56b81c97910a79c92b719155bb52 SHA256 c1e16d1d20ff192e0368bd8ddfe6acede5a90fef10ce0558655bacf62c29c42f
-EBUILD sshguard-0.91-r1.ebuild 669 RMD160 983393090d466a64e7418039dad5b74adc0cccdf SHA1 c9aa4a1c2e78bc7a8b6e97e7ac92f05b59d93cc1 SHA256 ed6c81bda860f04d2688b98fc134910c4cfa450b58473e24cb12b76ec5d5b78f
-MISC ChangeLog 748 RMD160 f3fabf2c68877f9aa38df397927de508199c78dc SHA1 8d6b0dab135b825295ef92b016d7201b64053a7b SHA256 4260dc5c26c8d39c7ce0903e24b8e842fee64c648ec25a5291a938ddf7fc95af
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+++ /dev/null
-Files sshguard-0.91/.sshguard.c.swp and sshguard-0.91-pam/.sshguard.c.swp differ
-diff -urN sshguard-0.91/sshguard.h sshguard-0.91-pam/sshguard.h
---- sshguard-0.91/sshguard.h 2007-02-10 17:00:47.000000000 +0200
-+++ sshguard-0.91-pam/sshguard.h 2007-03-12 07:57:33.000000000 +0200
-@@ -17,8 +17,8 @@
- *
- */
- /* regex for log entries representing brute force trials */
--#define SSHCRACK_REGEX "sshd\\[[0-9]+\\]: (Failed|Illegal user|Invalid user|User) .+from ((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]([0-9])?)(\\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]([0-9])?|0)){3})( not allowed)?"
-+#define SSHCRACK_REGEX "sshd\\[[0-9]+\\]: (Failed|Illegal user|Invalid user|User|pam_unix\\(sshd:auth\\): authentication failure;).+(from |rhost=)((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]([0-9])?)(\\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]([0-9])?|0)){3})( not allowed)?"
- /* field number in SSHCRACK_REGEX containing the attacker IP address */
--#define REGEXIPENTRY 2
-+#define REGEXIPENTRY 3
-
- #endif
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>maintainer-wanted</herd>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-DESCRIPTION="protects hosts from brute force attacks against ssh"
-HOMEPAGE="http://sshguard.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="net-firewall/iptables"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-pam.patch"
-}
-src_compile() {
- econf --with-firewall=iptables
- emake CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc ChangeLog README
-}