summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-07 11:30:05 +0000
committerSam James <sam@gentoo.org>2021-01-07 11:33:21 +0000
commit6321e537b72699b715a23be218b36665f332c6f6 (patch)
treecff17e9f67f644e918fee5a72dcf2324108f8ce6 /net-analyzer/hping
parentnet-print/cndrvcups-common-lb: cleanup old (diff)
downloadgentoo-6321e537b72699b715a23be218b36665f332c6f6.tar.gz
gentoo-6321e537b72699b715a23be218b36665f332c6f6.tar.bz2
gentoo-6321e537b72699b715a23be218b36665f332c6f6.zip
net-analyzer/hping: cleanup old
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/hping')
-rw-r--r--net-analyzer/hping/Manifest1
-rw-r--r--net-analyzer/hping/hping-3_pre20051105-r6.ebuild80
2 files changed, 0 insertions, 81 deletions
diff --git a/net-analyzer/hping/Manifest b/net-analyzer/hping/Manifest
index 0c59b8f10d76..c8c4c0d1f202 100644
--- a/net-analyzer/hping/Manifest
+++ b/net-analyzer/hping/Manifest
@@ -1,2 +1 @@
DIST hping-3_pre20141226.zip 648502 BLAKE2B 4c75bdb886a37180a4561a8179e00ea5bb6534e32b6fa749cd53824e36dfbeaa38b1a772b58f61d68056f510a294f6c3363f56705adb75f42fec11f4f4cd8fa1 SHA512 33ca573d66d7f6285f69a060f56a95e7307bc24d6c81b5e1752c72b8487ab9c85ac6e4499f9c4897e2656a67e12d608a0a149ca5502bdcf18cf97c88d4a2309b
-DIST hping3-20051105.tar.gz 584001 BLAKE2B b99b7d2310e1706926ec5c649cd03a8889e3cff36f2a8e1f899799ddb1f4e6e432ab2b83c82b741ab827f715dbf8649a94831e75ef22793c7730e80d49c576c1 SHA512 3b3faa836e70054c8f9f004d876b7eb5f668b64826a6aaf8ca3685619111d9df4eb494a7d38b83cea6cb5f0bd164956461039bf4f73f7c7e90d80cede639b2b3
diff --git a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild b/net-analyzer/hping/hping-3_pre20051105-r6.ebuild
deleted file mode 100644
index 796be56c9934..000000000000
--- a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils multilib toolchain-funcs
-
-MY_P="${PN}${PV//_pre/-}"
-DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer"
-HOMEPAGE="http://www.hping.org"
-SRC_URI="http://www.hping.org/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86"
-IUSE="tcl"
-
-S="${WORKDIR}/${MY_P}"
-
-DEPEND="
- net-libs/libpcap
- tcl? ( dev-lang/tcl:0= )
-"
-RDEPEND="
- ${DEPEND}
-"
-PATCHES=(
- "${FILESDIR}"/${P}.patch
- "${FILESDIR}"/bytesex.h.patch
- "${FILESDIR}"/${P}-tcl.patch
- "${FILESDIR}"/${P}-ldflags.patch
- "${FILESDIR}"/${P}-libtcl.patch
- "${FILESDIR}"/${P}-scan-overflow.patch
- "${FILESDIR}"/${P}-tclsh-proper-escaping.patch
- "${FILESDIR}"/${P}-strlen.patch
-)
-
-src_prepare() {
- default
-
- # Correct hard coded values
- sed -i Makefile.in \
- -e '/^CC=/d' \
- -e '/^AR=/d' \
- -e '/^RANLIB=/d' \
- -e 's:/usr/local/lib:/usr/$(LIBDIR):g' \
- -e 's:-O2:$(CFLAGS):' \
- || die
-
- # Change name from hping2 to hping3
- sed -i docs/hping3.8 \
- -e 's|HPING2|HPING|g' \
- -e 's|hping2|hping|g' \
- || die
-}
-
-src_configure() {
- tc-export CC
-
- # Not an autotools type configure:
- sh configure $(usex tcl '' --no-tcl) || die
-}
-
-src_compile() {
- emake \
- DEBUG="" \
- "CFLAGS=${CFLAGS}" \
- "AR=$(tc-getAR)" \
- "RANLIB=$(tc-getRANLIB)" \
- "LIBDIR=$(get_libdir)"
-}
-
-src_install() {
- dosbin hping3
- dosym /usr/sbin/hping3 /usr/sbin/hping
- dosym /usr/sbin/hping3 /usr/sbin/hping2
-
- newman docs/hping3.8 hping.8
-
- dodoc AUTHORS BUGS CHANGES INSTALL NEWS README TODO
-}