mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
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.
This commit is contained in:
parent
2b778e8fa5
commit
8516d6a436
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191297
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -gtk2
|
||||
|
||||
COMMENT= A free BitTorrent client written from scratch in C with GTK+2
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user