From e200eacf0988cd529866fb0fad50213f958bc02f Mon Sep 17 00:00:00 2001 From: turint Date: Sun, 10 Aug 2014 22:29:48 +0300 Subject: [PATCH] Ads debian folder for packaging two debs, jitsi-meet and jitsi-meet-prosody. --- debian/changelog | 6 ++ debian/compat | 1 + debian/control | 33 +++++++++ debian/files | 2 + debian/jitsi-meet-prosody.README.Debian | 7 ++ debian/jitsi-meet-prosody.copyright | 31 +++++++++ debian/jitsi-meet-prosody.install | 1 + debian/jitsi-meet-prosody.postinst | 58 ++++++++++++++++ debian/jitsi-meet-prosody.postrm | 48 +++++++++++++ debian/jitsi-meet-prosody.preinst | 35 ++++++++++ debian/jitsi-meet-prosody.prerm | 36 ++++++++++ debian/jitsi-meet-prosody.substvars | 1 + debian/jitsi-meet.README.Debian | 8 +++ debian/jitsi-meet.README.source | 6 ++ debian/jitsi-meet.copyright | 31 +++++++++ debian/jitsi-meet.docs | 3 + debian/jitsi-meet.install | 2 + debian/jitsi-meet.postinst | 64 ++++++++++++++++++ debian/jitsi-meet.postrm | 48 +++++++++++++ debian/jitsi-meet.preinst | 35 ++++++++++ debian/jitsi-meet.prerm | 36 ++++++++++ debian/rules | 15 ++++ debian/source/format | 1 + debian/source/include-binaries | 19 ++++++ .../usr/share/doc/jitsi-meet-prosody/README | 1 + .../jitsi-meet-prosody/changelog.Debian.gz | Bin 0 -> 149 bytes .../share/doc/jitsi-meet-prosody/copyright | 31 +++++++++ .../prosody.cfg.lua-jvb.example.gz | Bin 0 -> 3333 bytes debian/usr/share/doc/jitsi-meet/README | 13 ++++ .../share/doc/jitsi-meet/changelog.Debian.gz | Bin 0 -> 169 bytes debian/usr/share/doc/jitsi-meet/copyright | 31 +++++++++ .../share/doc/jitsi-meet/jitsi-meet.example | 36 ++++++++++ 32 files changed, 639 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/files create mode 100644 debian/jitsi-meet-prosody.README.Debian create mode 100644 debian/jitsi-meet-prosody.copyright create mode 100644 debian/jitsi-meet-prosody.install create mode 100644 debian/jitsi-meet-prosody.postinst create mode 100644 debian/jitsi-meet-prosody.postrm create mode 100644 debian/jitsi-meet-prosody.preinst create mode 100644 debian/jitsi-meet-prosody.prerm create mode 100644 debian/jitsi-meet-prosody.substvars create mode 100644 debian/jitsi-meet.README.Debian create mode 100644 debian/jitsi-meet.README.source create mode 100644 debian/jitsi-meet.copyright create mode 100644 debian/jitsi-meet.docs create mode 100644 debian/jitsi-meet.install create mode 100644 debian/jitsi-meet.postinst create mode 100644 debian/jitsi-meet.postrm create mode 100644 debian/jitsi-meet.preinst create mode 100644 debian/jitsi-meet.prerm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/include-binaries create mode 100644 debian/usr/share/doc/jitsi-meet-prosody/README create mode 100644 debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz create mode 100644 debian/usr/share/doc/jitsi-meet-prosody/copyright create mode 100644 debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz create mode 100644 debian/usr/share/doc/jitsi-meet/README create mode 100644 debian/usr/share/doc/jitsi-meet/changelog.Debian.gz create mode 100644 debian/usr/share/doc/jitsi-meet/copyright create mode 100644 debian/usr/share/doc/jitsi-meet/jitsi-meet.example diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..256b1fe7e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +jitsi-meet (1.0.1-1) unstable; urgency=low + + * Initial release + * Jitsi Meet github snapshot from 2014-07-01 + + -- Yasen Pramatarov Tue, 01 Jul 2014 16:31:41 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..45a4fb75d --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..501f14983 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: jitsi-meet +Section: net +Priority: extra +Maintainer: Jitsi Team +Uploaders: Emil Ivov , Damian Minkov +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.3 +Homepage: https://jitsi.org/meet + +Package: jitsi-meet +Architecture: all +Pre-Depends: adduser, openssl, jitsi-videobridge +Depends: ${shlibs:Depends}, ${misc:Depends}, nginx, jitsi-meet-prosody +Description: WebRTC JavaScript video conferences + 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 nginx + +Package: jitsi-meet-prosody +Architecture: all +Pre-Depends: adduser, openssl, prosody-trunk, jitsi-videobridge +Depends: ${shlibs:Depends}, ${misc:Depends}, nginx, prosody-modules-otalk, lua-sec +Description: Prosody configuration for 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 nginx + . + This package contains configuration for Prosody to be used with + Jitsi Meet. diff --git a/debian/files b/debian/files new file mode 100644 index 000000000..4be4ddd46 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +jitsi-meet_1.0.1-1_all.deb net extra +jitsi-meet-prosody_1.0.1-1_all.deb net extra diff --git a/debian/jitsi-meet-prosody.README.Debian b/debian/jitsi-meet-prosody.README.Debian new file mode 100644 index 000000000..c0127d625 --- /dev/null +++ b/debian/jitsi-meet-prosody.README.Debian @@ -0,0 +1,7 @@ +Prosody configuration for Jitsi Meet for Debian +---------------------------- + +Jitsi Meet is a WebRTC video conferencing application. This package contains +configuration of prosody which are needed for Jitsi Meet to work. + + -- Yasen Pramatarov Mon, 30 Jun 2014 23:05:18 +0100 diff --git a/debian/jitsi-meet-prosody.copyright b/debian/jitsi-meet-prosody.copyright new file mode 100644 index 000000000..06376c2a9 --- /dev/null +++ b/debian/jitsi-meet-prosody.copyright @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: Jitsi Meet +Upstream-Contact: Emil Ivov +Source: https://github.com/jitsi/jitsi-meet + +Files: * +Copyright: 2013-2014 Jitsi +License: MIT + +License: MIT + The MIT License (MIT) + . + Copyright (c) 2013 ESTOS GmbH + Copyright (c) 2013 BlueJimp SARL + . + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/jitsi-meet-prosody.install b/debian/jitsi-meet-prosody.install new file mode 100644 index 000000000..b7e674a4a --- /dev/null +++ b/debian/jitsi-meet-prosody.install @@ -0,0 +1 @@ +debian/usr/share/* /usr/share/ diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst new file mode 100644 index 000000000..6681b8ac9 --- /dev/null +++ b/debian/jitsi-meet-prosody.postinst @@ -0,0 +1,58 @@ +#!/bin/sh +# postinst script for jitsi-meet-prosody +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + + . /etc/default/jitsi-videobridge + + if [ -x /etc/prosody/prosody.cfg.lua ]; then + mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig + fi + gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua + sed -i "s/jitmeet.example.com/$JVB_HOSTNAME/g" /etc/prosody/prosody.cfg.lua + sed -i "s/jitmeetSecret/$JVB_SECRET/g" /etc/prosody/prosody.cfg.lua + if [ ! -f /var/lib/prosody/$JVB_HOSTNAME.crt ]; then + 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 /var/lib/prosody/$JVB_HOSTNAME.key -out /var/lib + fi + ln -sf /var/lib/prosody/$JVB_HOSTNAME.key /etc/prosody/certs/$JVB_HOSTNAME.key + ln -sf /var/lib/prosody/$JVB_HOSTNAME.crt /etc/prosody/certs/$JVB_HOSTNAME.crt + invoke-rc.d prosody restart + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/jitsi-meet-prosody.postrm b/debian/jitsi-meet-prosody.postrm new file mode 100644 index 000000000..330d19fcf --- /dev/null +++ b/debian/jitsi-meet-prosody.postrm @@ -0,0 +1,48 @@ +#!/bin/sh +# postrm script for jitsi-meet-prosody +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Load debconf +. /usr/share/debconf/confmodule + + +case "$1" in + purge|remove) + if [ -x "/etc/init.d/prosody" ]; then + invoke-rc.d nginx reload + fi + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +db_stop + +exit 0 diff --git a/debian/jitsi-meet-prosody.preinst b/debian/jitsi-meet-prosody.preinst new file mode 100644 index 000000000..015564ee3 --- /dev/null +++ b/debian/jitsi-meet-prosody.preinst @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for jitsi-meet-prosody +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/jitsi-meet-prosody.prerm b/debian/jitsi-meet-prosody.prerm new file mode 100644 index 000000000..c447b17ad --- /dev/null +++ b/debian/jitsi-meet-prosody.prerm @@ -0,0 +1,36 @@ +#!/bin/sh +# prerm script for jitsi-meet-prosody +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|purge) + ;; + + upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/jitsi-meet-prosody.substvars b/debian/jitsi-meet-prosody.substvars new file mode 100644 index 000000000..abd3ebebc --- /dev/null +++ b/debian/jitsi-meet-prosody.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/debian/jitsi-meet.README.Debian b/debian/jitsi-meet.README.Debian new file mode 100644 index 000000000..e79c133d2 --- /dev/null +++ b/debian/jitsi-meet.README.Debian @@ -0,0 +1,8 @@ +Jitsi Meet for Debian +---------------------------- + +This is a WebRTC frontend of the video conferencing tool Jitsi Meet. It depends on the +jitsi-videobridge package, which is a SFU (Selective Forwarding Unit) and both packages +are designed to work together. + + -- Yasen Pramatarov Mon, 30 Jun 2014 23:05:18 +0100 diff --git a/debian/jitsi-meet.README.source b/debian/jitsi-meet.README.source new file mode 100644 index 000000000..45d7a1eb7 --- /dev/null +++ b/debian/jitsi-meet.README.source @@ -0,0 +1,6 @@ +jitsi-meet for Debian +--------------------- + +The jitsi-meet package is built from the sources of Jitsi Meet. + +Jitsi Meet is downloaded from https://github.com/jitsi/jitsi-meet and the git files are removed. you can recreate the source with 'git clone https://github.com/jitsi/jitsi-meet.git'. diff --git a/debian/jitsi-meet.copyright b/debian/jitsi-meet.copyright new file mode 100644 index 000000000..06376c2a9 --- /dev/null +++ b/debian/jitsi-meet.copyright @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: Jitsi Meet +Upstream-Contact: Emil Ivov +Source: https://github.com/jitsi/jitsi-meet + +Files: * +Copyright: 2013-2014 Jitsi +License: MIT + +License: MIT + The MIT License (MIT) + . + Copyright (c) 2013 ESTOS GmbH + Copyright (c) 2013 BlueJimp SARL + . + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/jitsi-meet.docs b/debian/jitsi-meet.docs new file mode 100644 index 000000000..380f29e42 --- /dev/null +++ b/debian/jitsi-meet.docs @@ -0,0 +1,3 @@ +README.md +debian/usr/share/doc/jitsi-meet/README +debian/usr/share/doc/jitsi-meet/jitsi-meet.example diff --git a/debian/jitsi-meet.install b/debian/jitsi-meet.install new file mode 100644 index 000000000..a9db9170c --- /dev/null +++ b/debian/jitsi-meet.install @@ -0,0 +1,2 @@ +* /usr/share/jitsi-meet/ +debian/usr/share/* /usr/share/ diff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet.postinst new file mode 100644 index 000000000..eab06e568 --- /dev/null +++ b/debian/jitsi-meet.postinst @@ -0,0 +1,64 @@ +#!/bin/sh +# postinst script for jitsi-meet +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + + # nginx conf + . /etc/default/jitsi-videobridge + cp /usr/share/doc/jitsi-meet/jitsi-meet.example /etc/nginx/sites-available/$JVB_HOSTNAME.conf + if [ ! -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf ]; then + ln -s /etc/nginx/sites-available/$JVB_HOSTNAME.conf /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf + fi + sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /etc/nginx/sites-available/$JVB_HOSTNAME.conf + # FIXME do we need the default? + if [ ! -f /etc/nginx/sites-enabled/default ]; then + ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default + fi + if grep "# server_names_hash_bucket_size 64" /etc/nginx/nginx.conf > /dev/null; then + sed -i "s/#\ server_names_hash_bucket_size\ 64/\ server_names_hash_bucket_size\ 64/" /etc/nginx/nginx.conf + fi + + # jitsi meet + chown -R www-data:www-data /usr/share/jitsi-meet/ + sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /usr/share/jitsi-meet/config.js + # enable turn + if grep "// useStunTurn: true," /usr/share/jitsi-meet/config.js > /dev/null; then + sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /usr/share/jitsi-meet/config.js + fi + invoke-rc.d nginx restart + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/jitsi-meet.postrm b/debian/jitsi-meet.postrm new file mode 100644 index 000000000..89619fa24 --- /dev/null +++ b/debian/jitsi-meet.postrm @@ -0,0 +1,48 @@ +#!/bin/sh +# postrm script for jitsi-meet +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Load debconf +. /usr/share/debconf/confmodule + + +case "$1" in + purge|remove) + if [ -x "/etc/init.d/nginx" ]; then + invoke-rc.d nginx reload + fi + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +db_stop + +exit 0 diff --git a/debian/jitsi-meet.preinst b/debian/jitsi-meet.preinst new file mode 100644 index 000000000..794394d6d --- /dev/null +++ b/debian/jitsi-meet.preinst @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for jitsi-meet +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/jitsi-meet.prerm b/debian/jitsi-meet.prerm new file mode 100644 index 000000000..10f8454d5 --- /dev/null +++ b/debian/jitsi-meet.prerm @@ -0,0 +1,36 @@ +#!/bin/sh +# prerm script for jitsi-meet +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|purge) + ;; + + upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..7bda609c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh_install -Xdebian -Xdoc -XINSTALL.md -XLICENSE -XREADME.md usr/share/jitsi-meet/ + + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 000000000..ee3f013b5 --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1,19 @@ +debian/usr/share/jitsi-meet/favicon.ico +debian/usr/share/jitsi-meet/fonts/jitsi.eot +debian/usr/share/jitsi-meet/fonts/jitsi.woff +debian/usr/share/jitsi-meet/fonts/jitsi.ttf +debian/usr/share/jitsi-meet/sounds/left.wav +debian/usr/share/jitsi-meet/sounds/incomingMessage.wav +debian/usr/share/jitsi-meet/sounds/joined.wav +debian/usr/share/jitsi-meet/images/estoslogo.png +debian/usr/share/jitsi-meet/images/chromelogo.png +debian/usr/share/jitsi-meet/images/jitsilogo.png +debian/usr/share/jitsi-meet/images/watermark.png +debian/usr/share/jitsi-meet/images/avatarprezi.png +debian/usr/share/jitsi-meet/images/chromepointer.png +debian/usr/share/jitsi-meet/images/avatar1.png +debian/usr/share/jitsi-meet/images/popupPointer.png +debian/usr/share/jitsi-meet/images/favicon.ico +debian/usr/share/doc/jitsi-meet/changelog.Debian.gz +debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz +debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz diff --git a/debian/usr/share/doc/jitsi-meet-prosody/README b/debian/usr/share/doc/jitsi-meet-prosody/README new file mode 100644 index 000000000..d141f6b71 --- /dev/null +++ b/debian/usr/share/doc/jitsi-meet-prosody/README @@ -0,0 +1 @@ +Prosody configuration for Jitsi Meet diff --git a/debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz b/debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz new file mode 100644 index 0000000000000000000000000000000000000000..8159f41b6180c3f4d3555c7f12959adb3c984d82 GIT binary patch literal 149 zcmV;G0BZjqiwFSW1KLvn0~N?Q4#F@H1<*dH_$8Yy4~ZzkB3h^@Xega9iX3@~ynu3h zLihAWlampSIg2TV6y7sdB$XsVYZRZd?kpcs;=sP2&o+Fk3fSQ0O*YyhvSpokNg?oB z8xY;;57f|+S$URag*$Wy8zF^J1D}vSnL%wphH_z+Yq*@R;u~|3w5I7lmGw# D4c$gC literal 0 HcmV?d00001 diff --git a/debian/usr/share/doc/jitsi-meet-prosody/copyright b/debian/usr/share/doc/jitsi-meet-prosody/copyright new file mode 100644 index 000000000..06376c2a9 --- /dev/null +++ b/debian/usr/share/doc/jitsi-meet-prosody/copyright @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: Jitsi Meet +Upstream-Contact: Emil Ivov +Source: https://github.com/jitsi/jitsi-meet + +Files: * +Copyright: 2013-2014 Jitsi +License: MIT + +License: MIT + The MIT License (MIT) + . + Copyright (c) 2013 ESTOS GmbH + Copyright (c) 2013 BlueJimp SARL + . + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz b/debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz new file mode 100644 index 0000000000000000000000000000000000000000..5ccfeebc745faa62326f37ebd9845535bd2df877 GIT binary patch literal 3333 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 PR5AM>V3m`7_#yxRM&yPy literal 0 HcmV?d00001 diff --git a/debian/usr/share/doc/jitsi-meet/README b/debian/usr/share/doc/jitsi-meet/README new file mode 100644 index 000000000..a198dcae3 --- /dev/null +++ b/debian/usr/share/doc/jitsi-meet/README @@ -0,0 +1,13 @@ +Jitsi Meet + +==== + +A WebRTC-powered multi-user videochat. For a live demo, check out either +https://meet.estos.de/ or https://meet.jit.si/. + +Built using colibri.js[0] and strophe.jingle[1], powered by the jitsi-videobridge[2] + + +[0] https://github.com/ESTOS/colibri.js +[1] https://github.com/ESTOS/strophe.jingle +[3] https://github.com/jitsi/jitsi-videobridge diff --git a/debian/usr/share/doc/jitsi-meet/changelog.Debian.gz b/debian/usr/share/doc/jitsi-meet/changelog.Debian.gz new file mode 100644 index 0000000000000000000000000000000000000000..91191c76627c86ddfbfcd05cce382b795af2e247 GIT binary patch literal 169 zcmV;a09OAWiwFqBkg`(%17m1mZf9j|Z)Yw6ND65hR{)5vv%e6I`2W{VF=j{b}c(*}KxMzoX Xh^lUA*T@6bB#DYY2wK*FmH+?%d8$ft literal 0 HcmV?d00001 diff --git a/debian/usr/share/doc/jitsi-meet/copyright b/debian/usr/share/doc/jitsi-meet/copyright new file mode 100644 index 000000000..06376c2a9 --- /dev/null +++ b/debian/usr/share/doc/jitsi-meet/copyright @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: Jitsi Meet +Upstream-Contact: Emil Ivov +Source: https://github.com/jitsi/jitsi-meet + +Files: * +Copyright: 2013-2014 Jitsi +License: MIT + +License: MIT + The MIT License (MIT) + . + Copyright (c) 2013 ESTOS GmbH + Copyright (c) 2013 BlueJimp SARL + . + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/usr/share/doc/jitsi-meet/jitsi-meet.example b/debian/usr/share/doc/jitsi-meet/jitsi-meet.example new file mode 100644 index 000000000..dbba423aa --- /dev/null +++ b/debian/usr/share/doc/jitsi-meet/jitsi-meet.example @@ -0,0 +1,36 @@ +server { + listen 80; + server_name jitsi-meet.example.com; + return 301 https://$host$request_uri; +} +server { + listen 443 ssl; + server_name jitsi-meet.example.com; + + ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt; + ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key; + + root /usr/share/jitsi-meet; + index index.html index.htm; + + location ~ ^/([a-zA-Z0-9]+)$ { + rewrite ^/(.*)$ / break; + } + + # BOSH + location /http-bind { + proxy_pass http://localhost:5280/http-bind; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header Host $http_host; + } + + # xmpp websockets + location /xmpp-websocket { + proxy_pass http://localhost:5280; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + tcp_nodelay on; + } +}