This updates net/transmission to 1.72. The major new addition in
the 1.7x series is support for DHT, which was the last notable
BitTorrent feature missing from Transmission.
Please test.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.36
diff -u -p -r1.36 Makefile
--- Makefile 12 Jun 2009 08:11:17 -0000 1.36
+++ Makefile 17 Jun 2009 13:03:32 -0000
@@ -3,10 +3,10 @@
COMMENT-main= lightweight BitTorrent command line and daemon client
COMMENT-gui= lightweight BitTorrent client with graphical interface
-VER= 1.61
+VER= 1.72
DISTNAME= transmission-${VER}
-PKGNAME-main= transmission-${VER}p0
-PKGNAME-gui= transmission-gui-${VER}p0
+PKGNAME-main= transmission-${VER}
+PKGNAME-gui= transmission-gui-${VER}
CATEGORIES= net
HOMEPAGE= http://www.transmissionbt.com/
@@ -30,7 +30,7 @@ WANTLIB= c crypto idn m pthread ssl z
WANTLIB-main= ${WANTLIB}
MODULES= devel/gettext textproc/intltool
-LIB_DEPENDS= curl.>=12::net/curl
+LIB_DEPENDS= curl.>=13::net/curl
USE_GMAKE= Yes
USE_LIBTOOL= Yes
@@ -55,7 +55,7 @@ WANTLIB-gui= ${WANTLIB} X11 Xau Xcomposi
LIB_DEPENDS+= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \
notify.>=2::devel/libnotify
LIB_DEPENDS-main=${MODGETTEXT_LIB_DEPENDS} \
- curl.>=12::net/curl
+ curl.>=13::net/curl
RUN_DEPENDS-gui=:${PKGNAME-main}:net/transmission,-main \
::devel/desktop-file-utils
USE_X11= Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.22
diff -u -p -r1.22 distinfo
--- distinfo 13 May 2009 15:10:42 -0000 1.22
+++ distinfo 17 Jun 2009 13:03:32 -0000
@@ -1,5 +1,5 @@
-MD5 (transmission-1.61.tar.bz2) = CwQo9KYjemTci303is4/Bg==
-RMD160 (transmission-1.61.tar.bz2) = BkgRPt/E94acHHXm7RRuaT9gt6g=
-SHA1 (transmission-1.61.tar.bz2) = aAEeaB9sUjcOqYsDmHTcFmVfaNU=
-SHA256 (transmission-1.61.tar.bz2) =
O8W/Se0Co9k7S5txx4FJYOlywb3k6fuDss1QDIOuSpo=
-SIZE (transmission-1.61.tar.bz2) = 4741686
+MD5 (transmission-1.72.tar.bz2) = Tru51MJ6AZ9aztkmgYvk+g==
+RMD160 (transmission-1.72.tar.bz2) = 7rXmjTKMjg4Vovj/7qOAQNK+hPg=
+SHA1 (transmission-1.72.tar.bz2) = GNJcAx1KrzuK5UbVtLSSZyIU7wo=
+SHA256 (transmission-1.72.tar.bz2) =
cfqfioyUYRGpkbe8fMxRgleN/HejAbfoAXkcxLPBU1M=
+SIZE (transmission-1.72.tar.bz2) = 4810233
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-configure,v
retrieving revision 1.13
diff -u -p -r1.13 patch-configure
--- patches/patch-configure 10 May 2009 19:31:44 -0000 1.13
+++ patches/patch-configure 17 Jun 2009 13:03:32 -0000
@@ -1,18 +1,18 @@
$OpenBSD: patch-configure,v 1.13 2009/05/10 19:31:44 naddy Exp $
---- configure.orig Tue May 5 02:41:18 2009
-+++ configure Thu May 7 19:40:39 2009
-@@ -20129,8 +20129,8 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+--- configure.orig Wed Jun 17 02:03:56 2009
++++ configure Wed Jun 17 13:35:19 2009
+@@ -11259,8 +11259,8 @@ CC="$lt_save_CC"
if test 0 = "0"; then
supported_build=yes
if test "x$GCC" = "xyes" ; then
-- CFLAGS="$CFLAGS -g -O3 -funroll-loops "
-- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
-+ : CFLAGS="$CFLAGS -g -O3 -funroll-loops "
-+ : CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
+- CFLAGS="$CFLAGS -g -O3 "
+- CXXFLAGS="$CXXFLAGS -g -O3 "
++ : CFLAGS="$CFLAGS -g -O3 "
++ : CXXFLAGS="$CXXFLAGS -g -O3 "
fi
cat >>confdefs.h <<\_ACEOF
-@@ -21526,7 +21526,7 @@ esac
+@@ -16306,7 +16306,7 @@ esac
if test "x$GCC" = "xyes" ; then
@@ -21,7 +21,7 @@ $OpenBSD: patch-configure,v 1.13 2009/05
{ $as_echo "$as_me:$LINENO: checking gcc version" >&5
$as_echo_n "checking gcc version... " >&6; }
-@@ -21538,7 +21538,7 @@ $as_echo_n "checking gcc version... " >&6; }
+@@ -16318,7 +16318,7 @@ $as_echo_n "checking gcc version... " >&6; }
{ $as_echo "$as_me:$LINENO: result: $GCC_VERSION" >&5
$as_echo "$GCC_VERSION" >&6; }
if test $GCC_VERSION_NUM -ge 304; then
Index: patches/patch-daemon_remote_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-daemon_remote_c,v
retrieving revision 1.6
diff -u -p -r1.6 patch-daemon_remote_c
--- patches/patch-daemon_remote_c 13 May 2009 15:10:42 -0000 1.6
+++ patches/patch-daemon_remote_c 17 Jun 2009 13:03:32 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-daemon_remote_c,v 1.6 2009/05/13 15:10:42 naddy Exp $
---- daemon/remote.c.orig Tue May 12 02:32:38 2009
-+++ daemon/remote.c Wed May 13 13:30:31 2009
-@@ -702,24 +702,24 @@ strlsize( char * buf, int64_t size, size_t buflen )
+--- daemon/remote.c.orig Wed Jun 3 09:47:08 2009
++++ daemon/remote.c Fri Jun 5 14:49:47 2009
+@@ -733,24 +733,24 @@ strlsize( char * buf, int64_t size, size_t buflen )
if( !size )
tr_strlcpy( buf, "None", buflen );
else if( size < (int64_t)KILOBYTE_FACTOR )
Index: patches/patch-daemon_watch_c
===================================================================
RCS file: patches/patch-daemon_watch_c
diff -N patches/patch-daemon_watch_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-daemon_watch_c 17 Jun 2009 13:03:32 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- daemon/watch.c.orig Wed Jun 17 14:06:23 2009
++++ daemon/watch.c Wed Jun 17 14:11:17 2009
+@@ -141,7 +141,7 @@ is_file_in_list( struct evbuffer * buf, const char * f
+ tr_bool in_list;
+ struct evbuffer * test = evbuffer_new( );
+ add_file_to_list( test, filename, len );
+- in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH(
test ) );
++ in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH(
test ) ) != NULL;
+ evbuffer_free( test );
+ return in_list;
+ }
Index: patches/patch-gtk_details_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_details_c,v
retrieving revision 1.8
diff -u -p -r1.8 patch-gtk_details_c
--- patches/patch-gtk_details_c 10 May 2009 19:31:44 -0000 1.8
+++ patches/patch-gtk_details_c 17 Jun 2009 13:03:32 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-gtk_details_c,v 1.8 2009/05/10 19:31:44 naddy Exp $
---- gtk/details.c.orig Tue May 5 02:40:11 2009
-+++ gtk/details.c Thu May 7 19:40:40 2009
-@@ -906,7 +906,7 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** to
+--- gtk/details.c.orig Wed Jun 17 02:01:45 2009
++++ gtk/details.c Wed Jun 17 13:35:20 2009
+@@ -910,7 +910,7 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** to
for( i=0; i<n; ++i )
sum += infos[i]->pieceCount;
g_snprintf( buf, sizeof( buf ),
@@ -10,7 +10,7 @@ $OpenBSD: patch-gtk_details_c,v 1.8 2009
for( i=1; i<n; ++i )
if( baseline != (int)infos[i]->pieceSize )
break;
-@@ -1453,11 +1453,11 @@ refreshPeers( struct DetailsImpl * di, tr_torrent ** t
+@@ -1462,11 +1462,11 @@ refreshPeers( struct DetailsImpl * di, tr_torrent ** t
leechers = s->leechers;
completed += s->timesCompleted;
}
@@ -25,7 +25,7 @@ $OpenBSD: patch-gtk_details_c,v 1.8 2009
gtk_label_set_text( GTK_LABEL( di->completed_lb ), buf );
}
-@@ -2058,7 +2058,7 @@ torrent_inspector_set_torrents( GtkWidget * w, GSList
+@@ -2073,7 +2073,7 @@ torrent_inspector_set_torrents( GtkWidget * w, GSList
{
file_list_clear( di->file_list );
tracker_list_clear( di->tracker_list );
Index: patches/patch-gtk_tr-window_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_tr-window_c,v
retrieving revision 1.7
diff -u -p -r1.7 patch-gtk_tr-window_c
--- patches/patch-gtk_tr-window_c 10 May 2009 19:31:44 -0000 1.7
+++ patches/patch-gtk_tr-window_c 17 Jun 2009 13:03:32 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-gtk_tr-window_c,v 1.7 2009/05/10 19:31:44 naddy Exp $
---- gtk/tr-window.c.orig Tue May 5 02:40:11 2009
-+++ gtk/tr-window.c Thu May 7 19:40:40 2009
-@@ -1041,13 +1041,13 @@ updateTorrentCount( PrivateData * p )
+--- gtk/tr-window.c.orig Wed Jun 17 02:01:45 2009
++++ gtk/tr-window.c Wed Jun 17 13:35:20 2009
+@@ -1040,13 +1040,13 @@ updateTorrentCount( PrivateData * p )
*buf = '\0';
else if( torrentCount != visibleCount )
g_snprintf( buf, sizeof( buf ),
Index: patches/patch-libtransmission_utils_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-libtransmission_utils_c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-libtransmission_utils_c
--- patches/patch-libtransmission_utils_c 13 May 2009 15:10:42 -0000
1.4
+++ patches/patch-libtransmission_utils_c 17 Jun 2009 13:03:32 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-libtransmission_utils_c,v 1.4 2009/05/13 15:10:42 naddy Exp $
---- libtransmission/utils.c.orig Tue May 12 02:32:26 2009
-+++ libtransmission/utils.c Wed May 13 13:30:32 2009
-@@ -1541,7 +1541,7 @@ printf_double_without_rounding( char * buf, int buflen
+--- libtransmission/utils.c.orig Wed Jun 17 02:01:44 2009
++++ libtransmission/utils.c Wed Jun 17 13:35:20 2009
+@@ -1330,7 +1330,7 @@ printf_double_without_rounding( char * buf, int buflen
char * pch;
char tmp[128];
int len;
@@ -10,7 +10,7 @@ $OpenBSD: patch-libtransmission_utils_c,
pch = tmp;
while( isdigit( *pch ) ) ++pch; /* walk to the decimal point */
++pch; /* walk over the decimal point */
-@@ -1563,6 +1563,6 @@ tr_strratio( char * buf, size_t buflen, double ratio,
+@@ -1352,7 +1352,7 @@ tr_strratio( char * buf, size_t buflen, double ratio,
else if( ratio < 100.0 )
printf_double_without_rounding( buf, buflen, ratio, 1 );
else
@@ -18,3 +18,4 @@ $OpenBSD: patch-libtransmission_utils_c,
+ tr_snprintf( buf, buflen, "%.0f", ratio );
return buf;
}
+
Index: patches/patch-web_javascript_transmission_js
===================================================================
RCS file: patches/patch-web_javascript_transmission_js
diff -N patches/patch-web_javascript_transmission_js
--- patches/patch-web_javascript_transmission_js 12 Jun 2009 08:11:17
-0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-web_javascript_transmission_js,v 1.1 2009/06/12 08:11:17 fgsch
Exp $
---- web/javascript/transmission.js.orig Wed Jun 10 14:24:10 2009
-+++ web/javascript/transmission.js Wed Jun 10 14:24:21 2009
-@@ -1243,7 +1243,7 @@ Transmission.prototype =
- var tr = this;
- var args = { };
- if ('' != $('#torrent_upload_url').val()) {
--
tr.remote.addTorrentByUrl($('#torrent_upload_url').val(), { paused:
!this[Prefs._Autostart] });
-+
tr.remote.addTorrentByUrl($('#torrent_upload_url').val(), { paused:
!this[Prefs._AutoStart] });
- } else {
- args.url = '/transmission/upload?paused=' +
(this[Prefs._AutoStart] ? 'false' : 'true');
- args.type = 'POST';
Index: pkg/PLIST-gui
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-gui,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST-gui
--- pkg/PLIST-gui 13 May 2009 15:10:42 -0000 1.16
+++ pkg/PLIST-gui 17 Jun 2009 13:03:32 -0000
@@ -63,6 +63,9 @@ share/locale/fa/
share/locale/fa/LC_MESSAGES/
share/locale/fa/LC_MESSAGES/transmission.mo
share/locale/fi/LC_MESSAGES/transmission.mo
+share/locale/fil/
+share/locale/fil/LC_MESSAGES/
+share/locale/fil/LC_MESSAGES/transmission.mo
share/locale/fr/LC_MESSAGES/transmission.mo
share/locale/ga/LC_MESSAGES/transmission.mo
share/locale/gl/LC_MESSAGES/transmission.mo
--
Christian "naddy" Weisgerber [email protected]