Index: head/net-p2p/libtorrent-rasterbar/Makefile =================================================================== --- head/net-p2p/libtorrent-rasterbar/Makefile (revision 449438) +++ head/net-p2p/libtorrent-rasterbar/Makefile (revision 449439) @@ -1,90 +1,89 @@ # Created by: Doug Barton # $FreeBSD$ PORTNAME= libtorrent-rasterbar -PORTVERSION= 1.1.3 -PORTREVISION= 1 +PORTVERSION= 1.1.4 CATEGORIES?= net-p2p ipv6 MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/ PATCH_SITES= https://github.com/arvidn/libtorrent/commit/ PATCHFILES= 7eb3cf6bc6db.patch:-p1 MAINTAINER= rezny@FreeBSD.org COMMENT?= C++ library implementing a BitTorrent client LICENSE= BSD3CLAUSE LIB_DEPENDS+= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs BROKEN_powerpc64= fails to build: client_test.cpp: undefined reference to std::__cxx11::basic_string USES+= compiler:c++11-lib iconv:wchar_t libtool pathfix pkgconfig ssl USE_CXXSTD= c++11 GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check CONFIGURE_ARGS= --disable-static \ --enable-dht \ --enable-encryption \ --enable-pool-allocators \ --enable-deprecated-functions \ --with-boost=${LOCALBASE} \ --with-libiconv \ --with-openssl=${OPENSSLBASE} SHLIB_VER= 9 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" DOCFILES= AUTHORS ChangeLog PORTDOCS= ${DOCFILES} docs/* PORTEXAMPLES= *.cpp OPTIONS_DEFINE= DEBUG DOCS EXAMPLES LOGGING TEST OPTIONS_SUB= yes LOGGING_DESC= Enable disk stat logging and logging to disk DEBUG_CONFIGURE_ENABLE= debug EXAMPLES_CONFIGURE_ENABLE= examples LOGGING_CONFIGURE_ENABLE= logging disk-stats TEST_CONFIGURE_ENABLE= tests .include .if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "yes" && defined(USE_PYTHON) CONFIGURE_ARGS+= --enable-python-binding .else CONFIGURE_ARGS+= --disable-python-binding .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ ${WRKSRC}/Jamfile post-configure: ${FIND} ${WRKSRC} -name Makefile -o -name link_flags | \ ${XARGS} ${REINPLACE_CMD} 's| *-R${LOCALBASE}/lib||' post-install: .if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "yes" && defined(USE_PYTHON) ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/libtorrent.so .else ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER} .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}) ${RM} ${STAGEDIR}${DOCSDIR}/docs/._* post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/net-p2p/libtorrent-rasterbar/distinfo =================================================================== --- head/net-p2p/libtorrent-rasterbar/distinfo (revision 449438) +++ head/net-p2p/libtorrent-rasterbar/distinfo (revision 449439) @@ -1,5 +1,5 @@ -TIMESTAMP = 1492892114 -SHA256 (libtorrent-rasterbar-1.1.3.tar.gz) = 44196a89932c26528f5db19289d0f0f4130730a61dccc61c9f1eac9ad3e881d8 -SIZE (libtorrent-rasterbar-1.1.3.tar.gz) = 3912760 +TIMESTAMP = 1500241161 +SHA256 (libtorrent-rasterbar-1.1.4.tar.gz) = ccf42367803a6df7edcf4756d1f7d0a9ce6158ec33b851b3b58fd470ac4eeba6 +SIZE (libtorrent-rasterbar-1.1.4.tar.gz) = 3917557 SHA256 (7eb3cf6bc6db.patch) = d343654786f02112b0787d999f3c569bcb9bb31dfc2be52aa26007b5f5e3ca0b SIZE (7eb3cf6bc6db.patch) = 1180 Index: head/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in =================================================================== --- head/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in (revision 449438) +++ head/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in (revision 449439) @@ -1,5 +1,5 @@ ---- bindings/python/compile_flags.in.orig 2016-05-24 02:57:40 UTC +--- bindings/python/compile_flags.in.orig 2017-07-02 16:18:10 UTC +++ bindings/python/compile_flags.in @@ -1 +1 @@ ---I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ @BOOST_CPPFLAGS@ @OPENSSL_INCLUDES@ +--I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ @BOOST_CPPFLAGS@ @PYTHON_CXXFLAGS@ @OPENSSL_INCLUDES@ +-I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ -std=c++11 @BOOST_CPPFLAGS@ @OPENSSL_INCLUDES@ Index: head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp =================================================================== --- head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp (revision 449438) +++ head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp (revision 449439) @@ -1,15 +1,15 @@ ---- include/libtorrent/config.hpp.orig 2016-08-23 04:28:09 UTC +--- include/libtorrent/config.hpp.orig 2017-07-02 16:18:10 UTC +++ include/libtorrent/config.hpp -@@ -180,12 +180,6 @@ POSSIBILITY OF SUCH DAMAGE. +@@ -195,12 +195,6 @@ POSSIBILITY OF SUCH DAMAGE. #define TORRENT_USE_EXECINFO 1 #endif -#else // __APPLE__ -// FreeBSD has a reasonable iconv signature -// unless we're on glibc -#ifndef __GLIBC__ --# define TORRENT_ICONV_ARG (const char**) +-# define TORRENT_ICONV_ARG(x) (x) -#endif #endif // __APPLE__ #define TORRENT_HAVE_MMAP 1 Index: head/net-p2p/libtorrent-rasterbar/pkg-plist =================================================================== --- head/net-p2p/libtorrent-rasterbar/pkg-plist (revision 449438) +++ head/net-p2p/libtorrent-rasterbar/pkg-plist (revision 449439) @@ -1,209 +1,210 @@ %%TEST%%bin/bt_get %%TEST%%bin/bt_get2 %%TEST%%bin/client_test %%TEST%%bin/connection_tester %%TEST%%bin/dump_torrent %%TEST%%bin/fuzz_torrent %%TEST%%bin/make_torrent %%TEST%%bin/simple_client %%TEST%%bin/stats_counters %%TEST%%bin/upnp_test include/libtorrent/ConvertUTF.h include/libtorrent/add_torrent_params.hpp include/libtorrent/address.hpp include/libtorrent/alert.hpp include/libtorrent/alert_manager.hpp include/libtorrent/alert_types.hpp include/libtorrent/alloca.hpp include/libtorrent/allocator.hpp include/libtorrent/announce_entry.hpp include/libtorrent/assert.hpp include/libtorrent/aux_/alert_manager_variadic_emplace.hpp include/libtorrent/aux_/allocating_handler.hpp include/libtorrent/aux_/byteswap.hpp include/libtorrent/aux_/cpuid.hpp include/libtorrent/aux_/disable_warnings_pop.hpp include/libtorrent/aux_/disable_warnings_push.hpp include/libtorrent/aux_/escape_string.hpp include/libtorrent/aux_/file_progress.hpp include/libtorrent/aux_/merkle.hpp include/libtorrent/aux_/openssl.hpp include/libtorrent/aux_/proxy_settings.hpp include/libtorrent/aux_/session_call.hpp include/libtorrent/aux_/session_impl.hpp include/libtorrent/aux_/session_interface.hpp include/libtorrent/aux_/session_settings.hpp include/libtorrent/aux_/time.hpp include/libtorrent/bandwidth_limit.hpp include/libtorrent/bandwidth_manager.hpp include/libtorrent/bandwidth_queue_entry.hpp include/libtorrent/bandwidth_socket.hpp include/libtorrent/bdecode.hpp include/libtorrent/bencode.hpp include/libtorrent/bitfield.hpp include/libtorrent/block_cache.hpp include/libtorrent/bloom_filter.hpp include/libtorrent/broadcast_socket.hpp include/libtorrent/bt_peer_connection.hpp include/libtorrent/buffer.hpp include/libtorrent/build_config.hpp include/libtorrent/chained_buffer.hpp include/libtorrent/choker.hpp include/libtorrent/close_reason.hpp include/libtorrent/config.hpp include/libtorrent/copy_ptr.hpp include/libtorrent/crc32c.hpp include/libtorrent/create_torrent.hpp include/libtorrent/deadline_timer.hpp include/libtorrent/debug.hpp include/libtorrent/disk_buffer_holder.hpp include/libtorrent/disk_buffer_pool.hpp include/libtorrent/disk_interface.hpp include/libtorrent/disk_io_job.hpp include/libtorrent/disk_io_thread.hpp include/libtorrent/disk_job_pool.hpp include/libtorrent/disk_observer.hpp include/libtorrent/ed25519.hpp include/libtorrent/entry.hpp include/libtorrent/enum_net.hpp include/libtorrent/error.hpp include/libtorrent/error_code.hpp include/libtorrent/export.hpp include/libtorrent/extensions.hpp include/libtorrent/extensions/lt_trackers.hpp include/libtorrent/extensions/metadata_transfer.hpp include/libtorrent/extensions/smart_ban.hpp include/libtorrent/extensions/ut_metadata.hpp include/libtorrent/extensions/ut_pex.hpp include/libtorrent/file.hpp include/libtorrent/file_pool.hpp include/libtorrent/file_storage.hpp include/libtorrent/fingerprint.hpp +include/libtorrent/fwd.hpp include/libtorrent/gzip.hpp include/libtorrent/hasher.hpp include/libtorrent/heterogeneous_queue.hpp include/libtorrent/hex.hpp include/libtorrent/http_connection.hpp include/libtorrent/http_parser.hpp include/libtorrent/http_seed_connection.hpp include/libtorrent/http_stream.hpp include/libtorrent/http_tracker_connection.hpp include/libtorrent/i2p_stream.hpp include/libtorrent/identify_client.hpp include/libtorrent/instantiate_connection.hpp include/libtorrent/invariant_check.hpp include/libtorrent/io.hpp include/libtorrent/io_service.hpp include/libtorrent/io_service_fwd.hpp include/libtorrent/ip_filter.hpp include/libtorrent/ip_voter.hpp include/libtorrent/kademlia/dht_observer.hpp include/libtorrent/kademlia/dht_storage.hpp include/libtorrent/kademlia/dht_tracker.hpp include/libtorrent/kademlia/direct_request.hpp include/libtorrent/kademlia/dos_blocker.hpp include/libtorrent/kademlia/find_data.hpp include/libtorrent/kademlia/get_item.hpp include/libtorrent/kademlia/get_peers.hpp include/libtorrent/kademlia/item.hpp include/libtorrent/kademlia/msg.hpp include/libtorrent/kademlia/node.hpp include/libtorrent/kademlia/node_entry.hpp include/libtorrent/kademlia/node_id.hpp include/libtorrent/kademlia/observer.hpp include/libtorrent/kademlia/put_data.hpp include/libtorrent/kademlia/refresh.hpp include/libtorrent/kademlia/routing_table.hpp include/libtorrent/kademlia/rpc_manager.hpp include/libtorrent/kademlia/traversal_algorithm.hpp include/libtorrent/lazy_entry.hpp include/libtorrent/link.hpp include/libtorrent/linked_list.hpp include/libtorrent/lsd.hpp include/libtorrent/magnet_uri.hpp include/libtorrent/max.hpp include/libtorrent/natpmp.hpp include/libtorrent/network_thread_pool.hpp include/libtorrent/operations.hpp include/libtorrent/packet_buffer.hpp include/libtorrent/parse_url.hpp include/libtorrent/part_file.hpp include/libtorrent/pe_crypto.hpp include/libtorrent/peer.hpp include/libtorrent/peer_class.hpp include/libtorrent/peer_class_set.hpp include/libtorrent/peer_class_type_filter.hpp include/libtorrent/peer_connection.hpp include/libtorrent/peer_connection_handle.hpp include/libtorrent/peer_connection_interface.hpp include/libtorrent/peer_id.hpp include/libtorrent/peer_info.hpp include/libtorrent/peer_list.hpp include/libtorrent/peer_request.hpp include/libtorrent/performance_counters.hpp include/libtorrent/piece_block_progress.hpp include/libtorrent/piece_picker.hpp include/libtorrent/platform_util.hpp include/libtorrent/proxy_base.hpp include/libtorrent/puff.hpp include/libtorrent/random.hpp include/libtorrent/receive_buffer.hpp include/libtorrent/request_blocks.hpp include/libtorrent/resolve_links.hpp include/libtorrent/resolver.hpp include/libtorrent/resolver_interface.hpp include/libtorrent/rss.hpp include/libtorrent/session.hpp include/libtorrent/session_handle.hpp include/libtorrent/session_settings.hpp include/libtorrent/session_stats.hpp include/libtorrent/session_status.hpp include/libtorrent/settings_pack.hpp include/libtorrent/sha1.hpp include/libtorrent/sha1_hash.hpp include/libtorrent/sliding_average.hpp include/libtorrent/socket.hpp include/libtorrent/socket_io.hpp include/libtorrent/socket_type.hpp include/libtorrent/socket_type_fwd.hpp include/libtorrent/socks5_stream.hpp include/libtorrent/ssl_stream.hpp include/libtorrent/stack_allocator.hpp include/libtorrent/stat.hpp include/libtorrent/stat_cache.hpp include/libtorrent/storage.hpp include/libtorrent/storage_defs.hpp include/libtorrent/string_util.hpp include/libtorrent/tailqueue.hpp include/libtorrent/thread.hpp include/libtorrent/thread_pool.hpp include/libtorrent/time.hpp include/libtorrent/timestamp_history.hpp include/libtorrent/tommath.h include/libtorrent/tommath_class.h include/libtorrent/tommath_private.h include/libtorrent/tommath_superclass.h include/libtorrent/torrent.hpp include/libtorrent/torrent_handle.hpp include/libtorrent/torrent_info.hpp include/libtorrent/torrent_peer.hpp include/libtorrent/torrent_peer_allocator.hpp include/libtorrent/torrent_status.hpp include/libtorrent/tracker_manager.hpp include/libtorrent/udp_socket.hpp include/libtorrent/udp_tracker_connection.hpp include/libtorrent/uncork_interface.hpp include/libtorrent/union_endpoint.hpp include/libtorrent/upnp.hpp include/libtorrent/utf8.hpp include/libtorrent/utp_socket_manager.hpp include/libtorrent/utp_stream.hpp include/libtorrent/vector_utils.hpp include/libtorrent/version.hpp include/libtorrent/web_connection_base.hpp include/libtorrent/web_peer_connection.hpp include/libtorrent/xml_parse.hpp lib/libtorrent-rasterbar.so lib/libtorrent-rasterbar.so.%%SHLIB_VER%% lib/libtorrent-rasterbar.so.%%SHLIB_VER%%.0.0 libdata/pkgconfig/libtorrent-rasterbar.pc Index: head/net-p2p/libtorrent-rasterbar-python/Makefile =================================================================== --- head/net-p2p/libtorrent-rasterbar-python/Makefile (revision 449438) +++ head/net-p2p/libtorrent-rasterbar-python/Makefile (revision 449439) @@ -1,32 +1,31 @@ # Created by: Doug Barton # $FreeBSD$ -PORTREVISION= 1 CATEGORIES= net-p2p python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Python bindings for libtorrent-rasterbar LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ libboost_python.so:devel/boost-python-libs MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar BUILD_WRKSRC= ${WRKSRC}/bindings/python INSTALL_WRKSRC= ${BUILD_WRKSRC} SLAVE_PORT= yes USES= python USE_PYTHON= distutils PYDISTUTILS_PKGNAME= python_libtorrent PLIST= ${NONEXISTENT} PLIST_FILES= %%PYTHON_SITELIBDIR%%/libtorrent.so OPTIONS_EXCLUDE= DOCS EXAMPLES # ensure python paths are correctly identified CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ PYTHON_VERSION="${PYTHON_VERSION}" .include "${MASTERDIR}/Makefile"