aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-09-26 06:39:28 +0800
committerflz <flz@FreeBSD.org>2006-09-26 06:39:28 +0800
commit5e848d827c05c3ea8f216422fdb59ea6d64fd465 (patch)
tree0f75b5020b5ffd7bc5e4e24804a410bc58e7216f
parent65608a52f0830c7261f5ce5fbdce10bbb8775e03 (diff)
downloadfreebsd-ports-gnome-5e848d827c05c3ea8f216422fdb59ea6d64fd465.tar.gz
freebsd-ports-gnome-5e848d827c05c3ea8f216422fdb59ea6d64fd465.tar.zst
freebsd-ports-gnome-5e848d827c05c3ea8f216422fdb59ea6d64fd465.zip
- Update to 0.10.2. [1]
- Support kqueue polling. [2] PR: ports/103508 [1] Submitted by: Toni Viemero <toni.viemero@iki.fi> [1] Dennis Schneider <dans-at-1158888366@berlin.ccc.de> [2]
-rw-r--r--net-p2p/libtorrent-devel/Makefile6
-rw-r--r--net-p2p/libtorrent-devel/distinfo6
-rw-r--r--net-p2p/libtorrent-devel/files/devel-src_utils_sha1.h11
-rw-r--r--net-p2p/libtorrent-devel/pkg-plist5
4 files changed, 12 insertions, 16 deletions
diff --git a/net-p2p/libtorrent-devel/Makefile b/net-p2p/libtorrent-devel/Makefile
index 7517e83e744c..3c50f3084e8c 100644
--- a/net-p2p/libtorrent-devel/Makefile
+++ b/net-p2p/libtorrent-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libtorrent-devel
-PORTVERSION= 0.10.0
+PORTVERSION= 0.10.2
PORTREVISION= 0
DISTNAME= ${PORTNAME:S/-devel//}-${PORTVERSION}
@@ -22,4 +22,8 @@ CONFLICTS= libtorrent-[0-9]*
EXTRA_PATCHES= ${.CURDIR}/files/devel-*
+.if defined(WITH_KQUEUE)
+CONFIGURE_ARGS=--with-kqueue
+.endif
+
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/libtorrent-devel/distinfo b/net-p2p/libtorrent-devel/distinfo
index 339cb643a8a1..aec6bd13ba42 100644
--- a/net-p2p/libtorrent-devel/distinfo
+++ b/net-p2p/libtorrent-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (libtorrent-0.10.0.tar.gz) = 240e90818c4c9c34474b2e1873d09910
-SHA256 (libtorrent-0.10.0.tar.gz) = 47645632fee222609c139bddf50872949bd3359214976a25a92bbc1d277c70de
-SIZE (libtorrent-0.10.0.tar.gz) = 447795
+MD5 (libtorrent-0.10.2.tar.gz) = 99f1daa0f6ce0aa8d53745c494df9b36
+SHA256 (libtorrent-0.10.2.tar.gz) = b3bd1dcc0de3dfdec4a2d6f7012d126875e166330ff9d399927b468fde7ae5d1
+SIZE (libtorrent-0.10.2.tar.gz) = 453071
diff --git a/net-p2p/libtorrent-devel/files/devel-src_utils_sha1.h b/net-p2p/libtorrent-devel/files/devel-src_utils_sha1.h
deleted file mode 100644
index 261105e06c7f..000000000000
--- a/net-p2p/libtorrent-devel/files/devel-src_utils_sha1.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/utils/sha1.h.orig Wed Jul 12 11:35:43 2006
-+++ src/utils/sha1.h Wed Jul 12 11:36:04 2006
-@@ -87,7 +87,7 @@
- Sha1::final_c(char* buffer) {
- unsigned int len;
-
-- SHA1_End(&m_ctx, buffer, &len, 20);
-+ SHA1_End(&m_ctx, (unsigned char*)buffer, &len, 20);
- }
-
- #elif defined USE_OPENSSL_SHA
diff --git a/net-p2p/libtorrent-devel/pkg-plist b/net-p2p/libtorrent-devel/pkg-plist
index 8f5f246d3d04..bf40ab973a40 100644
--- a/net-p2p/libtorrent-devel/pkg-plist
+++ b/net-p2p/libtorrent-devel/pkg-plist
@@ -2,6 +2,7 @@ include/torrent/bitfield.h
include/torrent/block.h
include/torrent/block_list.h
include/torrent/block_transfer.h
+include/torrent/chunk_manager.h
include/torrent/common.h
include/torrent/connection_manager.h
include/torrent/download.h
@@ -14,6 +15,8 @@ include/torrent/object.h
include/torrent/object_stream.h
include/torrent/path.h
include/torrent/peer.h
+include/torrent/peer_info.h
+include/torrent/peer_list.h
include/torrent/piece.h
include/torrent/poll.h
include/torrent/poll_epoll.h
@@ -26,6 +29,6 @@ include/torrent/tracker.h
include/torrent/tracker_list.h
include/torrent/transfer_list.h
lib/libtorrent.so
-lib/libtorrent.so.8
+lib/libtorrent.so.9
libdata/pkgconfig/libtorrent.pc
@dirrm include/torrent