diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile index 40e34771fa9c..15b0cf6b6511 100644 --- a/www/libdatachannel/Makefile +++ b/www/libdatachannel/Makefile @@ -1,39 +1,39 @@ PORTNAME= libdatachannel DISTVERSIONPREFIX= v -DISTVERSION= 0.14.3 +DISTVERSION= 0.14.4 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= WebRTC Data Channels, WebRTC Media Transport, and WebSockets library LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsrtp2.so:net/libsrtp2 USES= cmake compiler:c++17-lang ssl USE_GITHUB= yes GH_ACCOUNT= paullouisageneau GH_TUPLE= \ SergiusTheBest:plog:d8461e9:plog/deps/plog \ - sctplab:usrsctp:07f871b:usrsctp/deps/usrsctp \ - paullouisageneau:libjuice:5bf4973:libjuice/deps/libjuice \ + sctplab:usrsctp:b56b430:usrsctp/deps/usrsctp \ + paullouisageneau:libjuice:46a986e:libjuice/deps/libjuice \ nlohmann:json:973c52d:json/deps/json \ cisco:libsrtp:f379f48:libsrtp/deps/libsrtp CMAKE_ON= USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_11= OpenSSL is too old: use of undeclared identifier 'X509_getm_notBefore' .endif do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DNO_TESTS:BOOL=OFF ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ./tests-${DISTVERSION:C/-.*//} .include diff --git a/www/libdatachannel/distinfo b/www/libdatachannel/distinfo index 0863ffbdda78..2428b34ae5ba 100644 --- a/www/libdatachannel/distinfo +++ b/www/libdatachannel/distinfo @@ -1,13 +1,13 @@ -TIMESTAMP = 1630400757 -SHA256 (paullouisageneau-libdatachannel-v0.14.3_GH0.tar.gz) = f5fdbac9e62473ae835c40b327970dbb085ea74b49028053f517189e7296d1ba -SIZE (paullouisageneau-libdatachannel-v0.14.3_GH0.tar.gz) = 52443391 +TIMESTAMP = 1632244295 +SHA256 (paullouisageneau-libdatachannel-v0.14.4_GH0.tar.gz) = 7e079dbec8b8e62edcddd834c3ebb018344e2f6f0f0f6e31e5e57ec7cd7dec7c +SIZE (paullouisageneau-libdatachannel-v0.14.4_GH0.tar.gz) = 52443447 SHA256 (SergiusTheBest-plog-d8461e9_GH0.tar.gz) = 2d30536bc920fc44e6ec90f60244afe9249c79bc618574f7d3e78fbcd1a51ec8 SIZE (SergiusTheBest-plog-d8461e9_GH0.tar.gz) = 44215 -SHA256 (sctplab-usrsctp-07f871b_GH0.tar.gz) = 1b02f2574e53c8b3dca7c5687172766fe04a0fc8f8f52a0ef8707155ae76cef1 -SIZE (sctplab-usrsctp-07f871b_GH0.tar.gz) = 771605 -SHA256 (paullouisageneau-libjuice-5bf4973_GH0.tar.gz) = e20afe18c8ce914edc08d0fe2322ee7b9b426cf707f3773735863e23b501bba7 -SIZE (paullouisageneau-libjuice-5bf4973_GH0.tar.gz) = 87037 +SHA256 (sctplab-usrsctp-b56b430_GH0.tar.gz) = c72e83f345635f5ce0019854f39ca77cca4c996fdac467481d3e49f64f7e9062 +SIZE (sctplab-usrsctp-b56b430_GH0.tar.gz) = 773222 +SHA256 (paullouisageneau-libjuice-46a986e_GH0.tar.gz) = 183b6b620b07f06166edcc7630d3f68b42f3264b95c78a11e9d87ade65486b4b +SIZE (paullouisageneau-libjuice-46a986e_GH0.tar.gz) = 87247 SHA256 (nlohmann-json-973c52d_GH0.tar.gz) = cd8ec6d071db0dba7b7d2eb107747deb3921aa5b4e0423df39388843937907b5 SIZE (nlohmann-json-973c52d_GH0.tar.gz) = 119021919 SHA256 (cisco-libsrtp-f379f48_GH0.tar.gz) = 23e26242a9f5b4d9f0bc6fda18b57e6903c4020816c957b197adc9d4fde0ce42 SIZE (cisco-libsrtp-f379f48_GH0.tar.gz) = 635824 diff --git a/www/libdatachannel/files/patch-deps_usrsctp_usrsctplib_user__recv__thread.c b/www/libdatachannel/files/patch-deps_usrsctp_usrsctplib_user__recv__thread.c new file mode 100644 index 000000000000..3a638302ad3e --- /dev/null +++ b/www/libdatachannel/files/patch-deps_usrsctp_usrsctplib_user__recv__thread.c @@ -0,0 +1,11 @@ +--- deps/usrsctp/usrsctplib/user_recv_thread.c.orig 2021-09-21 17:22:53 UTC ++++ deps/usrsctp/usrsctplib/user_recv_thread.c +@@ -58,7 +58,7 @@ + #endif + #if defined(HAVE_NET_ROUTE_H) + # include +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) + /* Apple SDKs for iOS, tvOS, watchOS, etc. don't ship this header */ + # define RTM_NEWADDR 0xc + # define RTM_DELADDR 0xd diff --git a/www/libdatachannel/pkg-plist b/www/libdatachannel/pkg-plist index 46ca9549f54b..9e151cf215ce 100644 --- a/www/libdatachannel/pkg-plist +++ b/www/libdatachannel/pkg-plist @@ -1,35 +1,35 @@ include/rtc/candidate.hpp include/rtc/channel.hpp include/rtc/common.hpp include/rtc/configuration.hpp include/rtc/datachannel.hpp include/rtc/description.hpp include/rtc/global.hpp include/rtc/h264packetizationhandler.hpp include/rtc/h264rtppacketizer.hpp include/rtc/mediachainablehandler.hpp include/rtc/mediahandler.hpp include/rtc/mediahandlerelement.hpp include/rtc/mediahandlerrootelement.hpp include/rtc/message.hpp include/rtc/nalunit.hpp include/rtc/opuspacketizationhandler.hpp include/rtc/opusrtppacketizer.hpp include/rtc/peerconnection.hpp include/rtc/reliability.hpp include/rtc/rtc.h include/rtc/rtc.hpp include/rtc/rtcpnackresponder.hpp include/rtc/rtcpreceivingsession.hpp include/rtc/rtcpsrreporter.hpp include/rtc/rtp.hpp include/rtc/rtppacketizationconfig.hpp include/rtc/rtppacketizer.hpp include/rtc/track.hpp include/rtc/utils.hpp include/rtc/websocket.hpp include/rtc/websocketserver.hpp lib/libdatachannel.so -lib/libdatachannel.so.0.14.3 +lib/libdatachannel.so.0.14.4 share/cmake/libdatachannel/libdatachannel-config-%%CMAKE_BUILD_TYPE%%.cmake share/cmake/libdatachannel/libdatachannel-config.cmake