diff --git a/net-im/Makefile b/net-im/Makefile index dd2aa46f24c2..55a1cf6205bb 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -1,195 +1,196 @@ COMMENT = Instant messaging SUBDIR += 6cord SUBDIR += beebeep SUBDIR += biboumi SUBDIR += cawbird SUBDIR += centerim SUBDIR += chatterino2 SUBDIR += climm SUBDIR += coccinella SUBDIR += conduit SUBDIR += convey SUBDIR += coyim SUBDIR += cutegram SUBDIR += dendrite SUBDIR += dino SUBDIR += echat SUBDIR += ejabberd SUBDIR += farstream SUBDIR += finch SUBDIR += folks SUBDIR += fractal SUBDIR += freetalk SUBDIR += gajim SUBDIR += gitterdone SUBDIR += gloox SUBDIR += gomuks SUBDIR += gotktrix SUBDIR += gotosocial SUBDIR += icmpchat SUBDIR += icqlib SUBDIR += jabberd SUBDIR += jarl SUBDIR += jggtrans SUBDIR += jicofo SUBDIR += jitsi-meet-full SUBDIR += jitsi-prosody-plugins + SUBDIR += jitsi-srtp-native SUBDIR += jitsi-videobridge 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-gst1 SUBDIR += libpurple SUBDIR += libqtelegram-ae SUBDIR += libquotient SUBDIR += libsignal-client SUBDIR += libsignon-glib SUBDIR += libstrophe SUBDIR += licq SUBDIR += licq-icq SUBDIR += licq-jabber SUBDIR += licq-osd SUBDIR += licq-qt-gui SUBDIR += loudmouth SUBDIR += matterbridge SUBDIR += matterhorn SUBDIR += matterircd SUBDIR += mbpurple SUBDIR += mcabber SUBDIR += meanwhile SUBDIR += mikutter SUBDIR += mtxclient SUBDIR += neochat SUBDIR += nextcloud-spreed-signaling SUBDIR += nextcloud-talk SUBDIR += nheko SUBDIR += openfire SUBDIR += oysttyer SUBDIR += p5-AnyEvent-XMPP SUBDIR += p5-DJabberd SUBDIR += p5-Jabber-Lite SUBDIR += p5-Jabber-SimpleSend SUBDIR += p5-Net-AOLIM SUBDIR += p5-Net-Async-XMPP 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-bot-sentry SUBDIR += pidgin-fetion SUBDIR += pidgin-hotkeys SUBDIR += pidgin-icyque SUBDIR += pidgin-latex SUBDIR += pidgin-libnotify SUBDIR += pidgin-manualsize SUBDIR += pidgin-sipe SUBDIR += pidgin-skypeweb SUBDIR += pidgin-twitter SUBDIR += pidgin-window_merge SUBDIR += profanity SUBDIR += prosody SUBDIR += prosody-modules SUBDIR += psi SUBDIR += purple-discord SUBDIR += purple-facebook SUBDIR += purple-googlechat SUBDIR += purple-hangouts SUBDIR += purple-mattermost SUBDIR += purple-plugin-pack SUBDIR += purple-rocketchat SUBDIR += purple-slack SUBDIR += py-fbmq SUBDIR += py-matrix-synapse SUBDIR += py-nbxmpp SUBDIR += py-punjab SUBDIR += py-python-telegram-bot SUBDIR += py-slack-sdk SUBDIR += py-slackclient SUBDIR += py-slixmpp SUBDIR += py-telepot SUBDIR += py-toxcore-c SUBDIR += py-unmessage SUBDIR += qTox SUBDIR += quaternion SUBDIR += qxmpp-qt5 SUBDIR += ricochet SUBDIR += rubygem-discordrb-webhooks SUBDIR += rubygem-discordrb-webhooks-blackst0ne SUBDIR += rubygem-hipchat SUBDIR += rubygem-lita SUBDIR += rubygem-termtter SUBDIR += rubygem-tinder SUBDIR += ruqola SUBDIR += sayaka SUBDIR += scli SUBDIR += scudcloud SUBDIR += sendxmpp SUBDIR += signal-cli SUBDIR += signald SUBDIR += slack-term SUBDIR += spectral SUBDIR += ssh-chat SUBDIR += sshout SUBDIR += talkatu SUBDIR += tdlib SUBDIR += teamwords SUBDIR += telegram-cli SUBDIR += telegram-desktop SUBDIR += telegram-purple SUBDIR += telegramqml SUBDIR += telepathy-accounts-signon SUBDIR += telepathy-farstream SUBDIR += telepathy-gabble SUBDIR += telepathy-glib SUBDIR += telepathy-idle SUBDIR += telepathy-logger SUBDIR += telepathy-logger-qt5 SUBDIR += telepathy-mission-control SUBDIR += telepathy-qt SUBDIR += telepathy-salut SUBDIR += telepathy-sofiasip SUBDIR += tg_owt SUBDIR += tkabber SUBDIR += tkabber-plugins SUBDIR += toot SUBDIR += tox SUBDIR += tox_extension_messages SUBDIR += toxbot SUBDIR += toxext SUBDIR += toxic SUBDIR += toxins SUBDIR += tut SUBDIR += twirssi SUBDIR += uTox SUBDIR += vqcc-gtk SUBDIR += xmpp-client SUBDIR += yume SUBDIR += zkgroup SUBDIR += zoom .include diff --git a/net-im/jitsi-meet-full/Makefile b/net-im/jitsi-meet-full/Makefile index 8eea34dee895..528f4b69d3ed 100644 --- a/net-im/jitsi-meet-full/Makefile +++ b/net-im/jitsi-meet-full/Makefile @@ -1,16 +1,18 @@ PORTNAME= jitsi-meet-full PORTVERSION= 2.0.7287 +PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= acm@FreeBSD.org COMMENT= All components to run Jitsi Meet video conferencing USES= metaport RUN_DEPENDS+= jicofo>=1.0.877:net-im/jicofo \ jitsi-meet>=1.0.6155:www/jitsi-meet \ jitsi-prosody-plugins>=2.0.7287:net-im/jitsi-prosody-plugins \ + jitsi-srtp-native>=1.1.7:net-im/jitsi-srtp-native \ jitsi-videobridge>=2.1.681:net-im/jitsi-videobridge \ nginx>0:www/nginx .include diff --git a/net-im/jitsi-srtp-native/Makefile b/net-im/jitsi-srtp-native/Makefile new file mode 100644 index 000000000000..9bc6d6c40687 --- /dev/null +++ b/net-im/jitsi-srtp-native/Makefile @@ -0,0 +1,53 @@ +PORTNAME= jitsi +DISTVERSION= 1.1-7 +DISTVERSIONSUFFIX= -gd8d1435 +CATEGORIES= net-im java +PKGNAMESUFFIX= -srtp-native + +MAINTAINER= acm@FreeBSD.org +COMMENT= Native libraties to speed up jitsi-srtp + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le + +BUILD_DEPENDS= jitsi-videobridge>=2.1.681:net-im/jitsi-videobridge + +USES= ssl +USE_GITHUB= yes +USE_LDCONFIG= yes +GH_PROJECT= ${PORTNAME}-srtp +USE_JAVA= yes +JAVA_VERSION= 11 + +PLIST_FILES= lib/libjitsisrtp_1.1.so + +do-build: + ${MKDIR} ${WRKSRC}/target/native/javah + ${FIND} ${WRKSRC}/src/main/java/org/jitsi/srtp/crypto -name "*.java" \ + -exec ${JAVAC} \ + -classpath ${JAVAJARDIR}/jitsi-videobridge.jar \ + -h ${WRKSRC}/src/main/native \ + $$(${BASENAME} {} .java) \; + cd ${WRKSRC}/src/main/native && ${FIND} . -name "*.c" \ + -exec ${CC} ${CFLAGS} -Djitsisrtp_1_1_EXPORTS \ + -I${JAVA_HOME}/include \ + -I${JAVA_HOME}/include/freebsd \ + -I. \ + -I${OPENSSLINC} \ + -fPIC \ + -o $$(${BASENAME} {} .c).o \ + -c {} \; + cd ${WRKSRC}/src/main/native && \ + ${CC} ${CFLAGS} -fPIC -shared \ + -Wl,-soname,libjitsisrtp_1.1.so \ + -o libjitsisrtp_1.1.so *.o \ + -L${OPENSSLLIB} -lcrypto \ + -Wl,-rpath,${JAVA_HOME}/lib/server + +do-install: + ${INSTALL_LIB} ${WRKSRC}/src/main/native/libjitsisrtp_1.1.so \ + ${STAGEDIR}${PREFIX}/lib/ + +.include diff --git a/net-im/jitsi-srtp-native/distinfo b/net-im/jitsi-srtp-native/distinfo new file mode 100644 index 000000000000..40815a9d253e --- /dev/null +++ b/net-im/jitsi-srtp-native/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1653499003 +SHA256 (jitsi-jitsi-srtp-1.1-7-gd8d1435_GH0.tar.gz) = 706ea56d9edc9c197cd1255721f66ac277324752735a6ff2c47b8f809bd391c4 +SIZE (jitsi-jitsi-srtp-1.1-7-gd8d1435_GH0.tar.gz) = 55896 diff --git a/net-im/jitsi-srtp-native/pkg-descr b/net-im/jitsi-srtp-native/pkg-descr new file mode 100644 index 000000000000..00b6e5288f03 --- /dev/null +++ b/net-im/jitsi-srtp-native/pkg-descr @@ -0,0 +1,3 @@ +Native libraries required to speed-up Jitsi SRTP. + +WWW: https://github.com/jitsi/jitsi-srtp/tree/master/src/main/native