Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hping/
Date: Thu, 07 Jan 2021 11:33:36
Message-Id: 1610019201.6321e537b72699b715a23be218b36665f332c6f6.sam@gentoo
1 commit: 6321e537b72699b715a23be218b36665f332c6f6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 11:30:05 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 11:33:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6321e537
7
8 net-analyzer/hping: cleanup old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-analyzer/hping/Manifest | 1 -
14 net-analyzer/hping/hping-3_pre20051105-r6.ebuild | 80 ------------------------
15 2 files changed, 81 deletions(-)
16
17 diff --git a/net-analyzer/hping/Manifest b/net-analyzer/hping/Manifest
18 index 0c59b8f10d7..c8c4c0d1f20 100644
19 --- a/net-analyzer/hping/Manifest
20 +++ b/net-analyzer/hping/Manifest
21 @@ -1,2 +1 @@
22 DIST hping-3_pre20141226.zip 648502 BLAKE2B 4c75bdb886a37180a4561a8179e00ea5bb6534e32b6fa749cd53824e36dfbeaa38b1a772b58f61d68056f510a294f6c3363f56705adb75f42fec11f4f4cd8fa1 SHA512 33ca573d66d7f6285f69a060f56a95e7307bc24d6c81b5e1752c72b8487ab9c85ac6e4499f9c4897e2656a67e12d608a0a149ca5502bdcf18cf97c88d4a2309b
23 -DIST hping3-20051105.tar.gz 584001 BLAKE2B b99b7d2310e1706926ec5c649cd03a8889e3cff36f2a8e1f899799ddb1f4e6e432ab2b83c82b741ab827f715dbf8649a94831e75ef22793c7730e80d49c576c1 SHA512 3b3faa836e70054c8f9f004d876b7eb5f668b64826a6aaf8ca3685619111d9df4eb494a7d38b83cea6cb5f0bd164956461039bf4f73f7c7e90d80cede639b2b3
24
25 diff --git a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild b/net-analyzer/hping/hping-3_pre20051105-r6.ebuild
26 deleted file mode 100644
27 index 796be56c993..00000000000
28 --- a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild
29 +++ /dev/null
30 @@ -1,80 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -inherit eutils multilib toolchain-funcs
36 -
37 -MY_P="${PN}${PV//_pre/-}"
38 -DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer"
39 -HOMEPAGE="http://www.hping.org"
40 -SRC_URI="http://www.hping.org/${MY_P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86"
45 -IUSE="tcl"
46 -
47 -S="${WORKDIR}/${MY_P}"
48 -
49 -DEPEND="
50 - net-libs/libpcap
51 - tcl? ( dev-lang/tcl:0= )
52 -"
53 -RDEPEND="
54 - ${DEPEND}
55 -"
56 -PATCHES=(
57 - "${FILESDIR}"/${P}.patch
58 - "${FILESDIR}"/bytesex.h.patch
59 - "${FILESDIR}"/${P}-tcl.patch
60 - "${FILESDIR}"/${P}-ldflags.patch
61 - "${FILESDIR}"/${P}-libtcl.patch
62 - "${FILESDIR}"/${P}-scan-overflow.patch
63 - "${FILESDIR}"/${P}-tclsh-proper-escaping.patch
64 - "${FILESDIR}"/${P}-strlen.patch
65 -)
66 -
67 -src_prepare() {
68 - default
69 -
70 - # Correct hard coded values
71 - sed -i Makefile.in \
72 - -e '/^CC=/d' \
73 - -e '/^AR=/d' \
74 - -e '/^RANLIB=/d' \
75 - -e 's:/usr/local/lib:/usr/$(LIBDIR):g' \
76 - -e 's:-O2:$(CFLAGS):' \
77 - || die
78 -
79 - # Change name from hping2 to hping3
80 - sed -i docs/hping3.8 \
81 - -e 's|HPING2|HPING|g' \
82 - -e 's|hping2|hping|g' \
83 - || die
84 -}
85 -
86 -src_configure() {
87 - tc-export CC
88 -
89 - # Not an autotools type configure:
90 - sh configure $(usex tcl '' --no-tcl) || die
91 -}
92 -
93 -src_compile() {
94 - emake \
95 - DEBUG="" \
96 - "CFLAGS=${CFLAGS}" \
97 - "AR=$(tc-getAR)" \
98 - "RANLIB=$(tc-getRANLIB)" \
99 - "LIBDIR=$(get_libdir)"
100 -}
101 -
102 -src_install() {
103 - dosbin hping3
104 - dosym /usr/sbin/hping3 /usr/sbin/hping
105 - dosym /usr/sbin/hping3 /usr/sbin/hping2
106 -
107 - newman docs/hping3.8 hping.8
108 -
109 - dodoc AUTHORS BUGS CHANGES INSTALL NEWS README TODO
110 -}