Version bump
authorCédric Krier <cedk@gentoo.org>
Sun, 17 Dec 2006 16:40:17 +0000 (16:40 +0000)
committerCédric Krier <cedk@gentoo.org>
Sun, 17 Dec 2006 16:40:17 +0000 (16:40 +0000)
Package-Manager: portage-2.1.1-r2

net-analyzer/traceproto/ChangeLog
net-analyzer/traceproto/Manifest
net-analyzer/traceproto/files/digest-traceproto-1.1.1
net-analyzer/traceproto/files/digest-traceproto-1.1.2_beta1 [new file with mode: 0644]
net-analyzer/traceproto/files/traceproto-1.1.2_beta1.patch [new file with mode: 0644]
net-analyzer/traceproto/traceproto-1.1.2_beta1.ebuild [new file with mode: 0644]

index 65fb640f857276ca7a0cb0383f97f0e556448dc1..124080f60ecf8fe3c878d0d9bc334969a7ec9e33 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-analyzer/traceproto
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceproto/ChangeLog,v 1.4 2006/02/17 16:23:58 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceproto/ChangeLog,v 1.5 2006/12/17 16:40:17 cedk Exp $
+
+*traceproto-1.1.2_beta1 (17 Dec 2006)
+
+  17 Dec 2006; Cedric Krier <cedk@gentoo.org>
+  +files/traceproto-1.1.2_beta1.patch, +traceproto-1.1.2_beta1.ebuild:
+  Version bump for bug #141586
 
   17 Feb 2006; Markus Ullmann <jokey@gentoo.org> traceproto-1.1.1.ebuild:
   Removing virtual/libpcap wrt bug #117898
index 33f6cfd3b36c3160d5ff03efd73d9faa9d4cdc5c..2eadaec5297187fc66e5a8622ae7203a37fd9c49 100644 (file)
@@ -1,15 +1,32 @@
-MD5 f63e233340be6c422ea2d265622c9a43 ChangeLog 709
-RMD160 4df8594bdcedbfb7d14c8ab3853cab1b455207fb ChangeLog 709
-SHA256 7bc00357feecd46142305d99e86a2379016c833cd88ce965348ca44d49ba6bfe ChangeLog 709
-MD5 e489db124aef70ee3c4067dcc0f15c2d files/digest-traceproto-1.1.1 68
-RMD160 dca2c53bbca9ba0bbe18a2a2c65ffd7f203755bc files/digest-traceproto-1.1.1 68
-SHA256 8b169c41c5659b79e7b0ba87dea9b4d4c8b4ceed474527dffe308409c3e55029 files/digest-traceproto-1.1.1 68
+AUX traceproto-1.1.1-fix-warnings.diff 2407 RMD160 fc52c46ee0d24d6b2aef548a6f2fc7a208cdc261 SHA1 612eb662589095029129fb34844439be23de0fa3 SHA256 934bec3598289ef90fd44e7711dec8caed1e927af1135e9d69eee6e7892d6f62
 MD5 1a3c5caf1acac2a8326789361bf81663 files/traceproto-1.1.1-fix-warnings.diff 2407
 RMD160 fc52c46ee0d24d6b2aef548a6f2fc7a208cdc261 files/traceproto-1.1.1-fix-warnings.diff 2407
 SHA256 934bec3598289ef90fd44e7711dec8caed1e927af1135e9d69eee6e7892d6f62 files/traceproto-1.1.1-fix-warnings.diff 2407
-MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
-RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 metadata.xml 160
-SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b metadata.xml 160
+AUX traceproto-1.1.2_beta1.patch 4349 RMD160 fec9bdf8bab240af60c79c74cae64165e605200b SHA1 0883a25602a16a79d167cc4f383f731d95a92be6 SHA256 4738091ee992fa426c67e799f6de0551a3b79f7272b70779fc790a8f03dea599
+MD5 a380bf78b6208beddb094e8252018ef6 files/traceproto-1.1.2_beta1.patch 4349
+RMD160 fec9bdf8bab240af60c79c74cae64165e605200b files/traceproto-1.1.2_beta1.patch 4349
+SHA256 4738091ee992fa426c67e799f6de0551a3b79f7272b70779fc790a8f03dea599 files/traceproto-1.1.2_beta1.patch 4349
+DIST traceproto-1.1.1.tar.gz 135394 RMD160 250d72f1ad34eb6f2b062d910b5e0ee70ec78d5c SHA1 f410e3a47e2f0468fdbb1f933d0c0a0d62a5060e SHA256 5310f40c3769577e9604b07ccf1039536eaa4e24486f24a971cb9647278ae69e
+DIST traceproto-1.1.2beta1.tar.gz 192288 RMD160 a746ee47fa0d7b4ba78eb3227f3426003f35a4c4 SHA1 745d71a3d2e0a2b206da49b319141dd29626053e SHA256 96c1985793dd9913513669772efdf5736d4bc3af8cd2a852567be64ecd028900
+EBUILD traceproto-1.1.1.ebuild 956 RMD160 04c67c334827bf57c1f4bf308c1c06d67f658d64 SHA1 22f721db66e41e707948c56db16fdb17ba8f68a8 SHA256 1c3e6f613634278a8a5013161cab9df774bafc293b210c49d4413c25ccac0d2d
 MD5 32b5738c95dd7d771b2b3616cc274c03 traceproto-1.1.1.ebuild 956
 RMD160 04c67c334827bf57c1f4bf308c1c06d67f658d64 traceproto-1.1.1.ebuild 956
 SHA256 1c3e6f613634278a8a5013161cab9df774bafc293b210c49d4413c25ccac0d2d traceproto-1.1.1.ebuild 956
+EBUILD traceproto-1.1.2_beta1.ebuild 1012 RMD160 d4ca296c3c4958b2dffc75196f319994b3b1b131 SHA1 0a2e97da5f3aa0fd48b9cab1879a962cc9517679 SHA256 96f9397c596ced839b0ef061227000a0aa09d6c0acafb244d63e09008fe68446
+MD5 39ee087a51aede68bf5631a2c8a67d40 traceproto-1.1.2_beta1.ebuild 1012
+RMD160 d4ca296c3c4958b2dffc75196f319994b3b1b131 traceproto-1.1.2_beta1.ebuild 1012
+SHA256 96f9397c596ced839b0ef061227000a0aa09d6c0acafb244d63e09008fe68446 traceproto-1.1.2_beta1.ebuild 1012
+MISC ChangeLog 896 RMD160 ac2a05a947287f6a956a28e56f194d949e8080fe SHA1 71766756318d841bb672e6711f5e2be04c9eb294 SHA256 cc419a99b36472093477d2a5732bd346bd795bd0c6250fce681811bc62f1beb9
+MD5 540a4bf45c81f26559581b189f9e48d0 ChangeLog 896
+RMD160 ac2a05a947287f6a956a28e56f194d949e8080fe ChangeLog 896
+SHA256 cc419a99b36472093477d2a5732bd346bd795bd0c6250fce681811bc62f1beb9 ChangeLog 896
+MISC metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 SHA1 29b8b234e0f3a475b50bd4df1ef8b4e5749823ce SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b
+MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
+RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 metadata.xml 160
+SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b metadata.xml 160
+MD5 eefed2d1e61affa6a3457f7fc25a59f1 files/digest-traceproto-1.1.1 250
+RMD160 e606e659a3ae449f51ee43f058813e884fbd89d3 files/digest-traceproto-1.1.1 250
+SHA256 e17527c4b182cd7deb7d6c67eb52ba61a1723457ffb3f90c1f5b269c386aad11 files/digest-traceproto-1.1.1 250
+MD5 cf5dafdde810f717d2f85e95820629d9 files/digest-traceproto-1.1.2_beta1 265
+RMD160 4afde1a490e1211d3e9cc501b5ee72770956c200 files/digest-traceproto-1.1.2_beta1 265
+SHA256 459e9d2c15da42b450566227c540c74ae4227081cb5438f419036ab71ea994f8 files/digest-traceproto-1.1.2_beta1 265
index 6c24866e0fed00f25171568ae0390314cfca03dd..340c234e78e1f3b6e587ea69fee8dd232d0d3e7a 100644 (file)
@@ -1 +1,3 @@
 MD5 0050c32bbeb3638732587d09eee4d218 traceproto-1.1.1.tar.gz 135394
+RMD160 250d72f1ad34eb6f2b062d910b5e0ee70ec78d5c traceproto-1.1.1.tar.gz 135394
+SHA256 5310f40c3769577e9604b07ccf1039536eaa4e24486f24a971cb9647278ae69e traceproto-1.1.1.tar.gz 135394
diff --git a/net-analyzer/traceproto/files/digest-traceproto-1.1.2_beta1 b/net-analyzer/traceproto/files/digest-traceproto-1.1.2_beta1
new file mode 100644 (file)
index 0000000..0d4c24c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 ea89a34ba7f58fda7d42ae32dadd52f7 traceproto-1.1.2beta1.tar.gz 192288
+RMD160 a746ee47fa0d7b4ba78eb3227f3426003f35a4c4 traceproto-1.1.2beta1.tar.gz 192288
+SHA256 96c1985793dd9913513669772efdf5736d4bc3af8cd2a852567be64ecd028900 traceproto-1.1.2beta1.tar.gz 192288
diff --git a/net-analyzer/traceproto/files/traceproto-1.1.2_beta1.patch b/net-analyzer/traceproto/files/traceproto-1.1.2_beta1.patch
new file mode 100644 (file)
index 0000000..ba111e6
--- /dev/null
@@ -0,0 +1,112 @@
+diff -ru traceproto-1.1.2beta1~/configure.ac traceproto-1.1.2beta1/configure.ac
+--- traceproto-1.1.2beta1~/configure.ac        2006-12-17 16:36:48.000000000 +0100
++++ traceproto-1.1.2beta1/configure.ac 2006-12-17 17:08:01.000000000 +0100
+@@ -167,11 +167,20 @@
+ AC_ARG_ENABLE([dmalloc],
+       [[  --enable-dmalloc           Use the dmalloc library for debugging]],
+       [
+-              dmalloc_test=yes
+-              AC_MSG_RESULT([requested])
++              dmalloc_test=$enableval
+       ],
+       [
+-              AC_MSG_RESULT([not requested])
++              dmalloc_test=no
++      ]
++)
++AC_MSG_CHECKING(for ncurses)
++AC_ARG_ENABLE([ncurses],
++      [[  --enable-ncurses           Use the ncurses library]],
++      [
++              ncurses_test=$enableval
++      ],
++      [
++              ncurses_test=no
+       ]
+ )
+@@ -182,8 +191,10 @@
+ AC_CHECK_LIB(pcap, pcap_open_live, , AC_MSG_ERROR([ERROR - pcap check failed]))
+ AC_CHECK_LIB(net, libnet_init, , AC_MSG_ERROR([ERROR - libnet check failed]))
+ AC_CHECK_LIB(cap, cap_init, , AC_MSG_WARN([libcap check failed]))
+-AC_CHECK_LIB(ncurses, initscr, , AC_MSG_WARN([ncurses check failed]))
+-AC_CHECK_LIB(curses,  initscr, , AC_MSG_WARN([curses check failed]))
++if test "x$ncurses_test" = "xyes"; then
++      AC_CHECK_LIB(ncurses, initscr, , AC_MSG_WARN([ncurses check failed]))
++      AC_CHECK_LIB(curses,  initscr, , AC_MSG_WARN([curses check failed]))
++fi
+ AC_CHECK_LIB(termcap, tgetent)
+ if test "x$dmalloc_test" = "xyes"; then
+       AC_CHECK_LIB(dmalloc, malloc, ,AC_MSG_RESULT([dmalloc unavailable]))
+@@ -191,8 +202,10 @@
+ # Checks for header files.
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/time.h unistd.h ncurses.h])
+-AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h curses.h])
++AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/time.h unistd.h])
++if test "x$ncurses_test" = "xyes"; then
++      AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h curses.h])
++fi
+ if test "x$dmalloc_test" = "xyes"; then
+       AC_CHECK_HEADERS([dmalloc.h])
+ fi
+diff -ru traceproto-1.1.2beta1~/tp_packet.c traceproto-1.1.2beta1/tp_packet.c
+--- traceproto-1.1.2beta1~/tp_packet.c 2006-12-17 16:36:48.000000000 +0100
++++ traceproto-1.1.2beta1/tp_packet.c  2006-12-17 16:39:50.000000000 +0100
+@@ -104,7 +104,7 @@
+               state.low_ttl = YES;
+ /*    tcp_hdr = ( struct libnet_tcp_hdr * ) & raw_packet[ 0 ]; */
+-      tcp_hdr = ( struct libnet_tcp_hdr * ) tp_align ( raw_packet,
++      tcp_hdr = ( struct libnet_tcp_hdr * ) tp_align ( (char *)raw_packet,
+                                       0,
+                                       sizeof ( struct libnet_tcp_hdr ) );
+@@ -171,7 +171,7 @@
+               state.low_ttl = YES;
+ /*    udp_hdr = ( struct libnet_udp_hdr * ) & raw_packet[ 0 ]; */
+-      udp_hdr = ( struct libnet_udp_hdr * ) tp_align ( raw_packet,
++      udp_hdr = ( struct libnet_udp_hdr * ) tp_align ( (char *)raw_packet,
+                                       0,
+                                       sizeof ( struct libnet_udp_hdr ) );
+@@ -289,12 +289,12 @@
+  * off of the packet
+  */
+ /*    eth_hdr = ( struct libnet_802_3_hdr * ) raw_packet; */
+-      eth_hdr = ( struct libnet_802_3_hdr * ) tp_align ( raw_packet,
++      eth_hdr = ( struct libnet_802_3_hdr * ) tp_align ( (char *)raw_packet,
+                                       0,
+                                       sizeof ( struct libnet_802_3_hdr ) );
+ /*    state.ip_hdr = ( struct libnet_ipv4_hdr * ) & raw_packet[ eth_offset ]; */
+-      state.ip_hdr = ( struct libnet_ipv4_hdr * ) tp_align ( raw_packet,
++      state.ip_hdr = ( struct libnet_ipv4_hdr * ) tp_align ( (char *)raw_packet,
+                                       eth_offset,
+                                       sizeof ( struct libnet_ipv4_hdr ) );
+@@ -315,19 +315,19 @@
+       {
+       case IPPROTO_ICMP:
+ /*            return parse_icmp_packet ( ( const u_char * ) & raw_packet [ ipv4_offset ] ); */
+-              return parse_icmp_packet ( ( const u_char * ) tp_align ( raw_packet,
++              return parse_icmp_packet ( ( const u_char * ) tp_align ( (char *)raw_packet,
+                                                       ipv4_offset,
+                                                       sizeof ( struct libnet_icmpv4_hdr ) ) );
+               break;
+       case IPPROTO_TCP:
+ /*            return parse_tcp_packet ( ( const u_char * ) & raw_packet [ ipv4_offset ] ); */
+-              return parse_tcp_packet ( ( const u_char * ) tp_align ( raw_packet,
++              return parse_tcp_packet ( ( const u_char * ) tp_align ( (char *)raw_packet,
+                                                       ipv4_offset,
+                                                       sizeof ( struct libnet_tcp_hdr ) ) );
+               break;
+       case IPPROTO_UDP:
+ /*            return parse_udp_packet ( ( const u_char * ) & raw_packet [ ipv4_offset ] ); */
+-              return parse_udp_packet ( ( const u_char * ) tp_align ( raw_packet,
++              return parse_udp_packet ( ( const u_char * ) tp_align ( (char *)raw_packet,
+                                                       ipv4_offset,
+                                                       sizeof ( struct libnet_udp_hdr ) ) );
+               break;
diff --git a/net-analyzer/traceproto/traceproto-1.1.2_beta1.ebuild b/net-analyzer/traceproto/traceproto-1.1.2_beta1.ebuild
new file mode 100644 (file)
index 0000000..570242e
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceproto/traceproto-1.1.2_beta1.ebuild,v 1.1 2006/12/17 16:40:17 cedk Exp $
+
+inherit eutils autotools
+
+MY_PV=${PV/_/}
+
+DESCRIPTION="A traceroute-like utility that sends packets based on protocol"
+HOMEPAGE="http://traceproto.sourceforge.net/"
+SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug ncurses"
+
+RDEPEND=">=net-libs/libnet-1.1.0
+       net-libs/libpcap
+       ncurses? ( sys-libs/ncurses )
+       debug? ( dev-libs/dmalloc )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}.patch
+       eautoreconf
+}
+
+src_compile() {
+       econf \
+               $(use_enable debug dmalloc) \
+               $(use_enable ncurses) \
+               || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc AUTHORS ChangeLog NEWS README TODO
+}