summaryrefslogtreecommitdiff
path: root/net/libtorrent/patches
diff options
context:
space:
mode:
authortron <tron>2007-04-20 13:37:57 +0000
committertron <tron>2007-04-20 13:37:57 +0000
commitedfe35d34fd41e889a404f0260516a2098e48124 (patch)
treef18cfd5c2f448b057015a588b5e9dc6b6f2f5474 /net/libtorrent/patches
parent3504cda09f707634d2b6615cc3c245e88016f232 (diff)
downloadpkgsrc-edfe35d34fd41e889a404f0260516a2098e48124.tar.gz
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 (limited to 'net/libtorrent/patches')
-rw-r--r--net/libtorrent/patches/patch-aa12
-rw-r--r--net/libtorrent/patches/patch-ab49
-rw-r--r--net/libtorrent/patches/patch-ac16
-rw-r--r--net/libtorrent/patches/patch-ad19
4 files changed, 0 insertions, 96 deletions
diff --git a/net/libtorrent/patches/patch-aa b/net/libtorrent/patches/patch-aa
deleted file mode 100644
index de3443d08de..00000000000
--- a/net/libtorrent/patches/patch-aa
+++ /dev/null
@@ -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 --git a/net/libtorrent/patches/patch-ab b/net/libtorrent/patches/patch-ab
deleted file mode 100644
index 483bb2b3dbc..00000000000
--- a/net/libtorrent/patches/patch-ab
+++ /dev/null
@@ -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 --git a/net/libtorrent/patches/patch-ac b/net/libtorrent/patches/patch-ac
deleted file mode 100644
index 49ffecc3d2c..00000000000
--- a/net/libtorrent/patches/patch-ac
+++ /dev/null
@@ -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 --git a/net/libtorrent/patches/patch-ad b/net/libtorrent/patches/patch-ad
deleted file mode 100644
index d5050a07587..00000000000
--- a/net/libtorrent/patches/patch-ad
+++ /dev/null
@@ -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"