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
feat: Drops nginx dependency for turnserver config.
Дамян Минков132b44a8b630
diff --git a/debian/control b/debian/controlindex e146ce186c..4387798871 100644--- a/debian/control+++ b/debian/control@@ -54,5 +54,5 @@ Package: jitsi-meet-turnserverArchitecture: allBreaks: apache2Pre-Depends: jitsi-meet-web-config-Depends: ${misc:Depends}, nginx (>= 1.13.10) | nginx-full (>= 1.13.10) | nginx-extras (>= 1.13.10), jitsi-meet-prosody, coturn, dnsutils+Depends: ${misc:Depends}, jitsi-meet-prosody, coturn, dnsutilsDescription: Configures coturn to be used with Jitsi Meetdiff --git a/debian/jitsi-meet-turnserver.postinst b/debian/jitsi-meet-turnserver.postinstindex aa9fdb703d..1293ad67af 100644--- a/debian/jitsi-meet-turnserver.postinst+++ b/debian/jitsi-meet-turnserver.postinst@@ -33,7 +33,6 @@ case "$1" inJVB_HOSTNAME=$(echo "$RET" | xargs echo -n)TURN_CONFIG="/etc/turnserver.conf"- NGINX_CONFIG="/etc/nginx/sites-available/$JVB_HOSTNAME.conf"JITSI_MEET_CONFIG="/etc/jitsi/meet/$JVB_HOSTNAME-config.js"# if there was a turn config backup it so we can configure@@ -51,19 +50,6 @@ case "$1" infifi- # this detect only old installations with no nginx- db_get jitsi-meet/jvb-serve || true- if [ ! -f $NGINX_CONFIG -o "$RET" = "true" ] ; then- # nothing to do- echo "------------------------------------------------"- echo ""- echo "turnserver not configured"- echo ""- echo "------------------------------------------------"- db_stop- exit 0- fi-if [[ -f $TURN_CONFIG ]] ; thenecho "------------------------------------------------"echo ""@@ -117,7 +103,7 @@ denied-peer-ip=240.0.0.0-255.255.255.255" >> $TURN_CONFIGsed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" $TURN_CONFIGsed -i "s/__turnSecret__/$TURN_SECRET/g" $TURN_CONFIG- # SSL for nginx+ # SSL settingsdb_get jitsi-meet/cert-choiceCERT_CHOICE="$RET"diff --git a/debian/jitsi-meet-turnserver.postrm b/debian/jitsi-meet-turnserver.postrmindex a809526eea..6e1308e58e 100644--- a/debian/jitsi-meet-turnserver.postrm+++ b/debian/jitsi-meet-turnserver.postrm@@ -23,26 +23,12 @@ set -ecase "$1" in- remove)- if [ -x "/etc/init.d/nginx" ]; then- invoke-rc.d nginx reload || true- fi- if [ -x "/etc/init.d/apache2" ]; then- invoke-rc.d apache2 reload || true- fi- ;;purge)rm -rf /etc/turnserver.conf- if [ -x "/etc/init.d/nginx" ]; then- invoke-rc.d nginx reload || true- fi- if [ -x "/etc/init.d/apache2" ]; then- invoke-rc.d apache2 reload || true- fi# Clear the debconf variabledb_purge;;- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear);;*)