From 4e0c6f838c7b880ce1d3de37ba91393eb67c5151 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Wed, 17 Feb 2010 15:32:35 +0000 Subject: Drop per bug #247940. --- net-analyzer/ttt/ChangeLog | 57 ------------------- net-analyzer/ttt/Manifest | 7 --- net-analyzer/ttt/files/ttt-1.8-linux-sll.patch | 79 -------------------------- net-analyzer/ttt/files/ttt-1.8-pcap.patch | 11 ---- net-analyzer/ttt/files/ttt-gcc4.diff | 22 ------- net-analyzer/ttt/metadata.xml | 6 -- net-analyzer/ttt/ttt-1.8.1-r1.ebuild | 47 --------------- 7 files changed, 229 deletions(-) delete mode 100644 net-analyzer/ttt/ChangeLog delete mode 100644 net-analyzer/ttt/Manifest delete mode 100644 net-analyzer/ttt/files/ttt-1.8-linux-sll.patch delete mode 100644 net-analyzer/ttt/files/ttt-1.8-pcap.patch delete mode 100644 net-analyzer/ttt/files/ttt-gcc4.diff delete mode 100644 net-analyzer/ttt/metadata.xml delete mode 100644 net-analyzer/ttt/ttt-1.8.1-r1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/ttt/ChangeLog b/net-analyzer/ttt/ChangeLog deleted file mode 100644 index d8643d41655b..000000000000 --- a/net-analyzer/ttt/ChangeLog +++ /dev/null @@ -1,57 +0,0 @@ -# ChangeLog for net-analyzer/ttt -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ttt/ChangeLog,v 1.15 2007/09/06 18:49:40 jokey Exp $ - - 06 Sep 2007; Markus Ullmann -ttt-1.8.1.ebuild: - Cleanup - - 22 Jul 2007; ttt-1.8.1.ebuild, ttt-1.8.1-r1.ebuild: - Removed virtual/x11 dependency. - - 09 Jul 2007; Raúl Porcel ttt-1.8.1-r1.ebuild: - x86 stable - - 20 Nov 2006; Cedric Krier ttt-1.8.1-r1.ebuild: - remove prepall for bug #140699 - - 17 Feb 2006; Markus Ullmann ttt-1.8.1.ebuild, - ttt-1.8.1-r1.ebuild: - Removing virtual/libpcap wrt bug #117898 and porting to modular X - -*ttt-1.8.1-r1 (19 Jan 2006) - - 19 Jan 2006; Marcelo Goes -ttt-1.8.ebuild, - +ttt-1.8.1-r1.ebuild: - Make modular X friendly. - - 19 Jul 2005; David Holm ttt-1.8.1.ebuild: - Added to ~ppc. - - 14 May 2005; Marcelo Goes ttt-1.8.1.ebuild: - Marked x86 stable. - -*ttt-1.8.1 (12 Apr 2005) - - 12 Apr 2005; Aaron Walker +files/ttt-gcc4.diff, - +ttt-1.8.1.ebuild: - Version bump for bug 87980; added gcc4 patch from debian which removes the - icky requirements on using -Wwrite-strings -fwritable-strings. - - 29 Jan 2005; Daniel Black ttt-1.8.ebuild: - changed net-libs/libpcap depend to virtual/libcap - - 09 Jul 2004; Eldad Zack ttt-1.8.ebuild: - marked x86 stable - - 01 Jul 2004; Jon Hood ttt-1.8.ebuild: - change virtual/glibc to virtual/libc - - 27 Apr 2004; Aron Griffis ttt-1.8.ebuild: - Add inherit eutils - -*ttt-1.8 (05 Mar 2004) - - 05 Mar 2004; Michael Boman ttt-1.8.ebuild, - files/ttt-1.8-linux-sll.patch, files/ttt-1.8-pcap.patch: - New ebuild, submitted by Jochen . Closes 40958. - diff --git a/net-analyzer/ttt/Manifest b/net-analyzer/ttt/Manifest deleted file mode 100644 index 1413fc2e36ae..000000000000 --- a/net-analyzer/ttt/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX ttt-1.8-linux-sll.patch 2203 RMD160 6a436ef3d7f3642cb61527881f9bc379341edfa5 SHA1 8e808457f9e41dbbc166de07dea5b49cc55e873b SHA256 2197bd83dab14096d2dffcebf707cb320743e84721f9e45abf9cb939761a534c -AUX ttt-1.8-pcap.patch 297 RMD160 e4e1c16aae56c5347de5219c7fc0ae170eb31b1e SHA1 13cc61a6127eb8570dd79832de4ed149ce6f8fc7 SHA256 02c51e8fa9fd4eb62abded6eb440c6da0656373e314277749273b79edc3616d8 -AUX ttt-gcc4.diff 683 RMD160 438e632225d46e174ab2628cac0d08a4adb6ad45 SHA1 10e0355a7e21dcae566e95151c2679d6135c3887 SHA256 9fb9f71ebd8f388e7c045e3965d60c00439f79b802f75352a70d54d2d8c78c82 -DIST ttt-1.8.1.tar.gz 135067 RMD160 9ca229376f6403f9a2b38edb94f0bb56af66bbea SHA1 4ed6ed74e4f304459ee546d2e614f1dadb0baada SHA256 c0e0bc55a3460eb91a4ad6c7160eb5e1f0c15d8d3f0cfb15ca222fc3db1369f6 -EBUILD ttt-1.8.1-r1.ebuild 1243 RMD160 06e46f5d2abd46aab6fde296d158b35a920396a7 SHA1 d3206798afbd50376fdc3968ad22084976fd9690 SHA256 6b01f60389e26de3c6f2b99a8a8318807eb9d3e6153ff2365a01a31a783ae7d9 -MISC ChangeLog 1936 RMD160 8c96d8ffcb41de57eac9266201cb3db337f5f407 SHA1 10c07003252239328c242d10e45d361ea98c90c8 SHA256 95dbce00fbd0083aaab94cc4690c8e2e7dd37f5216f5fe85fd1d02899d02175e -MISC metadata.xml 264 RMD160 94749e40e406844756b65a980d02ee3994622501 SHA1 83317c518d569fa15a1efdb631770ec898d78a8e SHA256 52f9eb8390bd4b7ca7088926537a6cec4b5102ab5dff87c41ae3df5639d4d562 diff --git a/net-analyzer/ttt/files/ttt-1.8-linux-sll.patch b/net-analyzer/ttt/files/ttt-1.8-linux-sll.patch deleted file mode 100644 index 4bdc3a2932cb..000000000000 --- a/net-analyzer/ttt/files/ttt-1.8-linux-sll.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- ttt-1.8/net_read.c 2003-10-16 13:55:18.000000000 +0200 -+++ ttt-1.8/net_read.c.new 2004-02-09 19:40:31.000000000 +0100 -@@ -172,6 +172,10 @@ - static void pflog_if_read(u_char *user, const struct pcap_pkthdr *h, - const u_char *p); - #endif -+#ifdef DLT_LINUX_SLL /* linux specific */ -+static void linux_sll_if_read(u_char *user, const struct pcap_pkthdr *h, -+ const u_char *p); -+#endif - static int ether_encap_read(u_short ethtype, const u_char *p, - int length, int caplen); - static int llc_read(const u_char *p, const int length, const int caplen); -@@ -664,6 +668,55 @@ - } - #endif - -+#ifdef DLT_LINUX_SLL -+ -+#define SLL_HEADER_SIZE 16 -+#define SLL_ADDRLEN 8 /* length of address field */ -+ -+struct sll_header { -+ u_int16_t sll_pkttype; /* packet type */ -+ u_int16_t sll_hatype; /* link-layer address type */ -+ u_int16_t sll_halen; /* link-layer address length */ -+ u_int8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ -+ u_int16_t sll_protocol; /* protocol */ -+}; -+ -+#define LINUX_SLL_P_802_2 0x0004 -+ -+static void -+linux_sll_if_read(u_char *user, const struct pcap_pkthdr *h, const u_char *p) -+{ -+ int caplen = h->caplen; -+ int length = h->len; -+ struct sll_header *hdr = (struct sll_header *)p; -+ int protocol; -+ -+ packet_length = length; /* save data link level packet length */ -+ if (caplen < SLL_HEADER_SIZE) { -+ return; -+ } -+ -+ p += SLL_HEADER_SIZE; -+ length -= SLL_HEADER_SIZE; -+ caplen -= SLL_HEADER_SIZE; -+ -+ protocol = ntohs(hdr->sll_protocol); -+ -+ if (protocol <= 1536) { -+ -+ switch (protocol) { -+ -+ case LINUX_SLL_P_802_2: -+ llc_read(p, length, caplen); -+ break; -+ -+ } -+ } else -+ ether_encap_read(protocol, p, length, caplen); -+} -+ -+#endif -+ - #ifdef PFLOG_HDRLEN - - static void -@@ -1094,6 +1147,9 @@ - #ifdef PFLOG_HDRLEN - { pflog_if_read, DLT_PFLOG }, - #endif -+#ifdef DLT_LINUX_SLL -+ { linux_sll_if_read, DLT_LINUX_SLL }, -+#endif - { NULL, 0 }, - }; - diff --git a/net-analyzer/ttt/files/ttt-1.8-pcap.patch b/net-analyzer/ttt/files/ttt-1.8-pcap.patch deleted file mode 100644 index 93e1437fb5b3..000000000000 --- a/net-analyzer/ttt/files/ttt-1.8-pcap.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- pcap_inet.c.orig 2004-02-09 14:01:54.000000000 +0100 -+++ pcap_inet.c 2004-02-09 14:02:02.000000000 +0100 -@@ -150,7 +150,7 @@ - - int - pcap_lookupnet(device, netp, maskp, errbuf) -- register char *device; -+ register const char *device; - register u_int *netp, *maskp; - register char *errbuf; - { diff --git a/net-analyzer/ttt/files/ttt-gcc4.diff b/net-analyzer/ttt/files/ttt-gcc4.diff deleted file mode 100644 index 46c08f60f283..000000000000 --- a/net-analyzer/ttt/files/ttt-gcc4.diff +++ /dev/null @@ -1,22 +0,0 @@ -diff -urN ../tmp-orig/ttt-1.7/net_names.c ./net_names.c ---- ../tmp-orig/ttt-1.7/net_names.c 2000-12-20 15:30:09.000000000 +0100 -+++ ./net_names.c 2005-02-09 14:41:36.180046553 +0100 -@@ -158,6 +158,9 @@ - return NULL; - } - -+static char *inet6_ntoa(uint32_t *addr); /* should be replaced -+ by addr2ascii */ -+ - char *net_getname(long type, long *id) - { - char *buf, *name; -@@ -258,8 +261,6 @@ - case TTTTYPE_IPV6HOST: - { - u_long tmp[4]; -- static char *inet6_ntoa(u_long *addr); /* should be replaced -- by addr2ascii */ - if ((buf = malloc(sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx"))) - == NULL) - fatal_error("get_protoname: no memory\n"); diff --git a/net-analyzer/ttt/metadata.xml b/net-analyzer/ttt/metadata.xml deleted file mode 100644 index 72e3648cc5f2..000000000000 --- a/net-analyzer/ttt/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -netmon -Tele Traffic Taper (ttt) - Real-time Graphical Remote Traffic Monitor - diff --git a/net-analyzer/ttt/ttt-1.8.1-r1.ebuild b/net-analyzer/ttt/ttt-1.8.1-r1.ebuild deleted file mode 100644 index 0d010d709e80..000000000000 --- a/net-analyzer/ttt/ttt-1.8.1-r1.ebuild +++ /dev/null @@ -1,47 +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/ttt/ttt-1.8.1-r1.ebuild,v 1.5 2007/07/22 08:06:57 pva Exp $ - -inherit eutils - -DESCRIPTION="Tele Traffic Taper (ttt) - Real-time Graphical Remote Traffic Monitor" -SRC_URI="ftp://ftp.csl.sony.co.jp/pub/kjc/${P}.tar.gz" -HOMEPAGE="http://www.csl.sony.co.jp/person/kjc/kjc/software.html" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~ppc x86" -IUSE="ipv6" - -DEPEND="dev-lang/tcl - dev-lang/tk - >=dev-tcltk/blt-2.4 - net-libs/libpcap - x11-libs/libXt - x11-proto/xproto" - -src_unpack() { - unpack ${A} - cd "${S}" - grep 'pcap_lookupnet.*const' /usr/include/pcap.h &>/dev/null && \ - epatch "${FILESDIR}"/${PN}-1.8-pcap.patch - - epatch "${FILESDIR}"/${PN}-1.8-linux-sll.patch - - epatch "${FILESDIR}"/${PN}-gcc4.diff - # remove -Wwrite-strings -fwritable-strings (naughty) - sed -i 's/\(GCCFLAGS="\).*\("\)/\1-Wall\2/' configure || die "sed failed" -} - -src_compile() { - econf $(use_enable ipv6) || die "econf failed" - emake || die "make failed" -} - -src_install() { - dodoc README - dodir /usr/bin - dodir /usr/lib/ttt - dodir /usr/share/man/man1 - einstall exec_prefix="${D}"/usr install-man || die "make install failed" -} -- cgit v1.2.3-65-gdbad