1 |
jer 13/10/01 15:08:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hping-3_pre20051105-r4.ebuild |
5 |
Log: |
6 |
Clean up patches. Add dev-lang/tcl-8.6 support (maybe bug #486664). |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 net-analyzer/hping/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hping/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 2 Mar 2012 17:45:39 -0000 1.58 |
24 |
+++ ChangeLog 1 Oct 2013 15:08:49 -0000 1.59 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-analyzer/hping |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.58 2012/03/02 17:45:39 jer Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.59 2013/10/01 15:08:49 jer Exp $ |
31 |
+ |
32 |
+*hping-3_pre20051105-r4 (01 Oct 2013) |
33 |
+ |
34 |
+ 01 Oct 2013; Jeroen Roovers <jer@g.o> +hping-3_pre20051105-r4.ebuild, |
35 |
+ files/hping-3_pre20051105-ldflags.patch, |
36 |
+ files/hping-3_pre20051105-libtcl.patch, |
37 |
+ files/hping-3_pre20051105-scan-overflow.patch, |
38 |
+ files/hping-3_pre20051105-tcl.patch, files/hping-3_pre20051105.patch: |
39 |
+ Clean up patches. Add dev-lang/tcl-8.6 support (maybe bug #486664). |
40 |
|
41 |
02 Mar 2012; Jeroen Roovers <jer@g.o> -hping-2.0.0_rc3-r1.ebuild, |
42 |
-hping-2.0.0_rc3-r2.ebuild, -files/hping-2.0.0_rc3-gentoo.patch, |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-analyzer/hping/hping-3_pre20051105-r4.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r4.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r4.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: hping-3_pre20051105-r4.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2013 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r4.ebuild,v 1.1 2013/10/01 15:08:49 jer Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
|
59 |
inherit eutils multilib toolchain-funcs |
60 |
|
61 |
MY_P="${PN}${PV//_pre/-}" |
62 |
DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer" |
63 |
HOMEPAGE="http://www.hping.org" |
64 |
SRC_URI="http://www.hping.org/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" |
69 |
IUSE="tcl" |
70 |
|
71 |
S="${WORKDIR}/${MY_P}" |
72 |
|
73 |
DEPEND="net-libs/libpcap |
74 |
tcl? ( dev-lang/tcl )" |
75 |
RDEPEND="${DEPEND}" |
76 |
|
77 |
src_prepare() { |
78 |
epatch \ |
79 |
"${FILESDIR}"/${P}.patch \ |
80 |
"${FILESDIR}"/bytesex.h.patch \ |
81 |
"${FILESDIR}"/${P}-tcl.patch \ |
82 |
"${FILESDIR}"/${P}-ldflags.patch \ |
83 |
"${FILESDIR}"/${P}-libtcl.patch \ |
84 |
"${FILESDIR}"/${P}-scan-overflow.patch |
85 |
|
86 |
# Correct hard coded values |
87 |
sed -i Makefile.in \ |
88 |
-e '/^CC=/d' \ |
89 |
-e '/^AR=/d' \ |
90 |
-e '/^RANLIB=/d' \ |
91 |
-e 's:/usr/local/lib:/usr/$(LIBDIR):g' \ |
92 |
-e 's:-O2:$(CFLAGS):' \ |
93 |
|| die "sed Makefile.in failed" |
94 |
|
95 |
# Change name from hping2 to hping3 |
96 |
sed -i docs/hping3.8 \ |
97 |
-e 's|HPING2|HPING|g' \ |
98 |
-e 's|hping2|hping|g' \ |
99 |
|| die "sed hping3.8 failed" |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
tc-export CC |
104 |
|
105 |
# Not an autotools type configure: |
106 |
sh configure $(use tcl || echo --no-tcl) || die "configure failed" |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
emake \ |
111 |
DEBUG="" \ |
112 |
"CFLAGS=${CFLAGS}" \ |
113 |
"AR=$(tc-getAR)" \ |
114 |
"RANLIB=$(tc-getRANLIB)" \ |
115 |
"LIBDIR=$(get_libdir)" \ |
116 |
|| die "emake failed" |
117 |
} |
118 |
|
119 |
src_install () { |
120 |
dosbin hping3 |
121 |
dosym /usr/sbin/hping3 /usr/sbin/hping |
122 |
dosym /usr/sbin/hping3 /usr/sbin/hping2 |
123 |
|
124 |
newman docs/hping3.8 hping.8 |
125 |
|
126 |
dodoc INSTALL NEWS README TODO AUTHORS BUGS CHANGES |
127 |
} |