deploy the old ebuilds from unitas overlay

This commit is contained in:
Jörg Deckert 2020-10-23 08:01:56 +02:00
parent ea0ddd217a
commit ad176ba78f
20 changed files with 1243 additions and 0 deletions

View File

@ -0,0 +1,11 @@
AUX config.example 1111 BLAKE2B f2de357aa2e6654fce68d92159fb900018e9d619c6ad1d165458c662a333030fc32f0b26ba24d767774dbd3472c26d014142229b285ce8aa92e6acf2ab9f8662 SHA512 dd6717f41c1c40f93ced79277275ef497949b1b0078a0fd5d903719547f709ce7bd119f1f77a26baf49c7be51f6983c395833339bfe8f1a1c9d8e0a993ea38c3
AUX jicofo-i.service 688 BLAKE2B 20fcf15d7db8a42783f9800ba480babc73521daf14d314c69047155d00ea7f463287a6c2d0a8373ad0ffca006d80f89922a3167acdab5b6a38e8ec068b4b96ce SHA512 44710ac556ea1d203824e72964fb6bcbaf3959d6145491772e93d14ff13a784dfbc83fdf225a6a5363e88bbff939c1511b7b267c57159b168332fc1242688633
AUX jicofo-init.d 1058 BLAKE2B 32467d7085786efb52eedc16c59b7ab560d3bbbb122bc9fd7306368432f901e5da18f07df7c4f91157231e3c07fa9479065ea87a005e629d5aeeb80cc3f95441 SHA512 90bf80dd87eed14d2421ee5ce886768103ee09ae8940ff0f1e10d4020cda54d0080d6527fd5988014c8a1a4f869439c5d8e2305389a84f97bff43b810205cca8
AUX jicofo.service 676 BLAKE2B e92278434e80f0c9bbce47ed1df8609b2eb6a591f649be0af94a45dae308cbe0a62361466fe7422a7a6daa9c9be708767d92605dcd02f82f30fc63b1e47d990f SHA512 ba2b78105c318755960ec53c89780b6accdbd9e934308a9fe0e93128b55ccc77edd2e157ad1d90cc1a38cb6cc09c89f1fe8a0b929af09c340e18920faa6e98c6
DIST jicofo_1.0-508-1_amd64.deb 32846750 BLAKE2B 6fca30a3bfbd068f6bf4b4d926bebf042d378226d5aef525ddb6cf46f0afaea8cf60e6457b73d388456eab62d3fa3d9fba0afe5fcd39e198b87bed38aa5898dd SHA512 c3fec67bb872df44deee227dbbbbf41d3d74de11b951eb08fa460a46104a5e212cf9266f752bc2e355b49c1246bdbae03e89526dc792495cb5a7145b382d0b37
DIST jicofo_1.0-508-1_i386.deb 32846864 BLAKE2B 809850e072c8886e8fce990df75ff10ed33dc2e04a327135709ee775acb30f116bed3c6dccdfbc07d17e5c1cfe3c183bebaada1f58647aec85b47601b885a82c SHA512 1c9adcd14cd1a14f725157df171f2604f27b77a7fe8e707a82a8e61f6d8672fdfac5a57f284ae95b4e62beeb2a1f6108bd39b5b412fc445fa987b918aeda5f43
DIST jicofo_1.0-539-1_all.deb 32603232 BLAKE2B 8eb773df6bf83702a82603e9d0a39f63a74bf00506715416516666c154d340f58fa0f9f303a33c2f3a6d4ffec52bdbe06da6b8db40d27fc58ded40a18567c612 SHA512 dc4372b982a139b199056da5a47228a9ad3ae5363a5125a122d3abeac0d75f531a9e81db010cf5185b13e079625659b506890ae565c35956c6bd677aa1f54ab1
DIST jicofo_1.0-567-1_all.deb 49637540 BLAKE2B 0dc9b0a078358960639eebf7ed185c945ae63ba77016fbca193cb0d6d23e3d41248cb865af0c61de58eb5c41f6e1b19cdc8fcfd286c52953871c9b17702c9910 SHA512 75b9bf4936090bfc8dbb160d773bcf3ea012f50f938a86c95e2bd904ae974f4c7532528cc81a834d38d891fd4e6eb2ca40facd41391e8877618227e36035ac58
EBUILD jicofo-bin-1.0.508.ebuild 1429 BLAKE2B 909f4e39ad9ea149b2578fa7391e47a4821c956b54b679f6192dee43184b71e9846ee46dd57553c9855a92239f9c8b03e199cd8b572aabd856f2b3919ace2381 SHA512 6900af10a394f29830dd180ba68e8f735022569a53c47bf92f58c7f03b0e910b8d0bb4caed2445cf98301c4113d22b6d0d1dcf28e2e23b1db9d9872383c8ff6b
EBUILD jicofo-bin-1.0.539.ebuild 1505 BLAKE2B af086e15ee1bf2f1f714be8ac68537b5dd553ec95538066edb6a57f7366c792995cd9928de1bf230fab1adb7e20a4d889afb049d43456dc58d30b930df178849 SHA512 134fdc0ed89924071ddf9e6b622958a4bca192c108657d9cf4e1cd713ab1dde0a414a9a9aae0307b9a3b609e5a6dad6f530a3f931fb52247cd9001b66946c0f5
EBUILD jicofo-bin-1.0.567.ebuild 1505 BLAKE2B af086e15ee1bf2f1f714be8ac68537b5dd553ec95538066edb6a57f7366c792995cd9928de1bf230fab1adb7e20a4d889afb049d43456dc58d30b930df178849 SHA512 134fdc0ed89924071ddf9e6b622958a4bca192c108657d9cf4e1cd713ab1dde0a414a9a9aae0307b9a3b609e5a6dad6f530a3f931fb52247cd9001b66946c0f5

View File

@ -0,0 +1,27 @@
# Jitsi Conference Focus settings
# sets the host name of the XMPP server
JICOFO_HOST=localhost
# sets the XMPP domain (default: none)
JICOFO_HOSTNAME=meet.example.com
# sets the secret used to authenticate as an XMPP component
JICOFO_SECRET=secret
# sets the port to use for the XMPP component connection
JICOFO_PORT=5347
# sets the XMPP domain name to use for XMPP user logins
JICOFO_AUTH_DOMAIN=auth.meet.example.com
# sets the username to use for XMPP user logins
JICOFO_AUTH_USER=focus
# sets the password to use for XMPP user logins
JICOFO_AUTH_PASSWORD=secretfocus
# extra options to pass to the jicofo daemon
JICOFO_OPTS=""
# adds java system props that are passed to jicofo (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts"

View File

@ -0,0 +1,18 @@
[Unit]
Description=Jitsi conference Focus
After=network.target
[Service]
Restart=always
EnvironmentFile=/etc/jitsi/jicofo.%i/config
Environment=LOGFILE=/var/log/jitsi/jicofo-%i.log
User=jicofo
RuntimeDirectory=jicofo
RuntimeDirectoryMode=0750
PIDFile=/var/run/jicofo/jicofo-%i.pid
WorkingDirectory=/usr/share/jicofo
ExecStart=/bin/bash -c "/usr/share/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} < /dev/null >> ${LOGFILE} 2>&1"
ExecStartPost=/bin/bash -c "echo $MAINPID > /var/run/jicofo/jicofo-%i.pid"
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,28 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Include jicofo defaults if available
if [ -f /etc/jitsi/jicofo/config ]; then
. /etc/jitsi/jicofo/config
fi
# Assign default host if not configured
if [ ! $JICOFO_HOST ]; then
JICOFO_HOST=localhost
fi
command="/usr/share/jicofo/jicofo.sh"
command_args=" --host=$JICOFO_HOST --domain=$JICOFO_HOSTNAME --port=$JICOFO_PORT --secret=$JICOFO_SECRET --user_name=$JICOFO_AUTH_USER --user_domain=$JICOFO_AUTH_DOMAIN --user_password=$JICOFO_AUTH_PASSWORD $JICOFO_OPTS"
start_stop_daemon_args="--chdir /usr/share/jicofo --user jicofo:jitsi"
start_stop_daemon_args="${start_stop_daemon_args} --stdout /var/log/jitsi/jicofo.log"
start_stop_daemon_args="${start_stop_daemon_args} --stderr /var/log/jitsi/jicofo.log"
start_stop_daemon_args="${start_stop_daemon_args} --env JAVA_SYS_PROPS=\"$JAVA_SYS_PROPS\""
required_dirs="/var/log/jitsi"
pidfile="/run/jicofo.pid"
command_background="true"
depend() {
use net logger
}

View File

@ -0,0 +1,18 @@
[Unit]
Description=Jitsi conference Focus
After=network.target
[Service]
Restart=always
EnvironmentFile=/etc/jitsi/jicofo/config
Environment=LOGFILE=/var/log/jitsi/jicofo.log
User=jicofo
RuntimeDirectory=jicofo
RuntimeDirectoryMode=0750
PIDFile=/var/run/jicofo/jicofo.pid
WorkingDirectory=/usr/share/jicofo
ExecStart=/bin/bash -c "/usr/share/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} < /dev/null >> ${LOGFILE} 2>&1"
ExecStartPost=/bin/bash -c "echo $MAINPID > /var/run/jicofo/jicofo.pid"
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,63 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="JItsi Meet COnference FOcus: a conference focus for Jitsi Meet application"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="x86? ( ${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_i386.deb )
amd64? ( ${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_amd64.deb )"
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
##QA_PREBUILT="*"
pkg_setup() {
enewgroup jitsi
enewuser jicofo -1 /bin/bash /usr/share/jicofo jitsi
}
src_install() {
insinto /etc/jitsi/jicofo/
doins ${FILESDIR}/config.example
touch etc/jitsi/jicofo/sip-communicator.properties
dodoc usr/share/doc/jicofo/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jicofo:jitsi /usr/share/jicofo
fperms 755 /usr/share/jicofo/collect-dump-logs.sh
fperms 755 /usr/share/jicofo/jicofo.sh
fowners -R jicofo:jitsi /etc/jitsi/jicofo
fperms 750 /etc/jitsi/jicofo
fperms 600 /etc/jitsi/jicofo/sip-communicator.properties
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_dounit "${FILESDIR}"/${MY_PN}.service
}

View File

@ -0,0 +1,63 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="JItsi Meet COnference FOcus: a conference focus for Jitsi Meet application"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
##QA_PREBUILT="*"
pkg_setup() {
enewgroup jitsi
enewuser jicofo -1 /bin/bash /usr/share/jicofo jitsi
}
src_install() {
insinto /etc/jitsi/jicofo/
doins ${FILESDIR}/config.example
echo "org.jitsi.jicofo.BRIDGE_MUC=JvbRoom@conference.example.com" > etc/jitsi/jicofo/sip-communicator.properties.example
dodoc usr/share/doc/jicofo/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jicofo:jitsi /usr/share/jicofo
fperms 755 /usr/share/jicofo/collect-dump-logs.sh
fperms 755 /usr/share/jicofo/jicofo.sh
fowners -R jicofo:jitsi /etc/jitsi/jicofo
fperms 750 /etc/jitsi/jicofo
fperms 600 /etc/jitsi/jicofo/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_dounit "${FILESDIR}"/${MY_PN}.service
systemd_newunit "${FILESDIR}"/${MY_PN}-i.service ${MY_PN}@.service
}

View File

@ -0,0 +1,63 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="JItsi Meet COnference FOcus: a conference focus for Jitsi Meet application"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
##QA_PREBUILT="*"
pkg_setup() {
enewgroup jitsi
enewuser jicofo -1 /bin/bash /usr/share/jicofo jitsi
}
src_install() {
insinto /etc/jitsi/jicofo/
doins ${FILESDIR}/config.example
echo "org.jitsi.jicofo.BRIDGE_MUC=JvbRoom@conference.example.com" > etc/jitsi/jicofo/sip-communicator.properties.example
dodoc usr/share/doc/jicofo/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jicofo:jitsi /usr/share/jicofo
fperms 755 /usr/share/jicofo/collect-dump-logs.sh
fperms 755 /usr/share/jicofo/jicofo.sh
fowners -R jicofo:jitsi /etc/jitsi/jicofo
fperms 750 /etc/jitsi/jicofo
fperms 600 /etc/jitsi/jicofo/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_dounit "${FILESDIR}"/${MY_PN}.service
systemd_newunit "${FILESDIR}"/${MY_PN}-i.service ${MY_PN}@.service
}

View File

@ -0,0 +1,7 @@
AUX meet.example.com-config.js 18513 BLAKE2B 041a5a36b8a369874a2fa1b4688c69a5e5a2c720379edbb29a65c0dae80acc6de1054f5e3d8c4c9ca08ddb4a739453bb97fa64db5444f173c328b5e0204b49ff SHA512 1040e56323d68d16b0734572c91703f846bf9b3e00f628c726b6d540663f4db773b8ce33df4e5d13e5cac7f534f5e70e318791dc0499a728602a76415075b153
DIST jitsi-meet-web_1.0.3729-1_all.deb 5453166 BLAKE2B a6904b398fd1dd1b403aed4205934f430b0c83207b59c1a1f6ea0b2108379d325c5d18ac5ab21edade2ad59e5561045d68cd96320cc678f192df73348350f863 SHA512 74e1279cfe25f9c196ce80341ea03711ced90219e9e149ace48e9a1c5b2505a6f329d8b15bb67f56399b08dc61fd723e4640a9097cefaa674dca1fe37d191f76
DIST jitsi-meet-web_1.0.3928-1_all.deb 5748940 BLAKE2B e3d62b8b50212c9a50240adae7246b7540c8e5bf21e8d0b4374020364325d55593a091623c1e423bf31c9a0c2cbf60957f66db85dbd45a23ded05ab3928cb8e8 SHA512 b4a7bf704077859a87d1d020bb6fc0a97e72f1a980c4dfa4bbfa5c821acde63a7c7ca0a16a774c8f0ee2859a3b73861bc2289c67e00509d4c461b19c7c5b2edb
DIST jitsi-meet-web_1.0.4074-1_all.deb 5969872 BLAKE2B f44024e9cc026a68208e35b1550be86ec32f5938aad8d07e8e19025cf15fa328853b2f77e76c2914c867f8a2f33d3337ee2fb22817c8594fdfae3997a18b33a2 SHA512 3282e4658cfeedfa81a2fa2308dc5883c1c68a12ec9041e9d97a78418472515a78299f6bc9b082ad7487a7f1d6aaff3c51e88b1adbf97da5e982e4ba46097866
EBUILD jitsi-meet-web-bin-1.0.3729.ebuild 845 BLAKE2B b613b006dd65169877bbe47b9c6199443f1217ac867f6f203d0fcfd9716e57bd57824c31273583fced205058e8f7d3e439b0814e70f1c2579c03cc29f3032c41 SHA512 42bc6c9bad900c70d90308da087c4638c4427894b9552b8dc24606925deb2e2a2d1659fa63923606a1da303e0c5f79693f8ad10764ae86279d25ba3e9d22f6b7
EBUILD jitsi-meet-web-bin-1.0.3928.ebuild 837 BLAKE2B aa31d17455f1a9ba3b607dda4e38257d4403b78e59f3a9caa2ff367d477c07e421faf23b0868db5ef022e3bf53e36fecb0b0f880c7e045d45823a1a3aeb3f769 SHA512 756d88ef8a2d9b3a49e3a380e9eb748ed181d1e4a4f845c3217377ea125772466639ca48ab3d8953aeea5e05df1a55e35275cb63067fe5b4fef2b38e922642a7
EBUILD jitsi-meet-web-bin-1.0.4074.ebuild 837 BLAKE2B aa31d17455f1a9ba3b607dda4e38257d4403b78e59f3a9caa2ff367d477c07e421faf23b0868db5ef022e3bf53e36fecb0b0f880c7e045d45823a1a3aeb3f769 SHA512 756d88ef8a2d9b3a49e3a380e9eb748ed181d1e4a4f845c3217377ea125772466639ca48ab3d8953aeea5e05df1a55e35275cb63067fe5b4fef2b38e922642a7

View File

@ -0,0 +1,536 @@
/* eslint-disable no-unused-vars, no-var */
var config = {
// Connection
//
hosts: {
// XMPP domain.
domain: 'jitsi-meet.example.com',
// When using authentication, domain for guest users.
// anonymousdomain: 'guest.example.com',
// Domain for authenticated users. Defaults to <domain>.
// authdomain: 'jitsi-meet.example.com',
// Jirecon recording component domain.
// jirecon: 'jirecon.jitsi-meet.example.com',
// Call control component (Jigasi).
// call_control: 'callcontrol.jitsi-meet.example.com',
// Focus component domain. Defaults to focus.<domain>.
// focus: 'focus.jitsi-meet.example.com',
// XMPP MUC domain. FIXME: use XEP-0030 to discover it.
muc: 'conference.jitsi-meet.example.com'
},
// BOSH URL. FIXME: use XEP-0156 to discover it.
bosh: '//jitsi-meet.example.com/http-bind',
// Websocket URL
// websocket: 'wss://jitsi-meet.example.com/xmpp-websocket',
// The name of client node advertised in XEP-0115 'c' stanza
clientNode: 'http://jitsi.org/jitsimeet',
// The real JID of focus participant - can be overridden here
// focusUserJid: 'focus@auth.jitsi-meet.example.com',
// Testing / experimental features.
//
testing: {
// P2P test mode disables automatic switching to P2P when there are 2
// participants in the conference.
p2pTestMode: false
// Enables the test specific features consumed by jitsi-meet-torture
// testMode: false
// Disables the auto-play behavior of *all* newly created video element.
// This is useful when the client runs on a host with limited resources.
// noAutoPlayVideo: false
},
// Disables ICE/UDP by filtering out local and remote UDP candidates in
// signalling.
// webrtcIceUdpDisable: false,
// Disables ICE/TCP by filtering out local and remote TCP candidates in
// signalling.
// webrtcIceTcpDisable: false,
// Media
//
// Audio
// Disable measuring of audio levels.
// disableAudioLevels: false,
// audioLevelsInterval: 200,
// Enabling this will run the lib-jitsi-meet no audio detection module which
// will notify the user if the current selected microphone has no audio
// input and will suggest another valid device if one is present.
enableNoAudioDetection: true,
// Enabling this will run the lib-jitsi-meet noise detection module which will
// notify the user if there is noise, other than voice, coming from the current
// selected microphone. The purpose it to let the user know that the input could
// be potentially unpleasant for other meeting participants.
enableNoisyMicDetection: true,
// Start the conference in audio only mode (no video is being received nor
// sent).
// startAudioOnly: false,
// Every participant after the Nth will start audio muted.
// startAudioMuted: 10,
// Start calls with audio muted. Unlike the option above, this one is only
// applied locally. FIXME: having these 2 options is confusing.
// startWithAudioMuted: false,
// Enabling it (with #params) will disable local audio output of remote
// participants and to enable it back a reload is needed.
// startSilent: false
// Video
// Sets the preferred resolution (height) for local video. Defaults to 720.
// resolution: 720,
// w3c spec-compliant video constraints to use for video capture. Currently
// used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independent from
// this config's resolution value. Defaults to requesting an ideal
// resolution of 720p.
// constraints: {
// video: {
// height: {
// ideal: 720,
// max: 720,
// min: 240
// }
// }
// },
// Enable / disable simulcast support.
// disableSimulcast: false,
// Enable / disable layer suspension. If enabled, endpoints whose HD
// layers are not in use will be suspended (no longer sent) until they
// are requested again.
// enableLayerSuspension: false,
// Every participant after the Nth will start video muted.
// startVideoMuted: 10,
// Start calls with video muted. Unlike the option above, this one is only
// applied locally. FIXME: having these 2 options is confusing.
// startWithVideoMuted: false,
// If set to true, prefer to use the H.264 video codec (if supported).
// Note that it's not recommended to do this because simulcast is not
// supported when using H.264. For 1-to-1 calls this setting is enabled by
// default and can be toggled in the p2p section.
// preferH264: true,
// If set to true, disable H.264 video codec by stripping it out of the
// SDP.
// disableH264: false,
// Desktop sharing
// The ID of the jidesha extension for Chrome.
desktopSharingChromeExtId: null,
// Whether desktop sharing should be disabled on Chrome.
// desktopSharingChromeDisabled: false,
// The media sources to use when using screen sharing with the Chrome
// extension.
desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
// Required version of Chrome extension
desktopSharingChromeMinExtVersion: '0.1',
// Whether desktop sharing should be disabled on Firefox.
// desktopSharingFirefoxDisabled: false,
// Optional desktop sharing frame rate options. Default value: min:5, max:5.
// desktopSharingFrameRate: {
// min: 5,
// max: 5
// },
// Try to start calls with screen-sharing instead of camera video.
// startScreenSharing: false,
// Recording
// Whether to enable file recording or not.
// fileRecordingsEnabled: false,
// Enable the dropbox integration.
// dropbox: {
// appKey: '<APP_KEY>' // Specify your app key here.
// // A URL to redirect the user to, after authenticating
// // by default uses:
// // 'https://jitsi-meet.example.com/static/oauth.html'
// redirectURI:
// 'https://jitsi-meet.example.com/subfolder/static/oauth.html'
// },
// When integrations like dropbox are enabled only that will be shown,
// by enabling fileRecordingsServiceEnabled, we show both the integrations
// and the generic recording service (its configuration and storage type
// depends on jibri configuration)
// fileRecordingsServiceEnabled: false,
// Whether to show the possibility to share file recording with other people
// (e.g. meeting participants), based on the actual implementation
// on the backend.
// fileRecordingsServiceSharingEnabled: false,
// Whether to enable live streaming or not.
// liveStreamingEnabled: false,
// Transcription (in interface_config,
// subtitles and buttons can be configured)
// transcribingEnabled: false,
// Enables automatic turning on captions when recording is started
// autoCaptionOnRecord: false,
// Misc
// Default value for the channel "last N" attribute. -1 for unlimited.
channelLastN: -1,
// Disables or enables RTX (RFC 4588) (defaults to false).
// disableRtx: false,
// Disables or enables TCC (the default is in Jicofo and set to true)
// (draft-holmer-rmcat-transport-wide-cc-extensions-01). This setting
// affects congestion control, it practically enables send-side bandwidth
// estimations.
// enableTcc: true,
// Disables or enables REMB (the default is in Jicofo and set to false)
// (draft-alvestrand-rmcat-remb-03). This setting affects congestion
// control, it practically enables recv-side bandwidth estimations. When
// both TCC and REMB are enabled, TCC takes precedence. When both are
// disabled, then bandwidth estimations are disabled.
// enableRemb: false,
// Defines the minimum number of participants to start a call (the default
// is set in Jicofo and set to 2).
// minParticipants: 2,
// Use XEP-0215 to fetch STUN and TURN servers.
// useStunTurn: true,
// Enable IPv6 support.
// useIPv6: true,
// Enables / disables a data communication channel with the Videobridge.
// Values can be 'datachannel', 'websocket', true (treat it as
// 'datachannel'), undefined (treat it as 'datachannel') and false (don't
// open any channel).
// openBridgeChannel: true,
// UI
//
// Use display name as XMPP nickname.
// useNicks: false,
// Require users to always specify a display name.
// requireDisplayName: true,
// Whether to use a welcome page or not. In case it's false a random room
// will be joined when no room is specified.
enableWelcomePage: true,
// Enabling the close page will ignore the welcome page redirection when
// a call is hangup.
// enableClosePage: false,
// Disable hiding of remote thumbnails when in a 1-on-1 conference call.
// disable1On1Mode: false,
// Default language for the user interface.
// defaultLanguage: 'en',
// If true all users without a token will be considered guests and all users
// with token will be considered non-guests. Only guests will be allowed to
// edit their profile.
enableUserRolesBasedOnToken: false,
// Whether or not some features are checked based on token.
// enableFeaturesBasedOnToken: false,
// Enable lock room for all moderators, even when userRolesBasedOnToken is enabled and participants are guests.
// lockRoomGuestEnabled: false,
// When enabled the password used for locking a room is restricted to up to the number of digits specified
// roomPasswordNumberOfDigits: 10,
// default: roomPasswordNumberOfDigits: false,
// Message to show the users. Example: 'The service will be down for
// maintenance at 01:00 AM GMT,
// noticeMessage: '',
// Enables calendar integration, depends on googleApiApplicationClientID
// and microsoftApiApplicationClientID
// enableCalendarIntegration: false,
// Stats
//
// Whether to enable stats collection or not in the TraceablePeerConnection.
// This can be useful for debugging purposes (post-processing/analysis of
// the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
// estimation tests.
// gatherStats: false,
// The interval at which PeerConnection.getStats() is called. Defaults to 10000
// pcStatsInterval: 10000,
// To enable sending statistics to callstats.io you must provide the
// Application ID and Secret.
// callStatsID: '',
// callStatsSecret: '',
// enables sending participants display name to callstats
// enableDisplayNameInStats: false,
// enables sending participants email if available to callstats and other analytics
// enableEmailInStats: false,
// Privacy
//
// If third party requests are disabled, no other server will be contacted.
// This means avatars will be locally generated and callstats integration
// will not function.
// disableThirdPartyRequests: false,
// Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
//
p2p: {
// Enables peer to peer mode. When enabled the system will try to
// establish a direct connection when there are exactly 2 participants
// in the room. If that succeeds the conference will stop sending data
// through the JVB and use the peer to peer connection instead. When a
// 3rd participant joins the conference will be moved back to the JVB
// connection.
enabled: true,
// Use XEP-0215 to fetch STUN and TURN servers.
// useStunTurn: true,
// The STUN servers that will be used in the peer to peer connections
stunServers: [
// { urls: 'stun:jitsi-meet.example.com:4446' },
{ urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
],
// Sets the ICE transport policy for the p2p connection. At the time
// of this writing the list of possible values are 'all' and 'relay',
// but that is subject to change in the future. The enum is defined in
// the WebRTC standard:
// https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
// If not set, the effective value is 'all'.
// iceTransportPolicy: 'all',
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
// is supported).
preferH264: true
// If set to true, disable H.264 video codec by stripping it out of the
// SDP.
// disableH264: false,
// How long we're going to wait, before going back to P2P after the 3rd
// participant has left the conference (to filter out page reload).
// backToP2PDelay: 5
},
analytics: {
// The Google Analytics Tracking ID:
// googleAnalyticsTrackingId: 'your-tracking-id-UA-123456-1'
// The Amplitude APP Key:
// amplitudeAPPKey: '<APP_KEY>'
// Array of script URLs to load as lib-jitsi-meet "analytics handlers".
// scriptURLs: [
// "libs/analytics-ga.min.js", // google-analytics
// "https://example.com/my-custom-analytics.js"
// ],
},
// Information about the jitsi-meet instance we are connecting to, including
// the user region as seen by the server.
deploymentInfo: {
// shard: "shard1",
// region: "europe",
// userRegion: "asia"
},
// Decides whether the start/stop recording audio notifications should play on record.
// disableRecordAudioNotification: false,
// Information for the chrome extension banner
// chromeExtensionBanner: {
// // The chrome extension to be installed address
// url: 'https://chrome.google.com/webstore/detail/jitsi-meetings/kglhbbefdnlheedjiejgomgmfplipfeb',
// // Extensions info which allows checking if they are installed or not
// chromeExtensionsInfo: [
// {
// id: 'kglhbbefdnlheedjiejgomgmfplipfeb',
// path: 'jitsi-logo-48x48.png'
// }
// ]
// },
// Local Recording
//
// localRecording: {
// Enables local recording.
// Additionally, 'localrecording' (all lowercase) needs to be added to
// TOOLBAR_BUTTONS in interface_config.js for the Local Recording
// button to show up on the toolbar.
//
// enabled: true,
//
// The recording format, can be one of 'ogg', 'flac' or 'wav'.
// format: 'flac'
//
// },
// Options related to end-to-end (participant to participant) ping.
// e2eping: {
// // The interval in milliseconds at which pings will be sent.
// // Defaults to 10000, set to <= 0 to disable.
// pingInterval: 10000,
//
// // The interval in milliseconds at which analytics events
// // with the measured RTT will be sent. Defaults to 60000, set
// // to <= 0 to disable.
// analyticsInterval: 60000,
// },
// If set, will attempt to use the provided video input device label when
// triggering a screenshare, instead of proceeding through the normal flow
// for obtaining a desktop stream.
// NOTE: This option is experimental and is currently intended for internal
// use only.
// _desktopSharingSourceDevice: 'sample-id-or-label',
// If true, any checks to handoff to another application will be prevented
// and instead the app will continue to display in the current browser.
// disableDeepLinking: false,
// A property to disable the right click context menu for localVideo
// the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false,
// Mainly privacy related settings
// Disables all invite functions from the app (share, invite, dial out...etc)
// disableInviteFunctions: true,
// Disables storing the room name to the recents list
// doNotStoreRoom: true,
// Deployment specific URLs.
// deploymentUrls: {
// // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
// // user documentation.
// userDocumentationURL: 'https://docs.example.com/video-meetings.html',
// // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
// // to the specified URL for an app download page.
// downloadAppsUrl: 'https://docs.example.com/our-apps.html'
// },
// Options related to the remote participant menu.
// remoteVideoMenu: {
// // If set to true the 'Kick out' button will be disabled.
// disableKick: true
// },
// If set to true all muting operations of remote participants will be disabled.
// disableRemoteMute: true,
// List of undocumented settings used in jitsi-meet
/**
_immediateReloadThreshold
autoRecord
autoRecordToken
debug
debugAudioLevels
deploymentInfo
dialInConfCodeUrl
dialInNumbersUrl
dialOutAuthUrl
dialOutCodesUrl
disableRemoteControl
displayJids
etherpad_base
externalConnectUrl
firefox_fake_device
googleApiApplicationClientID
iAmRecorder
iAmSipGateway
microsoftApiApplicationClientID
peopleSearchQueryTypes
peopleSearchUrl
requireDisplayName
tokenAuthUrl
*/
// List of undocumented settings used in lib-jitsi-meet
/**
_peerConnStatusOutOfLastNTimeout
_peerConnStatusRtcMuteTimeout
abTesting
avgRtpStatsN
callStatsConfIDNamespace
callStatsCustomScriptUrl
desktopSharingSources
disableAEC
disableAGC
disableAP
disableHPF
disableNS
enableLipSync
enableTalkWhileMuted
forceJVB121Ratio
hiddenDomain
ignoreStartMuted
nick
startBitrate
*/
// Allow all above example options to include a trailing comma and
// prevent fear when commenting out the last value.
makeJsonParserHappy: 'even if last key had a trailing comma'
// no configuration value should follow this line.
};
/* eslint-enable no-unused-vars, no-var */

View File

@ -0,0 +1,39 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils unpacker
MY_PN=${PN/-bin/}
DESCRIPTION="Jitsi Meet is a WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, scalable video conferences."
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="${SRC_URI_BASE}/${MY_PN}_${PV}-1_all.deb"
##RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}
src_install() {
insinto /etc/jitsi/meet/
doins ${FILESDIR}/meet.example.com-config.js
gunzip usr/share/doc/jitsi-meet-web/README.md.gz
dodoc usr/share/doc/jitsi-meet-web/README.md
dodoc usr/share/doc/jitsi-meet-web/README.Debian
rm -rf usr/share/doc
insinto /
doins -r usr
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils unpacker
MY_PN=${PN/-bin/}
DESCRIPTION="Jitsi Meet is a WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, scalable video conferences."
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="${SRC_URI_BASE}/${MY_PN}_${PV}-1_all.deb"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}
src_install() {
insinto /etc/jitsi/meet/
doins ${FILESDIR}/meet.example.com-config.js
gunzip usr/share/doc/jitsi-meet-web/README.md.gz
dodoc usr/share/doc/jitsi-meet-web/README.md
dodoc usr/share/doc/jitsi-meet-web/README.Debian
rm -rf usr/share/doc
insinto /
doins -r usr
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils unpacker
MY_PN=${PN/-bin/}
DESCRIPTION="Jitsi Meet is a WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, scalable video conferences."
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="${SRC_URI_BASE}/${MY_PN}_${PV}-1_all.deb"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}
src_install() {
insinto /etc/jitsi/meet/
doins ${FILESDIR}/meet.example.com-config.js
gunzip usr/share/doc/jitsi-meet-web/README.md.gz
dodoc usr/share/doc/jitsi-meet-web/README.md
dodoc usr/share/doc/jitsi-meet-web/README.Debian
rm -rf usr/share/doc
insinto /
doins -r usr
}

View File

@ -0,0 +1,10 @@
AUX config.example 891 BLAKE2B e9437bbe3c337ff3bf6dc09414f8a5bece4bf8a066c87effb34a2c04d049193bd83107af1c6b9acb2766ebeba3721d143fa9e64cc3ac948a52c883c5cc5732a6 SHA512 9ab25d19493cf1e3e128eb820fc2498a56ecff1444e81f1b72eb3538e63d0092f357ccb78c6b2fdcb4d6dc459437201eba8d16ee63c8118205523fff12466f01
AUX jitsi-videobridge-init.d 1078 BLAKE2B 5f04bd6f54c3002ebb1ec8d4df9614942de2d6ee22ca531332ae83ed0a3558f33de3673a13e6c0528f6382c895f781300e7b39f32829645cfe48aea2536dbdaa SHA512 9300b363e578bd31967ef895fa33d919ad15ec9dd273367d342867999342e683d6e8f3694cf5d5b35bde6d36579f341bcab0e041b7117d6b425b8e8994596fdb
AUX sip-communicator.properties.example 2816 BLAKE2B af96f81aecf1fb59b3fe58cdebbb9368e3d015c94bcebb9c46fd6f5000de91aecdb6a7b050596d625fe348410df46c18c481389339613b1e5e9f4363da7d01bd SHA512 aa721a740b4bc32e21d48282abad1e17ee439fa3b287d2fb07aaf3f24c14a915133625c74f43868f0b16266949e9533ad3a07483acc45c8f2f18b1ce94ddc747
DIST jitsi-videobridge2_2.1-157-g389b69ff-1_all.deb 31372664 BLAKE2B 8089f5c4189d82cd0a6643b516ea19cbf21a5bdd1a98cfef7cfad078b4569c29f845df89071b92686272c4643a361a614a13a7355f8be2ef71f44e51f6f8e7b8 SHA512 93d34725227d1418af4c6c9f580e8b57bc79487ca35038eec0444d651b59fe3e86d7be5201ba0862c1f818275afc3fce4f6517449916ffb5728520d22be182b1
DIST jitsi-videobridge2_2.1-197-g38256192-1_all.deb 33271896 BLAKE2B 3ec750ebb1f9db3f5e86d8d038873897dbdef85fd365db51850b7b7f69020f813891eb12a429f24bb72dc8b1e5369ca54282d00b70b7d1a8fe294a4163cc0ced SHA512 df1829c56ac41a5111ffd8e6013a93bab14e7f0bb4a7e2be76cb9e6f6dbdd9c5604180b3697e1e6b868230c5fcaa337b0d7c963a3ccad6374723d6b8b55e112e
DIST jitsi-videobridge_1126-1_amd64.deb 30440800 BLAKE2B 0b75094f59ba0178d42f9f3906df9f79729a5debcbc7a11c424bdf705c0599516e53763ff4bd0e973ca4027f77ca038432d5911d8a48c67a2f333ae5fec0b5b5 SHA512 cf01785929f5b408678163984f345d322695c7ec2ce2286735213e69941698258cb32d87e38eac609c098bf3bc79205e5e81da6d32e1d25c95d51da5d9cd782e
DIST jitsi-videobridge_1126-1_i386.deb 30434904 BLAKE2B 882ba4b1f35baf5b39cdc0e7552341db2f37a3670439ec05166e2cf9fa7f8c38f64f65a9d5240950336f65633610ba61414f294cb913d690ec62cf003216ab2c SHA512 2112264da31aa019196188fe6e9dc659463decd872c61c4ad640f4ebd895419c0da836422535098a5460328b6a76a03272d4d8344795089070524e446769370e
EBUILD jitsi-videobridge-bin-1126.ebuild 1599 BLAKE2B c10060a68a845d777a1b2b46d272138851e2a51105374bcd249ab9d25a7bda8bd8e92c992668a5baf6f4b8a47c7189fc4a830cc3abefc9e08aac56dd62e5e35b SHA512 9ecd1f1b462f8ef82c20b82d1ed21d6ca6bd90abdedb6341404ebef5ec143fa7ef5c7a07b8675e9b21bdd14f8d0316978901c74a1930592d654aebb38c9dc9e2
EBUILD jitsi-videobridge-bin-2.1.157.ebuild 1504 BLAKE2B dcaeaf7f82d97f7cc9170858477c41e45773afedb94d1291224a35917f4115ec490204e3c592f5bae21e5750582241b3e2f284133cd1276133445803b99ae3ee SHA512 9e00f5136a7b6f45fc49bbe3ade82e6e6ad67d50e8c9be16a13baeb2eb3e28dd652bdb825125bd741d06a06fb1b2a3d8805e45bac76f3ae38ab0c4c1f5109071
EBUILD jitsi-videobridge-bin-2.1.197.ebuild 1504 BLAKE2B 70fe8456375651d1949dbc0c05f6a220669b948e4a9ef3f029bd7ed7daf9e476dc5e7b9d519a8c46923fd8e418d611793e43d0fdd99d9d383eaf531b6d932747 SHA512 0d076ecc1c377eed4bde33d385402e25efad1011c253e7f86e21a7dee6e11d53785eece2c08d2ba87953f37185c42f670085e2f4034cbfcb9e926c9563e858ab

View File

@ -0,0 +1,19 @@
# Jitsi Videobridge settings
# sets the XMPP domain (default: none)
JVB_HOSTNAME=meet.example.com
# sets the hostname of the XMPP server (default: domain if set, localhost otherwise)
JVB_HOST=
# sets the port of the XMPP server (default: 5275)
JVB_PORT=5347
# sets the shared secret used to authenticate to the XMPP server
JVB_SECRET=secret
# extra options to pass to the JVB daemon
JVB_OPTS="--apis=xmpp,"
# adds java system props that are passed to jvb (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts"

View File

@ -0,0 +1,34 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
TMPPATH=/var/run/jitsi-videobridge
if [ ! -d "$TMPPATH" ]; then
mkdir "$TMPPATH"
chown jvb:root "$TMPPATH"
fi
# Include jicofo defaults if available
if [ -f /etc/jitsi/videobridge/config ]; then
. /etc/jitsi/videobridge/config
fi
# Assign default host if not configured
if [ ! $JVB_HOST ]; then
JVB_HOST=localhost
fi
command="/usr/share/jitsi-videobridge/jvb.sh"
command_args=" --host=$JVB_HOST --domain=$JVB_HOSTNAME --port=$JVB_PORT --secret=$JVB_SECRET $JVB_OPTS"
start_stop_daemon_args="--chdir /usr/share/jicofo --user jvb:jitsi"
start_stop_daemon_args="${start_stop_daemon_args} --stdout /var/log/jitsi/jvb.log"
start_stop_daemon_args="${start_stop_daemon_args} --stderr /var/log/jitsi/jvb.log"
start_stop_daemon_args="${start_stop_daemon_args} --env JAVA_SYS_PROPS=\"$JAVA_SYS_PROPS\""
required_dirs="/var/log/jitsi"
pidfile="/var/run/jitsi-videobridge.pid"
command_background="true"
depend() {
use net logger
}

View File

@ -0,0 +1,46 @@
# Explicitly disables the AWS mapping harvester. By default the harvester is enabled if ice4j detects that it is running in the AWS network.
org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
# Use the jitsi.net TURN server
org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
# Enable broadcasting stats/presence in a MUC
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
# Connect to the bitquell.de XMPP server
org.jitsi.videobridge.xmpp.user.example.HOSTNAME=meet.example.com
org.jitsi.videobridge.xmpp.user.example.DOMAIN=meet.example.com
org.jitsi.videobridge.xmpp.user.example.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.example.PASSWORD=jvbpasswd
org.jitsi.videobridge.xmpp.user.example.MUC_JIDS=jvbroom@conference.example.com
org.jitsi.videobridge.xmpp.user.example.MUC_NICKNAME=jvb1
#org.jitsi.videobridge.xmpp.user.example.DISABLE_CERTIFICATE_VERIFICATION=true
# APIs (in /etc/jitsi/videobridge/config bei JAVA_SYS_PROPS with e.g. "apis=rest,xmpp" enablen)
# private API
##org.jitsi.videobridge.rest.private.jetty.port=8080
##org.jitsi.videobridge.rest.private.jetty.tls.port=8443
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePath=
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePassword=
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.needClientAuth=false
##org.jitsi.videobridge.rest.private.jetty.host=
# public api
##org.jitsi.videobridge.rest.jetty.port=-1
##org.jitsi.videobridge.rest.jetty.tls.port=-1
##org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePath=
##org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePassword=
##org.jitsi.videobridge.rest.jetty.sslContextFactory.needClientAuth=false
##org.jitsi.videobridge.rest.jetty.host=
##org.jitsi.videobridge.clearport.redirect.jetty.port=80
# public api proxy settings
##org.jitsi.videobridge.rest.jetty.ProxyServlet.hostHeader=example.com
##org.jitsi.videobridge.rest.jetty.ProxyServlet.pathSpec=/http-bind
##org.jitsi.videobridge.rest.jetty.ProxyServlet.proxyTo=http://localhost:5280/http-bind
# Configure serving of static content (tuned for jitsi-meet)
##org.jitsi.videobridge.rest.jetty.ResourceHandler.resourceBase=/usr/share/jitsi-meet
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./config.js=/etc/jitsi/meet/example.com-config.js
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./interface_config.js=/usr/share/jitsi-meet/interface_config.js
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./logging_config.js=/usr/share/jitsi-meet/logging_config.js
##org.jitsi.videobridge.rest.jetty.RewriteHandler.regex=^/([a-zA-Z0-9]+)$
##org.jitsi.videobridge.rest.jetty.RewriteHandler.replacement=/
##org.jitsi.videobridge.rest.jetty.SSIResourceHandler.paths=/

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
DESCRIPTION="Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="x86? ( ${SRC_URI_BASE}/${MY_PN}_${PV}-1_i386.deb )
amd64? ( ${SRC_URI_BASE}/${MY_PN}_${PV}-1_amd64.deb )"
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
pkg_setup() {
enewgroup jitsi
enewuser jvb -1 /bin/bash /usr/share/jitsi-videobridge jitsi
}
src_install() {
insinto /etc/jitsi/videobridge/
doins ${FILESDIR}/config.example
echo "org.jitsi.videobridge.AUTHORIZED_SOURCE_REGEXP=focus@auth.meet.example.com/.*" > etc/jitsi/videobridge/sip-communicator.properties
dodoc usr/share/doc/jitsi-videobridge/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jvb:jitsi /usr/share/jitsi-videobridge
fperms 755 /usr/share/jitsi-videobridge/collect-dump-logs.sh
fperms 755 /usr/share/jitsi-videobridge/jvb.sh
fperms 755 /usr/share/jitsi-videobridge/graceful_shutdown.sh
fowners -R jvb:jitsi /etc/jitsi/videobridge
fperms 750 /etc/jitsi/videobridge
fperms 600 /etc/jitsi/videobridge/sip-communicator.properties
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_dounit lib/systemd/system/jitsi-videobridge.service
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}2_${MY_PV}-g389b69ff-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
pkg_setup() {
enewgroup jitsi
enewuser jvb -1 /bin/bash /usr/share/jitsi-videobridge jitsi
}
src_install() {
insinto /etc/jitsi/videobridge/
doins ${FILESDIR}/config.example
doins ${FILESDIR}/sip-communicator.properties.example
dodoc usr/share/doc/jitsi-videobridge2/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jvb:jitsi /usr/share/jitsi-videobridge
fperms 755 /usr/share/jitsi-videobridge/collect-dump-logs.sh
fperms 755 /usr/share/jitsi-videobridge/jvb.sh
fperms 755 /usr/share/jitsi-videobridge/graceful_shutdown.sh
fowners -R jvb:jitsi /etc/jitsi/videobridge
fperms 750 /etc/jitsi/videobridge
fperms 600 /etc/jitsi/videobridge/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_newunit lib/systemd/system/${MY_PN}2.service ${MY_PN}.service
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}2_${MY_PV}-g38256192-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
pkg_setup() {
enewgroup jitsi
enewuser jvb -1 /bin/bash /usr/share/jitsi-videobridge jitsi
}
src_install() {
insinto /etc/jitsi/videobridge/
doins ${FILESDIR}/config.example
doins ${FILESDIR}/sip-communicator.properties.example
dodoc usr/share/doc/jitsi-videobridge2/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jvb:jitsi /usr/share/jitsi-videobridge
fperms 755 /usr/share/jitsi-videobridge/collect-dump-logs.sh
fperms 755 /usr/share/jitsi-videobridge/jvb.sh
fperms 755 /usr/share/jitsi-videobridge/graceful_shutdown.sh
fowners -R jvb:jitsi /etc/jitsi/videobridge
fperms 750 /etc/jitsi/videobridge
fperms 600 /etc/jitsi/videobridge/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_newunit lib/systemd/system/${MY_PN}2.service ${MY_PN}.service
}