Index: head/net-im/Makefile =================================================================== --- head/net-im/Makefile (revision 532989) +++ head/net-im/Makefile (revision 532990) @@ -1,198 +1,199 @@ # $FreeBSD$ # COMMENT = Instant messaging SUBDIR += 6cord SUBDIR += beebeep SUBDIR += centerim SUBDIR += centerim-devel SUBDIR += chattahoochie SUBDIR += climm SUBDIR += coccinella SUBDIR += convey SUBDIR += corebird SUBDIR += coyim SUBDIR += cutegram SUBDIR += diligent SUBDIR += dino SUBDIR += echat SUBDIR += ejabberd SUBDIR += ekiga SUBDIR += empathy SUBDIR += farsight2 SUBDIR += farstream SUBDIR += finch SUBDIR += folks SUBDIR += fractal SUBDIR += freetalk SUBDIR += fugu SUBDIR += gajim SUBDIR += gitterdone SUBDIR += gloox SUBDIR += icmpchat SUBDIR += icqlib SUBDIR += jabber.el SUBDIR += jabberd SUBDIR += jarl SUBDIR += jggtrans + SUBDIR += jicofo SUBDIR += jitsi SUBDIR += kaccounts-integration SUBDIR += kaccounts-providers SUBDIR += kaidan SUBDIR += kde-telepathy SUBDIR += kopete SUBDIR += ktp-accounts-kcm SUBDIR += ktp-approver SUBDIR += ktp-auth-handler SUBDIR += ktp-call-ui SUBDIR += ktp-common-internals SUBDIR += ktp-contact-list SUBDIR += ktp-contact-runner SUBDIR += ktp-desktop-applets SUBDIR += ktp-filetransfer-handler SUBDIR += ktp-kded-module SUBDIR += ktp-send-file SUBDIR += ktp-text-ui SUBDIR += libaccounts-glib SUBDIR += libaccounts-qt5 SUBDIR += libmesode SUBDIR += libnice SUBDIR += libnice-gst010 SUBDIR += libnice-gst1 SUBDIR += libpurple SUBDIR += libqmatrixclient SUBDIR += libqtelegram-ae SUBDIR += libsignon-glib SUBDIR += libstrophe SUBDIR += libtelepathy SUBDIR += licq SUBDIR += licq-icq SUBDIR += licq-jabber SUBDIR += licq-osd SUBDIR += licq-qt-gui SUBDIR += linux-telegram-desktop SUBDIR += loudmouth SUBDIR += matterbridge SUBDIR += matterhorn SUBDIR += matterircd SUBDIR += mbpurple SUBDIR += mcabber SUBDIR += meanwhile SUBDIR += mikutter SUBDIR += mtxclient SUBDIR += mu-conference SUBDIR += nextcloud-talk SUBDIR += nheko SUBDIR += openfire SUBDIR += oysttyer SUBDIR += p5-AnyEvent-XMPP SUBDIR += p5-DJabberd SUBDIR += p5-Jabber-Connection SUBDIR += p5-Jabber-Lite SUBDIR += p5-Jabber-SimpleSend SUBDIR += p5-Net-AOLIM SUBDIR += p5-Net-Async-XMPP SUBDIR += p5-Net-ICQ2000 SUBDIR += p5-Net-Jabber SUBDIR += p5-Net-NetSend SUBDIR += p5-Net-OSCAR SUBDIR += p5-Net-Stomp SUBDIR += p5-Net-XMPP SUBDIR += p5-Net-XMPP2 SUBDIR += p5-Protocol-XMPP SUBDIR += p5-SOAP-Transport-JABBER SUBDIR += pecl-stomp2 SUBDIR += pidgin SUBDIR += pidgin-bs SUBDIR += pidgin-fetion SUBDIR += pidgin-guifications SUBDIR += pidgin-hotkeys SUBDIR += pidgin-icyque SUBDIR += pidgin-latex SUBDIR += pidgin-libnotify SUBDIR += pidgin-manualsize SUBDIR += pidgin-osd SUBDIR += pidgin-rocketchat SUBDIR += pidgin-sipe SUBDIR += pidgin-skypeweb SUBDIR += pidgin-twitter SUBDIR += pidgin-window_merge SUBDIR += profanity SUBDIR += prosody SUBDIR += prosody-modules SUBDIR += proxy65 SUBDIR += psi SUBDIR += purple-discord SUBDIR += purple-facebook SUBDIR += purple-hangouts SUBDIR += purple-slack SUBDIR += py-fbmq SUBDIR += py-matrix-synapse SUBDIR += py-nbxmpp SUBDIR += py-punjab SUBDIR += py-python-telegram-bot SUBDIR += py-skype4py SUBDIR += py-slackclient SUBDIR += py-sleekxmpp SUBDIR += py-slixmpp SUBDIR += py-telepot SUBDIR += py-toxcore-c SUBDIR += py-unmessage SUBDIR += py-xmpppy SUBDIR += qTox SUBDIR += quaternion SUBDIR += qxmpp-qt5 SUBDIR += ricochet SUBDIR += rubygem-discordrb-webhooks-blackst0ne SUBDIR += rubygem-hipchat SUBDIR += rubygem-lita SUBDIR += rubygem-termtter SUBDIR += rubygem-tinder SUBDIR += ruqola SUBDIR += sayaka SUBDIR += scudcloud SUBDIR += sendxmpp SUBDIR += signal-cli SUBDIR += slack-term SUBDIR += spectral SUBDIR += ssh-chat SUBDIR += sshout SUBDIR += talkatu SUBDIR += teamwords SUBDIR += telegram SUBDIR += telegram-desktop SUBDIR += telegram-purple SUBDIR += telegramqml SUBDIR += telepathy-accounts-signon SUBDIR += telepathy-farsight SUBDIR += telepathy-farstream SUBDIR += telepathy-gabble SUBDIR += telepathy-glib SUBDIR += telepathy-haze SUBDIR += telepathy-idle SUBDIR += telepathy-logger SUBDIR += telepathy-logger-qt5 SUBDIR += telepathy-mission-control SUBDIR += telepathy-python SUBDIR += telepathy-qt SUBDIR += telepathy-rakia SUBDIR += telepathy-salut SUBDIR += telepathy-sofiasip SUBDIR += tkabber SUBDIR += tkabber-plugins SUBDIR += toot SUBDIR += tox SUBDIR += toxbot SUBDIR += toxic SUBDIR += toxins SUBDIR += tut SUBDIR += twirssi SUBDIR += twitmail SUBDIR += uTox SUBDIR += vqcc-gtk SUBDIR += xmpp-client SUBDIR += yoono SUBDIR += zephyr .include Index: head/net-im/jicofo/Makefile =================================================================== --- head/net-im/jicofo/Makefile (nonexistent) +++ head/net-im/jicofo/Makefile (revision 532990) @@ -0,0 +1,64 @@ +# $FreeBSD$ + +PORTNAME= jicofo +DISTVERSION= 1.0-555 +CATEGORIES= net-im java + +MAINTAINER= acm@FreeBSD.org +COMMENT= Server side focus component used in Jitsi Meet conferences + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${LOCALBASE}/share/java/maven/bin/mvn:devel/maven + +ONLY_FOR_ARCHS= i386 amd64 + +USE_GITHUB= yes +GH_ACCOUNT= jitsi +GH_PROJECT= jicofo +GH_TAGNAME= ec1b29e +USE_JAVA= yes + +USE_RC_SUBR= ${PORTNAME} +SUB_FILES+= pkg-message +ETCDIR= ${PREFIX}/etc/jitsi/jicofo + +DEV_UPDATE_MODE= no + +.if (${DEV_UPDATE_MODE} == "yes") +post-build: + @cd ${WRKDIR} && ${TAR} czf ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX} m2 + @${ECHO} "(!!!) Please upload the maven deps archive: ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}" +.else +MASTER_SITES+= LOCAL/acm/:maven +DISTFILES+= ${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}:maven +MAVEN_ARGS= --offline +.endif + +MAVEN_ARGS+= -DskipTests -Dassembly.skipAssembly=false +MAVEN_REPO= -Dmaven.repo.local=${WRKDIR}/m2 + +do-build: + cd ${WRKSRC}; \ + ${SETENV} mvn ${MAVEN_REPO} ${MAVEN_ARGS} package + +do-install: + @${MKDIR} ${STAGEDIR}${ETCDIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/lib + cd ${WRKSRC}/lib \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/lib/{} \; + + @(echo "JVB_XMPP_HOST=localhost"; \ + echo "JVB_XMPP_DOMAIN=jitsi.example.com"; \ + echo "JVB_XMPP_PORT=5347"; \ + echo "JVB_XMPP_SECRET=YOURSECRET3"; \ + echo "JVB_XMPP_USER_DOMAIN=auth.jitsi.example.com"; \ + echo "JVB_XMPP_USER_NAME=focus"; \ + echo "JVB_XMPP_USER_SECRET=YOURSECRET3"; \ + echo ""; \ + echo "MAX_MEMORY=3072m"; \ + ) > ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample + + ${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-1.1-SNAPSHOT-jar-with-dependencies.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + +.include Property changes on: head/net-im/jicofo/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/jicofo/distinfo =================================================================== --- head/net-im/jicofo/distinfo (nonexistent) +++ head/net-im/jicofo/distinfo (revision 532990) @@ -0,0 +1,5 @@ +TIMESTAMP = 1587854975 +SHA256 (jicofo-1.0-555-deps.tar.gz) = 25cb5f8263922415c07f83daf4b4c3d3ff387f0344fda9bfdf4787d4951c4b88 +SIZE (jicofo-1.0-555-deps.tar.gz) = 122309690 +SHA256 (jitsi-jicofo-1.0-555-ec1b29e_GH0.tar.gz) = 6d0222aebdff1d32397d462b97f12c190505e5526fb8a140944192f6685264ca +SIZE (jitsi-jicofo-1.0-555-ec1b29e_GH0.tar.gz) = 291752 Property changes on: head/net-im/jicofo/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/jicofo/files/jicofo.in =================================================================== --- head/net-im/jicofo/files/jicofo.in (nonexistent) +++ head/net-im/jicofo/files/jicofo.in (revision 532990) @@ -0,0 +1,87 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: jicofo +# REQUIRE: NETWORKING SERVERS +# KEYWORD: shutdown +# +# Configuration settings for jicofo in /etc/rc.conf: +# +# + +. /etc/rc.subr + +name="jicofo" +rcvar=${name}_enable + +jicofo_env_file="/usr/local/etc/jicofo.conf" +jicofo_jar="%%JAVAJARDIR%%/jicofo.jar" +jicofo_logging_config="%%DATADIR%%/lib/logging.properties" + +load_rc_config "${name}" + +: ${jicofo_enable="NO"} +: ${jicofo_flags=""} + +command="%%LOCALBASE%%/bin/java" +pidfile="/var/run/jicofo.pid" +required_files="${jicofo_env_file} %%LOCALBASE%%/etc/ssl/java.pem" + +start_cmd=${name}_start +stop_cmd=${name}_stop +status_cmd=${name}_status +restart_cmd=${name}_restart + +jicofo_start() +{ + daemon -p ${pidfile} -o /var/log/${name}.log ${command} -Xmx${MAX_MEMORY} \ + -XX:+HeapDumpOnOutOfMemoryError \ + -XX:HeapDumpPath=/tmp \ + -Djava.util.logging.config.file=${jicofo_logging_config} \ + -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=%%LOCALBASE%%/etc/jitsi \ + -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo \ + -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/ \ + -Djavax.net.ssl.trustStore=%%LOCALBASE%%/etc/ssl/java.pem \ + -cp ${jicofo_jar} \ + org.jitsi.jicofo.Main \ + --host=${JVB_XMPP_HOST} \ + --domain=${JVB_XMPP_DOMAIN} \ + --port=${JVB_XMPP_PORT} \ + --secret=${JVB_XMPP_SECRET} \ + --user_domain=${JVB_XMPP_USER_DOMAIN} \ + --user_name=${JVB_XMPP_USER_NAME} \ + --user_password=${JVB_XMPP_USER_SECRET} ${jicofo_flags} + echo "Started" +} + +jicofo_stop() +{ + if [ -f ${pidfile} ] + then + kill `cat ${pidfile}` + rm ${pidfile} + echo "Stopped" + fi +} + +jicofo_status() +{ + # If running, show pid + if [ -f ${pidfile} ] + then + echo "${name} is running as pid" `cat ${pidfile}` + else + echo "${name} is not running" + fi +} + +jicofo_restart() +{ + echo "Performing restart" + jicofo_stop + sleep 5 + jicofo_start +} + +run_rc_command "$1" Property changes on: head/net-im/jicofo/files/jicofo.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/jicofo/files/pkg-message.in =================================================================== --- head/net-im/jicofo/files/pkg-message.in (nonexistent) +++ head/net-im/jicofo/files/pkg-message.in (revision 532990) @@ -0,0 +1,30 @@ +[ +{ type: install + message: <= 12.x + +5) Enjoy it +EOM +} +] Property changes on: head/net-im/jicofo/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/jicofo/pkg-descr =================================================================== --- head/net-im/jicofo/pkg-descr (nonexistent) +++ head/net-im/jicofo/pkg-descr (revision 532990) @@ -0,0 +1,4 @@ +JItsi COnference FOcus is a server side focus component used in Jitsi Meet +conferences. + +WWW: https://github.com/jitsi/jicofo/ Property changes on: head/net-im/jicofo/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/jicofo/pkg-plist =================================================================== --- head/net-im/jicofo/pkg-plist (nonexistent) +++ head/net-im/jicofo/pkg-plist (revision 532990) @@ -0,0 +1,3 @@ +@sample %%ETCDIR%%/jicofo.conf.sample +%%JAVAJARDIR%%/jicofo.jar +%%DATADIR%%/lib/logging.properties Property changes on: head/net-im/jicofo/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property