pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/jitsi-videobridge jitsi-videobridge: import 2.0.8138
details: https://anonhg.NetBSD.org/pkgsrc/rev/a83d870c5a83
branches: trunk
changeset: 391054:a83d870c5a83
user: khorben <khorben%pkgsrc.org@localhost>
date: Tue Jan 03 10:29:35 2023 +0000
description:
jitsi-videobridge: import 2.0.8138
Jitsi Videobridge is an XMPP server component that allows for multiuser video
communication. Unlike the expensive dedicated hardware videobridges, Jitsi
Videobridge does not mix the video channels into a composite video stream, but
only relays the received video channels to all call participants. Therefore,
while it does need to run on a server with good network bandwidth, CPU
horsepower is not that critical for performance.
diffstat:
chat/jitsi-videobridge/DESCR | 6 +
chat/jitsi-videobridge/Makefile | 101 +++++++++
chat/jitsi-videobridge/PLIST | 143 ++++++++++++++
chat/jitsi-videobridge/distinfo | 9 +
chat/jitsi-videobridge/files/sip-communicator.properties | 1 +
chat/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh | 12 +
6 files changed, 272 insertions(+), 0 deletions(-)
diffs (296 lines):
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/DESCR Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,6 @@
+Jitsi Videobridge is an XMPP server component that allows for multiuser video
+communication. Unlike the expensive dedicated hardware videobridges, Jitsi
+Videobridge does not mix the video channels into a composite video stream, but
+only relays the received video channels to all call participants. Therefore,
+while it does need to run on a server with good network bandwidth, CPU
+horsepower is not that critical for performance.
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/Makefile Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile,v 1.1 2023/01/03 10:29:35 khorben Exp $
+
+.include "../../chat/jitsi-meet/Makefile.common"
+
+GITHUB_PROJECT= jitsi-videobridge
+PKGNAME= ${GITHUB_PROJECT}-${JITSI_MEET_VERSION}
+
+HOMEPAGE= https://github.com/jitsi/jitsi-videobridge/
+COMMENT= WebRTC compatible video router or SFU
+
+DISTINFO_FILE= ${.CURDIR}/../../chat/jitsi-videobridge/distinfo
+DISTFILES= ${DEFAULT_DISTFILES}
+DISTFILES+= jitsi-videobridge-java-deps-${JITSI_MEET_VERSION}.tar.gz
+SITES.jitsi-videobridge-java-deps-${JITSI_MEET_VERSION}.tar.gz= \
+ ftp://ftp.NetBSD.org/pub/NetBSD/misc/khorben/
+
+USE_TOOLS+= bash:run pax:build unzip
+
+USE_JAVA2= 17
+
+TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven
+
+MAVEN_FLAGS+= -Duser.home=${FAKEHOMEDIR}
+MAVEN_FLAGS+= -Dmaven.repo.local=${WRKDIR}/deps
+MAVEN_FLAGS+= --offline
+MAVEN_FLAGS+= -DskipTests
+MAVEN_FLAGS+= -Dassembly.skipAssembly=false
+MVN= mvn ${MAVEN_FLAGS}
+
+REPLACE_BASH= jvb/resources/jvb.sh
+REPLACE_BASH+= resources/collect-dump-logs.sh
+REPLACE_BASH+= resources/graceful_shutdown.sh
+
+EGDIR= share/examples/jitsi-videobridge
+PKG_SYSCONFSUBDIR= jitsi/videobridge
+CONF_FILES+= ${EGDIR}/jvb.conf \
+ ${PKG_SYSCONFDIR}/jvb.conf
+CONF_FILES+= ${EGDIR}/logging.properties \
+ ${PKG_SYSCONFDIR}/logging.properties
+CONF_FILES+= ${EGDIR}/sip-communicator.properties \
+ ${PKG_SYSCONFDIR}/sip-communicator.properties
+CONF_FILES+= ${EGDIR}/videobridge.rc \
+ ${PKG_SYSCONFDIR}/videobridge.rc
+
+SUBST_CLASSES+= java
+SUBST_STAGE.java= post-configure
+SUBST_FILES.java= jvb/resources/jvb.sh
+SUBST_SED.java= -e 's,^exec java,exec ${JAVA_BINPREFIX}-java,'
+
+SUBST_CLASSES+= logging
+SUBST_STAGE.logging= post-configure
+SUBST_FILES.logging= jvb/resources/jvb.sh
+SUBST_SED.logging= -e 's,$$SCRIPT_DIR/lib/logging\.properties,${PKG_SYSCONFDIR}/logging.properties,'
+
+SUBST_CLASSES+= rc
+SUBST_STAGE.rc= post-configure
+SUBST_FILES.rc= jvb/resources/jvb.sh
+SUBST_SED.rc= -e 's,$$SCRIPT_DIR/lib/videobridge\.rc,${PKG_SYSCONFDIR}/videobridge.rc,'
+
+MAKE_JOBS_SAFE= no
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${EGDIR} share/jitsi-videobridge
+
+.PHONY: create-deps-file
+create-deps-file: build
+ #XXX disable offline mode for maven before using this rule
+ cd ${WRKSRC} && ${MVN} validate
+ cd ${WRKDIR} && \
+ ${PAX} -wz -f jitsi-videobridge-java-deps-${JITSI_MEET_VERSION}.tar.gz deps
+
+do-configure:
+ cd ${WRKSRC} && ${MVN} versions:set -DnewVersion="${JITSI_MEET_VERSION}"
+
+do-build:
+ cd ${WRKSRC} && ${MVN} package
+
+do-install:
+ ${RM} -rf ${DESTDIR}${PREFIX}/share/jitsi-videobridge-${JITSI_MEET_VERSION} \
+ ${DESTDIR}${PREFIX}/share/jitsi-videobridge
+ cd ${DESTDIR}${PREFIX}/share && \
+ ${UNZIP_CMD} ${WRKSRC}/jvb/target/jitsi-videobridge-${JITSI_MEET_VERSION}-archive.zip
+ ${MV} ${DESTDIR}${PREFIX}/share/jitsi-videobridge-${JITSI_MEET_VERSION} \
+ ${DESTDIR}${PREFIX}/share/jitsi-videobridge
+ ${LN} -sf ../share/jitsi-videobridge/jvb.sh \
+ ${DESTDIR}${PREFIX}/bin/jvb
+ ${INSTALL_DATA} ${WRKSRC}/jvb/src/main/resources/reference.conf \
+ ${DESTDIR}${PREFIX}/${EGDIR}/jvb.conf
+ ${INSTALL_DATA} ${WRKSRC}/jvb/lib/logging.properties \
+ ${DESTDIR}${PREFIX}/${EGDIR}/logging.properties
+ ${INSTALL_DATA} ${FILESDIR}/sip-communicator.properties \
+ ${DESTDIR}${PREFIX}/${EGDIR}/sip-communicator.properties
+ ${INSTALL_DATA} ${WRKSRC}/jvb/lib/videobridge.rc \
+ ${DESTDIR}${PREFIX}/${EGDIR}/videobridge.rc
+ ${INSTALL_SCRIPT} ${WRKSRC}/resources/collect-dump-logs.sh \
+ ${DESTDIR}${PREFIX}/share/jitsi-videobridge/collect-dump-logs.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/resources/graceful_shutdown.sh \
+ ${DESTDIR}${PREFIX}/share/jitsi-videobridge/graceful_shutdown.sh
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/PLIST Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,143 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/03 10:29:35 khorben Exp $
+bin/jvb
+share/examples/jitsi-videobridge/jvb.conf
+share/examples/jitsi-videobridge/logging.properties
+share/examples/jitsi-videobridge/sip-communicator.properties
+share/examples/jitsi-videobridge/videobridge.rc
+share/jitsi-videobridge/collect-dump-logs.sh
+share/jitsi-videobridge/graceful_shutdown.sh
+share/jitsi-videobridge/jitsi-videobridge.jar
+share/jitsi-videobridge/jvb.bat
+share/jitsi-videobridge/jvb.sh
+share/jitsi-videobridge/lib/agafua-syslog-0.4.jar
+share/jitsi-videobridge/lib/annotations-23.0.0.jar
+share/jitsi-videobridge/lib/aopalliance-repackaged-3.0.1.jar
+share/jitsi-videobridge/lib/asm-9.3.jar
+share/jitsi-videobridge/lib/asm-analysis-9.3.jar
+share/jitsi-videobridge/lib/asm-commons-9.3.jar
+share/jitsi-videobridge/lib/asm-tree-9.3.jar
+share/jitsi-videobridge/lib/bcpkix-jdk15on-1.70.jar
+share/jitsi-videobridge/lib/bcprov-jdk15on-1.70.jar
+share/jitsi-videobridge/lib/bctls-jdk15on-1.70.jar
+share/jitsi-videobridge/lib/bcutil-jdk15on-1.70.jar
+share/jitsi-videobridge/lib/cglib-nodep-2.2.jar
+share/jitsi-videobridge/lib/checker-qual-3.12.0.jar
+share/jitsi-videobridge/lib/commons-lang3-3.12.0.jar
+share/jitsi-videobridge/lib/config-1.4.2.jar
+share/jitsi-videobridge/lib/error_prone_annotations-2.7.1.jar
+share/jitsi-videobridge/lib/failureaccess-1.0.1.jar
+share/jitsi-videobridge/lib/gson-2.8.5.jar
+share/jitsi-videobridge/lib/guava-31.0.1-jre.jar
+share/jitsi-videobridge/lib/hk2-api-3.0.1.jar
+share/jitsi-videobridge/lib/hk2-locator-3.0.1.jar
+share/jitsi-videobridge/lib/hk2-utils-3.0.1.jar
+share/jitsi-videobridge/lib/ice4j-3.0-58-gf41542d.jar
+share/jitsi-videobridge/lib/j2objc-annotations-1.3.jar
+share/jitsi-videobridge/lib/jackson-annotations-2.13.0.jar
+share/jitsi-videobridge/lib/jackson-core-2.13.0.jar
+share/jitsi-videobridge/lib/jackson-databind-2.13.0.jar
+share/jitsi-videobridge/lib/jackson-module-jakarta-xmlbind-annotations-2.13.0.jar
+share/jitsi-videobridge/lib/jackson-module-kotlin-2.12.4.jar
+share/jitsi-videobridge/lib/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar
+share/jitsi-videobridge/lib/jakarta.activation-2.0.1.jar
+share/jitsi-videobridge/lib/jakarta.annotation-api-2.1.0.jar
+share/jitsi-videobridge/lib/jakarta.inject-api-2.0.0.jar
+share/jitsi-videobridge/lib/jakarta.servlet-api-5.0.0.jar
+share/jitsi-videobridge/lib/jakarta.transaction-api-2.0.0.jar
+share/jitsi-videobridge/lib/jakarta.validation-api-3.0.0.jar
+share/jitsi-videobridge/lib/jakarta.ws.rs-api-3.0.0.jar
+share/jitsi-videobridge/lib/jakarta.xml.bind-api-3.0.1.jar
+share/jitsi-videobridge/lib/java-sdp-nist-bridge-1.2.jar
+share/jitsi-videobridge/lib/javassist-3.28.0-GA.jar
+share/jitsi-videobridge/lib/jcl-core-2.8.jar
+share/jitsi-videobridge/lib/jersey-client-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-common-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-container-jetty-http-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-container-servlet-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-container-servlet-core-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-entity-filtering-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-hk2-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-media-jaxb-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-media-json-jackson-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-server-3.0.4.jar
+share/jitsi-videobridge/lib/jersey-test-framework-core-3.0.4.jar
+share/jitsi-videobridge/lib/jetty-alpn-client-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-annotations-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-client-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-http-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-io-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-jakarta-servlet-api-5.0.2.jar
+share/jitsi-videobridge/lib/jetty-jndi-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-plus-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-proxy-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-rewrite-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-security-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-server-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-servlet-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-servlets-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-util-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-webapp-11.0.10.jar
+share/jitsi-videobridge/lib/jetty-xml-11.0.10.jar
+share/jitsi-videobridge/lib/jicoco-1.1-119-gc527d61.jar
+share/jitsi-videobridge/lib/jicoco-config-1.1-119-gc527d61.jar
+share/jitsi-videobridge/lib/jicoco-metrics-1.1-119-gc527d61.jar
+share/jitsi-videobridge/lib/jitsi-media-transform-${PKGVERSION}.jar
+share/jitsi-videobridge/lib/jitsi-metaconfig-1.0-9-g5e1b624.jar
+share/jitsi-videobridge/lib/jitsi-srtp-1.1-7-gd8d1435.jar
+share/jitsi-videobridge/lib/jitsi-utils-1.0-124-ge57838f.jar
+share/jitsi-videobridge/lib/jitsi-xmpp-extensions-1.0-59-g76a5c13.jar
+share/jitsi-videobridge/lib/jna-5.9.0.jar
+share/jitsi-videobridge/lib/jnilib-1.0-9-g45bf9f2.jar
+share/jitsi-videobridge/lib/jniwrapper-java-1.0-9-g45bf9f2.jar
+share/jitsi-videobridge/lib/jniwrapper-native-1.0-9-g45bf9f2.jar
+share/jitsi-videobridge/lib/json-simple-1.1.1.jar
+share/jitsi-videobridge/lib/jsr305-3.0.2.jar
+share/jitsi-videobridge/lib/jxmpp-core-1.0.3.jar
+share/jitsi-videobridge/lib/jxmpp-jid-1.0.3.jar
+share/jitsi-videobridge/lib/jxmpp-util-cache-1.0.3.jar
+share/jitsi-videobridge/lib/kotlin-reflect-1.6.21.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-1.6.21.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-common-1.6.21.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-jdk7-1.6.21.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-jdk8-1.6.21.jar
+share/jitsi-videobridge/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
+share/jitsi-videobridge/lib/logging.properties
+share/jitsi-videobridge/lib/minidns-core-1.0.4.jar
+share/jitsi-videobridge/lib/object-cloner-0.1.jar
+share/jitsi-videobridge/lib/objenesis-2.1.jar
+share/jitsi-videobridge/lib/osgi-resource-locator-1.0.3.jar
+share/jitsi-videobridge/lib/pcap4j-core-1.8.2.jar
+share/jitsi-videobridge/lib/pcap4j-packetfactory-static-1.8.2.jar
+share/jitsi-videobridge/lib/reflections-0.9.11.jar
+share/jitsi-videobridge/lib/rtp-${PKGVERSION}.jar
+share/jitsi-videobridge/lib/sctp-1.0-9-g45bf9f2.jar
+share/jitsi-videobridge/lib/sdp-api-1.0.jar
+share/jitsi-videobridge/lib/sentry-5.3.0.jar
+share/jitsi-videobridge/lib/simpleclient-0.16.0.jar
+share/jitsi-videobridge/lib/simpleclient_common-0.16.0.jar
+share/jitsi-videobridge/lib/simpleclient_tracer_common-0.16.0.jar
+share/jitsi-videobridge/lib/simpleclient_tracer_otel-0.16.0.jar
+share/jitsi-videobridge/lib/simpleclient_tracer_otel_agent-0.16.0.jar
+share/jitsi-videobridge/lib/slf4j-api-1.7.32.jar
+share/jitsi-videobridge/lib/slf4j-jdk14-1.7.32.jar
+share/jitsi-videobridge/lib/smack-core-4.4.6.jar
+share/jitsi-videobridge/lib/smack-extensions-4.4.6.jar
+share/jitsi-videobridge/lib/smack-im-4.4.6.jar
+share/jitsi-videobridge/lib/smack-java8-4.4.6.jar
+share/jitsi-videobridge/lib/smack-resolver-javax-4.4.6.jar
+share/jitsi-videobridge/lib/smack-sasl-javax-4.4.6.jar
+share/jitsi-videobridge/lib/smack-streammanagement-4.4.6.jar
+share/jitsi-videobridge/lib/smack-tcp-4.4.6.jar
+share/jitsi-videobridge/lib/smack-xmlparser-4.4.6.jar
+share/jitsi-videobridge/lib/smack-xmlparser-stax-4.4.6.jar
+share/jitsi-videobridge/lib/spotbugs-annotations-4.6.0.jar
+share/jitsi-videobridge/lib/videobridge.rc
+share/jitsi-videobridge/lib/websocket-core-client-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-core-common-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-core-server-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-jetty-api-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-jetty-client-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-jetty-common-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-jetty-server-11.0.10.jar
+share/jitsi-videobridge/lib/websocket-servlet-11.0.10.jar
+share/jitsi-videobridge/lib/weupnp-0.1.4.jar
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/distinfo Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2023/01/03 10:29:35 khorben Exp $
+
+BLAKE2s (jitsi-videobridge/jitsi-meet_8138.tar.gz) = 23e125bae071dd96b8ef66429139e1a1cbefcdff7220f8a3aa0368c72f203640
+SHA512 (jitsi-videobridge/jitsi-meet_8138.tar.gz) = 75b617fa44701a40a8ec609f03130e939e9d9127b56b16412f51b5adf00597db3bac562bb8751261e9ce31a7c8b15283ab45bf0ece7337d26c65dd7be133f2a8
+Size (jitsi-videobridge/jitsi-meet_8138.tar.gz) = 62336666 bytes
+BLAKE2s (jitsi-videobridge/jitsi-videobridge-java-deps-2.0.8138.tar.gz) = b45b3aa0caff93aa80311b5210dbfae17e7f570550aee619d0158f4047326b33
+SHA512 (jitsi-videobridge/jitsi-videobridge-java-deps-2.0.8138.tar.gz) =
ad1d31295171056815fcf67be1700716d558275fe6f0f7da187bcdb239a0cbf6f9b1ba2ca554f55e076ee9903c5c9ce540938a9cddc2e9cfcec214bd2ddefeb6
+Size (jitsi-videobridge/jitsi-videobridge-java-deps-2.0.8138.tar.gz) = 263397624 bytes
+SHA1 (patch-jvb_resources_jvb.sh) = 35a514a615d07f96357934ab901ca027f76bbcb8
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/files/sip-communicator.properties
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/files/sip-communicator.properties Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,1 @@
+org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
diff -r 4296443d6632 -r a83d870c5a83 chat/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh Tue Jan 03 10:29:35 2023 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-jvb_resources_jvb.sh,v 1.1 2023/01/03 10:29:35 khorben Exp $
+
+Fix quoting for additional command-line parameters
+
+--- jvb/resources/jvb.sh.orig 2023-01-03 07:37:20.457556984 +0000
++++ jvb/resources/jvb.sh
+@@ -19,4 +19,4 @@ fi
+ if [ -z "$VIDEOBRIDGE_MAX_MEMORY" ]; then VIDEOBRIDGE_MAX_MEMORY=3072m; fi
+ if [ -z "$VIDEOBRIDGE_GC_TYPE" ]; then VIDEOBRIDGE_GC_TYPE=G1GC; fi
+
+-exec java -Xmx$VIDEOBRIDGE_MAX_MEMORY $VIDEOBRIDGE_DEBUG_OPTIONS -XX:+Use$VIDEOBRIDGE_GC_TYPE -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djdk.tls.ephemeralDHKeySize=2048
$LOGGING_CONFIG_PARAM $JAVA_SYS_PROPS -cp $cp $mainClass $@
++exec java -Xmx$VIDEOBRIDGE_MAX_MEMORY $VIDEOBRIDGE_DEBUG_OPTIONS -XX:+Use$VIDEOBRIDGE_GC_TYPE -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djdk.tls.ephemeralDHKeySize=2048
$LOGGING_CONFIG_PARAM $JAVA_SYS_PROPS -cp $cp $mainClass "$@"
Home |
Main Index |
Thread Index |
Old Index