Since certain people are always clamoring for the very latest Transmission, here's 2.00 Beta 1 for you guys to play with.
I took the GTK client for a spin, but on my slow Blade 100 it eats all the CPU it can get. Maybe it doesn't on a faster box, maybe something is broken. I didn't try the daemon. The version.h patch is there because many private trackers forbid beta versions. So we lie. (What did they expect?) Index: Makefile =================================================================== RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile 3 May 2010 17:39:33 -0000 1.54 +++ Makefile 31 May 2010 10:49:13 -0000 @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.93 +VER= 2.00b1 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -48,7 +48,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/ LDFLAGS="-L${LOCALBASE}/lib" \ OPENSSL_CFLAGS="-I/usr/include" \ OPENSSL_LIBS="-lcrypto" -LIBTOOL_FLAGS= --tag=disable-shared MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} .if ${FLAVOR:L:Mno_gui} Index: distinfo =================================================================== RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.30 diff -u -p -r1.30 distinfo --- distinfo 3 May 2010 17:39:33 -0000 1.30 +++ distinfo 31 May 2010 10:49:13 -0000 @@ -1,5 +1,5 @@ -MD5 (transmission-1.93.tar.bz2) = 9oNY0D5GvsVwS7qolJkBUg== -RMD160 (transmission-1.93.tar.bz2) = AOuOE1Dy4Nnbc69x57iHQkEgD4k= -SHA1 (transmission-1.93.tar.bz2) = J3k7gIjW/V2zuABJAHcMhK65kok= -SHA256 (transmission-1.93.tar.bz2) = 6bex+5qtKAjuJ7Fj26hkf3OMI1EyAYZPqZRAELjXFnA= -SIZE (transmission-1.93.tar.bz2) = 4381746 +MD5 (transmission-2.00b1.tar.bz2) = Q1QKRqTurIjlOmdXP+yiGg== +RMD160 (transmission-2.00b1.tar.bz2) = XLeIj0AZxvL4QtKFmmJTo2BYQ+E= +SHA1 (transmission-2.00b1.tar.bz2) = UFSnwpZuQgm3rVjl6qQL20Fgt7k= +SHA256 (transmission-2.00b1.tar.bz2) = aLfPdQMadyd8FhNp9eTuN0DsYjYRS12jmH8S3uVesPc= +SIZE (transmission-2.00b1.tar.bz2) = 3924972 Index: patches/patch-configure_ac =================================================================== RCS file: /cvs/ports/net/transmission/patches/patch-configure_ac,v retrieving revision 1.4 diff -u -p -r1.4 patch-configure_ac --- patches/patch-configure_ac 3 May 2010 17:39:33 -0000 1.4 +++ patches/patch-configure_ac 31 May 2010 10:49:13 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/05/03 17:39:33 naddy Exp $ ---- configure.ac.orig Fri Mar 12 03:04:38 2010 -+++ configure.ac Sat May 1 03:12:59 2010 -@@ -24,8 +24,8 @@ AC_PROG_LIBTOOL +--- configure.ac.orig Sun May 23 03:53:02 2010 ++++ configure.ac Mon May 31 00:55:18 2010 +@@ -24,15 +24,15 @@ AC_PROG_LIBTOOL if test m4_substr(peer_id_prefix,6,1) = "0"; then supported_build=yes if test "x$GCC" = "xyes" ; then @@ -12,6 +12,15 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/ fi CPPFLAGS="$CPPFLAGS -DNDEBUG" else + supported_build=no + if test "x$GCC" = "xyes" ; then +- CFLAGS="$CFLAGS -g -O0" +- CXXFLAGS="$CXXFLAGS -g -O0" ++ : CFLAGS="$CFLAGS -g -O0" ++ : CXXFLAGS="$CXXFLAGS -g -O0" + fi + fi + AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno") @@ -89,7 +89,7 @@ AC_PROG_CXX AC_C_INLINE if test "x$GCC" = "xyes" ; then @@ -30,28 +39,17 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/ fi fi -@@ -205,13 +205,13 @@ AC_CHECK_LIB([rt], - dnl build our copy of libevent whether we use it or not, - dnl because "make dist" needs its Makefiles to exist, and - dnl AM_CONDITIONAL + AC_CONFIG_SUBDIRS don't seem to play nice --AC_CONFIG_SUBDIRS([third-party/libevent]) -+dnl AC_CONFIG_SUBDIRS([third-party/libevent]) - libevent_source=bundled - AC_CHECK_LIB([event],[evutil_vsnprintf], - [libevent_found=yes], - [libevent_found=no], +@@ -207,10 +207,10 @@ AC_CHECK_LIB([event],[evutil_vsnprintf], + [], + [AC_MSG_ERROR(libevent not found!)], [$libevent_extra_libs]) --AC_CHECK_HEADER([event-config.h], -+AC_CHECK_HEADER([evhttp.h], - [libevent_headers_found=yes], - [libevent_headers_found=no]) - libevent_source=bundled -@@ -227,7 +227,7 @@ if test "x$libevent_source" = "xbundled"; then - LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/libevent.la" - else - LIBEVENT_CFLAGS="" -- LIBEVENT_LIBS="-levent $libevent_extra_libs" -+ LIBEVENT_LIBS="-leventextra -levent $libevent_extra_libs" - fi +-AC_CHECK_HEADER([event-config.h],[], +- [AC_MSG_ERROR(event-config.h not found!)]) ++AC_CHECK_HEADER([evhttp.h],[], ++ [AC_MSG_ERROR(evhttp.h not found!)]) + LIBEVENT_CFLAGS="" +-LIBEVENT_LIBS="-levent $libevent_extra_libs" ++LIBEVENT_LIBS="-leventextra -levent $libevent_extra_libs" AC_ARG_VAR([LIBEVENT_CFLAGS], [C compiler flags for LIBEVENT, overriding pkg-config])dnl AC_ARG_VAR([LIBEVENT_LIBS], [linker flags for LIBEVENT, overriding pkg-config])dnl + Index: patches/patch-libtransmission_tr-lpd_c =================================================================== RCS file: patches/patch-libtransmission_tr-lpd_c diff -N patches/patch-libtransmission_tr-lpd_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-libtransmission_tr-lpd_c 31 May 2010 10:49:13 -0000 @@ -0,0 +1,20 @@ +$OpenBSD$ +--- libtransmission/tr-lpd.c.orig Mon May 31 00:47:35 2010 ++++ libtransmission/tr-lpd.c Mon May 31 00:48:19 2010 +@@ -429,6 +429,7 @@ static inline void lpd_consistencyCheck( void ) + */ + tr_bool tr_lpdSendAnnounce( const tr_torrent* t ) + { ++ size_t i; + const char fmt[] = + "BT-SEARCH * HTTP/%u.%u" CRLF + "Host: %s:%u" CRLF +@@ -444,7 +445,7 @@ tr_bool tr_lpdSendAnnounce( const tr_torrent* t ) + return FALSE; + + /* make sure the hash string is normalized, just in case */ +- for( size_t i = 0; i < sizeof hashString; i++ ) ++ for( i = 0; i < sizeof hashString; i++ ) + hashString[i] = toupper( t->info.hashString[i] ); + + /* prepare a zero-terminated announce message */ Index: patches/patch-libtransmission_version_h =================================================================== RCS file: patches/patch-libtransmission_version_h diff -N patches/patch-libtransmission_version_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-libtransmission_version_h 31 May 2010 10:49:13 -0000 @@ -0,0 +1,20 @@ +$OpenBSD$ +--- libtransmission/version.h.orig Mon May 31 01:30:46 2010 ++++ libtransmission/version.h Mon May 31 01:31:09 2010 +@@ -1,8 +1,8 @@ +-#define PEERID_PREFIX "-TR193X-" +-#define USERAGENT_PREFIX "2.00b1" +-#define SVN_REVISION "10680" +-#define SVN_REVISION_NUM 10680 +-#define SHORT_VERSION_STRING "2.00b1" +-#define LONG_VERSION_STRING "2.00b1 (10680)" +-#define VERSION_STRING_INFOPLIST 2.00b1 +-#define TR_BETA_RELEASE 1 ++#define PEERID_PREFIX "-TR1930-" ++#define USERAGENT_PREFIX "1.93" ++#define SVN_REVISION "10621" ++#define SVN_REVISION_NUM 10621 ++#define SHORT_VERSION_STRING "1.93" ++#define LONG_VERSION_STRING "1.93 (10621)" ++#define VERSION_STRING_INFOPLIST 1.93 ++#define TR_STABLE_RELEASE 1 Index: patches/patch-third-party_Makefile_in =================================================================== RCS file: patches/patch-third-party_Makefile_in diff -N patches/patch-third-party_Makefile_in --- patches/patch-third-party_Makefile_in 1 May 2010 13:50:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-third-party_Makefile_in,v 1.1 2010/05/01 13:50:05 naddy Exp $ ---- third-party/Makefile.in.orig Sat May 1 03:13:20 2010 -+++ third-party/Makefile.in Sat May 1 03:13:31 2010 -@@ -281,7 +281,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - transmissionlocaledir = @transmissionlocaledir@ --SUBDIRS = libnatpmp miniupnp libevent dht -+SUBDIRS = libnatpmp miniupnp dht - EXTRA_DIST = \ - macosx-libevent-config.h \ - macosx-libevent-event-config.h Index: pkg/PLIST-gui =================================================================== RCS file: /cvs/ports/net/transmission/pkg/PLIST-gui,v retrieving revision 1.23 diff -u -p -r1.23 PLIST-gui --- pkg/PLIST-gui 3 May 2010 17:39:33 -0000 1.23 +++ pkg/PLIST-gui 31 May 2010 10:49:13 -0000 @@ -22,9 +22,6 @@ share/icons/hicolor/48x48/apps/transmiss share/icons/hicolor/scalable/ share/icons/hicolor/scalable/apps/ share/icons/hicolor/scalable/apps/transmission.svg -share/locale/an/ -share/locale/an/LC_MESSAGES/ -share/locale/an/LC_MESSAGES/transmission.mo share/locale/ar/ share/locale/ar/LC_MESSAGES/ share/locale/ar/LC_MESSAGES/transmission.mo @@ -123,9 +120,6 @@ share/locale/mt/LC_MESSAGES/transmission share/locale/nb/LC_MESSAGES/transmission.mo share/locale/nl/LC_MESSAGES/transmission.mo share/locale/nn/LC_MESSAGES/transmission.mo -share/locale/oc/ -share/locale/oc/LC_MESSAGES/ -share/locale/oc/LC_MESSAGES/transmission.mo share/locale/pl/LC_MESSAGES/transmission.mo share/locale/pt/LC_MESSAGES/transmission.mo share/locale/pt_BR/LC_MESSAGES/transmission.mo @@ -145,9 +139,6 @@ share/locale/th/ share/locale/th/LC_MESSAGES/ share/locale/th/LC_MESSAGES/transmission.mo share/locale/tr/LC_MESSAGES/transmission.mo -share/locale/ug/ -share/locale/ug/LC_MESSAGES/ -share/locale/ug/LC_MESSAGES/transmission.mo share/locale/uk/LC_MESSAGES/transmission.mo share/locale/vi/LC_MESSAGES/transmission.mo share/locale/zh_CN/LC_MESSAGES/transmission.mo -- Christian "naddy" Weisgerber na...@mips.inka.de