From d19d20b9872ed723695cbf067ae511cb4a1d6a80 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Thu, 6 Sep 2007 09:02:54 +0000 Subject: Fix man page wrt bug #191293 thanks to Mikael Magnusson. Also fix prestripped binaries wrt bug #191389 (Portage version: 2.1.3.7) --- net-analyzer/traceroute/ChangeLog | 10 +++++- .../traceroute/files/digest-traceroute-2.0.8 | 3 -- .../traceroute/files/digest-traceroute-2.0.8-r1 | 3 ++ .../files/traceroute-2.0.8-prestrip.patch | 11 ++++++ net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild | 39 ++++++++++++++++++++++ net-analyzer/traceroute/traceroute-2.0.8.ebuild | 37 -------------------- 6 files changed, 62 insertions(+), 41 deletions(-) delete mode 100644 net-analyzer/traceroute/files/digest-traceroute-2.0.8 create mode 100644 net-analyzer/traceroute/files/digest-traceroute-2.0.8-r1 create mode 100644 net-analyzer/traceroute/files/traceroute-2.0.8-prestrip.patch create mode 100644 net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild delete mode 100644 net-analyzer/traceroute/traceroute-2.0.8.ebuild (limited to 'net-analyzer/traceroute') diff --git a/net-analyzer/traceroute/ChangeLog b/net-analyzer/traceroute/ChangeLog index 93fd265c7a69..aa0ec5982a53 100644 --- a/net-analyzer/traceroute/ChangeLog +++ b/net-analyzer/traceroute/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/traceroute # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/ChangeLog,v 1.45 2007/09/05 14:44:11 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/ChangeLog,v 1.46 2007/09/06 09:02:54 jokey Exp $ + +*traceroute-2.0.8-r1 (06 Sep 2007) + + 06 Sep 2007; Markus Ullmann + +files/traceroute-2.0.8-prestrip.patch, -traceroute-2.0.8.ebuild, + +traceroute-2.0.8-r1.ebuild: + Fix man page wrt bug #191293 thanks to Mikael Magnusson. Also fix + prestripped binaries wrt bug #191389 05 Sep 2007; Roy Marples traceroute-2.0.8.ebuild: Version 2 looks like it's Linux only, so FreeBSD keywords are dropped. diff --git a/net-analyzer/traceroute/files/digest-traceroute-2.0.8 b/net-analyzer/traceroute/files/digest-traceroute-2.0.8 deleted file mode 100644 index d70ea44f5abd..000000000000 --- a/net-analyzer/traceroute/files/digest-traceroute-2.0.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d3dedd19c4d72d3251384ff9d53476ad traceroute-2.0.8.tar.gz 56759 -RMD160 c2ee8dae2805c36d50f13bf365686965585269a7 traceroute-2.0.8.tar.gz 56759 -SHA256 e5209f4fa11f12aa413fd56d9a4e4b0807a1f18241173c9ddcd7ef145da0fc16 traceroute-2.0.8.tar.gz 56759 diff --git a/net-analyzer/traceroute/files/digest-traceroute-2.0.8-r1 b/net-analyzer/traceroute/files/digest-traceroute-2.0.8-r1 new file mode 100644 index 000000000000..d70ea44f5abd --- /dev/null +++ b/net-analyzer/traceroute/files/digest-traceroute-2.0.8-r1 @@ -0,0 +1,3 @@ +MD5 d3dedd19c4d72d3251384ff9d53476ad traceroute-2.0.8.tar.gz 56759 +RMD160 c2ee8dae2805c36d50f13bf365686965585269a7 traceroute-2.0.8.tar.gz 56759 +SHA256 e5209f4fa11f12aa413fd56d9a4e4b0807a1f18241173c9ddcd7ef145da0fc16 traceroute-2.0.8.tar.gz 56759 diff --git a/net-analyzer/traceroute/files/traceroute-2.0.8-prestrip.patch b/net-analyzer/traceroute/files/traceroute-2.0.8-prestrip.patch new file mode 100644 index 000000000000..a0b6822660cf --- /dev/null +++ b/net-analyzer/traceroute/files/traceroute-2.0.8-prestrip.patch @@ -0,0 +1,11 @@ +--- ./Make.rules.orig 2007-08-29 16:37:23.000000000 +0200 ++++ ./Make.rules 2007-09-06 10:54:37.502085380 +0200 +@@ -48,7 +48,7 @@ + gcc = $(findstring gcc,$(CC)) + $(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O)) + $(call set, CPPFLAGS, ) +-$(call set, LDFLAGS, -s) ++$(call set, LDFLAGS, ) + $(call set, LIBS, ) + + diff --git a/net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild b/net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild new file mode 100644 index 000000000000..a9edf61fc98d --- /dev/null +++ b/net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-2.0.8-r1.ebuild,v 1.1 2007/09/06 09:02:54 jokey Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Utility to trace the route of IP packets" +HOMEPAGE="http://dmitry.butskoy.name/traceroute" +SRC_URI="http://www.odu.neva.ru/buc/traceroute/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="static" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-prestrip.patch + use static && append-ldflags -static +} + +src_compile() { + tc-export CC AR RANLIB + emake env=yes || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + prefix="/usr" \ + libdir="/usr/$(get_libdir)" \ + mandir="/usr/share/man" \ + install \ + || die + dodoc ChangeLog CREDITS README TODO +} diff --git a/net-analyzer/traceroute/traceroute-2.0.8.ebuild b/net-analyzer/traceroute/traceroute-2.0.8.ebuild deleted file mode 100644 index 45540cd1c08b..000000000000 --- a/net-analyzer/traceroute/traceroute-2.0.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-2.0.8.ebuild,v 1.2 2007/09/05 14:44:11 uberlord Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Utility to trace the route of IP packets" -HOMEPAGE="http://dmitry.butskoy.name/traceroute" -SRC_URI="http://www.odu.neva.ru/buc/traceroute/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="static" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - use static && append-ldflags -static -} - -src_compile() { - tc-export CC AR RANLIB - emake env=yes || die -} - -src_install() { - emake \ - DESTDIR="${D}" \ - prefix="/usr" \ - libdir="/usr/$(get_libdir)" \ - install \ - || die - dodoc ChangeLog CREDITS README TODO -} -- cgit v1.2.3-65-gdbad