git: 646a75f815ac - main - www/janus: update to 1.0.0.

From: Vanilla I. Shu <vanilla_at_FreeBSD.org>
Date: Sat, 05 Mar 2022 05:21:13 UTC
The branch main has been updated by vanilla:

URL: https://cgit.FreeBSD.org/ports/commit/?id=646a75f815ac41cd505aaf07dd2684deadeac15a

commit 646a75f815ac41cd505aaf07dd2684deadeac15a
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2022-03-05 05:20:35 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2022-03-05 05:20:59 +0000

    www/janus: update to 1.0.0.
---
 www/janus/Makefile                                                | 2 +-
 www/janus/distinfo                                                | 6 +++---
 www/janus/files/patch-configure.ac                                | 6 +++---
 www/janus/files/{patch-janus.c => patch-src__janus.c}             | 8 ++++----
 ...nus__websockets.c => patch-src_transports_janus__websockets.c} | 8 ++++----
 www/janus/pkg-plist                                               | 6 +++++-
 6 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/www/janus/Makefile b/www/janus/Makefile
index 4ae29ffa53db..a3ac4eb4ff04 100644
--- a/www/janus/Makefile
+++ b/www/janus/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	janus
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.11.8
+DISTVERSION=	1.0.0
 PORTREVISION=	0
 CATEGORIES=	www
 
diff --git a/www/janus/distinfo b/www/janus/distinfo
index 21ca6f348928..4c92a2b3da58 100644
--- a/www/janus/distinfo
+++ b/www/janus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644715713
-SHA256 (meetecho-janus-gateway-v0.11.8_GH0.tar.gz) = 2b065c5feaec9e40b2310b97cf598bb53346b326bdad73f57b3de319eb0fc65f
-SIZE (meetecho-janus-gateway-v0.11.8_GH0.tar.gz) = 7116815
+TIMESTAMP = 1646448604
+SHA256 (meetecho-janus-gateway-v1.0.0_GH0.tar.gz) = 8b126f554c416767b2aa4c5fe957bfd3ba9326369cf05b312ceca96cd715c310
+SIZE (meetecho-janus-gateway-v1.0.0_GH0.tar.gz) = 6230838
diff --git a/www/janus/files/patch-configure.ac b/www/janus/files/patch-configure.ac
index 0e5c878d08a0..3aeb90ee511f 100644
--- a/www/janus/files/patch-configure.ac
+++ b/www/janus/files/patch-configure.ac
@@ -1,6 +1,6 @@
---- configure.ac.orig	2021-09-06 10:07:06 UTC
+--- configure.ac.orig	2022-03-03 10:44:38 UTC
 +++ configure.ac
-@@ -363,8 +363,6 @@ freebsd*)
+@@ -359,8 +359,6 @@ freebsd*)
                      libconfig
                      nice
                      jansson >= $jansson_version
@@ -9,7 +9,7 @@
                      zlib"
  esac
  PKG_CHECK_MODULES([JANUS],"$PKGCHECKMODULES")
-@@ -954,8 +952,6 @@ AS_IF([test "x$enable_post_processing" = "xyes"],
+@@ -963,8 +961,6 @@ AS_IF([test "x$enable_post_processing" = "xyes"],
                           [
                             glib-2.0 >= $glib_version
                             jansson >= $jansson_version
diff --git a/www/janus/files/patch-janus.c b/www/janus/files/patch-src__janus.c
similarity index 69%
rename from www/janus/files/patch-janus.c
rename to www/janus/files/patch-src__janus.c
index a6be811351b7..5fef7b777a47 100644
--- a/www/janus/files/patch-janus.c
+++ b/www/janus/files/patch-src__janus.c
@@ -1,6 +1,6 @@
---- janus.c.orig	2022-02-11 08:56:29 UTC
-+++ janus.c
-@@ -4423,6 +4423,7 @@ gint main(int argc, char *argv[])
+--- src/janus.c.orig	2022-03-03 10:44:38 UTC
++++ src/janus.c
+@@ -4435,6 +4435,7 @@ gint main(int argc, char *argv[])
  				if (exit_on_dl_error)
  					exit(1);
  			} else {
@@ -8,7 +8,7 @@
  				create_l *create = (create_l*) dlsym(event, "create");
  				const char *dlsym_error = dlerror();
  				if (dlsym_error) {
-@@ -5447,6 +5448,7 @@ gint main(int argc, char *argv[])
+@@ -5459,6 +5460,7 @@ gint main(int argc, char *argv[])
  			if (exit_on_dl_error)
  				exit(1);
  		} else {
diff --git a/www/janus/files/patch-transports_janus__websockets.c b/www/janus/files/patch-src_transports_janus__websockets.c
similarity index 69%
rename from www/janus/files/patch-transports_janus__websockets.c
rename to www/janus/files/patch-src_transports_janus__websockets.c
index cc641d91d7bc..0e16c6eecc17 100644
--- a/www/janus/files/patch-transports_janus__websockets.c
+++ b/www/janus/files/patch-src_transports_janus__websockets.c
@@ -1,6 +1,6 @@
---- 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
+--- src/transports/janus_websockets.c.orig	2022-03-03 10:44:38 UTC
++++ src/transports/janus_websockets.c
+@@ -384,6 +384,9 @@ static struct lws_vhost* janus_websockets_create_ws_se
  {
  	janus_config_item *item;
  	char item_name[255];
@@ -10,7 +10,7 @@
  
  	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
+@@ -530,9 +533,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
  
diff --git a/www/janus/pkg-plist b/www/janus/pkg-plist
index 3b63bed07b7f..129a642743ba 100644
--- a/www/janus/pkg-plist
+++ b/www/janus/pkg-plist
@@ -143,6 +143,8 @@ share/doc/janus-gateway/README.md
 %%DATADIR%%/demos/meetecho-logo.png
 %%DATADIR%%/demos/multiopus.html
 %%DATADIR%%/demos/multiopus.js
+%%DATADIR%%/demos/mvideoroomtest.html
+%%DATADIR%%/demos/mvideoroomtest.js
 %%DATADIR%%/demos/navbar.html
 %%DATADIR%%/demos/nosiptest.html
 %%DATADIR%%/demos/nosiptest.js
@@ -181,6 +183,8 @@ share/doc/janus-gateway/README.md
 %%DATADIR%%/streams/music.mulaw
 %%DATADIR%%/streams/radio.alaw
 %%DATADIR%%/streams/test_gstreamer.sh
-%%DATADIR%%/streams/test_gstreamer_1.sh
+%%DATADIR%%/streams/test_gstreamer1.sh
+%%DATADIR%%/streams/test_gstreamer1_multistream.sh
+%%DATADIR%%/streams/test_gstreamer_multistream.sh
 @dir %%DATADIR%%/duktape
 @dir %%DATADIR%%/lua