summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-29 23:29:38 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-29 23:29:38 +0000
commit975a4865ec4520b0c428a643e616eb84cf741fc0 (patch)
tree0befeac1dcae43fbadb152e215f845a38faa0a2c /net-analyzer/traceroute
parentmark stable on amd64 (diff)
downloadhistorical-975a4865ec4520b0c428a643e616eb84cf741fc0.tar.gz
historical-975a4865ec4520b0c428a643e616eb84cf741fc0.tar.bz2
historical-975a4865ec4520b0c428a643e616eb84cf741fc0.zip
setuid fix #34477
Diffstat (limited to 'net-analyzer/traceroute')
-rw-r--r--net-analyzer/traceroute/ChangeLog7
-rw-r--r--net-analyzer/traceroute/files/digest-traceroute-1.4_p12-r21
-rw-r--r--net-analyzer/traceroute/traceroute-1.4_p12-r2.ebuild51
3 files changed, 58 insertions, 1 deletions
diff --git a/net-analyzer/traceroute/ChangeLog b/net-analyzer/traceroute/ChangeLog
index a02862b9244d..648ccb693532 100644
--- a/net-analyzer/traceroute/ChangeLog
+++ b/net-analyzer/traceroute/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/traceroute
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/ChangeLog,v 1.15 2003/11/21 16:00:07 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/ChangeLog,v 1.16 2003/11/29 23:29:38 vapier Exp $
+
+*traceroute-1.4_p12-r2 (29 Nov 2003)
+
+ 29 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
+ No longer setuid by default #34477.
21 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> traceroute-1.4_p12-r1.ebuild :
Added patch to optionally resolve target ip. Patch submitted by Eldad Zack <eldad@stoneshaft.ath.cx> in #31805.
diff --git a/net-analyzer/traceroute/files/digest-traceroute-1.4_p12-r2 b/net-analyzer/traceroute/files/digest-traceroute-1.4_p12-r2
new file mode 100644
index 000000000000..d4bcb6358e93
--- /dev/null
+++ b/net-analyzer/traceroute/files/digest-traceroute-1.4_p12-r2
@@ -0,0 +1 @@
+MD5 964d599ef696efccdeebe7721cd4828d traceroute-1.4a12.tar.gz 74917
diff --git a/net-analyzer/traceroute/traceroute-1.4_p12-r2.ebuild b/net-analyzer/traceroute/traceroute-1.4_p12-r2.ebuild
new file mode 100644
index 000000000000..1e3788ee818e
--- /dev/null
+++ b/net-analyzer/traceroute/traceroute-1.4_p12-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-1.4_p12-r2.ebuild,v 1.1 2003/11/29 23:29:38 vapier Exp $
+
+inherit eutils gnuconfig
+
+MY_P=${PN}-1.4a12
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Utility to trace the route of IP packets"
+HOMEPAGE="http://ee.lbl.gov/"
+SRC_URI="ftp://ee.lbl.gov/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 ppc sparc mips amd64"
+
+RDEPEND="virtual/glibc"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use sparc && epatch ${FILESDIR}/traceroute-1.4a12.patch
+ epatch ${FILESDIR}/traceroute-1.4-target-resolv.patch
+}
+
+src_compile() {
+ # fixes bug #21122
+ # -taviso
+ use alpha && gnuconfig_update
+ use amd64 && gnuconfig_update
+
+ # assume linux by default #26699
+ # -taviso
+ sed -i 's/t="generic"/t="linux"/g' ${S}/configure.in
+ autoreconf
+
+ econf || die
+ emake || die
+}
+
+src_install () {
+ dodir /usr/sbin
+ make DESTDIR=${D} install || die
+ fperms 0755 /usr/sbin/traceroute
+
+ doman traceroute.8
+ dodoc CHANGES INSTALL
+}