Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nessus-libraries: ChangeLog nessus-libraries-2.3.1-r1.ebuild
Date: Wed, 26 May 2010 16:26:11
Message-Id: 20100526162606.3B5002CEDD@corvid.gentoo.org
1 abcd 10/05/26 16:26:06
2
3 Modified: ChangeLog nessus-libraries-2.3.1-r1.ebuild
4 Log:
5 Bump to EAPI=3, add prefix keywords
6 (Portage version: 2.2_rc67/cvs/Linux i686)
7
8 Revision Changes Path
9 1.88 net-analyzer/nessus-libraries/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog?rev=1.88&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog?rev=1.88&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog?r1=1.87&r2=1.88
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v
18 retrieving revision 1.87
19 retrieving revision 1.88
20 diff -u -r1.87 -r1.88
21 --- ChangeLog 11 Apr 2007 13:41:07 -0000 1.87
22 +++ ChangeLog 26 May 2010 16:26:06 -0000 1.88
23 @@ -1,6 +1,10 @@
24 # ChangeLog for net-analyzer/nessus-libraries
25 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.87 2007/04/11 13:41:07 welp Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.88 2010/05/26 16:26:06 abcd Exp $
29 +
30 + 26 May 2010; Jonathan Callen <abcd@g.o>
31 + nessus-libraries-2.3.1-r1.ebuild:
32 + Bump to EAPI=3, add prefix keywords
33
34 11 Apr 2007; Peter Weller <welp@g.o> nessus-libraries-2.2.9.ebuild:
35 Keyworded ~x86-fbsd wrt bug 172890
36
37
38
39 1.3 net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild?r1=1.2&r2=1.3
44
45 Index: nessus-libraries-2.3.1-r1.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- nessus-libraries-2.3.1-r1.ebuild 26 Mar 2007 19:26:19 -0000 1.2
52 +++ nessus-libraries-2.3.1-r1.ebuild 26 May 2010 16:26:06 -0000 1.3
53 @@ -1,8 +1,10 @@
54 -# Copyright 1999-2007 Gentoo Foundation
55 +# Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild,v 1.2 2007/03/26 19:26:19 grobian Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1-r1.ebuild,v 1.3 2010/05/26 16:26:06 abcd Exp $
59
60 -inherit toolchain-funcs eutils
61 +EAPI="3"
62 +
63 +inherit toolchain-funcs multilib eutils
64
65 DESCRIPTION="A remote security scanner for Linux (nessus-libraries)"
66 HOMEPAGE="http://www.nessus.org/"
67 @@ -10,7 +12,7 @@
68
69 SLOT="0"
70 LICENSE="GPL-2"
71 -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
72 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
73 IUSE=""
74
75 # Hard dep on SSL since libnasl won't compile when this package is emerged -ssl.
76 @@ -20,20 +22,16 @@
77
78 S=${WORKDIR}/${PN}
79
80 -src_unpack() {
81 - unpack ${A}
82 - cd "${S}"
83 -
84 +src_prepare() {
85 epatch "${FILESDIR}"/${P}-ldflags.patch
86 }
87
88 -src_compile() {
89 +src_configure() {
90 export CC=$(tc-getCC)
91 - econf --disable-nessuspcap --with-ssl=/usr/lib || die "econf failed"
92 - emake || die "emake failed"
93 + econf --disable-nessuspcap --with-ssl="${EPREFIX}"/usr/$(get_libdir)
94 }
95
96 src_install() {
97 - make DESTDIR="${D}" install || die "failed to install"
98 + emake -j1 DESTDIR="${D}" install || die "failed to install"
99 dodoc README*
100 }