diff options
Diffstat (limited to 'net-analyzer/hping/hping-3_pre20141226.ebuild')
-rw-r--r-- | net-analyzer/hping/hping-3_pre20141226.ebuild | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/net-analyzer/hping/hping-3_pre20141226.ebuild b/net-analyzer/hping/hping-3_pre20141226.ebuild index 3c3a3f166ea6..ea7237270ec2 100644 --- a/net-analyzer/hping/hping-3_pre20141226.ebuild +++ b/net-analyzer/hping/hping-3_pre20141226.ebuild @@ -1,28 +1,27 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils multilib toolchain-funcs +EAPI=7 +inherit flag-o-matic toolchain-funcs + +HPING_COMMIT="3547c7691742c6eaa31f8402e0ccbb81387c1b99" DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer" HOMEPAGE="http://www.hping.org" -HPING_COMMIT="3547c7691742c6eaa31f8402e0ccbb81387c1b99" -SRC_URI="https://github.com/antirez/${PN}/archive/${HPING_COMMIT}.zip -> ${P}.zip" +SRC_URI="https://github.com/antirez/${PN}/archive/${HPING_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${HPING_COMMIT}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc sparc x86" IUSE="tcl" -S=${WORKDIR}/${PN}-${HPING_COMMIT} - DEPEND=" net-libs/libpcap tcl? ( dev-lang/tcl:0= ) " -RDEPEND=" - ${DEPEND} -" +RDEPEND="${DEPEND}" + PATCHES=( "${FILESDIR}"/${PN}-3_pre20051105-libtcl.patch "${FILESDIR}"/${PN}-3_pre20051105-tcl.patch @@ -37,6 +36,9 @@ PATCHES=( ) src_configure() { + # bug #861161 + filter-lto + tc-export CC # Not an autotools type configure: @@ -52,7 +54,7 @@ src_compile() { "LIBDIR=$(get_libdir)" } -src_install () { +src_install() { dosbin hping3 dosym hping3 /usr/sbin/hping dosym hping3 /usr/sbin/hping2 |