From 6b0530a4662a35b10f87a183e1b11fb6ef13cf69 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 7 Jul 2020 09:59:00 +0200 Subject: net-analyzer/lft: Remove strip call Makefile.in Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://bugs.gentoo.org/731222 Signed-off-by: Jeroen Roovers --- net-analyzer/lft/files/lft-3.91-strip.patch | 11 +++++++++++ net-analyzer/lft/lft-3.91-r1.ebuild | 30 +++++++++++++++++++++++++++++ net-analyzer/lft/lft-3.91.ebuild | 28 --------------------------- 3 files changed, 41 insertions(+), 28 deletions(-) create mode 100644 net-analyzer/lft/files/lft-3.91-strip.patch create mode 100644 net-analyzer/lft/lft-3.91-r1.ebuild delete mode 100644 net-analyzer/lft/lft-3.91.ebuild (limited to 'net-analyzer/lft') diff --git a/net-analyzer/lft/files/lft-3.91-strip.patch b/net-analyzer/lft/files/lft-3.91-strip.patch new file mode 100644 index 000000000000..56657f114b60 --- /dev/null +++ b/net-analyzer/lft/files/lft-3.91-strip.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -51,8 +51,6 @@ + + install: lft lft.8 whob whob.8 + @echo "LFT and WhoB" +- @echo " \_Stripping binaries" +- @$(STRIP) lft whob + @echo " \_Copying files to their intended destinations" + @test -d $(DESTDIR)$(bindir)/. || $(MKDIR) $(DESTDIR)$(bindir) + $(INSTALL) lft $(DESTDIR)$(bindir)/lft diff --git a/net-analyzer/lft/lft-3.91-r1.ebuild b/net-analyzer/lft/lft-3.91-r1.ebuild new file mode 100644 index 000000000000..576eb0a3cc0b --- /dev/null +++ b/net-analyzer/lft/lft-3.91-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Layer Four Traceroute (LFT) and WhoB" +HOMEPAGE="http://pwhois.org/lft/" +SRC_URI="http://pwhois.org/get/${P}.tar.gz" + +LICENSE="VOSTROM" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND=" + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +DOCS=( CHANGELOG README TODO ) +PATCHES=( + "${FILESDIR}"/${PN}-3.91-strip.patch +) + +src_prepare() { + sed -i \ + -e 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' \ + configure config/acconfig.h.in || die + default +} diff --git a/net-analyzer/lft/lft-3.91.ebuild b/net-analyzer/lft/lft-3.91.ebuild deleted file mode 100644 index 3d32b1582d59..000000000000 --- a/net-analyzer/lft/lft-3.91.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Layer Four Traceroute (LFT) and WhoB" -HOMEPAGE="http://pwhois.org/lft/" -SRC_URI="http://pwhois.org/get/${P}.tar.gz" - -LICENSE="VOSTROM" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -DEPEND=" - net-libs/libpcap -" -RDEPEND=" - ${DEPEND} -" -DOCS=( CHANGELOG README TODO ) - -src_prepare() { - sed -i -e 's:strip:true:g' Makefile.in || die - sed -i \ - -e 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' \ - configure config/acconfig.h.in || die - default -} -- cgit v1.2.3-65-gdbad