Re: WIP: net/transmission 2.00b1

2010-06-07 Thread Christian Weisgerber
Christian Weisgerber na...@mips.inka.de wrote:

 Since certain people are always clamoring for the very latest
 Transmission, here's 2.00 Beta 1 for you guys to play with.
Beta 2
 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
--- Makefile3 May 2010 17:39:33 -   1.54
+++ Makefile7 Jun 2010 18:45:52 -
@@ -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.00b2
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gui=   transmission-gui-${VER}
@@ -35,9 +35,7 @@ LIB_DEPENDS=  curl.=14::net/curl \
 
 USE_GMAKE= Yes
 USE_LIBTOOL=   Yes
-AUTOCONF_VERSION=2.63
-AUTOCONF=  autoconf -I m4
-CONFIGURE_STYLE=autoconf no-autoheader
+CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=--disable-shared \
--disable-silent-rules \
--disable-libnotify \
@@ -46,9 +44,9 @@ CONFIGURE_ARGS=   --disable-shared \
--disable-gconf2
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib \
+   LIBEVENT_LIBS=-leventextra -levent \
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
--- distinfo3 May 2010 17:39:33 -   1.30
+++ distinfo7 Jun 2010 18:45:52 -
@@ -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.00b2.tar.bz2) = 2x3ZYNkr3GLWHe3rHT44cw==
+RMD160 (transmission-2.00b2.tar.bz2) = mct0lq+G6rcZWGZgfaCaDtQZc3I=
+SHA1 (transmission-2.00b2.tar.bz2) = hUoz/E2YF+1peTI3CoybKJk99F8=
+SHA256 (transmission-2.00b2.tar.bz2) = 
GfdqBafuxuOgDJM3jMSPUGP8QblpgWzkBfVnIPPERsA=
+SIZE (transmission-2.00b2.tar.bz2) = 3761555
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure 7 Jun 2010 18:45:52 -
@@ -0,0 +1,41 @@
+$OpenBSD$
+--- configure.orig Mon Jun  7 18:48:58 2010
 configure  Mon Jun  7 18:50:23 2010
+@@ -10863,15 +10863,15 @@ CC=$lt_save_CC
+ if test X = 0; then
+   supported_build=yes
+   if test x$GCC = xyes ; then
+-CFLAGS=$CFLAGS -g -O3 
+-CXXFLAGS=$CXXFLAGS -g -O3 
++: CFLAGS=$CFLAGS -g -O3 
++: CXXFLAGS=$CXXFLAGS -g -O3 
+   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
+  if test x$supported_build = xno; then
+@@ -15387,7 +15387,7 @@ esac
+ 
+ if test x$GCC = xyes ; then
+ 
+-CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith 
-Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes 
-Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls 
-Wnested-externs -Wunused-parameter -Wwrite-strings
++: CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith 
-Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes 
-Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls 
-Wnested-externs -Wunused-parameter -Wwrite-strings
+ 
+ { $as_echo $as_me:${as_lineno-$LINENO}: checking gcc version 5
+ $as_echo_n checking gcc version...  6; }
+@@ -15399,7 +15399,7 @@ $as_echo_n checking gcc version...  6; }
+ { $as_echo $as_me:${as_lineno-$LINENO}: result: $GCC_VERSION 5
+ $as_echo $GCC_VERSION 6; }
+ if test $GCC_VERSION_NUM -ge 304; then
+-CFLAGS=$CFLAGS -Wextra -Wdeclaration-after-statement 
-Winit-self
++: CFLAGS=$CFLAGS -Wextra -Wdeclaration-after-statement 
-Winit-self
+ fi
+ fi
+ 
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- 

Re: WIP: net/transmission 2.00b1

2010-05-31 Thread Christian Weisgerber
Christian Weisgerber na...@mips.inka.de wrote:

 Since certain people are always clamoring for the very latest
 Transmission, here's 2.00 Beta 1 for you guys to play with.

I forgot to mention:  I also enabled local peer discovery for a
bit, but didn't see any multicast traffic from Transmission.  Broken?

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: WIP: net/transmission 2.00b1

2010-05-31 Thread Owain Ainsworth
On Mon, May 31, 2010 at 04:19:45PM +, Christian Weisgerber wrote:
 Christian Weisgerber na...@mips.inka.de wrote:
 
  Since certain people are always clamoring for the very latest
  Transmission, here's 2.00 Beta 1 for you guys to play with.
 
 I forgot to mention:  I also enabled local peer discovery for a
 bit, but didn't see any multicast traffic from Transmission.  Broken?

Did you set multicast_host in rc.conf.local? without that multicast is
blackholed iirc.

-0-
-- 
If there is no God, who pops up the next Kleenex?
-- Art Hoppe



Re: WIP: net/transmission 2.00b1

2010-05-31 Thread Christian Weisgerber
Owain Ainsworth zer...@googlemail.com wrote:

  I forgot to mention:  I also enabled local peer discovery for a
  bit, but didn't see any multicast traffic from Transmission.  Broken?
 
 Did you set multicast_host in rc.conf.local? without that multicast is
 blackholed iirc.

That's a good reminder for other people who want to test this, but
yes, I always set multicast_host on all my machines.

-- 
Christian naddy Weisgerber  na...@mips.inka.de