diff options
author | Tom Gall <tgall@gentoo.org> | 2005-04-14 03:49:33 +0000 |
---|---|---|
committer | Tom Gall <tgall@gentoo.org> | 2005-04-14 03:49:33 +0000 |
commit | 5dd06f776c0ddab1454bae2b3a2a24ba30a61c5d (patch) | |
tree | 9ae3ffdccc44e630d1088715bdf6effb09dc9b21 /net-analyzer/tcptraceroute | |
parent | marked stable and ~ppc64 respectively (diff) | |
download | historical-5dd06f776c0ddab1454bae2b3a2a24ba30a61c5d.tar.gz historical-5dd06f776c0ddab1454bae2b3a2a24ba30a61c5d.tar.bz2 historical-5dd06f776c0ddab1454bae2b3a2a24ba30a61c5d.zip |
added ppc64 support
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-analyzer/tcptraceroute')
-rw-r--r-- | net-analyzer/tcptraceroute/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/tcptraceroute/Manifest | 15 | ||||
-rw-r--r-- | net-analyzer/tcptraceroute/files/ppc64-1.5.patch | 92 | ||||
-rw-r--r-- | net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild | 10 |
4 files changed, 113 insertions, 10 deletions
diff --git a/net-analyzer/tcptraceroute/ChangeLog b/net-analyzer/tcptraceroute/ChangeLog index 095b8341fdf7..87ccf122f65e 100644 --- a/net-analyzer/tcptraceroute/ChangeLog +++ b/net-analyzer/tcptraceroute/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/tcptraceroute # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/ChangeLog,v 1.21 2005/03/23 01:05:22 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/ChangeLog,v 1.22 2005/04/14 03:49:33 tgall Exp $ + + 13 Apr 2005; Tom Gall <tgall@gentoo.org> + tcptraceroute-1.5_beta5.ebuild, +ppc64-1.5.patch: + add ppc64 support *tcptraceroute-1.5_beta6 (22 Mar 2005) diff --git a/net-analyzer/tcptraceroute/Manifest b/net-analyzer/tcptraceroute/Manifest index d99afe6f999f..d2095ef9dd73 100644 --- a/net-analyzer/tcptraceroute/Manifest +++ b/net-analyzer/tcptraceroute/Manifest @@ -1,10 +1,11 @@ -MD5 ca7b2a5d458efd4b6b7be695975d2b98 tcptraceroute-1.5_beta6.ebuild 925 -MD5 b34e582c48c20f697720f0a18ff00feb tcptraceroute-1.4-r3.ebuild 1010 -MD5 c5e0501bcac3e40bbc8e7ca4c7ffdee8 tcptraceroute-1.5_beta5.ebuild 923 -MD5 66fdb139aff34371592fa082c0ed1db7 ChangeLog 2630 +MD5 39ee5813ba9e8003b339d48cb12b94b7 ChangeLog 2741 MD5 b11a70e1b7569dd6b3fa230a0e889d04 metadata.xml 227 -MD5 2868a09f7c4911e6274c13519349cd51 files/tcptraceroute-1.4-gentoo.patch 1116 +MD5 b34e582c48c20f697720f0a18ff00feb tcptraceroute-1.4-r3.ebuild 1010 +MD5 58b046e7e2f751e3030e4e9af64aa034 tcptraceroute-1.5_beta5.ebuild 1012 +MD5 ca7b2a5d458efd4b6b7be695975d2b98 tcptraceroute-1.5_beta6.ebuild 925 +MD5 8446426408ca6cc65c8fec8fca05e178 files/ppc64-1.5.patch 1956 +MD5 e2e5f7d3c6b35572d8e83f49c56e950e files/1.4-libnet-1.0.patch 730 +MD5 c269183b39d0a5ece16f5f4b41cd8f62 files/digest-tcptraceroute-1.4-r3 68 MD5 08795adf41e7d24d33a369f072f3c0c3 files/digest-tcptraceroute-1.5_beta5 74 MD5 291e5266f1fd92f4a0de340bb25d85bb files/digest-tcptraceroute-1.5_beta6 74 -MD5 c269183b39d0a5ece16f5f4b41cd8f62 files/digest-tcptraceroute-1.4-r3 68 -MD5 e2e5f7d3c6b35572d8e83f49c56e950e files/1.4-libnet-1.0.patch 730 +MD5 2868a09f7c4911e6274c13519349cd51 files/tcptraceroute-1.4-gentoo.patch 1116 diff --git a/net-analyzer/tcptraceroute/files/ppc64-1.5.patch b/net-analyzer/tcptraceroute/files/ppc64-1.5.patch new file mode 100644 index 000000000000..f355a0400002 --- /dev/null +++ b/net-analyzer/tcptraceroute/files/ppc64-1.5.patch @@ -0,0 +1,92 @@ +--- tcptraceroute.c.old 2003-07-03 19:56:41.000000000 +0000 ++++ tcptraceroute.c 2005-04-15 09:49:58.000000000 +0000 +@@ -189,7 +189,7 @@ + }; + + /* Various globals */ +-u_long dst_ip, src_ip; ++unsigned int dst_ip, src_ip; + u_short src_prt, dst_prt; + char *device, *name, *dst, *src; + char dst_name[TEXTSIZE], dst_prt_name[TEXTSIZE], filter[TEXTSIZE]; +@@ -213,7 +213,7 @@ + /* interface linked list, built later by getinterfaces() */ + struct interface_entry { + char *name; +- u_long addr; ++ unsigned int addr; + struct interface_entry *next; + } *interfaces; + +@@ -223,7 +223,7 @@ + u_short id, src_prt; + struct timeval timestamp; + double delta; +- u_long addr; ++ unsigned int addr; + char *state; + char *string; + } proberecord; +@@ -451,7 +451,7 @@ + */ + + #define IPTOSBUFFERS 12 +-char *iptos(u_long in) ++char *iptos(unsigned int in) + { + static char output[IPTOSBUFFERS][3*4+3+1]; + static short which; +@@ -468,7 +468,7 @@ + * RFC1918 space. + */ + +-char *iptohost(u_long in) ++char *iptohost(unsigned int in) + { + u_char *p = (u_char *)∈ + +@@ -538,7 +538,7 @@ + struct ifconf ifc; + struct ifreq *ifrp, ifr; + int numreqs, i, s; +- u_long addr; ++ unsigned int addr; + int salen; + char *x; + +@@ -679,7 +679,7 @@ + * given destination address. + */ + +-u_long findsrc(u_long dest) ++unsigned int findsrc(unsigned int dest) + { + struct sockaddr_in sinsrc, sindest; + int s, size; +@@ -715,7 +715,7 @@ + * interface exists with an address of 127.0.0.1. + */ + +-char *finddev(u_long with_src) ++char *finddev(unsigned int with_src) + { + struct interface_entry *p; + char *device = NULL; +@@ -812,7 +812,7 @@ + /* Variables to keep state between calls */ + static char laststate[TEXTSIZE]; + static int lastttl; +- static u_long lastaddr; ++ static unsigned int lastaddr; + static int everprint; + + int printflag = 0; +@@ -960,7 +960,7 @@ + void defaults(void) + { + struct servent *serv; +- u_long recommended_src; ++ unsigned int recommended_src; + + getinterfaces(); + diff --git a/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild index b63b8cbde6b7..518958c7c253 100644 --- a/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild +++ b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild,v 1.10 2005/01/29 05:12:51 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta5.ebuild,v 1.11 2005/04/14 03:49:33 tgall Exp $ inherit flag-o-matic @@ -14,12 +14,18 @@ SRC_URI="http://michael.toren.net/code/tcptraceroute/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc amd64" +KEYWORDS="x86 ppc sparc amd64 ppc64" IUSE="" DEPEND="virtual/libpcap net-libs/libnet" +src_unpack() { + unpack ${A} + cd ${S} + use ppc64 && epatch ${FILESDIR}/ppc64-1.5.patch +} + src_compile() { append-ldflags -Wl,-z,now |