Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/sshguard: ChangeLog sshguard-1.1.ebuild
Date: Sun, 31 Aug 2008 10:12:56
Message-Id: E1KZjvQ-0003o9-5x@stork.gentoo.org
1 hawking 08/08/31 10:12:52
2
3 Modified: ChangeLog
4 Added: sshguard-1.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.8 app-admin/sshguard/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sshguard/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sshguard/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sshguard/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 18 Jul 2008 23:16:24 -0000 1.7
23 +++ ChangeLog 31 Aug 2008 10:12:51 -0000 1.8
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-admin/sshguard
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.7 2008/07/18 23:16:24 cla Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.8 2008/08/31 10:12:51 hawking Exp $
29 +
30 +*sshguard-1.1 (31 Aug 2008)
31 +
32 + 31 Aug 2008; Ali Polatel <hawking@g.o> +sshguard-1.1.ebuild:
33 + Version bump.
34
35 18 Jul 2008; Dawid Węgliński <cla@g.o> sshguard-1.0.ebuild:
36 amd64 stable (bug #225235)
37
38
39
40 1.1 app-admin/sshguard/sshguard-1.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sshguard/sshguard-1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sshguard/sshguard-1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sshguard-1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.1.ebuild,v 1.1 2008/08/31 10:12:51 hawking Exp $
50
51 DESCRIPTION="protects hosts from brute force attacks against ssh"
52 HOMEPAGE="http://sshguard.sourceforge.net/"
53 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
54
55 LICENSE="BSD"
56 SLOT="0"
57 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
58 IUSE="ipfilter kernel_FreeBSD kernel_linux"
59
60 DEPEND="kernel_linux? ( net-firewall/iptables )
61 kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
62 RDEPEND="${DEPEND}
63 virtual/logger"
64
65 src_compile() {
66 local myconf
67 if use kernel_linux; then
68 myconf="--with-firewall=iptables"
69 elif use kernel_FreeBSD; then
70 use ipfilter && myconf="--with-firewall=ipfw" \
71 || myconf="--with-firewall=pf"
72 fi
73
74 econf ${myconf}
75 emake CFLAGS="${CFLAGS}" || die "emake failed"
76 }
77
78 src_install() {
79 emake DESTDIR="${D}" install || die "emake install failed"
80 dodoc README Changes || die "dodoc failed"
81 dodoc examples/* || die "dodoc failed"
82 }