From 8516d6a4362ebd7de139a51ae0a3447574ac5a2f Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Tue, 1 May 2007 16:44:07 +0000 Subject: [PATCH] Update to 0.72. I had to pull svn, create tarball on my own and put it in my freefall space. The offical tarball has been created two or three times and he couldn't get it right. Right now, it has the wrong branch in offical tarball. --- net-p2p/transmission-cli/Makefile | 9 +++-- net-p2p/transmission-cli/distinfo | 6 ++-- .../files/patch-libtransmission_tracker.c | 35 ------------------- net-p2p/transmission-gtk2/Makefile | 2 +- net-p2p/transmission/Makefile | 9 +++-- net-p2p/transmission/distinfo | 6 ++-- .../files/patch-libtransmission_tracker.c | 35 ------------------- 7 files changed, 19 insertions(+), 83 deletions(-) delete mode 100644 net-p2p/transmission-cli/files/patch-libtransmission_tracker.c delete mode 100644 net-p2p/transmission/files/patch-libtransmission_tracker.c diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile index 02546643dd21..d065b4de177e 100644 --- a/net-p2p/transmission-cli/Makefile +++ b/net-p2p/transmission-cli/Makefile @@ -6,10 +6,13 @@ # PORTNAME= transmission -PORTVERSION= 0.71 -PORTREVISION?= 1 +PORTVERSION= 0.72 +PORTREVISION?= 0 CATEGORIES= net-p2p -MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ +#MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://people.freebsd.org/~mezz/distfiles/ +MASTER_SITE_SUBDIR=mezz DISTNAME= Transmission-${PORTVERSION} MAINTAINER= mezz@FreeBSD.org diff --git a/net-p2p/transmission-cli/distinfo b/net-p2p/transmission-cli/distinfo index 2b403a931a1e..684677101a87 100644 --- a/net-p2p/transmission-cli/distinfo +++ b/net-p2p/transmission-cli/distinfo @@ -1,3 +1,3 @@ -MD5 (Transmission-0.71.tar.gz) = 2df675d20175f0a73d0c470f428018f8 -SHA256 (Transmission-0.71.tar.gz) = ff2311f595f8a6df68dd24f16eecdc3555c413c50869ae59e98fdf62c888611a -SIZE (Transmission-0.71.tar.gz) = 1344641 +MD5 (Transmission-0.72.tar.gz) = 634a18bf7cea1e2497465a3522de3e60 +SHA256 (Transmission-0.72.tar.gz) = 987172b8e4779cff77b98917ab85e518fb3366e1052d5598ff81df860f6d31bb +SIZE (Transmission-0.72.tar.gz) = 1335882 diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_tracker.c b/net-p2p/transmission-cli/files/patch-libtransmission_tracker.c deleted file mode 100644 index 6f8ad52d06a6..000000000000 --- a/net-p2p/transmission-cli/files/patch-libtransmission_tracker.c +++ /dev/null @@ -1,35 +0,0 @@ -Index: /trunk/libtransmission/tracker.c -=================================================================== ---- libtransmission/tracker.c (revision 1685) -+++ libtransmission/tracker.c (revision 1810) -@@ -516,16 +516,15 @@ - char * event, * trackerid, * idparam; - uint64_t left; -- uint64_t down; -- uint64_t up; - char start; - int numwant = 50; - -- down = tor->downloadedCur; -- up = tor->uploadedCur; - if( tc->started ) - { - event = "&event=started"; -- down = 0; -- up = 0; -+ -+ tor->downloadedPrev += tor->downloadedCur; -+ tor->downloadedCur = 0; -+ tor->uploadedPrev += tor->uploadedCur; -+ tor->uploadedCur = 0; - - if( shouldChangePort( tc ) ) -@@ -576,6 +575,6 @@ - "%s", - tcInf->announce, start, tor->escapedHashString, -- tc->id, tc->publicPort, up, down, left, numwant, -- tor->key, idparam, trackerid, event ); -+ tc->id, tc->publicPort, tor->uploadedCur, tor->downloadedCur, -+ left, numwant, tor->key, idparam, trackerid, event ); - } - diff --git a/net-p2p/transmission-gtk2/Makefile b/net-p2p/transmission-gtk2/Makefile index 84a64f2f27fd..4e03a862bdd4 100644 --- a/net-p2p/transmission-gtk2/Makefile +++ b/net-p2p/transmission-gtk2/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 1 +PORTREVISION= 0 PKGNAMESUFFIX= -gtk2 COMMENT= A free BitTorrent client written from scratch in C with GTK+2 diff --git a/net-p2p/transmission/Makefile b/net-p2p/transmission/Makefile index 02546643dd21..d065b4de177e 100644 --- a/net-p2p/transmission/Makefile +++ b/net-p2p/transmission/Makefile @@ -6,10 +6,13 @@ # PORTNAME= transmission -PORTVERSION= 0.71 -PORTREVISION?= 1 +PORTVERSION= 0.72 +PORTREVISION?= 0 CATEGORIES= net-p2p -MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ +#MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://people.freebsd.org/~mezz/distfiles/ +MASTER_SITE_SUBDIR=mezz DISTNAME= Transmission-${PORTVERSION} MAINTAINER= mezz@FreeBSD.org diff --git a/net-p2p/transmission/distinfo b/net-p2p/transmission/distinfo index 2b403a931a1e..684677101a87 100644 --- a/net-p2p/transmission/distinfo +++ b/net-p2p/transmission/distinfo @@ -1,3 +1,3 @@ -MD5 (Transmission-0.71.tar.gz) = 2df675d20175f0a73d0c470f428018f8 -SHA256 (Transmission-0.71.tar.gz) = ff2311f595f8a6df68dd24f16eecdc3555c413c50869ae59e98fdf62c888611a -SIZE (Transmission-0.71.tar.gz) = 1344641 +MD5 (Transmission-0.72.tar.gz) = 634a18bf7cea1e2497465a3522de3e60 +SHA256 (Transmission-0.72.tar.gz) = 987172b8e4779cff77b98917ab85e518fb3366e1052d5598ff81df860f6d31bb +SIZE (Transmission-0.72.tar.gz) = 1335882 diff --git a/net-p2p/transmission/files/patch-libtransmission_tracker.c b/net-p2p/transmission/files/patch-libtransmission_tracker.c deleted file mode 100644 index 6f8ad52d06a6..000000000000 --- a/net-p2p/transmission/files/patch-libtransmission_tracker.c +++ /dev/null @@ -1,35 +0,0 @@ -Index: /trunk/libtransmission/tracker.c -=================================================================== ---- libtransmission/tracker.c (revision 1685) -+++ libtransmission/tracker.c (revision 1810) -@@ -516,16 +516,15 @@ - char * event, * trackerid, * idparam; - uint64_t left; -- uint64_t down; -- uint64_t up; - char start; - int numwant = 50; - -- down = tor->downloadedCur; -- up = tor->uploadedCur; - if( tc->started ) - { - event = "&event=started"; -- down = 0; -- up = 0; -+ -+ tor->downloadedPrev += tor->downloadedCur; -+ tor->downloadedCur = 0; -+ tor->uploadedPrev += tor->uploadedCur; -+ tor->uploadedCur = 0; - - if( shouldChangePort( tc ) ) -@@ -576,6 +575,6 @@ - "%s", - tcInf->announce, start, tor->escapedHashString, -- tc->id, tc->publicPort, up, down, left, numwant, -- tor->key, idparam, trackerid, event ); -+ tc->id, tc->publicPort, tor->uploadedCur, tor->downloadedCur, -+ left, numwant, tor->key, idparam, trackerid, event ); - } -