Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Removes dependencies to other components.
damencho8da0d3a1f1d6
diff --git a/debian/control b/debian/controlindex bb39000d6f..a20bfa29d4 100644--- a/debian/control+++ b/debian/control@@ -1,4 +1,4 @@-Source: jitsi-meet+Source: jitsi-meet-webSection: netPriority: extraMaintainer: Jitsi Team <[email protected]>@@ -7,10 +7,10 @@ Build-Depends: debhelper (>= 8.0.0)Standards-Version: 3.9.6Homepage: https://jitsi.org/meet-Package: jitsi-meet+Package: jitsi-meet-web+Replaces: jitsi-meet (<= 1.0.1525-1)Architecture: all-Depends: ${misc:Depends}, jitsi-videobridge, jitsi-meet-prosody,- openjdk-8-jre-headless | nginx+Depends: ${misc:Depends}Description: WebRTC JavaScript video conferencesJitsi Meet is a WebRTC JavaScript application that uses JitsiVideobridge to provide high quality, scalable video conferences.@@ -19,9 +19,25 @@ Description: WebRTC JavaScript video conferencesforwarding and relaying, configured to work with jetty instancerunning embedded into Jitsi Videobridge+Package: jitsi-meet-web-config+Architecture: all+Depends: openssl, openjdk-8-jre-headless | nginx | apache2,+ jitsi-meet-web+Description: Configuration for web serving of Jitsi Meet+ Jitsi Meet is a WebRTC JavaScript application that uses Jitsi+ Videobridge to provide high quality, scalable video conferences.+ .+ It is a web interface to Jitsi Videobridge for audio and video+ forwarding and relaying, configured to work with jetty instance+ running embedded into Jitsi Videobridge or using a webserver Nginx or+ Apache2.+ .+ This package contains configuration for Nginx to be used with+ Jitsi Meet.+Package: jitsi-meet-prosodyArchitecture: all-Depends: ${misc:Depends}, openssl, prosody | prosody-trunk, jitsi-videobridge, jicofo+Depends: openssl, prosody | prosody-trunk, jitsi-meet-webDescription: Prosody configuration for Jitsi MeetJitsi Meet is a WebRTC JavaScript application that uses JitsiVideobridge to provide high quality, scalable video conferences.diff --git a/debian/jitsi-meet-prosody.config b/debian/jitsi-meet-prosody.configdeleted file mode 100644index f5601b0a5f..0000000000--- a/debian/jitsi-meet-prosody.config+++ /dev/null@@ -1,4 +0,0 @@-#!/bin/sh -e--# Source debconf library.-. /usr/share/debconf/confmodulediff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex aabd71b983..13d9582f64 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -21,13 +21,49 @@ set -ecase "$1" inconfigure)- . /etc/jitsi/videobridge/config-- . /etc/jitsi/jicofo/config-# loading debconf. /usr/share/debconf/confmodule+ # try to get host from jitsi-videobridge+ db_get jitsi-videobridge/jvb-hostname+ if [ -z "$RET" ] ; then+ # server hostname+ db_set jitsi-videobridge/jvb-hostname "localhost"+ db_input critical jitsi-videobridge/jvb-hostname || true+ db_go+ fi+ JVB_HOSTNAME="$RET"++ db_get jitsi-videobridge/jvbsecret+ if [ -z "$RET" ] ; then+ db_input critical jitsi-videobridge/jvbsecret || true+ db_go+ fi+ JVB_SECRET="$RET"++ db_get jicofo/jicofo-authuser+ if [ -z "$RET" ] ; then+ db_input critical jicofo/jicofo-authuser || true+ db_go+ fi+ JICOFO_AUTH_USER="$RET"++ db_get jicofo/jicofo-authpassword+ if [ -z "$RET" ] ; then+ db_input critical jicofo/jicofo-authpassword || true+ db_go+ fi+ JICOFO_AUTH_PASSWORD="$RET"++ db_get jicofo/jicofosecret+ if [ -z "$RET" ] ; then+ db_input critical jicofo/jicofosecret || true+ db_go+ fi+ JICOFO_SECRET="$RET"++ JICOFO_AUTH_DOMAIN="auth.$JVB_HOSTNAME"+# detect dpkg-reconfigure, just delete old linksdb_get jitsi-meet-prosody/jvb-hostnameJVB_HOSTNAME_OLD=$RET@@ -38,7 +74,7 @@ case "$1" infi# stores the hostname so we will reuse it later, like in purge- db_set jitsi-meet-prosody/jvb-hostname $JVB_HOSTNAME+ db_set jitsi-meet-prosody/jvb-hostname "$JVB_HOSTNAME"# and we're done with debconfdb_stop@@ -68,21 +104,21 @@ case "$1" infifi# UPGRADE to server side focus check if focus is configured- if [ -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"auth.$JVB_HOSTNAME\"" $PROSODY_HOST_CONFIG; then- echo -e "\nVirtualHost \"auth.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIG+ if [ -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"$JICOFO_AUTH_DOMAIN\"" $PROSODY_HOST_CONFIG; then+ echo -e "\nVirtualHost \"$JICOFO_AUTH_DOMAIN\"" >> $PROSODY_HOST_CONFIGecho -e " authentication = \"internal_plain\"\n" >> $PROSODY_HOST_CONFIG- sed -i "s/Component \"conference.$JVB_HOSTNAME\" \"muc\"/Component \"conference.$JVB_HOSTNAME\" \"muc\"\nadmins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n/g" $PROSODY_HOST_CONFIG+ sed -i "s/Component \"conference.$JVB_HOSTNAME\" \"muc\"/Component \"conference.$JVB_HOSTNAME\" \"muc\"\nadmins = { \"$JICOFO_AUTH_USER@$JICOFO_AUTH_DOMAIN\" }\n/g" $PROSODY_HOST_CONFIGecho -e "Component \"focus.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIGecho -e " component_secret=\"$JICOFO_SECRET\"\n" >> $PROSODY_HOST_CONFIGPROSODY_CREATE_JICOFO_USER="true"# UPGRADE to server side focus on old config(/etc/prosody/prosody.cfg.lua)- elif [ ! -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"auth.$JVB_HOSTNAME\"" $PROSODY_CONFIG_OLD; then- echo -e "\nVirtualHost \"auth.$JVB_HOSTNAME\"" >> $PROSODY_CONFIG_OLD+ elif [ ! -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"$JICOFO_AUTH_DOMAIN\"" $PROSODY_CONFIG_OLD; then+ echo -e "\nVirtualHost \"$JICOFO_AUTH_DOMAIN\"" >> $PROSODY_CONFIG_OLDecho -e " authentication = \"internal_plain\"\n" >> $PROSODY_CONFIG_OLDif ! grep -q "admins = { }" $PROSODY_CONFIG_OLD; then- echo -e "admins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n" >> $PROSODY_CONFIG_OLD+ echo -e "admins = { \"$JICOFO_AUTH_USER@$JICOFO_AUTH_DOMAIN\" }\n" >> $PROSODY_CONFIG_OLDelse- sed -i "s/admins = { }/admins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n/g" $PROSODY_CONFIG_OLD+ sed -i "s/admins = { }/admins = { \"$JICOFO_AUTH_USER@$JICOFO_AUTH_DOMAIN\" }\n/g" $PROSODY_CONFIG_OLDfiecho -e "Component \"focus.$JVB_HOSTNAME\"" >> $PROSODY_CONFIG_OLDecho -e " component_secret=\"$JICOFO_SECRET\"\n" >> $PROSODY_CONFIG_OLD@@ -109,8 +145,6 @@ case "$1" inif [ "$PROSODY_CONFIG_PRESENT" = "false" ]; theninvoke-rc.d prosody restart- invoke-rc.d jitsi-videobridge restart- invoke-rc.d jicofo restartfi;;diff --git a/debian/jitsi-meet-prosody.postrm b/debian/jitsi-meet-prosody.postrmindex 9d21befcf4..89a1ff87bd 100644--- a/debian/jitsi-meet-prosody.postrm+++ b/debian/jitsi-meet-prosody.postrm@@ -36,6 +36,9 @@ case "$1" inrm -f /etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.luarm -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.luafi++ # Clear the debconf variable+ db_purge;;upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)diff --git a/debian/jitsi-meet-prosody.templates b/debian/jitsi-meet-prosody.templatesindex 970ebd2c90..18d634b306 100644--- a/debian/jitsi-meet-prosody.templates+++ b/debian/jitsi-meet-prosody.templates@@ -2,3 +2,29 @@ Template: jitsi-meet-prosody/jvb-hostnameType: string_Description: The hostname of the current installation:The value for the hostname that is set in Jitsi Videobridge installation.++Template: jitsi-videobridge/jvb-hostname+Type: string+_Description: The hostname of the current installation:+ The value for the hostname that is set in Jitsi Videobridge installation.++Template: jitsi-videobridge/jvbsecret+Type: password+_Description: Jitsi Videobridge Component secret:+ The secret used by Jitsi Videobridge to connect to xmpp server as component.++Template: jicofo/jicofo-authuser+Type: string+Default: focus+_Description: Jicofo username:+ The jicofo needs an authenticated admin user to connect to xmpp server.++Template: jicofo/jicofo-authpassword+Type: password+_Description: Jicofo user password:+ The secret used to connect to xmpp server as jicofo user.++Template: jicofo/jicofosecret+Type: password+_Description: Jicofo Component secret:+ The secret used to connect to xmpp server as componentdiff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinstindex fc26331a86..47cea831d6 100644--- a/debian/jitsi-meet-tokens.postinst+++ b/debian/jitsi-meet-tokens.postinst@@ -21,17 +21,12 @@ set -ecase "$1" inconfigure)- if [ -f "/etc/jitsi/videobridge/config" ] ; then- . /etc/jitsi/videobridge/config- fi-- if [ -f "/etc/jitsi/jicofo/config" ] ; then- . /etc/jitsi/jicofo/config- fi-# loading debconf. /usr/share/debconf/confmodule+ db_get jitsi-meet-prosody/jvb-hostname+ JVB_HOSTNAME="$RET"+db_get jitsi-meet-tokens/appidif [ "$RET" = "false" ] ; thenecho "Application ID is mandatory"@@ -45,14 +40,10 @@ case "$1" infiAPP_SECRET=$RET- # We can adjust Prosody config only if there is Jvb or Jicofo domain configuredPROSODY_HOST_CONFIG="/etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua"- if [ ! -f "$PROSODY_HOST_CONFIG" ] ; then- PROSODY_HOST_CONFIG="/etc/prosody/conf.avail/$JICOFO_HOSTNAME.cfg.lua"- fi# Store config filename for purge- db_set jitsi-meet-prosody/prosody_config $PROSODY_HOST_CONFIG+ db_set jitsi-meet-prosody/prosody_config "$PROSODY_HOST_CONFIG"db_stopdiff --git a/debian/jitsi-meet-tokens.postrm b/debian/jitsi-meet-tokens.postrmindex b57fe1ee75..264ad2a2b3 100644--- a/debian/jitsi-meet-tokens.postrm+++ b/debian/jitsi-meet-tokens.postrm@@ -52,6 +52,8 @@ case "$1" in;;purge)+ # Clear the debconf variable+ db_purge;;upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)diff --git a/debian/jitsi-meet.config b/debian/jitsi-meet-web-config.configsimilarity index 100%rename from debian/jitsi-meet.configrename to debian/jitsi-meet-web-config.configdiff --git a/debian/jitsi-meet.dirs b/debian/jitsi-meet-web-config.dirssimilarity index 100%rename from debian/jitsi-meet.dirsrename to debian/jitsi-meet-web-config.dirsdiff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet-web-config.postinstsimilarity index 68%rename from debian/jitsi-meet.postinstrename to debian/jitsi-meet-web-config.postinstindex b538fd1a21..13b0c99731 100644--- a/debian/jitsi-meet.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -1,5 +1,5 @@#!/bin/bash-# postinst script for jitsi-meet+# postinst script for jitsi-meet-web-config## see: dh_installdeb(1)@@ -20,13 +20,19 @@ set -ecase "$1" inconfigure)- JVB_ETC_CONFIG="/etc/jitsi/videobridge/config"-- . $JVB_ETC_CONFIG-# loading debconf. /usr/share/debconf/confmodule+ # try to get host from jitsi-videobridge+ db_get jitsi-videobridge/jvb-hostname+ if [ -z "$RET" ] ; then+ # server hostname+ db_set jitsi-videobridge/jvb-hostname "localhost"+ db_input critical jitsi-videobridge/jvb-hostname || true+ db_go+ fi+ JVB_HOSTNAME="$RET"+# detect dpkg-reconfigureRECONFIGURING="false"db_get jitsi-meet/jvb-hostname@@ -49,22 +55,54 @@ case "$1" inif [ "$NGINX_INSTALL_CHECK" = "installed" ] || [ "$NGINX_INSTALL_CHECK" = "unpacked" ] ; thenFORCE_NGINX="true"fi+ APACHE_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'apache2' 2>/dev/null | awk '{print $3}' || true)"+ if [ "$APACHE_INSTALL_CHECK" = "installed" ] || [ "$APACHE_INSTALL_CHECK" = "unpacked" ] ; then+ FORCE_APACHE="true"+ fi- # SSL for nginx- db_get jitsi-meet/cert-choice- CERT_CHOICE="$RET"- UPLOADED_CERT_CHOICE="A certificate is available and the files are uploaded on the server"+ # if first time config ask for certs, or if we are reconfiguring+ if [ -z "$JVB_HOSTNAME_OLD" ] || [ "$RECONFIGURING" = "true" ] ; then+ # SSL for nginx+ db_get jitsi-meet/cert-choice+ CERT_CHOICE="$RET"+ UPLOADED_CERT_CHOICE="A certificate is available and the files are uploaded on the server"++ if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then+ db_set jitsi-meet/cert-path-key "/etc/ssl/$JVB_HOSTNAME.key"+ db_input critical jitsi-meet/cert-path-key || true+ db_go+ db_get jitsi-meet/cert-path-key+ CERT_KEY="$RET"+ db_set jitsi-meet/cert-path-crt "/etc/ssl/$JVB_HOSTNAME.crt"+ db_input critical jitsi-meet/cert-path-crt || true+ db_go+ db_get jitsi-meet/cert-path-crt+ CERT_CRT="$RET"+ else+ # create self-signed certs+ CERT_KEY="/etc/jitsi/meet/$JVB_HOSTNAME.key"+ CERT_CRT="/etc/jitsi/meet/$JVB_HOSTNAME.crt"+ HOST="$( (hostname -s; echo localhost) | head -n 1)"+ DOMAIN="$( (hostname -d; echo localdomain) | head -n 1)"+ openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj \+ "/O=$DOMAIN/OU=$HOST/CN=$JVB_HOSTNAME/emailAddress=webmaster@$HOST.$DOMAIN" \+ -keyout $CERT_KEY \+ -out $CERT_CRT+ fi+ fi# jitsi meetJITSI_MEET_CONFIG="/etc/jitsi/meet/$JVB_HOSTNAME-config.js"if [ ! -f $JITSI_MEET_CONFIG ] ; then- cp /usr/share/doc/jitsi-meet/config.js $JITSI_MEET_CONFIG+ cp /usr/share/doc/jitsi-meet-web/config.js $JITSI_MEET_CONFIGsed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" $JITSI_MEET_CONFIGfi# this is new install let's configure jvb to serve meet- if [[ -z $FORCE_NGINX && ( -z $JVB_HOSTNAME_OLD || "$JVB_SERVE" = "true" ) ]] ; then+ # no-nginx, no-apache installed on machine, this is new install or reconfiguring old one which have jvb_serve set+ if [[ -z "$FORCE_NGINX" && -z "$FORCE_APACHE" && ( -z "$JVB_HOSTNAME_OLD" || ( "$JVB_SERVE" = "true" && "$RECONFIGURING" = "true" )) ]] ; then+ JVB_ETC_CONFIG="/etc/jitsi/videobridge/config"JVB_CONFIG="/etc/jitsi/videobridge/sip-communicator.properties"# this is a reconfigure, lets just delete old links@@ -112,34 +150,19 @@ case "$1" inchmod 755 /etc/authbind/byport/443fi- if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then- # create jks from uploaded certs- openssl pkcs12 -export \- -in /etc/ssl/$JVB_HOSTNAME.crt \- -inkey /etc/ssl/$JVB_HOSTNAME.key \- -passout pass:changeit > /etc/jitsi/videobridge/$JVB_HOSTNAME.p12- keytool -importkeystore \- -srckeystore /etc/jitsi/videobridge/$JVB_HOSTNAME.p12 \- -destkeystore /etc/jitsi/videobridge/$JVB_HOSTNAME.jks \- -srcstoretype pkcs12 \- -noprompt -storepass changeit -srcstorepass changeit- else- # create jks from self-signed certs- openssl pkcs12 -export \- -in /var/lib/prosody/$JVB_HOSTNAME.crt \- -inkey /var/lib/prosody/$JVB_HOSTNAME.key \- -passout pass:changeit > /etc/jitsi/videobridge/$JVB_HOSTNAME.p12- keytool -importkeystore \- -srckeystore /etc/jitsi/videobridge/$JVB_HOSTNAME.p12 \- -destkeystore /etc/jitsi/videobridge/$JVB_HOSTNAME.jks \- -srcstoretype pkcs12 \- -noprompt -storepass changeit -srcstorepass changeit- fi+ CERT_P12="/etc/jitsi/videobridge/$JVB_HOSTNAME.p12"+ CERT_JKS="/etc/jitsi/videobridge/$JVB_HOSTNAME.jks"+ # create jks from certs+ openssl pkcs12 -export \+ -in $CERT_CRT -inkey $CERT_KEY -passout pass:changeit > $CERT_P12+ keytool -importkeystore -destkeystore $CERT_JKS \+ -srckeystore $CERT_P12 -srcstoretype pkcs12 \+ -noprompt -storepass changeit -srcstorepass changeitdb_set jitsi-meet/jvb-serve "true"invoke-rc.d jitsi-videobridge restart- elif [[ "$FORCE_NGINX" = "true" || ( -n $JVB_HOSTNAME_OLD && "$JVB_SERVE" = "false" ) ]] ; then+ elif [[ "$FORCE_NGINX" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then# this is a reconfigure, lets just delete old linksif [ "$RECONFIGURING" = "true" ] ; thenrm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME_OLD.conf@@ -148,7 +171,7 @@ case "$1" in# nginx confif [ ! -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf ] ; then- cp /usr/share/doc/jitsi-meet/jitsi-meet.example /etc/nginx/sites-available/$JVB_HOSTNAME.conf+ cp /usr/share/doc/jitsi-meet-web/jitsi-meet.example /etc/nginx/sites-available/$JVB_HOSTNAME.confif [ ! -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf ] ; thenln -s /etc/nginx/sites-available/$JVB_HOSTNAME.conf /etc/nginx/sites-enabled/$JVB_HOSTNAME.conffi@@ -156,28 +179,21 @@ case "$1" infiif [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then- db_set jitsi-meet/cert-path-key "/etc/ssl/$JVB_HOSTNAME.key"- db_input critical jitsi-meet/cert-path-key || true- db_go- db_get jitsi-meet/cert-path-key- CERT_KEY="$RET"- db_set jitsi-meet/cert-path-crt "/etc/ssl/$JVB_HOSTNAME.crt"- db_input critical jitsi-meet/cert-path-crt || true- db_go- db_get jitsi-meet/cert-path-crt- CERT_CRT="$RET"# replace self-signed certificate paths with user provided onesCERT_KEY_ESC=$(echo $CERT_KEY | sed 's/\./\\\./g')CERT_KEY_ESC=$(echo $CERT_KEY_ESC | sed 's/\//\\\//g')- sed -i "s/ssl_certificate_key\ \/var\/lib\/prosody\/.*key/ssl_certificate_key\ $CERT_KEY_ESC/g" \+ sed -i "s/ssl_certificate_key\ \/etc\/jitsi\/meet\/.*key/ssl_certificate_key\ $CERT_KEY_ESC/g" \/etc/nginx/sites-available/$JVB_HOSTNAME.confCERT_CRT_ESC=$(echo $CERT_CRT | sed 's/\./\\\./g')CERT_CRT_ESC=$(echo $CERT_CRT_ESC | sed 's/\//\\\//g')- sed -i "s/ssl_certificate\ \/var\/lib\/prosody\/.*crt/ssl_certificate\ $CERT_CRT_ESC/g" \+ sed -i "s/ssl_certificate\ \/etc\/jitsi\/meet\/.*crt/ssl_certificate\ $CERT_CRT_ESC/g" \/etc/nginx/sites-available/$JVB_HOSTNAME.conffiinvoke-rc.d nginx reload+ elif [[ "$FORCE_APACHE" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then+ echo "Apache2 server is installed, automatic configuration is not supported at this time."+ echo "You need to configure yourselve the virtual host for your domain."fi# and we're done with debconfdiff --git a/debian/jitsi-meet.postrm b/debian/jitsi-meet-web-config.postrmsimilarity index 88%rename from debian/jitsi-meet.postrmrename to debian/jitsi-meet-web-config.postrmindex 807dc38cbd..f09d83916b 100644--- a/debian/jitsi-meet.postrm+++ b/debian/jitsi-meet-web-config.postrm@@ -1,5 +1,5 @@#!/bin/sh-# postrm script for jitsi-meet+# postrm script for jitsi-meet-web-config## see: dh_installdeb(1)@@ -37,7 +37,11 @@ case "$1" inrm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.confrm -f /etc/jitsi/videobridge/$JVB_HOSTNAME.jksrm -f /etc/jitsi/videobridge/$JVB_HOSTNAME.p12+ rm -f /etc/jitsi/meet/$JVB_HOSTNAME.key+ rm -f /etc/jitsi/meet/$JVB_HOSTNAME.crtfi+ # Clear the debconf variable+ db_purge;;upgrade|failed-upgrade|abort-install|abort-upgrade|disappear);;diff --git a/debian/jitsi-meet.templates b/debian/jitsi-meet-web-config.templatessimilarity index 89%rename from debian/jitsi-meet.templatesrename to debian/jitsi-meet-web-config.templatesindex 32050feef0..577b7606d4 100644--- a/debian/jitsi-meet.templates+++ b/debian/jitsi-meet-web-config.templates@@ -30,3 +30,8 @@ Type: booleanDefault: false_Description: for internal usefor internal use.++Template: jitsi-videobridge/jvb-hostname+Type: string+_Description: Hostname:+ The Jitsi Meet web config package needs the DNS hostname of your instance.diff --git a/debian/jitsi-meet.README.Debian b/debian/jitsi-meet-web.README.Debiansimilarity index 100%rename from debian/jitsi-meet.README.Debianrename to debian/jitsi-meet-web.README.Debiandiff --git a/debian/jitsi-meet.docs b/debian/jitsi-meet-web.docssimilarity index 100%rename from debian/jitsi-meet.docsrename to debian/jitsi-meet-web.docsdiff --git a/debian/jitsi-meet.install b/debian/jitsi-meet-web.installsimilarity index 100%rename from debian/jitsi-meet.installrename to debian/jitsi-meet-web.installdiff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.inindex 3458b92cfa..6ddfac3614 100644--- a/debian/po/POTFILES.in+++ b/debian/po/POTFILES.in@@ -1 +1 @@-[type: gettext/rfc822deb] jitsi-meet.templates+[type: gettext/rfc822deb] jitsi-meet-web-config.templatesdiff --git a/debian/po/templates.pot b/debian/po/templates.potindex d3933e7302..4d5c2e2e6b 100644--- a/debian/po/templates.pot+++ b/debian/po/templates.pot@@ -1,10 +1,14 @@+# SOME DESCRIPTIVE TITLE.+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER+# This file is distributed under the same license as the jitsi-meet-web package.+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr ""-"Project-Id-Version: jitsi-meet\n"-"Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2014-09-03 17:26+0200\n"+"Project-Id-Version: jitsi-meet-web\n"+"Report-Msgid-Bugs-To: [email protected]\n"+"POT-Creation-Date: 2016-11-15 22:39+0000\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <[email protected]>\n"@@ -15,25 +19,25 @@ msgstr ""#. Type: select#. Choices-#: ../jitsi-meet.templates:1001+#: ../jitsi-meet-web-config.templates:1001msgid "Self-signed certificate will be generated"msgstr ""#. Type: select#. Choices-#: ../jitsi-meet.templates:1001+#: ../jitsi-meet-web-config.templates:1001msgid "A certificate is available and the files are uploaded on the server"msgstr ""#. Type: select#. Description-#: ../jitsi-meet.templates:1002+#: ../jitsi-meet-web-config.templates:1002msgid "SSL certificate for the Jitsi Meet instance"msgstr ""#. Type: select#. Description-#: ../jitsi-meet.templates:1002+#: ../jitsi-meet-web-config.templates:1002msgid """Jitsi Meet is best to be set up with an SSL certificate. Having no ""certificate, a self-signed one will be generated. Having a certificate "@@ -44,13 +48,13 @@ msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:2001+#: ../jitsi-meet-web-config.templates:2001msgid "Full local server path to the SSL key file:"msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:2001+#: ../jitsi-meet-web-config.templates:2001msgid """The full path to the SSL key file on the server. If it has not been ""uploaded, now is a good time to do so."@@ -58,13 +62,13 @@ msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:3001+#: ../jitsi-meet-web-config.templates:3001msgid "Full local server path to the SSL certificate file:"msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:3001+#: ../jitsi-meet-web-config.templates:3001msgid """The full path to the SSL certificate file on the server. If you haven't ""uploaded it, now is a good time to upload it in another console."@@ -72,27 +76,38 @@ msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:4001+#: ../jitsi-meet-web-config.templates:4001msgid "The hostname of the current installation:"msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:4001+#: ../jitsi-meet-web-config.templates:4001msgid """The value for the hostname that is set in Jitsi Videobridge installation."msgstr ""+#. Type: boolean+#. Description+#: ../jitsi-meet-web-config.templates:5001+msgid "for internal use"+msgstr ""++#. Type: boolean+#. Description+#: ../jitsi-meet-web-config.templates:5001+msgid "for internal use."+msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:5001-msgid "for internal use"+#: ../jitsi-meet-web-config.templates:6001+msgid "Hostname:"msgstr ""#. Type: string#. Description-#: ../jitsi-meet.templates:5001+#: ../jitsi-meet-web-config.templates:6001msgid ""-"Jitsi Videobridge installation can use its internal jetty to serve static meet pages."+"The Jitsi Meet web config package needs the DNS hostname of your instance."msgstr ""diff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.exampleindex fb4f3a8876..28797c6a2c 100644--- a/doc/debian/jitsi-meet/jitsi-meet.example+++ b/doc/debian/jitsi-meet/jitsi-meet.example@@ -15,8 +15,8 @@ server {add_header Strict-Transport-Security "max-age=31536000";- ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;- ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key;+ ssl_certificate /etc/jitsi/meet/jitsi-meet.example.com.crt;+ ssl_certificate_key /etc/jitsi/meet/jitsi-meet.example.com.key;root /usr/share/jitsi-meet;index index.html index.htm;