aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-05-01 16:44:07 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-05-01 16:44:07 +0000
commit8516d6a4362ebd7de139a51ae0a3447574ac5a2f (patch)
treebc884ffbfbe8f83cfbea1e38f8085cb0fabeac13 /net-p2p
parent2b778e8fa54d73b191a05daab842fc63463c6fe0 (diff)
downloadports-8516d6a4362ebd7de139a51ae0a3447574ac5a2f.tar.gz
ports-8516d6a4362ebd7de139a51ae0a3447574ac5a2f.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission-cli/Makefile9
-rw-r--r--net-p2p/transmission-cli/distinfo6
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_tracker.c35
-rw-r--r--net-p2p/transmission-gtk2/Makefile2
-rw-r--r--net-p2p/transmission/Makefile9
-rw-r--r--net-p2p/transmission/distinfo6
-rw-r--r--net-p2p/transmission/files/patch-libtransmission_tracker.c35
7 files changed, 19 insertions, 83 deletions
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 );
- }
-