1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Update to 0.81.

This commit is contained in:
Jeremy Messenger 2007-08-24 20:05:01 +00:00
parent c75eaadcfa
commit d2d9c480fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198266
7 changed files with 19 additions and 38 deletions

View File

@ -6,16 +6,18 @@
#
PORTNAME= transmission
PORTVERSION= 0.80
PORTVERSION= 0.81
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
COMMENT?= A free BitTorrent client written from scratch in C
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
SLAVE_TRANS?= no
HAS_CONFIGURE= yes

View File

@ -1,3 +1,3 @@
MD5 (Transmission-0.80.tar.gz) = 5fde1bc0f8c3c31daaa202680e00d44a
SHA256 (Transmission-0.80.tar.gz) = d05d158d23e819d7a4f06eee92c158a86be52b18af838927f19be8897050f06e
SIZE (Transmission-0.80.tar.gz) = 2283341
MD5 (Transmission-0.81.tar.gz) = b672f380cda612c4d825d864ebc36d89
SHA256 (Transmission-0.81.tar.gz) = cabbd5273835c0fa078fd35ed3f01c4fd19a729bd20777dfff5a69795c5dfd48
SIZE (Transmission-0.81.tar.gz) = 2257245

View File

@ -1,13 +0,0 @@
Index: /branches/0.8x/libtransmission/torrent.c
===================================================================
--- /branches/0.8x/libtransmission/torrent.c (revision 2573)
+++ libtransmission/torrent.c (revision 2650)
@@ -736,6 +736,6 @@
assert( 0<=fileIndex && fileIndex<tor->info.fileCount );
assert( file->offset + file->length <= tor->info.totalSize );
- assert( (int)firstBlock < tor->blockCount );
- assert( (int)lastBlock < tor->blockCount );
+ assert( ( (int)firstBlock < tor->blockCount ) || (!file->length && file->offset==tor->info.totalSize) );
+ assert( ( (int)lastBlock < tor->blockCount ) || (!file->length && file->offset==tor->info.totalSize) );
assert( firstBlock <= lastBlock );
assert( (int)tr_torBlockPiece( tor, firstBlock ) == file->firstPiece );

View File

@ -11,8 +11,11 @@ share/locale/fr/LC_MESSAGES/transmission-gtk.mo
share/locale/it/LC_MESSAGES/transmission-gtk.mo
share/locale/nl/LC_MESSAGES/transmission-gtk.mo
share/locale/pl/LC_MESSAGES/transmission-gtk.mo
share/locale/pt/LC_MESSAGES/transmission-gtk.mo
share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
share/locale/ro/LC_MESSAGES/transmission-gtk.mo
share/locale/ru/LC_MESSAGES/transmission-gtk.mo
share/locale/sk/LC_MESSAGES/transmission-gtk.mo
share/locale/sv/LC_MESSAGES/transmission-gtk.mo
share/pixmaps/transmission.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -6,16 +6,18 @@
#
PORTNAME= transmission
PORTVERSION= 0.80
PORTVERSION= 0.81
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
COMMENT?= A free BitTorrent client written from scratch in C
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
SLAVE_TRANS?= no
HAS_CONFIGURE= yes

View File

@ -1,3 +1,3 @@
MD5 (Transmission-0.80.tar.gz) = 5fde1bc0f8c3c31daaa202680e00d44a
SHA256 (Transmission-0.80.tar.gz) = d05d158d23e819d7a4f06eee92c158a86be52b18af838927f19be8897050f06e
SIZE (Transmission-0.80.tar.gz) = 2283341
MD5 (Transmission-0.81.tar.gz) = b672f380cda612c4d825d864ebc36d89
SHA256 (Transmission-0.81.tar.gz) = cabbd5273835c0fa078fd35ed3f01c4fd19a729bd20777dfff5a69795c5dfd48
SIZE (Transmission-0.81.tar.gz) = 2257245

View File

@ -1,13 +0,0 @@
Index: /branches/0.8x/libtransmission/torrent.c
===================================================================
--- /branches/0.8x/libtransmission/torrent.c (revision 2573)
+++ libtransmission/torrent.c (revision 2650)
@@ -736,6 +736,6 @@
assert( 0<=fileIndex && fileIndex<tor->info.fileCount );
assert( file->offset + file->length <= tor->info.totalSize );
- assert( (int)firstBlock < tor->blockCount );
- assert( (int)lastBlock < tor->blockCount );
+ assert( ( (int)firstBlock < tor->blockCount ) || (!file->length && file->offset==tor->info.totalSize) );
+ assert( ( (int)lastBlock < tor->blockCount ) || (!file->length && file->offset==tor->info.totalSize) );
assert( firstBlock <= lastBlock );
assert( (int)tr_torBlockPiece( tor, firstBlock ) == file->firstPiece );