Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r3.ebuild nsat-1.5-r2.ebuild nsat-1.5-r1.ebuild
Date: Sun, 06 Jul 2014 02:07:02
Message-Id: 20140706020657.57C0320051@flycatcher.gentoo.org
1 jer 14/07/06 02:06:57
2
3 Modified: ChangeLog
4 Added: nsat-1.5-r3.ebuild
5 Removed: nsat-1.5-r2.ebuild nsat-1.5-r1.ebuild
6 Log:
7 Fix a segmentation fault with the -n option.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.25 net-analyzer/nsat/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.25&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.25&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.24&r2=1.25
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
21 retrieving revision 1.24
22 retrieving revision 1.25
23 diff -u -r1.24 -r1.25
24 --- ChangeLog 5 Jul 2014 17:19:54 -0000 1.24
25 +++ ChangeLog 6 Jul 2014 02:06:56 -0000 1.25
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/nsat
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.24 2014/07/05 17:19:54 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.25 2014/07/06 02:06:56 jer Exp $
31 +
32 +*nsat-1.5-r3 (06 Jul 2014)
33 +
34 + 06 Jul 2014; Jeroen Roovers <jer@g.o> -nsat-1.5-r1.ebuild,
35 + -nsat-1.5-r2.ebuild, +nsat-1.5-r3.ebuild, +files/nsat-1.5-va_list.patch:
36 + Fix a segmentation fault with the -n option.
37
38 *nsat-1.5-r2 (05 Jul 2014)
39
40
41
42
43 1.1 net-analyzer/nsat/nsat-1.5-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nsat-1.5-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r3.ebuild,v 1.1 2014/07/06 02:06:57 jer Exp $
53
54 EAPI=5
55 inherit autotools eutils toolchain-funcs
56
57 DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
58 HOMEPAGE="http://nsat.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/nsat/${P}.tgz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
64 IUSE="X"
65
66 RDEPEND="
67 X? (
68 x11-libs/libX11
69 dev-lang/tk
70 )
71 dev-libs/libmix
72 net-libs/libpcap
73 "
74 DEPEND="$RDEPEND"
75
76 S="${WORKDIR}/${PN}"
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${P}-configure.patch
80 epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
81 epatch "${FILESDIR}"/${P}-strip.patch
82 epatch "${FILESDIR}"/${P}-misc.patch
83 epatch "${FILESDIR}"/${P}-va_list.patch
84 use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
85
86 sed -i \
87 -e "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
88 nsat.conf || die
89 sed -i -e "s:/usr/local:/usr:g" tools/xnsat || die
90 sed -i \
91 -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
92 -e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
93 src/lang.h || die
94
95 eautoreconf
96 }
97
98 src_configure() {
99 tc-export CC
100 econf $(use_with X x)
101 }
102
103 src_compile() {
104 emake MIXOBJ=-lmix++
105 }
106
107 src_install () {
108 dobin nsat smb-ns
109 use X && dobin tools/xnsat
110
111 insinto /usr/share/nsat
112 doins nsat.cgi
113
114 insinto /etc/nsat
115 doins nsat.conf
116
117 dodoc README doc/CHANGES
118 doman doc/nsat.8
119 }