From 9e60e82b0bd732d271e894ef57776543ef805807 Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 4 Mar 2024 22:14:21 +0100 Subject: [PATCH] chore: remove mumble-web*, as it is no longer maintained --- .forgejo/workflows/package.yml | 3 -- README.md | 3 -- mumble-web-data/build.sh | 49 ------------------- mumble-web-data/debian.conffiles | 2 - mumble-web-data/debian.control | 12 ----- mumble-web-data/mumble-web.site | 31 ------------ mumble-web-proxy/build.sh | 48 ------------------ mumble-web-proxy/debian.conffiles | 1 - mumble-web-proxy/debian.control | 12 ----- mumble-web-proxy/mumble-web-proxy.conf | 26 ---------- mumble-web-proxy/mumble-web-proxy/build.sh | 48 ------------------ .../mumble-web-proxy/debian.conffiles | 1 - .../mumble-web-proxy/debian.control | 12 ----- .../mumble-web-proxy/mumble-web-proxy.conf | 26 ---------- .../mumble-web-proxy@.service | 13 ----- mumble-web-proxy/mumble-web-proxy@.service | 13 ----- mumble-web/build.sh | 36 -------------- mumble-web/debian.conffiles | 1 - mumble-web/debian.control | 12 ----- mumble-web/mumble-web.defaults | 2 - mumble-web/mumble-web.service | 15 ------ mumble-web/mumble-web.site | 25 ---------- 22 files changed, 391 deletions(-) delete mode 100755 mumble-web-data/build.sh delete mode 100644 mumble-web-data/debian.conffiles delete mode 100644 mumble-web-data/debian.control delete mode 100644 mumble-web-data/mumble-web.site delete mode 100755 mumble-web-proxy/build.sh delete mode 100644 mumble-web-proxy/debian.conffiles delete mode 100644 mumble-web-proxy/debian.control delete mode 100644 mumble-web-proxy/mumble-web-proxy.conf delete mode 100755 mumble-web-proxy/mumble-web-proxy/build.sh delete mode 100644 mumble-web-proxy/mumble-web-proxy/debian.conffiles delete mode 100644 mumble-web-proxy/mumble-web-proxy/debian.control delete mode 100644 mumble-web-proxy/mumble-web-proxy/mumble-web-proxy.conf delete mode 100644 mumble-web-proxy/mumble-web-proxy/mumble-web-proxy@.service delete mode 100644 mumble-web-proxy/mumble-web-proxy@.service delete mode 100755 mumble-web/build.sh delete mode 100644 mumble-web/debian.conffiles delete mode 100644 mumble-web/debian.control delete mode 100644 mumble-web/mumble-web.defaults delete mode 100644 mumble-web/mumble-web.service delete mode 100644 mumble-web/mumble-web.site diff --git a/.forgejo/workflows/package.yml b/.forgejo/workflows/package.yml index b6ea581..d86fd41 100644 --- a/.forgejo/workflows/package.yml +++ b/.forgejo/workflows/package.yml @@ -57,9 +57,6 @@ jobs: mediawiki-extension-openidconnect: *job mediawiki-extension-pluggableauth: *job mqtt2prometheus: *job - mumble-web: *job - mumble-web-data: *job - mumble-web-proxy: *job prometheus-ipmi-exporter: *job prometheus-dnsbl-exporter: *job prometheus2influxdb: *job diff --git a/README.md b/README.md index 96bb61d..24f7d1a 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,6 @@ information, please see [https://repo.s3lph.me/](https://repo.s3lph.me/). - [mediawiki-extension-openidconnect](https://www.mediawiki.org/wiki/Extension:OpenID_Connect) - [mediawiki-extension-pluggableauth](https://www.mediawiki.org/wiki/Extension:PluggableAuth) - [mqtt2prometheus](https://github.com/hikhvar/mqtt2prometheus) -- [mumble-web](https://github.com/Johni0702/mumble-web) -- [mumble-web-data](https://github.com/Johni0702/mumble-web) -- [mumble-web-proxy](https://github.com/Johni0702/mumble-web-proxy) - [prometheus-ipmi-exporter](https://github.com/prometheus-community/ipmi_exporter) - [prometheus-dnsbl-exporter](https://github.com/Luzilla/dnsbl_exporter) - [prometheus2influxdb](https://gitlab.com/s3lph/prometheus2influxdb) diff --git a/mumble-web-data/build.sh b/mumble-web-data/build.sh deleted file mode 100755 index e0e0769..0000000 --- a/mumble-web-data/build.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -set -exo pipefail - - -ROOT=$(pwd) -function fetch() { - apt install --assume-yes --no-install-recommends git npm - cd "${SRCDIR}" - git clone https://github.com/johni0702/mumble-web mumble-web - cd mumble-web - export VERSION=0.$(git rev-list --count HEAD) - npm install -} - -function prepare() { - mkdir -p \ - "${PKGDIR}/DEBIAN" \ - "${PKGDIR}/usr/share/mumble-web/html/" \ - "${PKGDIR}/etc/mumble-web/html/" \ - "${PKGDIR}/etc/apache2/sites-available/" - rsync -a "${SRCDIR}/mumble-web/dist/" "${PKGDIR}/usr/share/mumble-web/html/" - chown root:root -R "${PKGDIR}/usr/share/mumble-web/html" - mv "${PKGDIR}/usr/share/mumble-web/html/config.local.js" "${PKGDIR}/etc/mumble-web/html/config.js" - cp "${ROOT}/mumble-web.site" "${PKGDIR}/etc/apache2/sites-available/mumble-web.site" - cp "${ROOT}/debian.control" "${PKGDIR}/DEBIAN/control" - cp "${ROOT}/debian.conffiles" "${PKGDIR}/DEBIAN/conffiles" - sed -re "s/__VERSION__/${VERSION}/g" -i "${PKGDIR}/DEBIAN/control" - sed -re "s/__MAINTAINER__/${MAINTAINER}/g" -i "${PKGDIR}/DEBIAN/control" - find "${PKGDIR}" -exec touch -m -d "${ISODATE}" {} \; -} - -function package() { - cd "${BUILDDIR}" - dpkg-deb --build "${PKGDIR}" "${BUILDDIR}" -} - -function build() { - export BUILDDIR=${ROOT}/build - export SRCDIR=${ROOT}/build/srcdir - export PKGDIR=${ROOT}/build/pkgdir - mkdir -p ${SRCDIR} ${PKGDIR} - fetch - prepare - package -} - - -build diff --git a/mumble-web-data/debian.conffiles b/mumble-web-data/debian.conffiles deleted file mode 100644 index 5bc435f..0000000 --- a/mumble-web-data/debian.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/apache2/sites-available/mumble-web.site -/etc/mumble-web/html/config.js diff --git a/mumble-web-data/debian.control b/mumble-web-data/debian.control deleted file mode 100644 index c205150..0000000 --- a/mumble-web-data/debian.control +++ /dev/null @@ -1,12 +0,0 @@ -Package: mumble-web-data -Version: __VERSION__ -Maintainer: __MAINTAINER__ -Section: web -Priority: optional -Architecture: all -Recommends: apache2, mumble-web | mumble-web-proxy -Description: HTML5 Mumble client for use in modern browsers - data - The Mumble protocol uses TCP for control and UDP for voice. Running - in a browser, both are unavailable to this client. Instead Websockets - are used for control and WebRTC is used for voice (using Websockets - as fallback if the server does not support WebRTC). diff --git a/mumble-web-data/mumble-web.site b/mumble-web-data/mumble-web.site deleted file mode 100644 index 45f50eb..0000000 --- a/mumble-web-data/mumble-web.site +++ /dev/null @@ -1,31 +0,0 @@ - - ServerName mumble.example.com - ServerAdmin webmaster@localhost - - DocumentRoot /usr/share/mumble-web/html - - Options -Indexes - Require all granted - AllowOverride none - - - Alias /config.local.js /etc/mumble-web/html/config.js - - Options -Indexes - Require all granted - AllowOverride none - - - - RewriteEngine On - RewriteCond %{HTTP:Upgrade} =websocket - RewriteRule ^/(.*) ws://localhost:64737/$1 [P,L] - RewriteRule ^/(.*) http://localhost:64737/$1 [P,L] - - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - - -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet \ No newline at end of file diff --git a/mumble-web-proxy/build.sh b/mumble-web-proxy/build.sh deleted file mode 100755 index 773082e..0000000 --- a/mumble-web-proxy/build.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -set -exo pipefail - - -ROOT=$(pwd) -function fetch() { - apt install --assume-yes --no-install-recommends git cargo clang pkg-config libssl-dev libglib2.0-dev libnice-dev - cd "${SRCDIR}" - git clone https://github.com/johni0702/mumble-web-proxy mumble-web-proxy - cd mumble-web-proxy - export VERSION=0.$(git rev-list --count HEAD) - cargo build --release -} - -function prepare() { - mkdir -p \ - "${PKGDIR}/DEBIAN" \ - "${PKGDIR}/usr/bin" \ - "${PKGDIR}/etc/mumble-web/proxy" \ - "${PKGDIR}/lib/systemd/system" - cp "${SRCDIR}/mumble-web-proxy/target/release/mumble-web-proxy" "${PKGDIR}/usr/bin/mumble-web-proxy" - cp "${ROOT}/mumble-web-proxy@.service" "${PKGDIR}/lib/systemd/system/mumble-web-proxy@.service" - cp "${ROOT}/mumble-web-proxy.conf" "${PKGDIR}/etc/mumble-web/proxy/mumble.conf" - cp "${ROOT}/debian.control" "${PKGDIR}/DEBIAN/control" - cp "${ROOT}/debian.conffiles" "${PKGDIR}/DEBIAN/conffiles" - sed -re "s/__VERSION__/${VERSION}/g" -i "${PKGDIR}/DEBIAN/control" - sed -re "s/__MAINTAINER__/${MAINTAINER}/g" -i "${PKGDIR}/DEBIAN/control" - find "${PKGDIR}" -exec touch -m -d "${ISODATE}" {} \; -} - -function package() { - cd "${BUILDDIR}" - dpkg-deb --build "${PKGDIR}" "${BUILDDIR}" -} - -function build() { - export BUILDDIR=${ROOT}/build - export SRCDIR=${ROOT}/build/srcdir - export PKGDIR=${ROOT}/build/pkgdir - mkdir -p ${SRCDIR} ${PKGDIR} - fetch - prepare - package -} - - -build diff --git a/mumble-web-proxy/debian.conffiles b/mumble-web-proxy/debian.conffiles deleted file mode 100644 index 161eaf0..0000000 --- a/mumble-web-proxy/debian.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/mumble-web/proxy/mumble.conf diff --git a/mumble-web-proxy/debian.control b/mumble-web-proxy/debian.control deleted file mode 100644 index e9fe4f2..0000000 --- a/mumble-web-proxy/debian.control +++ /dev/null @@ -1,12 +0,0 @@ -Package: mumble-web-proxy -Version: __VERSION__ -Maintainer: __MAINTAINER__ -Section: web -Priority: optional -Architecture: amd64 -Depends: libnice10 -Recommends: apache2, mumble-web-data -Description: Mumble to WebSocket+WebRTC proxy. - mumble-web-proxy is a Mumble to WebSocket+WebRTC proxy. While not - limited to, its primary use-case is allowing mumble-web to connect to - vanilla Mumble 1.2/1.3 servers. diff --git a/mumble-web-proxy/mumble-web-proxy.conf b/mumble-web-proxy/mumble-web-proxy.conf deleted file mode 100644 index d14c7d8..0000000 --- a/mumble-web-proxy/mumble-web-proxy.conf +++ /dev/null @@ -1,26 +0,0 @@ -# See https://github.com/johni0702/mumble-web-proxy for details - -# If this file is e.g. named /etc/mumble-web/proxy/mumble.conf -# run the systemd service as mumble-web-proxy@mumble.service - -# Port to listen for WebSocket (non TLS) connections on -listen-ws = 64737 - -# Hostname and (optionally) port of the upstream Mumble server -server = 'mumble.example.org:64738' - -# Connect to upstream server even when its certificate is -# invalid. Only ever use this if know that your server is using a -# self-signed certificate! -#accept-invalid-certificate - -# If your mumble-web-proxy is running behind a firewall or NAT, you -# need to allocate a range of ports to it which it can use for ICE -# connection establishment. -#ice-port-min = 20000 -#ice-port-max = 21000 - -# For NATs, you additionally need to provide it with its publicly -# reachable IP address(es): -#ice-ipv4 = '1.2.3.4' -#ice-ipv6 = '2001:db8::1ce' diff --git a/mumble-web-proxy/mumble-web-proxy/build.sh b/mumble-web-proxy/mumble-web-proxy/build.sh deleted file mode 100755 index 773082e..0000000 --- a/mumble-web-proxy/mumble-web-proxy/build.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -set -exo pipefail - - -ROOT=$(pwd) -function fetch() { - apt install --assume-yes --no-install-recommends git cargo clang pkg-config libssl-dev libglib2.0-dev libnice-dev - cd "${SRCDIR}" - git clone https://github.com/johni0702/mumble-web-proxy mumble-web-proxy - cd mumble-web-proxy - export VERSION=0.$(git rev-list --count HEAD) - cargo build --release -} - -function prepare() { - mkdir -p \ - "${PKGDIR}/DEBIAN" \ - "${PKGDIR}/usr/bin" \ - "${PKGDIR}/etc/mumble-web/proxy" \ - "${PKGDIR}/lib/systemd/system" - cp "${SRCDIR}/mumble-web-proxy/target/release/mumble-web-proxy" "${PKGDIR}/usr/bin/mumble-web-proxy" - cp "${ROOT}/mumble-web-proxy@.service" "${PKGDIR}/lib/systemd/system/mumble-web-proxy@.service" - cp "${ROOT}/mumble-web-proxy.conf" "${PKGDIR}/etc/mumble-web/proxy/mumble.conf" - cp "${ROOT}/debian.control" "${PKGDIR}/DEBIAN/control" - cp "${ROOT}/debian.conffiles" "${PKGDIR}/DEBIAN/conffiles" - sed -re "s/__VERSION__/${VERSION}/g" -i "${PKGDIR}/DEBIAN/control" - sed -re "s/__MAINTAINER__/${MAINTAINER}/g" -i "${PKGDIR}/DEBIAN/control" - find "${PKGDIR}" -exec touch -m -d "${ISODATE}" {} \; -} - -function package() { - cd "${BUILDDIR}" - dpkg-deb --build "${PKGDIR}" "${BUILDDIR}" -} - -function build() { - export BUILDDIR=${ROOT}/build - export SRCDIR=${ROOT}/build/srcdir - export PKGDIR=${ROOT}/build/pkgdir - mkdir -p ${SRCDIR} ${PKGDIR} - fetch - prepare - package -} - - -build diff --git a/mumble-web-proxy/mumble-web-proxy/debian.conffiles b/mumble-web-proxy/mumble-web-proxy/debian.conffiles deleted file mode 100644 index 161eaf0..0000000 --- a/mumble-web-proxy/mumble-web-proxy/debian.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/mumble-web/proxy/mumble.conf diff --git a/mumble-web-proxy/mumble-web-proxy/debian.control b/mumble-web-proxy/mumble-web-proxy/debian.control deleted file mode 100644 index e9fe4f2..0000000 --- a/mumble-web-proxy/mumble-web-proxy/debian.control +++ /dev/null @@ -1,12 +0,0 @@ -Package: mumble-web-proxy -Version: __VERSION__ -Maintainer: __MAINTAINER__ -Section: web -Priority: optional -Architecture: amd64 -Depends: libnice10 -Recommends: apache2, mumble-web-data -Description: Mumble to WebSocket+WebRTC proxy. - mumble-web-proxy is a Mumble to WebSocket+WebRTC proxy. While not - limited to, its primary use-case is allowing mumble-web to connect to - vanilla Mumble 1.2/1.3 servers. diff --git a/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy.conf b/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy.conf deleted file mode 100644 index d14c7d8..0000000 --- a/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy.conf +++ /dev/null @@ -1,26 +0,0 @@ -# See https://github.com/johni0702/mumble-web-proxy for details - -# If this file is e.g. named /etc/mumble-web/proxy/mumble.conf -# run the systemd service as mumble-web-proxy@mumble.service - -# Port to listen for WebSocket (non TLS) connections on -listen-ws = 64737 - -# Hostname and (optionally) port of the upstream Mumble server -server = 'mumble.example.org:64738' - -# Connect to upstream server even when its certificate is -# invalid. Only ever use this if know that your server is using a -# self-signed certificate! -#accept-invalid-certificate - -# If your mumble-web-proxy is running behind a firewall or NAT, you -# need to allocate a range of ports to it which it can use for ICE -# connection establishment. -#ice-port-min = 20000 -#ice-port-max = 21000 - -# For NATs, you additionally need to provide it with its publicly -# reachable IP address(es): -#ice-ipv4 = '1.2.3.4' -#ice-ipv6 = '2001:db8::1ce' diff --git a/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy@.service b/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy@.service deleted file mode 100644 index 9c53d53..0000000 --- a/mumble-web-proxy/mumble-web-proxy/mumble-web-proxy@.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Mumble to WebSocket+WebRTC proxy -After=network-online.target -Wants=network-online.target - -[Service] -ExecStart=/usr/bin/mumble-web-proxy --config /etc/mumble-web/proxy/%I.conf -DynamicUser=true -CapabilityBoundingSet= -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/mumble-web-proxy/mumble-web-proxy@.service b/mumble-web-proxy/mumble-web-proxy@.service deleted file mode 100644 index 9c53d53..0000000 --- a/mumble-web-proxy/mumble-web-proxy@.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Mumble to WebSocket+WebRTC proxy -After=network-online.target -Wants=network-online.target - -[Service] -ExecStart=/usr/bin/mumble-web-proxy --config /etc/mumble-web/proxy/%I.conf -DynamicUser=true -CapabilityBoundingSet= -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/mumble-web/build.sh b/mumble-web/build.sh deleted file mode 100755 index 9fc443d..0000000 --- a/mumble-web/build.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -set -exo pipefail - - -ROOT=$(pwd) - -function prepare() { - mkdir -p \ - "${PKGDIR}/DEBIAN" \ - "${PKGDIR}/etc/default" \ - "${PKGDIR}/lib/systemd/system" - cp "${ROOT}/mumble-web.defaults" "${PKGDIR}/etc/default/mumble-web" - cp "${ROOT}/mumble-web.service" "${PKGDIR}/lib/systemd/system/mumble-web.service" - cp "${ROOT}/debian.control" "${PKGDIR}/DEBIAN/control" - cp "${ROOT}/debian.conffiles" "${PKGDIR}/DEBIAN/conffiles" - sed -re "s/__MAINTAINER__/${MAINTAINER}/g" -i "${PKGDIR}/DEBIAN/control" - find "${PKGDIR}" -exec touch -m -d "${ISODATE}" {} \; -} - -function package() { - cd "${BUILDDIR}" - dpkg-deb --build "${PKGDIR}" "${BUILDDIR}" -} - -function build() { - export BUILDDIR=${ROOT}/build - export SRCDIR=${ROOT}/build/srcdir - export PKGDIR=${ROOT}/build/pkgdir - mkdir -p ${SRCDIR} ${PKGDIR} - prepare - package -} - - -build diff --git a/mumble-web/debian.conffiles b/mumble-web/debian.conffiles deleted file mode 100644 index 181e0a2..0000000 --- a/mumble-web/debian.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/default/mumble-web diff --git a/mumble-web/debian.control b/mumble-web/debian.control deleted file mode 100644 index 835aa65..0000000 --- a/mumble-web/debian.control +++ /dev/null @@ -1,12 +0,0 @@ -Package: mumble-web -Version: 0.1 -Maintainer: __MAINTAINER__ -Section: web -Priority: optional -Architecture: all -Depends: websockify, mumble-web-data -Description: HTML5 Mumble client for use in modern browsers - The Mumble protocol uses TCP for control and UDP for voice. Running - in a browser, both are unavailable to this client. Instead Websockets - are used for control and WebRTC is used for voice (using Websockets - as fallback if the server does not support WebRTC). diff --git a/mumble-web/mumble-web.defaults b/mumble-web/mumble-web.defaults deleted file mode 100644 index cd66bb2..0000000 --- a/mumble-web/mumble-web.defaults +++ /dev/null @@ -1,2 +0,0 @@ - -ARGS=--ssl-target localhost:64737 localhost:64738 diff --git a/mumble-web/mumble-web.service b/mumble-web/mumble-web.service deleted file mode 100644 index 2a23c43..0000000 --- a/mumble-web/mumble-web.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=HTML5 Mumble client -Documentation=https://github.com/johni0702/mumble-web -After=network-online.target mumble-server.service -Wants=network-online.target mumble-server.service - -[Service] -EnvironmentFile=-/etc/default/mumble-web -ExecStart=/usr/bin/websockify --web=/usr/share/mumble-web/html $ARGS -DynamicUser=true -CapabilityBoundingSet= -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/mumble-web/mumble-web.site b/mumble-web/mumble-web.site deleted file mode 100644 index 80b76e1..0000000 --- a/mumble-web/mumble-web.site +++ /dev/null @@ -1,25 +0,0 @@ - - ServerName mumble.example.com - ServerAdmin webmaster@localhost - - DocumentRoot /usr/share/mumble-web/html - - - Options -Indexes - Require all granted - AllowOverride none - - - - RewriteEngine On - RewriteCond %{HTTP:Upgrade} =websocket - RewriteRule ^/(.*) ws://localhost:64737/$1 [P,L] - RewriteRule ^/(.*) http://localhost:64737/$1 [P,L] - - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - - -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet \ No newline at end of file