jer         14/08/05 10:22:37

  Modified:             ChangeLog
  Added:                sshguard-1.5-r3.ebuild
  Log:
  Fix parsing metalog entries with days starting with 0 by Amyas (bug #518988).
  
  (Portage version: 2.2.11/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.21                 app-admin/sshguard/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sshguard/ChangeLog?rev=1.21&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sshguard/ChangeLog?rev=1.21&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sshguard/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog   31 Jan 2013 16:36:47 -0000      1.20
+++ ChangeLog   5 Aug 2014 10:22:37 -0000       1.21
@@ -1,6 +1,12 @@
 # ChangeLog for app-admin/sshguard
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.20 
2013/01/31 16:36:47 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.21 
2014/08/05 10:22:37 jer Exp $
+
+*sshguard-1.5-r3 (05 Aug 2014)
+
+  05 Aug 2014; Jeroen Roovers <j...@gentoo.org> +sshguard-1.5-r3.ebuild,
+  +files/sshguard-1.5-day-starts-with-0.patch:
+  Fix parsing metalog entries with days starting with 0 by Amyas (bug #518988).
 
   31 Jan 2013; Jeroen Roovers <j...@gentoo.org> files/sshguard.confd:
   Fix case in man page reference, by Marckus J. (bug #454788).



1.1                  app-admin/sshguard/sshguard-1.5-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sshguard/sshguard-1.5-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sshguard/sshguard-1.5-r3.ebuild?rev=1.1&content-type=text/plain

Index: sshguard-1.5-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.5-r3.ebuild,v 
1.1 2014/08/05 10:22:37 jer Exp $

EAPI=5
inherit eutils flag-o-matic

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="~amd64 ~x86 ~x86-fbsd"
IUSE="ipfilter kernel_FreeBSD kernel_linux"

CDEPEND="kernel_linux? ( net-firewall/iptables )
        kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
DEPEND="${CDEPEND}
        sys-devel/flex"
RDEPEND="${CDEPEND}
        sys-apps/openrc
        virtual/logger"

DOCS=( README Changes scripts/sshguard_backendgen.sh )

src_prepare() {
        sed -i -e '/OPTIMIZER_CFLAGS=/d' configure || die
        epatch "${FILESDIR}"/${P}-day-starts-with-0.patch
}

src_configure() {
        # Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c
        append-cppflags -D_BSD_SOURCE

        local myconf
        if use kernel_linux; then
                einfo "Selected firewall backend: iptables"
                myconf="--with-firewall=iptables"
        elif use kernel_FreeBSD; then
                if use ipfilter; then
                        einfo "Selected firewall backend: ipfw"
                        myconf="--with-firewall=ipfw"
                else
                        einfo "Selected firewall backend: pf"
                        myconf="--with-firewall=pf"
                fi
        fi

        econf ${myconf}
}

src_install() {
        default
        dodoc examples/*
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
}




Reply via email to