Update: net/transmission 2.80

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Update: net/transmission 2.80

Christian Weisgerber
Here's an update of net/transmission to 2.80, largely untested as yet.
https://trac.transmissionbt.com/wiki/Changes#version-2.80

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- Makefile 31 May 2013 15:34:53 -0000 1.87
+++ Makefile 6 Jul 2013 21:01:18 -0000
@@ -4,14 +4,11 @@ COMMENT-main= BitTorrent command line an
 COMMENT-gtk= BitTorrent client with GTK+ interface
 COMMENT-qt= BitTorrent client with Qt interface
 
-VER= 2.77
+VER= 2.80
 DISTNAME= transmission-${VER}
 PKGNAME-main= transmission-${VER}
 PKGNAME-gtk= transmission-gtk-${VER}
 PKGNAME-qt= transmission-qt-${VER}
-REVISION-main= 1
-REVISION-gtk= 1
-REVISION-qt= 1
 CATEGORIES= net
 HOMEPAGE= http://www.transmissionbt.com/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.44
diff -u -p -r1.44 distinfo
--- distinfo 20 Mar 2013 20:18:07 -0000 1.44
+++ distinfo 6 Jul 2013 21:01:18 -0000
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.77.tar.xz) = VbFlP8GKEBU7qUOfKEvXsidqaFlBbcriF9noxomEH94=
-SIZE (transmission-2.77.tar.xz) = 2953840
+SHA256 (transmission-2.80.tar.xz) = DqC8YuORfOTLhIWCiI7NzQwNvo/7lILXMwyCPh/xXfM=
+SIZE (transmission-2.80.tar.xz) = 3167136
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-configure,v
retrieving revision 1.30
diff -u -p -r1.30 patch-configure
--- patches/patch-configure 20 Mar 2013 20:18:07 -0000 1.30
+++ patches/patch-configure 6 Jul 2013 21:01:18 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.30 2013/03/20 20:18:07 naddy Exp $
---- configure.orig Mon Feb 18 15:43:15 2013
-+++ configure Wed Mar 20 16:41:17 2013
-@@ -11762,8 +11762,8 @@ if test 0 = "0"; then
+--- configure.orig Wed Jun 26 04:36:03 2013
++++ configure Sat Jul  6 21:51:16 2013
+@@ -11800,8 +11800,8 @@ if test 0 = "0"; then
  else
    supported_build=no
    if test "x$GCC" = "xyes" ; then
@@ -12,7 +12,7 @@ $OpenBSD: patch-configure,v 1.30 2013/03
    fi
  fi
   if test "x$supported_build" = "xno"; then
-@@ -16155,7 +16155,7 @@ esac
+@@ -16193,7 +16193,7 @@ esac
 
  if test "x$GCC" = "xyes" ; then
 
@@ -21,7 +21,7 @@ $OpenBSD: patch-configure,v 1.30 2013/03
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
  $as_echo_n "checking gcc version... " >&6; }
-@@ -16167,10 +16167,10 @@ $as_echo_n "checking gcc version... " >&6; }
+@@ -16205,10 +16205,10 @@ $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
Index: patches/patch-libtransmission_platform_c
===================================================================
RCS file: patches/patch-libtransmission_platform_c
diff -N patches/patch-libtransmission_platform_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libtransmission_platform_c 6 Jul 2013 21:01:18 -0000
@@ -0,0 +1,30 @@
+$OpenBSD$
+--- libtransmission/platform.c.orig Wed Jun 26 04:35:25 2013
++++ libtransmission/platform.c Sat Jul  6 21:57:56 2013
+@@ -12,7 +12,7 @@
+
+ #ifndef WIN32
+  #include <sys/types.h> /* types needed by quota.h */
+- #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__)
+   #include <ufs/ufs/quota.h> /* quotactl() */
+  #elif defined (__sun)
+   #include <sys/fs/ufs_quota.h> /* quotactl */
+@@ -751,7 +751,7 @@ getquota (const char * device)
+   int64_t freespace;
+   int64_t spaceused;
+
+-#if defined(__FreeBSD__) || defined(SYS_DARWIN)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(SYS_DARWIN)
+   if (quotactl(device, QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t) &dq) == 0)
+     {
+ #elif defined(__sun)
+@@ -783,7 +783,7 @@ getquota (const char * device)
+           /* No quota enabled for this user */
+           return -1;
+         }
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__)
+       spaceused = (int64_t) dq.dqb_curblocks >> 1;
+ #elif defined(SYS_DARWIN)
+       spaceused = (int64_t) dq.dqb_curbytes;
Index: patches/patch-qt_torrent-filter_cc
===================================================================
RCS file: patches/patch-qt_torrent-filter_cc
diff -N patches/patch-qt_torrent-filter_cc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-qt_torrent-filter_cc 6 Jul 2013 21:01:18 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- qt/torrent-filter.cc.orig Sat Jul  6 22:21:17 2013
++++ qt/torrent-filter.cc Sat Jul  6 22:29:10 2013
+@@ -211,7 +211,7 @@ TorrentFilter :: hiddenRowCount( ) const
+ void
+ TorrentFilter :: countTorrentsPerMode (int * setmeCounts) const
+ {
+-  std::fill_n (setmeCounts, FilterMode::NUM_MODES, 0);
++  std::fill_n (setmeCounts, int(FilterMode::NUM_MODES), 0);
+
+   for (int row(0); ; ++row)
+     {
Index: pkg/PLIST-gtk
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-gtk,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST-gtk
--- pkg/PLIST-gtk 30 Sep 2012 19:53:10 -0000 1.8
+++ pkg/PLIST-gtk 6 Jul 2013 21:01:18 -0000
@@ -163,8 +163,6 @@ share/locale/nn/LC_MESSAGES/transmission
 share/locale/oc/
 share/locale/oc/LC_MESSAGES/
 share/locale/oc/LC_MESSAGES/transmission-gtk.mo
-share/locale/pa/
-share/locale/pa/LC_MESSAGES/
 share/locale/pa/LC_MESSAGES/transmission-gtk.mo
 share/locale/pl/LC_MESSAGES/transmission-gtk.mo
 share/locale/pt/LC_MESSAGES/transmission-gtk.mo
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-main,v
retrieving revision 1.22
diff -u -p -r1.22 PLIST-main
--- pkg/PLIST-main 30 Sep 2012 19:53:10 -0000 1.22
+++ pkg/PLIST-main 6 Jul 2013 21:01:18 -0000
@@ -31,8 +31,6 @@ share/transmission/web/javascript/format
 share/transmission/web/javascript/inspector.js
 share/transmission/web/javascript/jquery/
 share/transmission/web/javascript/jquery/jquery.contextmenu.min.js
-share/transmission/web/javascript/jquery/jquery.form.js
-share/transmission/web/javascript/jquery/jquery.form.min.js
 share/transmission/web/javascript/jquery/jquery.min.js
 share/transmission/web/javascript/jquery/jquery.transmenu.min.js
 share/transmission/web/javascript/jquery/jqueryui-1.8.16.min.js
--
Christian "naddy" Weisgerber                          [hidden email]