Update net/transmission to 2.81 for some bug fixes.
As usual this could use some testing.  I'm finding myself using
BitTorrent less and less.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.88
diff -u -p -r1.88 Makefile
--- Makefile    12 Jul 2013 17:03:59 -0000      1.88
+++ Makefile    6 Aug 2013 18:46:48 -0000
@@ -4,7 +4,7 @@ COMMENT-main=   BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=    BitTorrent client with Qt interface
 
-VER=           2.80
+VER=           2.81
 DISTNAME=      transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo    12 Jul 2013 17:03:59 -0000      1.45
+++ distinfo    6 Aug 2013 18:46:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.80.tar.xz) = 
DqC8YuORfOTLhIWCiI7NzQwNvo/7lILXMwyCPh/xXfM=
-SIZE (transmission-2.80.tar.xz) = 3167136
+SHA256 (transmission-2.81.tar.xz) = 
u7Vx9YJUZqpF5u9K0oYXYTWhqcAjT/6jUn69gAHMVqs=
+SIZE (transmission-2.81.tar.xz) = 3167816
Index: patches/patch-libtransmission_platform-quota_c
===================================================================
RCS file: patches/patch-libtransmission_platform-quota_c
diff -N patches/patch-libtransmission_platform-quota_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libtransmission_platform-quota_c      6 Aug 2013 18:46:48 
-0000
@@ -0,0 +1,30 @@
+$OpenBSD$
+--- libtransmission/platform-quota.c.orig      Tue Jul 23 13:37:31 2013
++++ libtransmission/platform-quota.c   Tue Jul 23 13:39:38 2013
+@@ -18,7 +18,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 */
+@@ -203,7 +203,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)
+@@ -235,7 +235,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-libtransmission_platform_c
===================================================================
RCS file: patches/patch-libtransmission_platform_c
diff -N patches/patch-libtransmission_platform_c
--- patches/patch-libtransmission_platform_c    12 Jul 2013 17:03:59 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-$OpenBSD: patch-libtransmission_platform_c,v 1.1 2013/07/12 17:03:59 naddy Exp 
$
---- 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;
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to