pkgsrc-WIP-changes archive

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

jicofo: package version 644



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Sat Oct 31 08:32:57 2020 +0100
Changeset:	205f0e27b94647369875f622983ae9a5aa006415

Modified Files:
	Makefile
Added Files:
	jicofo/DESCR
	jicofo/Makefile
	jicofo/PLIST
	jicofo/distinfo
	jicofo/patches/patch-resources_jicofo.sh

Log Message:
jicofo: package version 644

JItsi COnference FOcus is a server side focus component used in Jitsi Meet
conferences.

Conference focus is mandatory component of Jitsi Meet conferencing system next
to the videobridge. It is responsible for managing media sessions between each
of the participants and the videobridge. Whenever new conference is about to
start an IQ is sent to the component to allocate new focus instance. After that
special focus participant joins Multi User Chat room. It will be creating
Jingle session between Jitsi videobridge and the participant. Although the
session in terms of XMPP is between focus user and participant the media will
flow between participant and the videobridge. That's because focus user will
allocate Colibri channels on the bridge and use them as its own Jingle
transport.

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

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

diffstat:
 Makefile                                 |   1 +
 jicofo/DESCR                             |  13 +++
 jicofo/Makefile                          |  53 ++++++++++++
 jicofo/PLIST                             | 133 +++++++++++++++++++++++++++++++
 jicofo/distinfo                          |   7 ++
 jicofo/patches/patch-resources_jicofo.sh |  15 ++++
 6 files changed, 222 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0b1fa1d494..58d002c6bb 100644
--- a/Makefile
+++ b/Makefile
@@ -1685,6 +1685,7 @@ SUBDIR+=	jetbrains-mono-ttf
 SUBDIR+=	jfsw-git
 SUBDIR+=	jgloss
 SUBDIR+=	jgraphx
+SUBDIR+=	jicofo
 SUBDIR+=	jitsi
 SUBDIR+=	jitsi-meet
 SUBDIR+=	jlibtool
diff --git a/jicofo/DESCR b/jicofo/DESCR
new file mode 100644
index 0000000000..a0d1cf5fa6
--- /dev/null
+++ b/jicofo/DESCR
@@ -0,0 +1,13 @@
+JItsi COnference FOcus is a server side focus component used in Jitsi Meet
+conferences.
+
+Conference focus is mandatory component of Jitsi Meet conferencing system next
+to the videobridge. It is responsible for managing media sessions between each
+of the participants and the videobridge. Whenever new conference is about to
+start an IQ is sent to the component to allocate new focus instance. After that
+special focus participant joins Multi User Chat room. It will be creating
+Jingle session between Jitsi videobridge and the participant. Although the
+session in terms of XMPP is between focus user and participant the media will
+flow between participant and the videobridge. That's because focus user will
+allocate Colibri channels on the bridge and use them as its own Jingle
+transport.
diff --git a/jicofo/Makefile b/jicofo/Makefile
new file mode 100644
index 0000000000..694dee2547
--- /dev/null
+++ b/jicofo/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	jicofo
+DISTNAME=	644
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	chat
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jitsi/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/jitsi/jicofo/
+COMMENT=	Server side focus component used in Jitsi Meet conferences
+LICENSE=	apache-2.0
+
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
+USE_TOOLS=	unzip
+USE_JAVA=	yes
+USE_JAVA2=	9
+
+TOOL_DEPENDS+=	apache-maven-[0-9]*:../../devel/apache-maven
+
+MAVEN_FLAGS+=	-DskipTests
+MAVEN_FLAGS+=	-Dassembly.skipAssembly=false
+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}/target/jicofo-1.1-SNAPSHOT-archive.zip
+	${MV} ${DESTDIR}${PREFIX}/share/jicofo-1.1-SNAPSHOT \
+		${DESTDIR}${PREFIX}/share/jicofo
+	${LN} -s ../share/jicofo/jicofo.sh \
+		${DESTDIR}${PREFIX}/bin/jicofo
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jicofo/PLIST b/jicofo/PLIST
new file mode 100644
index 0000000000..d01ffb34cf
--- /dev/null
+++ b/jicofo/PLIST
@@ -0,0 +1,133 @@
+@comment $NetBSD$
+bin/jicofo
+share/jicofo/jicofo.bat
+share/jicofo/jicofo.jar
+share/jicofo/jicofo.sh
+share/jicofo/lib/agafua-syslog-0.4.jar
+share/jicofo/lib/annotations-15.0.jar
+share/jicofo/lib/aopalliance-repackaged-2.6.1.jar
+share/jicofo/lib/bccontrib-1.0.jar
+share/jicofo/lib/bcpkix-jdk15on-1.54.jar
+share/jicofo/lib/bcprov-jdk15on-1.54.jar
+share/jicofo/lib/cglib-nodep-2.2.jar
+share/jicofo/lib/checker-qual-2.11.1.jar
+share/jicofo/lib/commons-codec-1.6.jar
+share/jicofo/lib/commons-lang3-3.1.jar
+share/jicofo/lib/commons-logging-1.2.jar
+share/jicofo/lib/concurrentlinkedhashmap-lru-1.0_jdk5.jar
+share/jicofo/lib/config-1.3.4.jar
+share/jicofo/lib/core-2.0.1.jar
+share/jicofo/lib/dnsjava-2.1.7.jar
+share/jicofo/lib/dom4j-1.6.1.jar
+share/jicofo/lib/error_prone_annotations-2.3.4.jar
+share/jicofo/lib/failureaccess-1.0.1.jar
+share/jicofo/lib/fmj-1.0-20190327.151046-25.jar
+share/jicofo/lib/guava-29.0-jre.jar
+share/jicofo/lib/hk2-api-2.6.1.jar
+share/jicofo/lib/hk2-locator-2.6.1.jar
+share/jicofo/lib/hk2-utils-2.6.1.jar
+share/jicofo/lib/httpclient-4.4.1.jar
+share/jicofo/lib/httpcore-4.4.1.jar
+share/jicofo/lib/ice4j-3.0-21-g3a55627.jar
+share/jicofo/lib/j2objc-annotations-1.3.jar
+share/jicofo/lib/jackson-annotations-2.10.1.jar
+share/jicofo/lib/jackson-core-2.10.0.jar
+share/jicofo/lib/jackson-databind-2.10.1.jar
+share/jicofo/lib/jackson-module-jaxb-annotations-2.10.1.jar
+share/jicofo/lib/jain-sip-ri-ossonly-1.2.98c7f8c-jitsi-oss1.jar
+share/jicofo/lib/jakarta.activation-1.2.1.jar
+share/jicofo/lib/jakarta.activation-api-1.2.1.jar
+share/jicofo/lib/jakarta.annotation-api-1.3.5.jar
+share/jicofo/lib/jakarta.inject-2.6.1.jar
+share/jicofo/lib/jakarta.validation-api-2.0.2.jar
+share/jicofo/lib/jakarta.ws.rs-api-2.1.6.jar
+share/jicofo/lib/jakarta.xml.bind-api-2.3.2.jar
+share/jicofo/lib/java-dogstatsd-client-2.5.jar
+share/jicofo/lib/java-sdp-nist-bridge-1.1.jar
+share/jicofo/lib/javassist-3.22.0-CR2.jar
+share/jicofo/lib/javax.servlet-api-3.1.0.jar
+share/jicofo/lib/jbosh-0.9.2.jar
+share/jicofo/lib/jcip-annotations-1.0.jar
+share/jicofo/lib/jcl-core-2.8.jar
+share/jicofo/lib/jersey-client-2.30.1.jar
+share/jicofo/lib/jersey-common-2.30.1.jar
+share/jicofo/lib/jersey-container-jetty-http-2.30.1.jar
+share/jicofo/lib/jersey-container-servlet-2.30.1.jar
+share/jicofo/lib/jersey-container-servlet-core-2.30.1.jar
+share/jicofo/lib/jersey-entity-filtering-2.30.1.jar
+share/jicofo/lib/jersey-hk2-2.30.1.jar
+share/jicofo/lib/jersey-media-jaxb-2.30.1.jar
+share/jicofo/lib/jersey-media-json-jackson-2.30.1.jar
+share/jicofo/lib/jersey-server-2.30.1.jar
+share/jicofo/lib/jetty-client-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-continuation-9.4.17.v20190418.jar
+share/jicofo/lib/jetty-http-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-io-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-proxy-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-security-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-server-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-servlet-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-util-9.4.15.v20190215.jar
+share/jicofo/lib/jetty-webapp-7.0.1.v20091125.jar
+share/jicofo/lib/jetty-xml-7.0.1.v20091125.jar
+share/jicofo/lib/jicoco-1.1-58-g13ed16a.jar
+share/jicofo/lib/jicoco-config-1.1-58-g13ed16a.jar
+share/jicofo/lib/jitsi-android-osgi-1.0-20180322.162617-2.jar
+share/jicofo/lib/jitsi-configuration-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-credentialsstorage-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-dnsservice-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-metaconfig-c3d8c51747.jar
+share/jicofo/lib/jitsi-netaddr-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-protocol-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-protocol-jabber-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-protocol-media-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-util-2.13.cb5485e.jar
+share/jicofo/lib/jitsi-utils-1.0-60-g07c4a0b.jar
+share/jicofo/lib/jitsi-xmpp-extensions-1.0-15-g813e4c4.jar
+share/jicofo/lib/jna-5.5.0.jar
+share/jicofo/lib/jnsapi-0.0.3-jitsi-smack4.2-3.jar
+share/jicofo/lib/json-simple-1.1.1.jar
+share/jicofo/lib/jsr305-3.0.2.jar
+share/jicofo/lib/jxmpp-core-0.6.2.jar
+share/jicofo/lib/jxmpp-jid-0.6.2.jar
+share/jicofo/lib/jxmpp-util-cache-0.6.2.jar
+share/jicofo/lib/kotlin-osgi-bundle-1.3.72.jar
+share/jicofo/lib/kotlin-reflect-1.3.72.jar
+share/jicofo/lib/kotlin-stdlib-1.3.72.jar
+share/jicofo/lib/kotlin-stdlib-common-1.3.71.jar
+share/jicofo/lib/kotlin-stdlib-jdk7-1.3.72.jar
+share/jicofo/lib/kotlin-stdlib-jdk8-1.3.72.jar
+share/jicofo/lib/libidn-1.15.jar
+share/jicofo/lib/libjitsi-1.0-0-gb3296cf.jar
+share/jicofo/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
+share/jicofo/lib/logging.properties
+share/jicofo/lib/object-cloner-0.1.jar
+share/jicofo/lib/objenesis-2.6.jar
+share/jicofo/lib/orange-extensions-1.3.0.jar
+share/jicofo/lib/org.apache.felix.framework-4.4.0.jar
+share/jicofo/lib/org.apache.felix.main-4.4.0.jar
+share/jicofo/lib/org.osgi.core-4.3.1.jar
+share/jicofo/lib/osgi-resource-locator-1.0.3.jar
+share/jicofo/lib/reflections-0.9.11.jar
+share/jicofo/lib/sdes4j-1.1.3.jar
+share/jicofo/lib/sdp-api-1.0.jar
+share/jicofo/lib/sentry-1.7.30.jar
+share/jicofo/lib/slf4j-api-1.7.26.jar
+share/jicofo/lib/slf4j-jdk14-1.7.26.jar
+share/jicofo/lib/smack-bosh-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-core-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-debug-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-experimental-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-extensions-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-im-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-java7-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-legacy-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-resolver-javax-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-sasl-javax-4.2.4-47d17fc.jar
+share/jicofo/lib/smack-tcp-4.2.4-47d17fc.jar
+share/jicofo/lib/tinder-1.3.0.jar
+share/jicofo/lib/weupnp-0.1.4.jar
+share/jicofo/lib/xml-apis-1.0.b2.jar
+share/jicofo/lib/xmlpull-1.1.3.4a.jar
+share/jicofo/lib/xpp3-1.1.4c.jar
+share/jicofo/lib/zrtp4j-light-4.1.0-jitsi-1-20190327.161225-1.jar
diff --git a/jicofo/distinfo b/jicofo/distinfo
new file mode 100644
index 0000000000..8e48793e6a
--- /dev/null
+++ b/jicofo/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (jicofo/644.tar.gz) = af3dd273553f6c9956ea42cdad44624efb99848f
+RMD160 (jicofo/644.tar.gz) = c627f480002f81189868117a7ff412513dfebc0b
+SHA512 (jicofo/644.tar.gz) = 77cccfa0ba28e845d04e74a95289344ed08a04b2bdf59d87e9f01801e1222b0446509f491d08e8169595c9fe6f7c0e56494b25c57321c0bc831fdfab018ef27d
+Size (jicofo/644.tar.gz) = 277128 bytes
+SHA1 (patch-resources_jicofo.sh) = a73a0f4c731ec59db72d56f87f562b224bddff7f
diff --git a/jicofo/patches/patch-resources_jicofo.sh b/jicofo/patches/patch-resources_jicofo.sh
new file mode 100644
index 0000000000..d297f47f5e
--- /dev/null
+++ b/jicofo/patches/patch-resources_jicofo.sh
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Remove requirement on bash.
+
+--- resources/jicofo.sh.orig	2020-10-13 17:13:04.000000000 +0000
++++ resources/jicofo.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--host=HOST\t sets the hostname of the XMPP server (default: domain, if domain is set, localhost otherwise)"


Home | Main Index | Thread Index | Old Index