summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-06-25 17:25:55 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-06-25 17:25:55 +0000
commitb7a092b752093c1657edfa1e0b3d743e87d5d67c (patch)
tree2831d004ba00cb1ba9318a0dad0405336902f2dc
parentadded icons installation fixing patch, marked 2.2.2 x86 (diff)
downloadgentoo-2-b7a092b752093c1657edfa1e0b3d743e87d5d67c.tar.gz
gentoo-2-b7a092b752093c1657edfa1e0b3d743e87d5d67c.tar.bz2
gentoo-2-b7a092b752093c1657edfa1e0b3d743e87d5d67c.zip
Security update
-rw-r--r--net-analyzer/tcptraceroute/ChangeLog7
-rw-r--r--net-analyzer/tcptraceroute/Manifest5
-rw-r--r--net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r11
-rw-r--r--net-analyzer/tcptraceroute/files/tcptraceroute-1.4-gentoo.patch10
-rw-r--r--net-analyzer/tcptraceroute/tcptraceroute-1.4-r1.ebuild37
5 files changed, 58 insertions, 2 deletions
diff --git a/net-analyzer/tcptraceroute/ChangeLog b/net-analyzer/tcptraceroute/ChangeLog
index 4dd63ad7ce05..b68af384cfb1 100644
--- a/net-analyzer/tcptraceroute/ChangeLog
+++ b/net-analyzer/tcptraceroute/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/tcptraceroute
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/ChangeLog,v 1.8 2003/04/29 00:40:35 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/ChangeLog,v 1.9 2003/06/25 17:25:55 aliz Exp $
+
+*tcptraceroute-1.4-r1 (25 Jun 2003)
+
+ 25 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Security update. Moving from sbin to bin and making tcptraceroute setuid so that everyone can use it.
*tcptraceroute-1.4 (18 Aug 2002)
diff --git a/net-analyzer/tcptraceroute/Manifest b/net-analyzer/tcptraceroute/Manifest
index 9b8643b7239b..4ccffcbbdd93 100644
--- a/net-analyzer/tcptraceroute/Manifest
+++ b/net-analyzer/tcptraceroute/Manifest
@@ -1,3 +1,6 @@
-MD5 32ed8594fd0e40b8c207a170aba073db ChangeLog 985
+MD5 e6037824ffc6daf5c47c336644901184 ChangeLog 1177
MD5 2d527f37781f6635d271d7eaa645866f tcptraceroute-1.4.ebuild 788
+MD5 84fb629aa5c9d6d112ebc222b90101a4 tcptraceroute-1.4-r1.ebuild 897
MD5 c269183b39d0a5ece16f5f4b41cd8f62 files/digest-tcptraceroute-1.4 68
+MD5 df3a75057763b7cc46e80ac7ab091022 files/tcptraceroute-1.4-gentoo.patch 197
+MD5 c269183b39d0a5ece16f5f4b41cd8f62 files/digest-tcptraceroute-1.4-r1 68
diff --git a/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r1 b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r1
new file mode 100644
index 000000000000..239760bcca0e
--- /dev/null
+++ b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r1
@@ -0,0 +1 @@
+MD5 35c5e7d960f2b073db0109e0004e134e tcptraceroute-1.4.tar.gz 31918
diff --git a/net-analyzer/tcptraceroute/files/tcptraceroute-1.4-gentoo.patch b/net-analyzer/tcptraceroute/files/tcptraceroute-1.4-gentoo.patch
new file mode 100644
index 000000000000..a665b0058225
--- /dev/null
+++ b/net-analyzer/tcptraceroute/files/tcptraceroute-1.4-gentoo.patch
@@ -0,0 +1,10 @@
+--- tcptraceroute-1.4.orig/tcptraceroute.c
++++ tcptraceroute-1.4/tcptraceroute.c
+@@ -2003,6 +2003,6 @@
+
+ defaults();
+ initcapture();
+- seteuid(getuid());
++ setuid(getuid());
+ return trace();
+ }
diff --git a/net-analyzer/tcptraceroute/tcptraceroute-1.4-r1.ebuild b/net-analyzer/tcptraceroute/tcptraceroute-1.4-r1.ebuild
new file mode 100644
index 000000000000..826e00027425
--- /dev/null
+++ b/net-analyzer/tcptraceroute/tcptraceroute-1.4-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/tcptraceroute-1.4-r1.ebuild,v 1.1 2003/06/25 17:25:55 aliz Exp $
+
+inherit eutils
+
+S=${WORKDIR}/${P}
+DESCRIPTION="tcptraceroute is a traceroute implementation using TCP packets"
+SRC_URI="http://michael.toren.net/code/tcptraceroute/${P}.tar.gz"
+HOMEPAGE="http://michael.toren.net/code/tcptraceroute/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~arm"
+
+DEPEND="net-libs/libpcap
+ =net-libs/libnet-1.0*"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ cd ${S}
+ make CFLAGS="$CFLAGS" || die
+}
+
+src_install () {
+ dodir /usr/bin
+ dobin tcptraceroute
+ fperms u+s /usr/bin/tcptraceroute
+
+ doman tcptraceroute.8
+ dodoc examples.txt COPYING README changelog
+ dohtml -r ./
+}