FreeBSD Bugzilla – Attachment 234214 Details for
Bug 264243
net-im/jitsi-srtp-native: Native SSL for jitsi-srtp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to create new port net-im/jitsi-srtp-native. Suitable to be consumed with `git am`.
0001-net-im-jitsi-srtp-native-Native-SSL-for-jitsi-srtp.patch (text/plain), 4.00 KB, created by
Michael Gmelin
on 2022-05-25 18:40:37 UTC
(
hide
)
Description:
Patch to create new port net-im/jitsi-srtp-native. Suitable to be consumed with `git am`.
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2022-05-25 18:40:37 UTC
Size:
4.00 KB
patch
obsolete
>From 0a28c8033f489cb87233375d8c1cf633cf29dedf Mon Sep 17 00:00:00 2001 >From: Michael Gmelin <grembo@FreeBSD.org> >Date: Wed, 25 May 2022 20:05:58 +0200 >Subject: [PATCH] net-im/jitsi-srtp-native: Native SSL for jitsi-srtp > >This improves net-im/jitsi-videobridge performance. >--- > net-im/Makefile | 1 + > net-im/jitsi-meet-full/Makefile | 2 ++ > net-im/jitsi-srtp-native/Makefile | 53 ++++++++++++++++++++++++++++++ > net-im/jitsi-srtp-native/distinfo | 3 ++ > net-im/jitsi-srtp-native/pkg-descr | 3 ++ > 5 files changed, 62 insertions(+) > create mode 100644 net-im/jitsi-srtp-native/Makefile > create mode 100644 net-im/jitsi-srtp-native/distinfo > create mode 100644 net-im/jitsi-srtp-native/pkg-descr > >diff --git a/net-im/Makefile b/net-im/Makefile >index 488cc4aba..645a53e26 100644 >--- a/net-im/Makefile >+++ b/net-im/Makefile >@@ -35,6 +35,7 @@ > SUBDIR += jicofo > SUBDIR += jitsi-meet-full > SUBDIR += jitsi-prosody-plugins >+ SUBDIR += jitsi-srtp-native > SUBDIR += jitsi-videobridge > SUBDIR += kaccounts-integration > SUBDIR += kaccounts-providers >diff --git a/net-im/jitsi-meet-full/Makefile b/net-im/jitsi-meet-full/Makefile >index 5974cdd76..82a38cb87 100644 >--- a/net-im/jitsi-meet-full/Makefile >+++ b/net-im/jitsi-meet-full/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= jitsi-meet-full > PORTVERSION= 2.0.7287 >+PORTREVISION= 1 > CATEGORIES= net-im > > MAINTAINER= grembo@FreeBSD.org >@@ -10,6 +11,7 @@ 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 > >diff --git a/net-im/jitsi-srtp-native/Makefile b/net-im/jitsi-srtp-native/Makefile >new file mode 100644 >index 000000000..9bc6d6c40 >--- /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 <bsd.port.mk> >diff --git a/net-im/jitsi-srtp-native/distinfo b/net-im/jitsi-srtp-native/distinfo >new file mode 100644 >index 000000000..40815a9d2 >--- /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 000000000..00b6e5288 >--- /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 >-- >2.35.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264243
: 234214