Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/lsat: lsat-0.9.7.1-r1.ebuild ChangeLog lsat-0.9.7.1.ebuild
Date: Fri, 27 Aug 2010 05:35:37
Message-Id: 20100827053530.6533B20051@flycatcher.gentoo.org
1 jer 10/08/27 05:35:30
2
3 Modified: ChangeLog
4 Added: lsat-0.9.7.1-r1.ebuild
5 Removed: lsat-0.9.7.1.ebuild
6 Log:
7 Respect LDFLAGS and CFLAGS by Ross Smith (bug #334591).
8
9 (Portage version: 2.2_rc69/cvs/Linux i686)
10
11 Revision Changes Path
12 1.24 app-admin/lsat/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lsat/ChangeLog?rev=1.24&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lsat/ChangeLog?rev=1.24&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lsat/ChangeLog?r1=1.23&r2=1.24
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v
21 retrieving revision 1.23
22 retrieving revision 1.24
23 diff -u -r1.23 -r1.24
24 --- ChangeLog 29 Dec 2008 20:37:14 -0000 1.23
25 +++ ChangeLog 27 Aug 2010 05:35:30 -0000 1.24
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-admin/lsat
28 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.23 2008/12/29 20:37:14 mpagano Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.24 2010/08/27 05:35:30 jer Exp $
32 +
33 +*lsat-0.9.7.1-r1 (27 Aug 2010)
34 +
35 + 27 Aug 2010; Jeroen Roovers <jer@g.o> -lsat-0.9.7.1.ebuild,
36 + +lsat-0.9.7.1-r1.ebuild:
37 + Respect LDFLAGS and CFLAGS by Ross Smith (bug #334591).
38
39 *lsat-0.9.7.1 (29 Dec 2008)
40
41
42
43
44 1.1 app-admin/lsat/lsat-0.9.7.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lsat/lsat-0.9.7.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lsat/lsat-0.9.7.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: lsat-0.9.7.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/lsat-0.9.7.1-r1.ebuild,v 1.1 2010/08/27 05:35:30 jer Exp $
54
55 inherit eutils toolchain-funcs
56
57 DESCRIPTION="The Linux Security Auditing Tool"
58 HOMEPAGE="http://usat.sourceforge.net/"
59 SRC_URI="http://usat.sourceforge.net/code/${P}.tgz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="minimal"
65
66 DEPEND="dev-lang/perl" # pod2man
67 RDEPEND="!minimal? (
68 app-portage/portage-utils
69 net-analyzer/nmap
70 sys-apps/iproute2
71 sys-apps/which
72 sys-process/lsof
73 )"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78 epatch "${FILESDIR}"/${P}-gentoo.patch
79
80 # patch for segmentation fault see bug #184488
81 epatch "${FILESDIR}"/${P}-segfault-fix.patch
82 sed -i Makefile.in \
83 -e '/^LDFLAGS=/d' \
84 -e '/^CFLAGS=/d' \
85 || die "sed Makefile.in"
86 }
87
88 src_compile() {
89 tc-export CC
90 econf
91 emake CFLAGS="${CFLAGS}" all manpage || die "emake failed"
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install installman || die "emake install failed"
96 dodoc README* *.txt
97 dohtml modules.html changelog/changelog.html
98 }