git: 4e60afaa729c - main - www/jitsi-meet: update to 1.0.6155

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 24 May 2022 03:03:15 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e60afaa729c437401596d959b8f3e942e686fed

commit 4e60afaa729c437401596d959b8f3e942e686fed
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-05-24 03:00:25 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-05-24 03:01:56 +0000

    www/jitsi-meet: update to 1.0.6155
    
    - Add nginx config file
    - Modify pkg-message file
    PR:             257232
    Reported by:    grembo
---
 www/jitsi-meet/Makefile             |  13 ++++-
 www/jitsi-meet/distinfo             |   6 +-
 www/jitsi-meet/files/nginx.conf.in  |  75 ++++++++++++++++++++++++
 www/jitsi-meet/files/pkg-message.in |   5 +-
 www/jitsi-meet/pkg-plist            | 110 ++++++++++++++++++++++++++++--------
 5 files changed, 177 insertions(+), 32 deletions(-)

diff --git a/www/jitsi-meet/Makefile b/www/jitsi-meet/Makefile
index 0b3645c6167a..aae14a11ef5b 100644
--- a/www/jitsi-meet/Makefile
+++ b/www/jitsi-meet/Makefile
@@ -1,9 +1,8 @@
 PORTNAME=	jitsi
-PORTVERSION=	1.0.4048
-PORTREVISION=	2
+PORTVERSION=	1.0.6155
+DISTVERSIONPREFIX=	meet-
 CATEGORIES=	www net-im
 MASTER_SITES=	https://download.jitsi.org/jitsi-meet/src/
-DISTVERSIONPREFIX=	meet-
 PKGNAMESUFFIX=	-meet
 
 MAINTAINER=	acm@FreeBSD.org
@@ -13,6 +12,7 @@ LICENSE=	APACHE20
 
 USES=		cpe tar:bzip2
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 CPE_VENDOR=	jitsi
 CPE_PRODUCT=	meet
@@ -25,9 +25,16 @@ WRKSRC=		${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}
 post-extract:
 	@${MV} ${WRKSRC}/config.js ${WRKSRC}/config.js.sample
 	@${MV} ${WRKSRC}/interface_config.js ${WRKSRC}/interface_config.js.sample
+	${INSTALL_DATA} ${FILESDIR}/nginx.conf.in \
+		${WRKDIR}/nginx.conf
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+		${WRKDIR}/nginx.conf
 
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKDIR}/nginx.conf \
+		${STAGEDIR}${EXAMPLESDIR}/nginx.conf
 
 .include <bsd.port.mk>
diff --git a/www/jitsi-meet/distinfo b/www/jitsi-meet/distinfo
index c2a1900694ae..505e3387bf10 100644
--- a/www/jitsi-meet/distinfo
+++ b/www/jitsi-meet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587866160
-SHA256 (jitsi-meet-1.0.4048.tar.bz2) = 7a6e046273a3821b85bb50bb3b2e20134af64e0112ab60128d95348509e80ea0
-SIZE (jitsi-meet-1.0.4048.tar.bz2) = 7396829
+TIMESTAMP = 1653274717
+SHA256 (jitsi-meet-1.0.6155.tar.bz2) = 6da0915587b5cf6b87def49be4a6d6b34cb82b24183b72694f2a0615921942aa
+SIZE (jitsi-meet-1.0.6155.tar.bz2) = 16104152
diff --git a/www/jitsi-meet/files/nginx.conf.in b/www/jitsi-meet/files/nginx.conf.in
new file mode 100644
index 000000000000..14f6a05460b0
--- /dev/null
+++ b/www/jitsi-meet/files/nginx.conf.in
@@ -0,0 +1,75 @@
+worker_processes  1;
+
+events {
+    worker_connections  1024;
+}
+
+
+http {
+    include       mime.types;
+    default_type  application/octet-stream;
+    types {
+        application/wasm wasm;
+    }
+
+    sendfile        on;
+    keepalive_timeout  65;
+
+    server {
+        listen 80 default_server;
+
+        server_name _;
+
+        return 301 https://$host$request_uri;
+    }
+
+    server {
+        listen 0.0.0.0:443 ssl http2;
+        http2_push_preload on;
+
+        ssl_certificate      jitsi.example.com.crt;
+        ssl_certificate_key  jitsi.example.com.key;
+
+        ssl_session_cache    shared:SSL:1m;
+        ssl_session_timeout  5m;
+
+        ssl_ciphers  HIGH:!aNULL:!MD5;
+        ssl_prefer_server_ciphers  on;
+
+        ssl_early_data on;
+
+        server_name jitsi.example.com;
+
+        root %%LOCALBASE%%/www/jitsi-meet;
+
+        index index.html;
+        location ~ ^/([a-zA-Z0-9=\?\-])+$ {
+            rewrite ^/(.*)$ / break;
+        }
+        location / {
+            ssi on;
+        }
+        # BOSH, Bidirectional-streams Over Synchronous HTTP
+        # https://en.wikipedia.org/wiki/BOSH_(protocol)
+        location = /http-bind {
+            proxy_pass       http://localhost:5280/http-bind;
+            proxy_set_header X-Forwarded-For $remote_addr;
+            proxy_set_header Host $http_host;
+        }
+
+        location ~ ^/colibri-ws/default-id/(.*) {
+            proxy_pass http://127.0.0.1:9090/colibri-ws/default-id/$1$is_args$args;
+            proxy_http_version 1.1;
+            proxy_set_header Upgrade $http_upgrade;
+            proxy_set_header Connection "upgrade";
+            tcp_nodelay on;
+        }
+
+        # external_api.js must be accessible from the root of the
+        # installation for the electron version of Jitsi Meet to work
+        # https://github.com/jitsi/jitsi-meet-electron
+        location /external_api.js {
+            alias /srv/jitsi-meet/libs/external_api.min.js;
+        }
+    }
+}
diff --git a/www/jitsi-meet/files/pkg-message.in b/www/jitsi-meet/files/pkg-message.in
index b912182d6345..ac9699289c10 100644
--- a/www/jitsi-meet/files/pkg-message.in
+++ b/www/jitsi-meet/files/pkg-message.in
@@ -7,12 +7,13 @@ Jitsi Meet was installed
 
    www/nginx
    net-im/prosody
+   net-im/jitsi-prosody-plugins
    net-im/jicofo
    net-im/jitsi-videobridge
 
-2) You can look a basic configuration at the following url:
+2) You can find a basic configuration example here:
 
-   https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-manual
+   %%EXAMPLESDIR%%/nginx.conf
 
 3) Configuration and interface options files are installed like 
 
diff --git a/www/jitsi-meet/pkg-plist b/www/jitsi-meet/pkg-plist
index f4ef6cf7f37c..09deb3133409 100644
--- a/www/jitsi-meet/pkg-plist
+++ b/www/jitsi-meet/pkg-plist
@@ -1,8 +1,8 @@
-%%WWWDIR%%/ConferenceEvents.js
 %%WWWDIR%%/LICENSE
 %%WWWDIR%%/analytics-ga.js
 %%WWWDIR%%/app.js
 %%WWWDIR%%/base.html
+%%WWWDIR%%/babel.config.js
 %%WWWDIR%%/body.html
 %%WWWDIR%%/conference.js
 @sample %%WWWDIR%%/config.js.sample
@@ -12,72 +12,100 @@
 %%WWWDIR%%/connection_optimization/do_external_connect.js
 %%WWWDIR%%/css/all.css
 %%WWWDIR%%/favicon.ico
+%%WWWDIR%%/fonts.html
 %%WWWDIR%%/fonts/OpenSans-Light-webfont.eot
 %%WWWDIR%%/fonts/OpenSans-Light-webfont.svg
 %%WWWDIR%%/fonts/OpenSans-Light-webfont.ttf
 %%WWWDIR%%/fonts/OpenSans-Light-webfont.woff
 %%WWWDIR%%/head.html
+%%WWWDIR%%/images/GIPHY_icon.png
+%%WWWDIR%%/images/GIPHY_logo.png
+%%WWWDIR%%/images/app-store-badge.png
 %%WWWDIR%%/images/apple-touch-icon.png
 %%WWWDIR%%/images/avatar.png
 %%WWWDIR%%/images/btn_google_signin_dark_normal.png
+%%WWWDIR%%/images/calendar.svg
 %%WWWDIR%%/images/chromeLogo.svg
 %%WWWDIR%%/images/dropboxLogo_square.png
+%%WWWDIR%%/images/f-droid-badge.png
 %%WWWDIR%%/images/favicon.ico
 %%WWWDIR%%/images/flags.png
 %%WWWDIR%%/images/flags@2x.png
+%%WWWDIR%%/images/google-play-badge.png
 %%WWWDIR%%/images/googleLogo.svg
+%%WWWDIR%%/images/icon-cloud.png
+%%WWWDIR%%/images/icon-info.png
 %%WWWDIR%%/images/icon-users.png
-%%WWWDIR%%/images/jitsiLogo_square.png
 %%WWWDIR%%/images/jitsilogo.png
 %%WWWDIR%%/images/logo-deep-linking.png
 %%WWWDIR%%/images/microsoftLogo.svg
-%%WWWDIR%%/images/user-groups.svg
-%%WWWDIR%%/images/watermark.png
+%%WWWDIR%%/images/share-audio.gif
+%%WWWDIR%%/images/virtual-background/background-1.jpg
+%%WWWDIR%%/images/virtual-background/background-2.jpg
+%%WWWDIR%%/images/virtual-background/background-3.jpg
+%%WWWDIR%%/images/virtual-background/background-4.jpg
+%%WWWDIR%%/images/virtual-background/background-5.jpg
+%%WWWDIR%%/images/virtual-background/background-6.jpg
+%%WWWDIR%%/images/virtual-background/background-7.jpg
+%%WWWDIR%%/images/watermark.svg
+%%WWWDIR%%/images/welcome-background.png
 %%WWWDIR%%/index.android.js
 %%WWWDIR%%/index.html
 %%WWWDIR%%/index.ios.js
 @sample %%WWWDIR%%/interface_config.js.sample
 %%WWWDIR%%/lang/languages-af.json
 %%WWWDIR%%/lang/languages-ar.json
-%%WWWDIR%%/lang/languages-az.json
+%%WWWDIR%%/lang/languages-be.json
 %%WWWDIR%%/lang/languages-bg.json
 %%WWWDIR%%/lang/languages-ca.json
 %%WWWDIR%%/lang/languages-cs.json
 %%WWWDIR%%/lang/languages-da.json
 %%WWWDIR%%/lang/languages-de.json
+%%WWWDIR%%/lang/languages-el.json
 %%WWWDIR%%/lang/languages-enGB.json
 %%WWWDIR%%/lang/languages-eo.json
 %%WWWDIR%%/lang/languages-es.json
 %%WWWDIR%%/lang/languages-esUS.json
 %%WWWDIR%%/lang/languages-et.json
+%%WWWDIR%%/lang/languages-eu.json
 %%WWWDIR%%/lang/languages-fa.json
 %%WWWDIR%%/lang/languages-fi.json
 %%WWWDIR%%/lang/languages-fr.json
 %%WWWDIR%%/lang/languages-frCA.json
+%%WWWDIR%%/lang/languages-fy.json
 %%WWWDIR%%/lang/languages-gl.json
+%%WWWDIR%%/lang/languages-he.json
+%%WWWDIR%%/lang/languages-hi.json
 %%WWWDIR%%/lang/languages-hr.json
 %%WWWDIR%%/lang/languages-hu.json
 %%WWWDIR%%/lang/languages-hy.json
+%%WWWDIR%%/lang/languages-id.json
 %%WWWDIR%%/lang/languages-is.json
 %%WWWDIR%%/lang/languages-it.json
 %%WWWDIR%%/lang/languages-ja.json
+%%WWWDIR%%/lang/languages-ka.json
 %%WWWDIR%%/lang/languages-kab.json
 %%WWWDIR%%/lang/languages-km.json
 %%WWWDIR%%/lang/languages-ko.json
 %%WWWDIR%%/lang/languages-lt.json
+%%WWWDIR%%/lang/languages-lv.json
 %%WWWDIR%%/lang/languages-mn.json
+%%WWWDIR%%/lang/languages-mr.json
 %%WWWDIR%%/lang/languages-nb.json
 %%WWWDIR%%/lang/languages-nl.json
 %%WWWDIR%%/lang/languages-oc.json
 %%WWWDIR%%/lang/languages-pl.json
 %%WWWDIR%%/lang/languages-pt.json
 %%WWWDIR%%/lang/languages-ptBR.json
+%%WWWDIR%%/lang/languages-ro.json
 %%WWWDIR%%/lang/languages-ru.json
 %%WWWDIR%%/lang/languages-sc.json
 %%WWWDIR%%/lang/languages-sk.json
 %%WWWDIR%%/lang/languages-sl.json
+%%WWWDIR%%/lang/languages-sq.json
 %%WWWDIR%%/lang/languages-sr.json
 %%WWWDIR%%/lang/languages-sv.json
+%%WWWDIR%%/lang/languages-te.json
 %%WWWDIR%%/lang/languages-tr.json
 %%WWWDIR%%/lang/languages-uk.json
 %%WWWDIR%%/lang/languages-vi.json
@@ -86,35 +114,40 @@
 %%WWWDIR%%/lang/languages.json
 %%WWWDIR%%/lang/main-af.json
 %%WWWDIR%%/lang/main-ar.json
-%%WWWDIR%%/lang/main-az.json
 %%WWWDIR%%/lang/main-be.json
 %%WWWDIR%%/lang/main-bg.json
 %%WWWDIR%%/lang/main-ca.json
 %%WWWDIR%%/lang/main-cs.json
 %%WWWDIR%%/lang/main-da.json
 %%WWWDIR%%/lang/main-de.json
+%%WWWDIR%%/lang/main-el.json
 %%WWWDIR%%/lang/main-enGB.json
 %%WWWDIR%%/lang/main-eo.json
 %%WWWDIR%%/lang/main-es.json
 %%WWWDIR%%/lang/main-esUS.json
 %%WWWDIR%%/lang/main-et.json
+%%WWWDIR%%/lang/main-eu.json
 %%WWWDIR%%/lang/main-fa.json
 %%WWWDIR%%/lang/main-fi.json
 %%WWWDIR%%/lang/main-fr.json
 %%WWWDIR%%/lang/main-frCA.json
 %%WWWDIR%%/lang/main-gl.json
 %%WWWDIR%%/lang/main-he.json
+%%WWWDIR%%/lang/main-hi.json
 %%WWWDIR%%/lang/main-hr.json
 %%WWWDIR%%/lang/main-hu.json
 %%WWWDIR%%/lang/main-hy.json
+%%WWWDIR%%/lang/main-id.json
 %%WWWDIR%%/lang/main-is.json
 %%WWWDIR%%/lang/main-it.json
 %%WWWDIR%%/lang/main-ja.json
 %%WWWDIR%%/lang/main-kab.json
-%%WWWDIR%%/lang/main-km.json
 %%WWWDIR%%/lang/main-ko.json
 %%WWWDIR%%/lang/main-lt.json
+%%WWWDIR%%/lang/main-lv.json
+%%WWWDIR%%/lang/main-ml.json
 %%WWWDIR%%/lang/main-mn.json
+%%WWWDIR%%/lang/main-mr.json
 %%WWWDIR%%/lang/main-nb.json
 %%WWWDIR%%/lang/main-nl.json
 %%WWWDIR%%/lang/main-oc.json
@@ -126,8 +159,10 @@
 %%WWWDIR%%/lang/main-sc.json
 %%WWWDIR%%/lang/main-sk.json
 %%WWWDIR%%/lang/main-sl.json
+%%WWWDIR%%/lang/main-sq.json
 %%WWWDIR%%/lang/main-sr.json
 %%WWWDIR%%/lang/main-sv.json
+%%WWWDIR%%/lang/main-te.json
 %%WWWDIR%%/lang/main-tr.json
 %%WWWDIR%%/lang/main-uk.json
 %%WWWDIR%%/lang/main-vi.json
@@ -135,40 +170,52 @@
 %%WWWDIR%%/lang/main-zhTW.json
 %%WWWDIR%%/lang/main.json
 %%WWWDIR%%/lang/readme.md
+%%WWWDIR%%/lang/update-translation.js
 %%WWWDIR%%/libs/alwaysontop.min.js
-%%WWWDIR%%/libs/alwaysontop.min.map
+%%WWWDIR%%/libs/alwaysontop.min.js.map
 %%WWWDIR%%/libs/analytics-ga.js
 %%WWWDIR%%/libs/analytics-ga.min.js
-%%WWWDIR%%/libs/analytics-ga.min.map
+%%WWWDIR%%/libs/analytics-ga.min.js.map
 %%WWWDIR%%/libs/app.bundle.min.js
-%%WWWDIR%%/libs/app.bundle.min.map
+%%WWWDIR%%/libs/app.bundle.min.js.map
 %%WWWDIR%%/libs/capabilities.json
-%%WWWDIR%%/libs/device_selection_popup_bundle.min.js
-%%WWWDIR%%/libs/device_selection_popup_bundle.min.map
+%%WWWDIR%%/libs/close3.min.js
 %%WWWDIR%%/libs/dial_in_info_bundle.min.js
-%%WWWDIR%%/libs/dial_in_info_bundle.min.map
+%%WWWDIR%%/libs/dial_in_info_bundle.min.js.map
 %%WWWDIR%%/libs/do_external_connect.min.js
-%%WWWDIR%%/libs/do_external_connect.min.map
+%%WWWDIR%%/libs/do_external_connect.min.js.map
 %%WWWDIR%%/libs/external_api.min.js
-%%WWWDIR%%/libs/external_api.min.map
+%%WWWDIR%%/libs/external_api.min.js.map
 %%WWWDIR%%/libs/external_connect.js
-%%WWWDIR%%/libs/flacEncodeWorker.min.js
-%%WWWDIR%%/libs/flacEncodeWorker.min.map
+%%WWWDIR%%/libs/face-landmarks-worker.min.js
+%%WWWDIR%%/libs/face-landmarks-worker.min.js.map
+%%WWWDIR%%/libs/face_expression_model-weights_manifest.json
+%%WWWDIR%%/libs/face_expression_model.bin
+%%WWWDIR%%/libs/lib-jitsi-meet.e2ee-worker.js
 %%WWWDIR%%/libs/lib-jitsi-meet.min.js
 %%WWWDIR%%/libs/lib-jitsi-meet.min.map
-%%WWWDIR%%/libs/libflac4-1.3.2.min.js
-%%WWWDIR%%/libs/libflac4-1.3.2.min.js.mem
-%%WWWDIR%%/libs/rnnoise-processor.min.js
-%%WWWDIR%%/libs/rnnoise-processor.min.map
+%%WWWDIR%%/libs/olm.wasm
 %%WWWDIR%%/libs/rnnoise.wasm
-%%WWWDIR%%/libs/video-blur-effect.min.js
-%%WWWDIR%%/libs/video-blur-effect.min.map
+%%WWWDIR%%/libs/selfie_segmentation_landscape.tflite
+%%WWWDIR%%/libs/tfjs-backend-wasm-simd.wasm
+%%WWWDIR%%/libs/tfjs-backend-wasm-threaded-simd.wasm
+%%WWWDIR%%/libs/tfjs-backend-wasm.wasm
+%%WWWDIR%%/libs/tflite-simd.wasm
+%%WWWDIR%%/libs/tflite.wasm
+%%WWWDIR%%/libs/tiny_face_detector_model-weights_manifest.json
+%%WWWDIR%%/libs/tiny_face_detector_model.bin
 %%WWWDIR%%/logging_config.js
 %%WWWDIR%%/metro.config.js
 %%WWWDIR%%/plugin.head.html
+%%WWWDIR%%/pwa-worker.js
+%%WWWDIR%%/react-native.config.js
 %%WWWDIR%%/robots.txt
+%%WWWDIR%%/sounds/asked-unmute.mp3
+%%WWWDIR%%/sounds/e2eeOff.mp3
+%%WWWDIR%%/sounds/e2eeOn.mp3
 %%WWWDIR%%/sounds/incomingMessage.wav
 %%WWWDIR%%/sounds/joined.wav
+%%WWWDIR%%/sounds/knock.mp3
 %%WWWDIR%%/sounds/left.wav
 %%WWWDIR%%/sounds/liveStreamingOff.mp3
 %%WWWDIR%%/sounds/liveStreamingOn.mp3
@@ -176,6 +223,13 @@
 %%WWWDIR%%/sounds/noisyAudioInput.mp3
 %%WWWDIR%%/sounds/outgoingRinging.wav
 %%WWWDIR%%/sounds/outgoingStart.wav
+%%WWWDIR%%/sounds/reactions-applause.mp3
+%%WWWDIR%%/sounds/reactions-boo.mp3
+%%WWWDIR%%/sounds/reactions-crickets.mp3
+%%WWWDIR%%/sounds/reactions-laughter.mp3
+%%WWWDIR%%/sounds/reactions-raised-hand.mp3
+%%WWWDIR%%/sounds/reactions-surprise.mp3
+%%WWWDIR%%/sounds/reactions-thumbs-up.mp3
 %%WWWDIR%%/sounds/recordingOff.mp3
 %%WWWDIR%%/sounds/recordingOn.mp3
 %%WWWDIR%%/sounds/rejected.wav
@@ -188,12 +242,20 @@
 %%WWWDIR%%/static/close.js
 %%WWWDIR%%/static/close2.html
 %%WWWDIR%%/static/close3.html
-%%WWWDIR%%/static/deviceSelectionPopup.html
+%%WWWDIR%%/static/close3.js
 %%WWWDIR%%/static/dialInInfo.html
 %%WWWDIR%%/static/msredirect.html
 %%WWWDIR%%/static/oauth.html
+%%WWWDIR%%/static/offline.html
+%%WWWDIR%%/static/planLimit.html
+%%WWWDIR%%/static/prejoin.html
+%%WWWDIR%%/static/pwa/icons/icon192.png
+%%WWWDIR%%/static/pwa/icons/icon512.png
+%%WWWDIR%%/static/pwa/icons/iconMask.png
 %%WWWDIR%%/static/recommendedBrowsers.html
 %%WWWDIR%%/static/settingsToolbarAdditionalContent.html
+%%WWWDIR%%/static/welcomePageAdditionalCard.html
 %%WWWDIR%%/static/welcomePageAdditionalContent.html
 %%WWWDIR%%/title.html
 %%WWWDIR%%/webpack.config.js
+%%EXAMPLESDIR%%/nginx.conf