Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 08:22:39 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377391 - in head/net-p2p/libtorrent-rasterbar: . files
Message-ID:  <201501190822.t0J8MdgJ078776@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Mon Jan 19 08:22:38 2015
New Revision: 377391
URL: https://svnweb.freebsd.org/changeset/ports/377391
QAT: https://qat.redports.org/buildarchive/r377391/

Log:
  net-p2p/libtorrent-rasterbar: fix build with LibreSSL
  
  Add upstream-provided patch to fix build with LibreSSL. Default (OpenSSL)
  setup isn't affected, so no PORTREVISION bump.
  Remove pkg-message, that have no use.
  
  Submitted by:	Corey <merlincorey@hushmail.me> (by private email)

Added:
  head/net-p2p/libtorrent-rasterbar/files/patch-libressl   (contents, props changed)
Deleted:
  head/net-p2p/libtorrent-rasterbar/files/pkg-message.in
Modified:
  head/net-p2p/libtorrent-rasterbar/Makefile

Modified: head/net-p2p/libtorrent-rasterbar/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/Makefile	Mon Jan 19 08:15:17 2015	(r377390)
+++ head/net-p2p/libtorrent-rasterbar/Makefile	Mon Jan 19 08:22:38 2015	(r377391)
@@ -35,8 +35,6 @@ CONFIGURE_ARGS=	--disable-static \
 SHLIB_VER=	7
 PLIST_SUB+=	SHLIB_VER="${SHLIB_VER}"
 
-SUB_FILES=	pkg-message
-
 PORTDOCS=	*
 
 DOCSRCDIR1=	${WRKSRC}

Added: head/net-p2p/libtorrent-rasterbar/files/patch-libressl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/libtorrent-rasterbar/files/patch-libressl	Mon Jan 19 08:22:38 2015	(r377391)
@@ -0,0 +1,38 @@
+--- src/torrent.cpp	(revision 10629)
++++ src/torrent.cpp	(revision 10630)
+@@ -82,6 +82,7 @@
+ #ifdef TORRENT_USE_OPENSSL
+ #include "libtorrent/ssl_stream.hpp"
+ #include <boost/asio/ssl/context.hpp>
++#include <openssl/rand.h>
+ #if BOOST_VERSION >= 104700
+ #include <boost/asio/ssl/verify_context.hpp>
+ #endif // BOOST_VERSION
+Index: src/peer_connection.cpp
+===================================================================
+--- src/peer_connection.cpp	(revision 10629)
++++ src/peer_connection.cpp	(revision 10630)
+@@ -65,6 +65,10 @@
+ #include <set>
+ #endif
+ 
++#ifdef TORRENT_USE_OPENSSL
++#include <openssl/rand.h>
++#endif
++
+ //#define TORRENT_CORRUPT_DATA
+ 
+ using boost::shared_ptr;
+Index: src/session_impl.cpp
+===================================================================
+--- src/session_impl.cpp	(revision 10629)
++++ src/session_impl.cpp	(revision 10630)
+@@ -149,6 +149,7 @@
+ #ifdef TORRENT_USE_OPENSSL
+ 
+ #include <openssl/crypto.h>
++#include <openssl/rand.h>
+ 
+ namespace
+ {
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501190822.t0J8MdgJ078776>