From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nbaudit: ChangeLog nbaudit-1.0-r2.ebuild |
Date: | Thu, 02 Sep 2010 17:59:18 |
Message-Id: | 20100902175913.0332E2004C@flycatcher.gentoo.org |
1 | jer 10/09/02 17:59:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nbaudit-1.0-r2.ebuild |
5 | Log: |
6 | Respect CFLAGS (bug #240860). Respect LDFLAGS (bug #335528). Respect CC. |
7 | |
8 | (Portage version: 2.2_rc72/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.16 net-analyzer/nbaudit/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nbaudit/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nbaudit/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nbaudit/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 28 Oct 2009 04:19:14 -0000 1.15 |
24 | +++ ChangeLog 2 Sep 2010 17:59:12 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-analyzer/nbaudit |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.15 2009/10/28 04:19:14 robbat2 Exp $ |
29 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.16 2010/09/02 17:59:12 jer Exp $ |
31 | + |
32 | +*nbaudit-1.0-r2 (02 Sep 2010) |
33 | + |
34 | + 02 Sep 2010; Jeroen Roovers <jer@g.o> +nbaudit-1.0-r2.ebuild: |
35 | + Respect CFLAGS (bug #240860). Respect LDFLAGS (bug #335528). Respect CC. |
36 | |
37 | 28 Oct 2009; Robin H. Johnson <robbat2@g.o> nbaudit-1.0-r1.ebuild: |
38 | Keyword for ~amd64. |
39 | |
40 | |
41 | |
42 | 1.1 net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: nbaudit-1.0-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild,v 1.1 2010/09/02 17:59:12 jer Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit eutils toolchain-funcs |
56 | |
57 | # It is officially called nat10 but the name conflicts with other projects |
58 | # so I'm following the *BSDs suggestion of calling it nbaudit |
59 | |
60 | MY_P=nat10 |
61 | S=${WORKDIR}/${MY_P} |
62 | DESCRIPTION="NetBIOS file sharing services scanner (nat10)" |
63 | SRC_URI="http://www.tux.org/pub/security/secnet/tools/nat10/${MY_P}.tgz" |
64 | HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10/" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
69 | IUSE="" |
70 | |
71 | DEPEND=">=sys-apps/sed-4" |
72 | |
73 | src_prepare() { |
74 | epatch ${FILESDIR}/${P}-gentoo.diff |
75 | sed -i Makefile \ |
76 | -e 's:-lshadow::' \ |
77 | -e 's|^CFLAGS = |CFLAGS +=|g' \ |
78 | -e 's| $(CFLAGS) -o | $(LDFLAGS) &|g' \ |
79 | || die "sed Makefile" |
80 | } |
81 | |
82 | src_compile() { |
83 | emake CC=$(tc-getCC) all || die "make failed" |
84 | } |
85 | |
86 | src_install () { |
87 | newbin nat nbaudit |
88 | newman nat.1 nbaudit.1 |
89 | dodoc README COPYING |
90 | } |