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.11.4 and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/842e2bd5436b
branches:  trunk
changeset: 528073:842e2bd5436b
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Apr 20 13:37:57 2007 +0000

description:
Update "libtorrent" package to version 0.11.4 and "rtorrent" package
to version 0.7.4. Changes since versions 0.11.1 and 0.7.1 respectively:
- Added "max_open_http" option that limits the max number of simultaneous
  http connections. By default set to 32.
- Directory structured view of the file list. The '/' key collapses
  directories, while the right arrow or ^F enters the selected directory.
  Changing the priority for a directory changes all contained files.
- Added "create_link" and "delete_link" options which apply to a download.
  These must be used with the new "on_*" options, so as to allow you to
  create symbolic links when starting, stopping, finishing, etc, a torrent.
- The "tos" option was parsing the hex value with unit == 0, which caused
  it to always zero it.
- Forgot to check if there were any torrents hashing before starting new
  non-fast-resume checks, which would cause multiple torrents to be hashed
  at once.
- File progress is now updated when hash_check is called, and no longer
  cleared on close. This fixes a bug with >100% file progress being reported
  and optimizes file progress updating for completed torrents.
- Disabled IPv6 http requests so the trackers won't think we support it,
  and enabled curl's support for gzip encodings.
- Added 'seeding' view on key 8.
- Added "max_{up,down}loads_{div,global}" options. See the man page for
  more information.
- Added support for dvorak keyboard layout. Patch by matled at gmx.net.
- The STOPPED request was being canceled when a download was closed with
  f.ex ^K, moved it so it only happens when the download is removed.
- Allow properly quoted and escaped arguments to options. F.ex "schedule
  = wd,10,10,load_start=~/Foo\ Bar/*.torrent" and "schedule =
  wd,10,10,load_start="~/Foo Bar/*.torrent"" now works.
- Added unlimited setting for max unchoked in ChokeManager and made it
  the default. Set with 0 as a temporary hack.
- Don't resize empty files used for creating directories.

diffstat:

 net/libtorrent/Makefile         |  18 ++++++++++----
 net/libtorrent/PLIST            |   3 +-
 net/libtorrent/distinfo         |  12 +++------
 net/libtorrent/patches/patch-aa |  12 ----------
 net/libtorrent/patches/patch-ab |  49 -----------------------------------------
 net/libtorrent/patches/patch-ac |  16 -------------
 net/libtorrent/patches/patch-ad |  19 ---------------
 net/rtorrent/Makefile           |   7 ++---
 net/rtorrent/distinfo           |   9 +++----
 net/rtorrent/patches/patch-aa   |  16 -------------
 10 files changed, 26 insertions(+), 135 deletions(-)

diffs (237 lines):

diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/Makefile
--- a/net/libtorrent/Makefile   Fri Apr 20 13:36:25 2007 +0000
+++ b/net/libtorrent/Makefile   Fri Apr 20 13:37:57 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2007/01/26 18:48:52 tron Exp $
+# $NetBSD: Makefile,v 1.20 2007/04/20 13:37:57 tron Exp $
 
-DISTNAME=      libtorrent-0.11.1
+DISTNAME=      libtorrent-0.11.4
 CATEGORIES=    net
-MASTER_SITES=  http://libtorrent.rakshasa.no/downloads/
+MASTER_SITES=  ${HOMEPAGE:=downloads/}
 
 MAINTAINER=    tron%NetBSD.org@localhost
 HOMEPAGE=      http://libtorrent.rakshasa.no/
@@ -15,7 +15,6 @@
 USE_TOOLS+=            gmake pkg-config
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-debug
-CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
 GCC_REQD+=             3.3
 
 .include "../../mk/compiler.mk"
@@ -26,6 +25,15 @@
                -fno-inline -fforce-addr
 .endif
 
+.include "../../security/openssl/buildlink3.mk"
+.if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc)
+OPENSSL_CFLAGS=        -I${BUILDLINK_PREFIX.openssl}/include
+OPENSSL_LIBS=  -L${BUILDLINK_PREFIX.openssl}/lib \
+               -W,-lR${BUILDLINK_PREFIX.openssl}/lib
+
+CONFIGURE_ENV+=        OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
+CONFIGURE_ENV+=        OPENSSL_LIBS=${OPENSSL_LIBS:Q}
+.endif
+
 .include "../../devel/libsigc++2/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/PLIST
--- a/net/libtorrent/PLIST      Fri Apr 20 13:36:25 2007 +0000
+++ b/net/libtorrent/PLIST      Fri Apr 20 13:37:57 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2007/01/26 18:48:52 tron Exp $
+@comment $NetBSD: PLIST,v 1.7 2007/04/20 13:37:57 tron Exp $
 include/torrent/bitfield.h
 include/torrent/chunk_manager.h
 include/torrent/common.h
@@ -9,6 +9,7 @@
 include/torrent/data/file.h
 include/torrent/data/file_list.h
 include/torrent/data/file_list_iterator.h
+include/torrent/data/file_manager.h
 include/torrent/data/file_utils.h
 include/torrent/data/piece.h
 include/torrent/data/transfer_list.h
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/distinfo
--- a/net/libtorrent/distinfo   Fri Apr 20 13:36:25 2007 +0000
+++ b/net/libtorrent/distinfo   Fri Apr 20 13:37:57 2007 +0000
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.15 2007/01/26 18:48:52 tron Exp $
+$NetBSD: distinfo,v 1.16 2007/04/20 13:37:57 tron Exp $
 
-SHA1 (libtorrent-0.11.1.tar.gz) = 870f63f9a7eda597dbdb4be791ad0d29ea4902e2
-RMD160 (libtorrent-0.11.1.tar.gz) = f28327d0ebb2a608e3fa3f6f3414db150cc2d000
-Size (libtorrent-0.11.1.tar.gz) = 477557 bytes
-SHA1 (patch-aa) = b1b0246f757e382e3c9110a3462d9f3bd69f1fc8
-SHA1 (patch-ab) = 2faa87c46c9cdded0892b110bc704dbc833c231e
-SHA1 (patch-ac) = c7ee6cbac8959e611f11d0855e9bdd711423382e
-SHA1 (patch-ad) = 6bc04779e06ec55a9cd7540955ccf27546e2d87a
+SHA1 (libtorrent-0.11.4.tar.gz) = 6d997974b445858dfc11f88425ca422be610a296
+RMD160 (libtorrent-0.11.4.tar.gz) = 76fe310ee04205f432d1d55e8d4f131aef5a2d8e
+Size (libtorrent-0.11.4.tar.gz) = 513360 bytes
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/patches/patch-aa
--- a/net/libtorrent/patches/patch-aa   Fri Apr 20 13:36:25 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2007/01/04 12:45:41 tron Exp $
-
---- src/torrent/chunk_manager.cc.orig  2006-10-27 15:48:45.000000000 +0200
-+++ src/torrent/chunk_manager.cc
-@@ -37,6 +37,7 @@
- #include "config.h"
- 
- #include <sys/types.h>
-+#include <sys/time.h>
- #include <sys/resource.h>
- 
- #include "data/chunk_list.h"
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/patches/patch-ab
--- a/net/libtorrent/patches/patch-ab   Fri Apr 20 13:36:25 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2007/01/26 18:48:52 tron Exp $
-
---- configure.orig     2006-12-24 12:54:00.000000000 +0000
-+++ configure  2007-01-26 15:15:13.000000000 +0000
-@@ -15823,6 +15823,10 @@
-   cat >conftest.$ac_ext <<_ACEOF
- #include <sys/types.h>
-       #include <sys/mman.h>
-+#if defined(__sun) && defined(__SVR4)
-+      #include <unistd.h>
-+#endif
-+
-       void f() { mincore((char*)0, 0, (unsigned char*)0); }
- 
- _ACEOF
-@@ -15953,6 +15957,9 @@
-   cat >conftest.$ac_ext <<_ACEOF
- #include <sys/types.h>
-       #include <sys/mman.h>
-+#if defined(__sun) && defined(__SVR4)
-+      #include <unistd.h>
-+#endif
-       void f() { mincore((char*)0, 0, (unsigned char*)0); }
- 
- _ACEOF
-@@ -16000,6 +16007,12 @@
-       cat >conftest.$ac_ext <<_ACEOF
- #include <sys/types.h>
-           #include <sys/mman.h>
-+#if defined(__sun) && defined(__SVR4)
-+          #include <unistd.h>
-+#endif
-+#if defined(__sun) && defined(__SVR4)
-+          #include <unistd.h>
-+#endif
-           void f() { mincore((char*)0, 0, (char*)0); }
- 
- _ACEOF
-@@ -16701,6 +16714,10 @@
- _ACEOF
- cat >>$CONFIG_STATUS <<\_ACEOF
-   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-+      : Avoid regenerating within pkgsrc
-+      exit 0
-+      : Avoid regenerating within pkgsrc
-+      exit 0
-     ac_cs_recheck=: ;;
-   --version | --vers* | -V )
-     echo "$ac_cs_version"; exit 0 ;;
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/patches/patch-ac
--- a/net/libtorrent/patches/patch-ac   Fri Apr 20 13:36:25 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/01/04 12:45:41 tron Exp $
-
---- rak/socket_address.h.orig  2006-10-27 15:48:46.000000000 +0200
-+++ rak/socket_address.h
-@@ -62,7 +62,11 @@ class socket_address_inet6;
- 
- class socket_address {
- public:
-+#if defined(__sun) && defined(__SVR4)
-+  static const sa_family_t af_local  = AF_UNIX;
-+#else
-   static const sa_family_t af_local  = AF_LOCAL;
-+#endif
-   static const sa_family_t af_unix   = AF_UNIX;
-   //  static const sa_family_t af_file   = AF_FILE;
-   static const sa_family_t af_inet   = AF_INET;
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/libtorrent/patches/patch-ad
--- a/net/libtorrent/patches/patch-ad   Fri Apr 20 13:36:25 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2007/01/04 12:45:41 tron Exp $
-
---- src/data/memory_chunk.cc.orig      2006-10-27 15:48:42.000000000 +0200
-+++ src/data/memory_chunk.cc
-@@ -37,6 +37,14 @@
- #include "config.h"
- 
- #include <unistd.h>
-+#if defined(__sun) && defined(__SVR4)
-+/* Ugly hack to make this compile on Solaris. See
-+ * http://www.opensolaris.org/jive/thread.jspa?threadID=21035&tstart=0
-+ */
-+extern "C" {
-+  extern int madvise(caddr_t, size_t, int);
-+}
-+#endif
- #include <rak/error_number.h>
- 
- #include "torrent/exceptions.h"
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/rtorrent/Makefile
--- a/net/rtorrent/Makefile     Fri Apr 20 13:36:25 2007 +0000
+++ b/net/rtorrent/Makefile     Fri Apr 20 13:37:57 2007 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2007/01/30 14:22:36 tron Exp $
+# $NetBSD: Makefile,v 1.20 2007/04/20 13:37:58 tron Exp $
 
-DISTNAME=      rtorrent-0.7.1
-PKGREVISION=   1
+DISTNAME=      rtorrent-0.7.4
 CATEGORIES=    net
-MASTER_SITES=  http://libtorrent.rakshasa.no/downloads/
+MASTER_SITES=  ${HOMEPAGE:=downloads/}
 
 MAINTAINER=    tron%NetBSD.org@localhost
 HOMEPAGE=      http://libtorrent.rakshasa.no/
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/rtorrent/distinfo
--- a/net/rtorrent/distinfo     Fri Apr 20 13:36:25 2007 +0000
+++ b/net/rtorrent/distinfo     Fri Apr 20 13:37:57 2007 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.12 2007/01/26 18:48:53 tron Exp $
+$NetBSD: distinfo,v 1.13 2007/04/20 13:37:58 tron Exp $
 
-SHA1 (rtorrent-0.7.1.tar.gz) = cb41c013f82f12dec4962f68a7677eb0b00785cd
-RMD160 (rtorrent-0.7.1.tar.gz) = 01b42bc520abe7a6cae0b31e9b72dd65d4ae6a90
-Size (rtorrent-0.7.1.tar.gz) = 414447 bytes
-SHA1 (patch-aa) = b64756f960036fcb50e4648aecd31fe004e3ad04
+SHA1 (rtorrent-0.7.4.tar.gz) = 4060913d19204c0978d6378a71f4898714ac20e4
+RMD160 (rtorrent-0.7.4.tar.gz) = 17c72af77b3184db0488147c4ae80d4019bea6f0
+Size (rtorrent-0.7.4.tar.gz) = 451415 bytes
 SHA1 (patch-ab) = 87d7741906f6d7c8572b80d2a3f42910175e182f
diff -r 95ea7c5dc0ab -r 842e2bd5436b net/rtorrent/patches/patch-aa
--- a/net/rtorrent/patches/patch-aa     Fri Apr 20 13:36:25 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2007/01/04 12:46:38 tron Exp $
-
---- rak/socket_address.h.orig  2007-01-04 01:55:46.851086425 +0100
-+++ rak/socket_address.h
-@@ -62,7 +62,11 @@ class socket_address_inet6;
- 
- class socket_address {
- public:
-+#if defined(__sun) && defined(__SVR4)
-+  static const sa_family_t af_local  = AF_UNIX;
-+#else
-   static const sa_family_t af_local  = AF_LOCAL;
-+#endif
-   static const sa_family_t af_unix   = AF_UNIX;
-   //  static const sa_family_t af_file   = AF_FILE;
-   static const sa_family_t af_inet   = AF_INET;



Home | Main Index | Thread Index | Old Index