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