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/hping: ChangeLog hping-3_pre20051105-r1.ebuild hping-3_pre20051105.ebuild
Date: Tue, 22 Dec 2009 20:26:15
Message-Id: E1NNBIw-0000hu-Ic@stork.gentoo.org
1 jer 09/12/22 20:26:02
2
3 Modified: ChangeLog hping-3_pre20051105.ebuild
4 Added: hping-3_pre20051105-r1.ebuild
5 Log:
6 Add tcl8.5 patch (stupid configure script). Respect LDFLAGS. Call epatch just once. Call sed just once. Respect libdir. Do not call econf but configure. Readd mysteriously disappearing keywords.
7 (Portage version: 2.2_rc60/cvs/Linux i686)
8
9 Revision Changes Path
10 1.45 net-analyzer/hping/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 6 Sep 2007 16:42:08 -0000 1.44
23 +++ ChangeLog 22 Dec 2009 20:26:02 -0000 1.45
24 @@ -1,6 +1,15 @@
25 # ChangeLog for net-analyzer/hping
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.44 2007/09/06 16:42:08 jokey Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.45 2009/12/22 20:26:02 jer Exp $
30 +
31 +*hping-3_pre20051105-r1 (22 Dec 2009)
32 +
33 + 22 Dec 2009; Jeroen Roovers <jer@g.o> hping-3_pre20051105.ebuild,
34 + +hping-3_pre20051105-r1.ebuild, +files/hping-3_pre20051105-ldflags.patch,
35 + +files/hping-3_pre20051105-tcl.patch:
36 + Add tcl8.5 patch (stupid configure script). Respect LDFLAGS. Call epatch
37 + just once. Call sed just once. Respect libdir. Do not call econf but
38 + configure. Readd mysteriously disappearing keywords.
39
40 06 Sep 2007; Markus Ullmann <jokey@g.o> -hping-2.0.0_rc2-r1.ebuild,
41 -hping-2.0.0_rc3.ebuild:
42
43
44
45 1.5 net-analyzer/hping/hping-3_pre20051105.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?rev=1.5&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?rev=1.5&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?r1=1.4&r2=1.5
50
51 Index: hping-3_pre20051105.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v
54 retrieving revision 1.4
55 retrieving revision 1.5
56 diff -u -r1.4 -r1.5
57 --- hping-3_pre20051105.ebuild 30 Jul 2007 16:25:59 -0000 1.4
58 +++ hping-3_pre20051105.ebuild 22 Dec 2009 20:26:02 -0000 1.5
59 @@ -1,6 +1,6 @@
60 -# Copyright 1999-2007 Gentoo Foundation
61 +# Copyright 1999-2009 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v 1.4 2007/07/30 16:25:59 dertobi123 Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v 1.5 2009/12/22 20:26:02 jer Exp $
65
66 inherit eutils toolchain-funcs
67
68 @@ -11,7 +11,7 @@
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 -KEYWORDS="~sparc ~x86"
73 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
74 IUSE="tcl debug"
75
76 S="${WORKDIR}/${MY_P}"
77
78
79
80 1.1 net-analyzer/hping/hping-3_pre20051105-r1.ebuild
81
82 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild?rev=1.1&content-type=text/plain
84
85 Index: hping-3_pre20051105-r1.ebuild
86 ===================================================================
87 # Copyright 1999-2009 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild,v 1.1 2009/12/22 20:26:02 jer Exp $
90
91 inherit eutils multilib toolchain-funcs
92
93 MY_P="${PN}${PV//_pre/-}"
94 DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer"
95 HOMEPAGE="http://www.hping.org"
96 SRC_URI="http://www.hping.org/${MY_P}.tar.gz"
97
98 LICENSE="GPL-2"
99 SLOT="0"
100 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
101 IUSE="tcl debug"
102
103 S="${WORKDIR}/${MY_P}"
104
105 DEPEND="net-libs/libpcap
106 tcl? ( dev-lang/tcl )"
107
108 src_unpack() {
109 unpack ${A}
110 cd "${S}"
111
112 epatch \
113 "${FILESDIR}"/${P}.patch \
114 "${FILESDIR}"/bytesex.h.patch \
115 "${FILESDIR}"/${P}-tcl.patch \
116 "${FILESDIR}"/${P}-ldflags.patch
117
118 # Correct hard coded values
119 sed -i Makefile.in \
120 -e "9s:gcc:$(tc-getCC):" \
121 -e "10s:/usr/bin/ar:$(tc-getAR):" \
122 -e "11s:/usr/bin/ranlib:$(tc-getRANLIB):" \
123 -e "s:/usr/local/lib:/usr/$(get_libdir):g" \
124 -e "12s:-O2:${CFLAGS}:"
125 }
126
127 src_compile() {
128 myconf=""
129 use tcl || myconf="--no-tcl"
130
131 # Not an autotools type configure:
132 sh configure ${myconf} || die "configure failed"
133
134 if use debug; then
135 emake || die "make failed"
136 else
137 emake DEBUG="" || die "make failed"
138 fi
139 }
140
141 src_install () {
142 dosbin hping3
143 dosym /usr/sbin/hping3 /usr/sbin/hping
144 dosym /usr/sbin/hping3 /usr/sbin/hping2
145
146 doman docs/hping3.8
147
148 dodoc INSTALL NEWS README TODO AUTHORS BUGS CHANGES
149 }