From nobody Wed Oct 20 10:55:17 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 79884180DCE9; Wed, 20 Oct 2021 10:55:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HZ6vn2qMVz4smT; Wed, 20 Oct 2021 10:55:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 409632604A; Wed, 20 Oct 2021 10:55:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19KAtHeR056858; Wed, 20 Oct 2021 10:55:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19KAtH3R056857; Wed, 20 Oct 2021 10:55:17 GMT (envelope-from git) Date: Wed, 20 Oct 2021 10:55:17 GMT Message-Id: <202110201055.19KAtH3R056857@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: 45d7994c7677 - main - www/janus: update to 0.11.5. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45d7994c7677ffce0500de3fe9c4049bfe356a7a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=45d7994c7677ffce0500de3fe9c4049bfe356a7a commit 45d7994c7677ffce0500de3fe9c4049bfe356a7a Author: Vanilla I. Shu AuthorDate: 2021-10-20 10:52:44 +0000 Commit: Vanilla I. Shu CommitDate: 2021-10-20 10:55:07 +0000 www/janus: update to 0.11.5. --- www/janus/Makefile | 87 +++++++++++----------- www/janus/distinfo | 6 +- www/janus/files/patch-janus.c | 4 +- .../files/patch-transports_janus__websockets.c | 22 ++++++ 4 files changed, 70 insertions(+), 49 deletions(-) diff --git a/www/janus/Makefile b/www/janus/Makefile index 2674779e9b9e..5d4f5214848b 100644 --- a/www/janus/Makefile +++ b/www/janus/Makefile @@ -1,6 +1,6 @@ PORTNAME= janus DISTVERSIONPREFIX= v -DISTVERSION= 0.11.4 +DISTVERSION= 0.11.5 CATEGORIES= www MAINTAINER= vanilla@FreeBSD.org @@ -9,57 +9,56 @@ COMMENT= WebRTC gateway LICENSE= GPLv3 BUILD_DEPENDS= gengetopt>0:devel/gengetopt -LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ - libusrsctp.so:net/libusrsctp \ +LIB_DEPENDS= libconfig.so:devel/libconfig \ + libcurl.so:ftp/curl \ libjansson.so:devel/jansson \ - libnice.so:net-im/libnice \ libmicrohttpd.so:www/libmicrohttpd \ - libwebsockets.so:net/libwebsockets \ - libcurl.so:ftp/curl \ + libnice.so:net-im/libnice \ + libogg.so:audio/libogg \ libopus.so:audio/opus \ libsofia-sip-ua.so:net/sofia-sip \ - libogg.so:audio/libogg \ - libjansson.so:devel/jansson \ - libnice.so:net-im/libnice \ - libmicrohttpd.so:www/libmicrohttpd \ - libwebsockets.so:net/libwebsockets \ - libconfig.so:devel/libconfig + libsrtp2.so:net/libsrtp2 \ + libusrsctp.so:net/libusrsctp \ + libwebsockets.so:net/libwebsockets -USES= libtool pkgconfig autoreconf cpe gmake localbase gnome ssl -USE_GNOME= glib20 -USE_GITHUB= yes -GH_ACCOUNT= meetecho -GH_PROJECT= janus-gateway -CPE_VENDOR= meetecho -USE_RC_SUBR= janus +USES= autoreconf cpe gmake gnome libtool localbase pkgconfig \ + ssl +USE_GNOME= glib20 +USE_GITHUB= yes +GH_ACCOUNT= meetecho +GH_PROJECT= janus-gateway +CPE_VENDOR= meetecho +USE_RC_SUBR= janus CONFIGURE_ARGS+= --disable-mqtt \ - --disable-rabbitmq \ - --enable-json-logger \ - --enable-data-channels -INSTALL_TARGET=install-strip -CFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include/nice -LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl -L${LOCALBASE} -lnice -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -SUB_FILES= pkg-message + --disable-rabbitmq \ + --enable-data-channels \ + --enable-json-logger +INSTALL_TARGET= install-strip +CFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include/nice +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl -L${LOCALBASE} -lnice +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +SUB_FILES= pkg-message -OPTIONS_SUB= yes -OPTIONS_DEFINE= JAVASCRIPT LUA NANOMSG RABBITMQ POSTPROCESSING -JAVASCRIPT_DESC= JavaScript scripting language support +OPTIONS_SUB= yes +OPTIONS_DEFINE= JAVASCRIPT LUA NANOMSG POSTPROCESSING \ + RABBITMQ +JAVASCRIPT_DESC= JavaScript scripting language support #MQTT_DESC= MQTT integration -NANOMSG_DESC= Nanomsg integration -RABBITMQ_DESC= RabbitMQ integration -POSTPROCESSING_DESC= Post processing integration -JAVASCRIPT_LIB_DEPENDS= libduktape.so:lang/duktape-lib -NANOMSG_LIB_DEPENDS= libnanomsg.so:net/nanomsg -RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c -JAVASCRIPT_CONFIGURE_ENABLE= plugin-duktape -NANOMSG_CONFIGURE_ENABLE= nanomsg -RABBITMQ_CONFIGURE_ENABLE= rabbitmq -LUA_CONFIGURE_ENABLE= plugin-lua -LUA_USES= lua -LUA_CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" +NANOMSG_DESC= Nanomsg integration +RABBITMQ_DESC= RabbitMQ integration +POSTPROCESSING_DESC= Post processing integration +JAVASCRIPT_LIB_DEPENDS= libduktape.so:lang/duktape-lib +NANOMSG_LIB_DEPENDS= libnanomsg.so:net/nanomsg +RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c +JAVASCRIPT_CONFIGURE_ENABLE= plugin-duktape +NANOMSG_CONFIGURE_ENABLE= nanomsg +RABBITMQ_CONFIGURE_ENABLE= rabbitmq +LUA_CONFIGURE_ENABLE= plugin-lua +LUA_USES= lua +LUA_CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ + LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" POSTPROCESSING_CONFIGURE_ENABLE= post-processing -POSTPROCESSING_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg +POSTPROCESSING_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg .include diff --git a/www/janus/distinfo b/www/janus/distinfo index 8924eeee7c66..f863751c96c5 100644 --- a/www/janus/distinfo +++ b/www/janus/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1631004647 -SHA256 (meetecho-janus-gateway-v0.11.4_GH0.tar.gz) = baf0b0edf2031fcf0b81fd9df4bb916c061d77378f9671d1a7060bf2906af207 -SIZE (meetecho-janus-gateway-v0.11.4_GH0.tar.gz) = 7088909 +TIMESTAMP = 1634724230 +SHA256 (meetecho-janus-gateway-v0.11.5_GH0.tar.gz) = 4c80403d76365b258db930dd9c4ab8e65a2d4753309c7473bfc291ab289ce958 +SIZE (meetecho-janus-gateway-v0.11.5_GH0.tar.gz) = 7094167 diff --git a/www/janus/files/patch-janus.c b/www/janus/files/patch-janus.c index 4a1b01dfd121..6ef7380ecbcb 100644 --- a/www/janus/files/patch-janus.c +++ b/www/janus/files/patch-janus.c @@ -1,6 +1,6 @@ ---- janus.c.orig 2021-09-06 10:07:06 UTC +--- janus.c.orig 2021-10-18 15:46:53 UTC +++ janus.c -@@ -4338,6 +4338,7 @@ gint main(int argc, char *argv[]) +@@ -4359,6 +4359,7 @@ gint main(int argc, char *argv[]) if (!event) { JANUS_LOG(LOG_ERR, "\tCouldn't load logger plugin '%s': %s\n", eventent->d_name, dlerror()); } else { diff --git a/www/janus/files/patch-transports_janus__websockets.c b/www/janus/files/patch-transports_janus__websockets.c new file mode 100644 index 000000000000..cc641d91d7bc --- /dev/null +++ b/www/janus/files/patch-transports_janus__websockets.c @@ -0,0 +1,22 @@ +--- transports/janus_websockets.c.orig 2021-10-20 10:23:29 UTC ++++ transports/janus_websockets.c +@@ -383,6 +383,9 @@ static struct lws_vhost* janus_websockets_create_ws_se + { + janus_config_item *item; + char item_name[255]; ++#ifdef __FreeBSD__ ++ int ipv4_only = 0; ++#endif + + item = janus_config_get(config, config_container, janus_config_type_item, prefix); + if(!item || !item->value || !janus_is_true(item->value)) { +@@ -529,9 +532,6 @@ int janus_websockets_init(janus_transport_callbacks *c + JANUS_LOG(LOG_WARN, "libwebsockets has been built without IPv6 support, will bind to IPv4 only\n"); + #endif + +-#ifdef __FreeBSD__ +- int ipv4_only = 0; +-#endif + /* This is the callback we'll need to invoke to contact the Janus core */ + gateway = callback; +