pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Update "libtorrent" package to version 0.13.2 and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8af8f2be1caf
branches:  trunk
changeset: 603914:8af8f2be1caf
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed May 16 17:42:37 2012 +0000

description:
Update "libtorrent" package to version 0.13.2 and "rtorrent" package
to version 0.9.2.

A list of changes is not available unfortunately. But it seems that most
of the Solaris related build fixes have been integrated.

diffstat:

 net/libtorrent/Makefile         |   4 ++--
 net/libtorrent/PLIST            |  11 +++++++++--
 net/libtorrent/buildlink3.mk    |   6 +++---
 net/libtorrent/distinfo         |   9 ++++-----
 net/libtorrent/patches/patch-aa |  15 ---------------
 net/rtorrent/MESSAGE.BSD        |  12 ------------
 net/rtorrent/Makefile           |   9 ++-------
 net/rtorrent/distinfo           |  16 +++++++---------
 net/rtorrent/patches/patch-aa   |  17 -----------------
 net/rtorrent/patches/patch-ac   |  22 ----------------------
 net/rtorrent/patches/patch-ad   |  32 ++++++--------------------------
 net/rtorrent/patches/patch-ae   |  15 ++++++++-------
 net/rtorrent/patches/patch-ag   |  15 ++++++++-------
 13 files changed, 49 insertions(+), 134 deletions(-)

diffs (truncated from 330 to 300 lines):

diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/libtorrent/Makefile
--- a/net/libtorrent/Makefile   Wed May 16 16:48:57 2012 +0000
+++ b/net/libtorrent/Makefile   Wed May 16 17:42:37 2012 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2012/01/11 22:41:46 tron Exp $
+# $NetBSD: Makefile,v 1.44 2012/05/16 17:42:37 tron Exp $
 
-DISTNAME=      libtorrent-0.12.9
+DISTNAME=      libtorrent-0.13.2
 CATEGORIES=    net
 MASTER_SITES=  ${HOMEPAGE:=downloads/}
 
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/libtorrent/PLIST
--- a/net/libtorrent/PLIST      Wed May 16 16:48:57 2012 +0000
+++ b/net/libtorrent/PLIST      Wed May 16 17:42:37 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2011/07/30 17:06:33 tron Exp $
+@comment $NetBSD: PLIST,v 1.11 2012/05/16 17:42:37 tron Exp $
 include/torrent/bitfield.h
 include/torrent/chunk_manager.h
 include/torrent/common.h
@@ -7,6 +7,7 @@
 include/torrent/data/block_list.h
 include/torrent/data/block_transfer.h
 include/torrent/data/chunk_utils.h
+include/torrent/data/download_data.h
 include/torrent/data/file.h
 include/torrent/data/file_list.h
 include/torrent/data/file_list_iterator.h
@@ -19,6 +20,7 @@
 include/torrent/download/choke_group.h
 include/torrent/download/choke_queue.h
 include/torrent/download/download_manager.h
+include/torrent/download/group_entry.h
 include/torrent/download/resource_manager.h
 include/torrent/download_info.h
 include/torrent/error.h
@@ -43,14 +45,19 @@
 include/torrent/poll_kqueue.h
 include/torrent/poll_select.h
 include/torrent/rate.h
-include/torrent/thread_base.h
 include/torrent/throttle.h
 include/torrent/torrent.h
 include/torrent/tracker.h
+include/torrent/tracker_controller.h
 include/torrent/tracker_list.h
 include/torrent/utils/extents.h
+include/torrent/utils/log.h
+include/torrent/utils/log_buffer.h
 include/torrent/utils/log_files.h
 include/torrent/utils/option_strings.h
+include/torrent/utils/ranges.h
 include/torrent/utils/resume.h
+include/torrent/utils/signal_bitfield.h
+include/torrent/utils/thread_base.h
 lib/libtorrent.la
 lib/pkgconfig/libtorrent.pc
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/libtorrent/buildlink3.mk
--- a/net/libtorrent/buildlink3.mk      Wed May 16 16:48:57 2012 +0000
+++ b/net/libtorrent/buildlink3.mk      Wed May 16 17:42:37 2012 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.18 2011/08/01 21:42:45 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2012/05/16 17:42:37 tron Exp $
 
 BUILDLINK_TREE+=       libtorrent
 
 .if !defined(LIBTORRENT_BUILDLINK3_MK)
 LIBTORRENT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libtorrent+=     libtorrent>=0.12.9
-BUILDLINK_ABI_DEPENDS.libtorrent+=     libtorrent>=0.12.9
+BUILDLINK_API_DEPENDS.libtorrent+=     libtorrent>=0.13.2
+BUILDLINK_ABI_DEPENDS.libtorrent+=     libtorrent>=0.13.2
 BUILDLINK_PKGSRCDIR.libtorrent?=       ../../net/libtorrent
 
 .include "../../devel/libsigc++/buildlink3.mk"
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/libtorrent/distinfo
--- a/net/libtorrent/distinfo   Wed May 16 16:48:57 2012 +0000
+++ b/net/libtorrent/distinfo   Wed May 16 17:42:37 2012 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.28 2011/07/30 17:06:33 tron Exp $
+$NetBSD: distinfo,v 1.29 2012/05/16 17:42:37 tron Exp $
 
-SHA1 (libtorrent-0.12.9.tar.gz) = 176a836c6e685e4dad71ac08c0e09caaa5b7757c
-RMD160 (libtorrent-0.12.9.tar.gz) = a898e882da94977973d62f34a5dd82577fd83cf5
-Size (libtorrent-0.12.9.tar.gz) = 667864 bytes
-SHA1 (patch-aa) = d864808b9e9524b3a7f72bcc1b465d4e6b2d4f4a
+SHA1 (libtorrent-0.13.2.tar.gz) = 4f34a744fbe10c54aaf53d34681fabc1a49d7257
+RMD160 (libtorrent-0.13.2.tar.gz) = 090e6af9b4318a6176064159f6a8f70ab708c7fe
+Size (libtorrent-0.13.2.tar.gz) = 725088 bytes
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/libtorrent/patches/patch-aa
--- a/net/libtorrent/patches/patch-aa   Wed May 16 16:48:57 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.8 2009/04/10 09:06:20 tron Exp $
-
---- src/data/memory_chunk.cc.orig      2008-05-07 13:19:13.000000000 +0100
-+++ src/data/memory_chunk.cc   2009-04-10 09:37:20.000000000 +0100
-@@ -46,6 +46,10 @@
- #include "torrent/exceptions.h"
- #include "memory_chunk.h"
- 
-+#if defined(sun) || defined(__sun) 
-+extern "C" int madvise(void *addr, size_t len, int behav);
-+#endif /* sun || __sun  */
-+
- namespace torrent {
- 
- uint32_t MemoryChunk::m_pagesize = getpagesize();
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/MESSAGE.BSD
--- a/net/rtorrent/MESSAGE.BSD  Wed May 16 16:48:57 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE.BSD,v 1.1 2006/01/30 00:52:28 tron Exp $
-
-Please consider adding the following options to your ".rtorrent.rc":
-
-hash_max_tries = 5
-hash_interval = 10
-hash_read_ahead = 8
-
-This will significantly improve the performance of hashing files.
-
-===========================================================================
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/Makefile
--- a/net/rtorrent/Makefile     Wed May 16 16:48:57 2012 +0000
+++ b/net/rtorrent/Makefile     Wed May 16 17:42:37 2012 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2012/03/07 00:19:08 elric Exp $
+# $NetBSD: Makefile,v 1.50 2012/05/16 17:42:37 tron Exp $
 
-DISTNAME=      rtorrent-0.8.9
-PKGREVISION=   2
+DISTNAME=      rtorrent-0.9.2
 CATEGORIES=    net
 MASTER_SITES=  ${HOMEPAGE:=downloads/}
 
@@ -33,10 +32,6 @@
 
 .include "options.mk"
 
-.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
-MESSAGE_SRC=   ${PKGDIR}/MESSAGE.BSD
-.endif
-
 # See http://libtorrent.rakshasa.no/ticket/77
 .include "../../mk/compiler.mk"
 .if !empty(CC_VERSION:Mgcc-4.0.*)
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/distinfo
--- a/net/rtorrent/distinfo     Wed May 16 16:48:57 2012 +0000
+++ b/net/rtorrent/distinfo     Wed May 16 17:42:37 2012 +0000
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.28 2011/08/01 13:12:38 wiz Exp $
+$NetBSD: distinfo,v 1.29 2012/05/16 17:42:37 tron Exp $
 
-SHA1 (rtorrent-0.8.9.tar.gz) = 0ac51c185e98b5a386e5f1a07bca9a9963e2d6ce
-RMD160 (rtorrent-0.8.9.tar.gz) = d79eacf6d63d13514c07c1c35a662fea5f35aef1
-Size (rtorrent-0.8.9.tar.gz) = 570904 bytes
-SHA1 (patch-aa) = ef8edceb33f28e022e3d48706c30733ac3a730a3
+SHA1 (rtorrent-0.9.2.tar.gz) = 2a642d722745091265037ed8929a23c237a3b99f
+RMD160 (rtorrent-0.9.2.tar.gz) = 130a4c7f3bd018f7247d4561170d6878ab7a120f
+Size (rtorrent-0.9.2.tar.gz) = 591837 bytes
 SHA1 (patch-ab) = 87873bb32166d00398ab0ef6421a6fe85a55c914
-SHA1 (patch-ac) = b62de9ce834aa0422ec173e694d07e88aa1e2f47
-SHA1 (patch-ad) = 04fafec083c7cb27eb2f5ef7fbc5f6ab2e4e4a55
-SHA1 (patch-ae) = 49cb5e84f3759febfc93df874a10c90cafc249d8
+SHA1 (patch-ad) = ffc72a4020614f5879a050c0399c10d6f85cbdf0
+SHA1 (patch-ae) = a370881bfdd8534eb25fcbcff8d258b19797941f
 SHA1 (patch-af) = 842a01cbc75e61092b4d33fe9155a728e7c502e6
-SHA1 (patch-ag) = 381b100d2ae711114b24c4de2a4bf612efe31766
+SHA1 (patch-ag) = b7e5fe242b19f994f013acc9ec54a65fed729c29
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/patches/patch-aa
--- a/net/rtorrent/patches/patch-aa     Wed May 16 16:48:57 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2009/04/10 09:06:21 tron Exp $
-
---- src/rpc/scgi.cc.orig       2008-05-07 13:19:10.000000000 +0100
-+++ src/rpc/scgi.cc    2009-04-10 09:45:10.000000000 +0100
-@@ -88,7 +88,12 @@
-   char buffer[sizeof(sockaddr_un) + filename.size()];
-   sockaddr_un* sa = reinterpret_cast<sockaddr_un*>(buffer);
- 
-+#if defined(sun) || defined(__sun) 
-+  sa->sun_family = AF_UNIX;
-+#else
-   sa->sun_family = AF_LOCAL;
-+#endif
-+
-   std::memcpy(sa->sun_path, filename.c_str(), filename.size() + 1);
- 
-   if (!get_fd().open_local())
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/patches/patch-ac
--- a/net/rtorrent/patches/patch-ac     Wed May 16 16:48:57 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/12/05 16:31:52 tron Exp $
-
---- src/input/path_input.cc.orig       2008-12-05 13:19:28 +0100
-+++ src/input/path_input.cc    2008-12-05 13:25:19 +0100
-@@ -42,7 +42,7 @@
- #include <rak/path.h>
- 
- #include <sys/types.h>
--#include <sys/dir.h>
-+#include <sys/stat.h>
- 
- #include "path_input.h"
- 
-@@ -72,7 +72,7 @@
- 
- struct _transform_filename {
-   void operator () (utils::directory_entry& entry) {
--    if (entry.d_type == DT_DIR)
-+    if (S_ISDIR(entry.d_type))
-       entry.d_name += '/';
-   }
- };
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/patches/patch-ad
--- a/net/rtorrent/patches/patch-ad     Wed May 16 16:48:57 2012 +0000
+++ b/net/rtorrent/patches/patch-ad     Wed May 16 17:42:37 2012 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-ad,v 1.2 2008/12/16 16:49:52 tron Exp $
+$NetBSD: patch-ad,v 1.3 2012/05/16 17:42:37 tron Exp $
 
---- src/utils/directory.cc.orig        2008-05-07 13:19:11.000000000 +0100
-+++ src/utils/directory.cc     2008-12-16 16:45:58.000000000 +0000
+Fix build under Solaris and DragonFly.
+
+--- src/utils/directory.cc.orig        2012-03-29 14:06:11.000000000 +0100
++++ src/utils/directory.cc     2012-05-14 23:44:08.000000000 +0100
 @@ -38,6 +38,7 @@
  
  #include <algorithm>
@@ -10,7 +12,7 @@
  #include <dirent.h>
  #include <rak/path.h>
  #include <torrent/exceptions.h>
-@@ -63,7 +64,9 @@
+@@ -67,7 +68,9 @@
    if (m_path.empty())
      throw torrent::input_error("Directory::update() tried to open an empty path.");
  
@@ -21,25 +23,3 @@
  
    if (d == NULL)
      return false;
-@@ -73,12 +76,18 @@
-   while ((entry = readdir(d)) != NULL) {
-     if ((flags & update_hide_dot) && entry->d_name[0] == '.')
-       continue;
-+    
-+    std::string full_path = path + '/';
-+    full_path += entry->d_name;
-+    
-+    struct stat sb;
-+    if (stat(full_path.c_str(), &sb))
-+      continue;
- 
-     iterator itr = base_type::insert(end(), value_type());
- 
--    itr->d_fileno = entry->d_fileno;
--    itr->d_reclen = entry->d_reclen;
--    itr->d_type   = entry->d_type;
-+    itr->d_fileno = sb.st_ino;
-+    itr->d_type   = sb.st_mode;
- 
- #ifdef DIRENT_NAMLEN_EXISTS_FOOBAR
-     itr->d_name   = std::string(entry->d_name, entry->d_name + entry->d_namlen);
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/patches/patch-ae
--- a/net/rtorrent/patches/patch-ae     Wed May 16 16:48:57 2012 +0000
+++ b/net/rtorrent/patches/patch-ae     Wed May 16 17:42:37 2012 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-ae,v 1.2 2008/12/16 16:49:52 tron Exp $
+$NetBSD: patch-ae,v 1.3 2012/05/16 17:42:37 tron Exp $
+
+Fix build under Solaris and DragonFly.
 
---- src/utils/directory.h.orig 2008-05-07 13:19:11.000000000 +0100
-+++ src/utils/directory.h      2008-12-16 16:45:58.000000000 +0000
-@@ -49,8 +49,7 @@
- 
+--- src/utils/directory.h.orig 2012-03-29 14:06:11.000000000 +0100
++++ src/utils/directory.h      2012-05-14 23:40:30.000000000 +0100
+@@ -50,7 +50,7 @@
    // The name and types should match POSIX.
    uint32_t            d_fileno;
--  uint32_t            d_reclen;
+   uint32_t            d_reclen; //Not used. Messes with Solaris.
 -  uint8_t             d_type;
-+  uint32_t            d_type;
++  uint32_t             d_type;
  
    std::string         d_name;
  };
diff -r 8ac8ffb511e7 -r 8af8f2be1caf net/rtorrent/patches/patch-ag
--- a/net/rtorrent/patches/patch-ag     Wed May 16 16:48:57 2012 +0000
+++ b/net/rtorrent/patches/patch-ag     Wed May 16 17:42:37 2012 +0000



Home | Main Index | Thread Index | Old Index