summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/tcptrack/ChangeLog6
-rw-r--r--net-analyzer/tcptrack/Manifest26
-rw-r--r--net-analyzer/tcptrack/files/digest-tcptrack-1.1.52
-rw-r--r--net-analyzer/tcptrack/files/tcptrack-1.1.5-gcc41.patch50
-rw-r--r--net-analyzer/tcptrack/tcptrack-1.1.5.ebuild17
5 files changed, 86 insertions, 15 deletions
diff --git a/net-analyzer/tcptrack/ChangeLog b/net-analyzer/tcptrack/ChangeLog
index 72c850649b79..343b3891c86d 100644
--- a/net-analyzer/tcptrack/ChangeLog
+++ b/net-analyzer/tcptrack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/tcptrack
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/ChangeLog,v 1.12 2006/02/17 16:20:59 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/ChangeLog,v 1.13 2006/06/01 20:37:20 exg Exp $
+
+ 01 Jun 2006; Emanuele Giaquinta <exg@gentoo.org>
+ +files/tcptrack-1.1.5-gcc41.patch, tcptrack-1.1.5.ebuild:
+ Add patch for building with gcc-4.1.
17 Feb 2006; Markus Ullmann <jokey@gentoo.org> tcptrack-1.1.5.ebuild:
Removing virtual/libpcap wrt bug #117898
diff --git a/net-analyzer/tcptrack/Manifest b/net-analyzer/tcptrack/Manifest
index 3ff56531795a..1570d1e520ed 100644
--- a/net-analyzer/tcptrack/Manifest
+++ b/net-analyzer/tcptrack/Manifest
@@ -1,12 +1,20 @@
-MD5 896a3b553c7124bcd87418a32ce2a0c6 ChangeLog 1561
-RMD160 e2f13a81fda71c53111892821e4dbd2f35700659 ChangeLog 1561
-SHA256 c7e3c43f9ff932ac94431bf013e6786d66346079bc0ea08ad0d6317cf0879769 ChangeLog 1561
-MD5 47d7f3683a42c43d83384c9bb96e408a files/digest-tcptrack-1.1.5 66
-RMD160 1533b0c0ebe87f23c24e24f8283c7f5193eb047a files/digest-tcptrack-1.1.5 66
-SHA256 0e40b3aae44f68812acec541f916c2b2a17298b0e67c628068ed6e3e9e913fa5 files/digest-tcptrack-1.1.5 66
+AUX tcptrack-1.1.5-gcc41.patch 1634 RMD160 b60887505927e99b52b2f9a93cba0e3fbf7e630d SHA1 2d0bc14ed781514a9a9508ceed0495825045c7f6 SHA256 cda13ac01246455f75c64a50623c9b7ad6c0dbda0a5bbeef665416eec6702586
+MD5 dc205e32eaf1d2ef44daaf6a9c0b9de0 files/tcptrack-1.1.5-gcc41.patch 1634
+RMD160 b60887505927e99b52b2f9a93cba0e3fbf7e630d files/tcptrack-1.1.5-gcc41.patch 1634
+SHA256 cda13ac01246455f75c64a50623c9b7ad6c0dbda0a5bbeef665416eec6702586 files/tcptrack-1.1.5-gcc41.patch 1634
+DIST tcptrack-1.1.5.tar.gz 113384 RMD160 1a91ab6ad9c6f4fd3fa25cc68bc3546a97c3560d SHA1 1b9c11b941c6e1516327cbb88e76b32d82394e8d SHA256 7eb0bac5f6af12cad3d74ba89a957f5df62d1689345deb4ac4ca6b6fa8b82fcd
+EBUILD tcptrack-1.1.5.ebuild 710 RMD160 c16555944bb254ff20cd3b3c92260aeff9ef4bee SHA1 9ee98230042ee01d89e5a9e50bcda0b9ff10e268 SHA256 56d7a67aad172d69d1a22006849a54fa64ad99f6ef6c0ac656578899c1a9b861
+MD5 f844c2c5cd61da6562a7d94abd30df12 tcptrack-1.1.5.ebuild 710
+RMD160 c16555944bb254ff20cd3b3c92260aeff9ef4bee tcptrack-1.1.5.ebuild 710
+SHA256 56d7a67aad172d69d1a22006849a54fa64ad99f6ef6c0ac656578899c1a9b861 tcptrack-1.1.5.ebuild 710
+MISC ChangeLog 1710 RMD160 b3ad7efad9d0538cb0dc9f01e6b3e4a64a404912 SHA1 a0e202368a8b697868f9cfc6c3720debfd67c1ff SHA256 df5647a5008b23ba145a136544bf38bb10c23c1c066aafb508687e35e6b839db
+MD5 0b555507db43c40e3d5b80d7e40d9e4c ChangeLog 1710
+RMD160 b3ad7efad9d0538cb0dc9f01e6b3e4a64a404912 ChangeLog 1710
+SHA256 df5647a5008b23ba145a136544bf38bb10c23c1c066aafb508687e35e6b839db ChangeLog 1710
+MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159
RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159
SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata.xml 159
-MD5 b55836cf52e8e304a8cd500f06f13bfa tcptrack-1.1.5.ebuild 624
-RMD160 99f2c7e2b69a999048096e5cab5ada021e0278ea tcptrack-1.1.5.ebuild 624
-SHA256 c21047415e85d96778e953c27fe8877cad2f49e8ec6993180c272db51ee62200 tcptrack-1.1.5.ebuild 624
+MD5 c24e0a023d55b72e4640918161d6c190 files/digest-tcptrack-1.1.5 244
+RMD160 dde93b3284551d1f72cfd0abc5034f173fbf0072 files/digest-tcptrack-1.1.5 244
+SHA256 3dd3f171ea40aca49615762b1e52babecaa486dc0af087c5f8561b69228cd885 files/digest-tcptrack-1.1.5 244
diff --git a/net-analyzer/tcptrack/files/digest-tcptrack-1.1.5 b/net-analyzer/tcptrack/files/digest-tcptrack-1.1.5
index 2a4b65c67b80..59dfe680e68b 100644
--- a/net-analyzer/tcptrack/files/digest-tcptrack-1.1.5
+++ b/net-analyzer/tcptrack/files/digest-tcptrack-1.1.5
@@ -1 +1,3 @@
MD5 ae360bede47cbfd75cae4eeaac90e8ed tcptrack-1.1.5.tar.gz 113384
+RMD160 1a91ab6ad9c6f4fd3fa25cc68bc3546a97c3560d tcptrack-1.1.5.tar.gz 113384
+SHA256 7eb0bac5f6af12cad3d74ba89a957f5df62d1689345deb4ac4ca6b6fa8b82fcd tcptrack-1.1.5.tar.gz 113384
diff --git a/net-analyzer/tcptrack/files/tcptrack-1.1.5-gcc41.patch b/net-analyzer/tcptrack/files/tcptrack-1.1.5-gcc41.patch
new file mode 100644
index 000000000000..6fc46d30c140
--- /dev/null
+++ b/net-analyzer/tcptrack/files/tcptrack-1.1.5-gcc41.patch
@@ -0,0 +1,50 @@
+--- tcptrack-1.1.5/src/IPv4Address.h.old 2006-06-01 22:02:50.000000000 +0200
++++ tcptrack-1.1.5/src/IPv4Address.h 2006-06-01 22:03:33.000000000 +0200
+@@ -13,7 +13,7 @@
+ IPv4Address(IPv4Address &na) { a=na.toStruct(); }
+ bool operator==( const IPv4Address & ) const;
+ bool operator!=( const IPv4Address & ) const;
+- char * IPv4Address::ptr() const;
++ char * ptr() const;
+ friend ostream & operator<<( ostream &, const IPv4Address &);
+ struct in_addr toStruct() const;
+ private:
+--- tcptrack-1.1.5/src/TCPPacket.h.old 2006-06-01 22:04:54.000000000 +0200
++++ tcptrack-1.1.5/src/TCPPacket.h 2006-06-01 22:04:56.000000000 +0200
+@@ -29,24 +29,24 @@
+ class TCPPacket
+ {
+ public:
+- TCPPacket::TCPPacket( const u_char *data, unsigned int data_len );
+- TCPPacket::TCPPacket( TCPPacket & orig );
+- seq_t TCPPacket::getSeq() const;
+- seq_t TCPPacket::getAck() const;
++ TCPPacket( const u_char *data, unsigned int data_len );
++ TCPPacket( TCPPacket & orig );
++ seq_t getSeq() const;
++ seq_t getAck() const;
+ bool isFlagSet(unsigned int);
+ unsigned short headerLen() const { return header_len; };
+
+ portnum_t srcPort() const;
+ portnum_t dstPort() const;
+
+- bool TCPPacket::fin() const;
+- bool TCPPacket::syn() const;
+- bool TCPPacket::rst() const;
+- bool TCPPacket::psh() const;
+- bool TCPPacket::ack() const;
+- bool TCPPacket::urg() const;
+- bool TCPPacket::ece() const;
+- bool TCPPacket::cwr() const;
++ bool fin() const;
++ bool syn() const;
++ bool rst() const;
++ bool psh() const;
++ bool ack() const;
++ bool urg() const;
++ bool ece() const;
++ bool cwr() const;
+
+ friend ostream & operator<<( ostream &, const TCPPacket &);
+ private:
diff --git a/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild b/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild
index a23ab6d0fc19..62135a097c61 100644
--- a/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild
+++ b/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild
@@ -1,19 +1,26 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild,v 1.3 2006/02/17 16:20:59 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/tcptrack-1.1.5.ebuild,v 1.4 2006/06/01 20:37:20 exg Exp $
-IUSE=""
+inherit eutils
DESCRIPTION="Passive per-connection tcp bandwidth monitor"
-SRC_URI="http://www.rhythm.cx/~steve/devel/tcptrack/release/${PV}/source/${P}.tar.gz"
HOMEPAGE="http://www.rhythm.cx/~steve/devel/tcptrack/"
+SRC_URI="http://www.rhythm.cx/~steve/devel/tcptrack/release/${PV}/source/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="net-libs/libpcap
+ sys-libs/ncurses"
-newdepend "net-libs/libpcap
- sys-libs/ncurses"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-gcc41.patch
+}
src_install() {
einstall || die