pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jitsi-videobridge: package version 2.0.5142



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Sat Oct 31 15:10:56 2020 +0100
Changeset:	3652b4305ea5cc5d46c8138ae914c8324c4f7f43

Modified Files:
	Makefile
Added Files:
	jitsi-videobridge/DESCR
	jitsi-videobridge/Makefile
	jitsi-videobridge/PLIST
	jitsi-videobridge/distinfo
	jitsi-videobridge/patches/patch-jvb_resources_jvb.sh

Log Message:
jitsi-videobridge: package version 2.0.5142

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3652b4305ea5cc5d46c8138ae914c8324c4f7f43

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |   1 +
 jitsi-videobridge/DESCR                            |   6 +
 jitsi-videobridge/Makefile                         |  53 ++++++++
 jitsi-videobridge/PLIST                            | 138 +++++++++++++++++++++
 jitsi-videobridge/distinfo                         |   7 ++
 .../patches/patch-jvb_resources_jvb.sh             |  15 +++
 6 files changed, 220 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index afb4a0d965..fc4782e239 100644
--- a/Makefile
+++ b/Makefile
@@ -1688,6 +1688,7 @@ SUBDIR+=	jgraphx
 SUBDIR+=	jicofo
 SUBDIR+=	jitsi
 SUBDIR+=	jitsi-meet
+SUBDIR+=	jitsi-videobridge
 SUBDIR+=	jlibtool
 SUBDIR+=	jmol
 SUBDIR+=	jmtpfs
diff --git a/jitsi-videobridge/DESCR b/jitsi-videobridge/DESCR
new file mode 100644
index 0000000000..9e326bd273
--- /dev/null
+++ b/jitsi-videobridge/DESCR
@@ -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 --git a/jitsi-videobridge/Makefile b/jitsi-videobridge/Makefile
new file mode 100644
index 0000000000..b0cc919104
--- /dev/null
+++ b/jitsi-videobridge/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	jitsi-videobridge
+GITHUB_TAG=	stable/jitsi-meet_5142
+DISTNAME=	jitsi-meet_5142
+PKGNAME=	${GITHUB_PROJECT}-2.0.5142
+CATEGORIES=	chat
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jitsi/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/jitsi/jitsi-videobridge/
+COMMENT=	WebRTC compatible video router or SFU
+LICENSE=	apache-2.0
+
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-stable-${DISTNAME}
+USE_TOOLS=	unzip
+USE_JAVA=	yes
+USE_JAVA2=	9
+
+TOOL_DEPENDS+=	apache-maven-[0-9]*:../../devel/apache-maven
+
+MAVEN_FLAGS+=	-DskipTests
+MAVEN_FLAGS+=	-Djavax.net.ssl.trustStore=${WRKDIR}/keystore
+MAVEN_FLAGS+=	-Djavax.net.ssl.trustStorePassword=password
+
+INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	share
+
+do-configure:
+	#XXX this assumes trusted CA certificates are in /etc/openssl/certs
+	cd ${WRKSRC} && \
+		for cert in /etc/openssl/certs/*.0; do \
+			/usr/pkg/java/openjdk11/bin/keytool -importcert \
+					-keystore ${WRKDIR}/keystore \
+					-noprompt -trustcacerts \
+					-storepass password -file "$$cert" \
+					-alias $$(basename "$$cert"); done
+
+do-build:
+	cd ${WRKSRC} && \
+		mvn package ${MAVEN_FLAGS}
+
+do-install:
+	cd ${DESTDIR}${PREFIX}/share && \
+		${UNZIP_CMD} ${WRKSRC}/jvb/target/jitsi-videobridge-2.1-SNAPSHOT-archive.zip
+	${MV} ${DESTDIR}${PREFIX}/share/jitsi-videobridge-2.1-SNAPSHOT \
+		${DESTDIR}${PREFIX}/share/jitsi-videobridge
+	${LN} -s ../share/jitsi-videobridge/jvb.sh \
+		${DESTDIR}${PREFIX}/bin/jvb
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jitsi-videobridge/PLIST b/jitsi-videobridge/PLIST
new file mode 100644
index 0000000000..497f68d178
--- /dev/null
+++ b/jitsi-videobridge/PLIST
@@ -0,0 +1,138 @@
+@comment $NetBSD$
+bin/jvb
+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-15.0.jar
+share/jitsi-videobridge/lib/aopalliance-repackaged-2.6.1.jar
+share/jitsi-videobridge/lib/bcpkix-jdk15on-1.65.jar
+share/jitsi-videobridge/lib/bcprov-jdk15on-1.65.jar
+share/jitsi-videobridge/lib/bctls-jdk15on-1.65.jar
+share/jitsi-videobridge/lib/callstats-java-sdk-5.2.0.jar
+share/jitsi-videobridge/lib/cglib-nodep-3.2.9.jar
+share/jitsi-videobridge/lib/checker-qual-2.10.0.jar
+share/jitsi-videobridge/lib/commons-codec-1.9.jar
+share/jitsi-videobridge/lib/commons-lang3-3.9.jar
+share/jitsi-videobridge/lib/concurrentlinkedhashmap-lru-1.0_jdk5.jar
+share/jitsi-videobridge/lib/config-1.3.4.jar
+share/jitsi-videobridge/lib/core-2.0.1.jar
+share/jitsi-videobridge/lib/dom4j-1.6.1.jar
+share/jitsi-videobridge/lib/error_prone_annotations-2.3.4.jar
+share/jitsi-videobridge/lib/failureaccess-1.0.1.jar
+share/jitsi-videobridge/lib/gson-2.3.1.jar
+share/jitsi-videobridge/lib/guava-28.2-jre.jar
+share/jitsi-videobridge/lib/hk2-api-2.6.1.jar
+share/jitsi-videobridge/lib/hk2-locator-2.6.1.jar
+share/jitsi-videobridge/lib/hk2-utils-2.6.1.jar
+share/jitsi-videobridge/lib/ice4j-3.0-22-g67ffceb.jar
+share/jitsi-videobridge/lib/j2objc-annotations-1.3.jar
+share/jitsi-videobridge/lib/jackson-annotations-2.10.1.jar
+share/jitsi-videobridge/lib/jackson-core-2.10.0.jar
+share/jitsi-videobridge/lib/jackson-databind-2.10.1.jar
+share/jitsi-videobridge/lib/jackson-module-jaxb-annotations-2.10.1.jar
+share/jitsi-videobridge/lib/jackson-module-kotlin-2.11.0.jar
+share/jitsi-videobridge/lib/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar
+share/jitsi-videobridge/lib/jakarta.activation-1.2.1.jar
+share/jitsi-videobridge/lib/jakarta.activation-api-1.2.1.jar
+share/jitsi-videobridge/lib/jakarta.annotation-api-1.3.5.jar
+share/jitsi-videobridge/lib/jakarta.inject-2.6.1.jar
+share/jitsi-videobridge/lib/jakarta.servlet-api-4.0.3.jar
+share/jitsi-videobridge/lib/jakarta.validation-api-2.0.2.jar
+share/jitsi-videobridge/lib/jakarta.ws.rs-api-2.1.6.jar
+share/jitsi-videobridge/lib/jakarta.xml.bind-api-2.3.2.jar
+share/jitsi-videobridge/lib/java-dogstatsd-client-2.5.jar
+share/jitsi-videobridge/lib/java-sdp-nist-bridge-1.2.jar
+share/jitsi-videobridge/lib/javassist-3.22.0-CR2.jar
+share/jitsi-videobridge/lib/javax.servlet-api-3.1.0.jar
+share/jitsi-videobridge/lib/jcip-annotations-1.0.jar
+share/jitsi-videobridge/lib/jcl-core-2.8.jar
+share/jitsi-videobridge/lib/jersey-client-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-common-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-container-jetty-http-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-container-servlet-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-container-servlet-core-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-entity-filtering-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-hk2-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-media-jaxb-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-media-json-jackson-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-server-2.30.1.jar
+share/jitsi-videobridge/lib/jersey-test-framework-core-2.30.1.jar
+share/jitsi-videobridge/lib/jetty-client-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-continuation-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-http-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-io-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-proxy-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-rewrite-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-security-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-server-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-servlet-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-servlets-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-util-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jetty-webapp-7.0.1.v20091125.jar
+share/jitsi-videobridge/lib/jetty-xml-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/jicoco-1.1-60-g3bc6ace.jar
+share/jitsi-videobridge/lib/jicoco-config-1.1-60-g3bc6ace.jar
+share/jitsi-videobridge/lib/jitsi-android-osgi-1.0-20190327.160432-3.jar
+share/jitsi-videobridge/lib/jitsi-media-transform-1.0-198-g1babb83.jar
+share/jitsi-videobridge/lib/jitsi-metaconfig-315a3cec35.jar
+share/jitsi-videobridge/lib/jitsi-srtp-1.0-33-gfe519d1.jar
+share/jitsi-videobridge/lib/jitsi-stats-1.0-4-g6d906b2.jar
+share/jitsi-videobridge/lib/jitsi-utils-1.0-60-g07c4a0b.jar
+share/jitsi-videobridge/lib/jitsi-xmpp-extensions-1.0-15-g813e4c4.jar
+share/jitsi-videobridge/lib/jna-5.5.0.jar
+share/jitsi-videobridge/lib/jnilib-1.0-4-g97f4e5e.jar
+share/jitsi-videobridge/lib/jniwrapper-java-1.0-4-g97f4e5e.jar
+share/jitsi-videobridge/lib/jniwrapper-native-1.0-4-g97f4e5e.jar
+share/jitsi-videobridge/lib/jose4j-0.5.1.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-0.6.2.jar
+share/jitsi-videobridge/lib/jxmpp-jid-0.6.2.jar
+share/jitsi-videobridge/lib/jxmpp-util-cache-0.6.2.jar
+share/jitsi-videobridge/lib/kotlin-osgi-bundle-1.3.72.jar
+share/jitsi-videobridge/lib/kotlin-reflect-1.3.72.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-1.3.72.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-common-1.3.71.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-jdk7-1.3.72.jar
+share/jitsi-videobridge/lib/kotlin-stdlib-jdk8-1.3.72.jar
+share/jitsi-videobridge/lib/kotlin-unsigned-v3.1.3.jar
+share/jitsi-videobridge/lib/libidn-1.15.jar
+share/jitsi-videobridge/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
+share/jitsi-videobridge/lib/log4j-api-2.3.jar
+share/jitsi-videobridge/lib/log4j-core-2.3.jar
+share/jitsi-videobridge/lib/logging.properties
+share/jitsi-videobridge/lib/object-cloner-0.1.jar
+share/jitsi-videobridge/lib/objenesis-2.6.jar
+share/jitsi-videobridge/lib/okhttp-3.9.1.jar
+share/jitsi-videobridge/lib/okio-1.13.0.jar
+share/jitsi-videobridge/lib/org.osgi.core-4.3.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-1.0-54-ge0d663c.jar
+share/jitsi-videobridge/lib/sctp-1.0-4-g97f4e5e.jar
+share/jitsi-videobridge/lib/sdp-api-1.0.jar
+share/jitsi-videobridge/lib/sentry-1.7.30.jar
+share/jitsi-videobridge/lib/slf4j-api-1.7.30.jar
+share/jitsi-videobridge/lib/slf4j-simple-1.6.1.jar
+share/jitsi-videobridge/lib/smack-core-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-extensions-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-im-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-java7-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-resolver-javax-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-sasl-javax-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/smack-tcp-4.2.4-47d17fc.jar
+share/jitsi-videobridge/lib/spotbugs-annotations-4.0.1.jar
+share/jitsi-videobridge/lib/tinder-1.3.0.jar
+share/jitsi-videobridge/lib/videobridge.rc
+share/jitsi-videobridge/lib/websocket-api-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/websocket-client-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/websocket-common-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/websocket-server-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/websocket-servlet-9.4.15.v20190215.jar
+share/jitsi-videobridge/lib/weupnp-0.1.4.jar
+share/jitsi-videobridge/lib/xml-apis-1.0.b2.jar
+share/jitsi-videobridge/lib/xmlpull-1.1.3.4a.jar
+share/jitsi-videobridge/lib/xpp3-1.1.4c.jar
diff --git a/jitsi-videobridge/distinfo b/jitsi-videobridge/distinfo
new file mode 100644
index 0000000000..1fdf086f02
--- /dev/null
+++ b/jitsi-videobridge/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (jitsi-videobridge/jitsi-meet_5142.tar.gz) = cded7d680d5a99d2953367080709735f9c20c082
+RMD160 (jitsi-videobridge/jitsi-meet_5142.tar.gz) = a9fc7cc9da75097ef654c147179c3f1e374d60bc
+SHA512 (jitsi-videobridge/jitsi-meet_5142.tar.gz) = e8a992c7219d535c21c32f7f99a0c230c8bbe3acf9f1992dfc9bc56c534b17d77226b8dc0f28371f3f6c8b6cdf9dee465eef613859db93dd0580b136f1009e44
+Size (jitsi-videobridge/jitsi-meet_5142.tar.gz) = 282832 bytes
+SHA1 (patch-jvb_resources_jvb.sh) = 125c075bb639dcbfec9a5cf745d95799620cf26f
diff --git a/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh b/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh
new file mode 100644
index 0000000000..bf17a14356
--- /dev/null
+++ b/jitsi-videobridge/patches/patch-jvb_resources_jvb.sh
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Remove requirement on bash.
+
+--- jvb/resources/jvb.sh.orig	2020-10-13 19:37:04.000000000 +0000
++++ jvb/resources/jvb.sh
+@@ -1,6 +1,6 @@
+-#!/bin/bash
++#!/bin/sh
+ 
+-if [[ "$1" == "--help"  || $# -lt 1 ]]; then
++if [ "$1" = "--help" -o $# -lt 1 ]; then
+     echo -e "Usage:"
+     echo -e "$0 [OPTIONS], where options can be:"
+     echo -e "\t--apis=APIS where APIS is a comma separated list of APIs to enable. Currently the only supported API is 'rest'. The default is none."


Home | Main Index | Thread Index | Old Index