From nobody Sat Jun 18 06:59:42 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3BF93859EDE; Sat, 18 Jun 2022 06:59:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQ6Gl0LQvz3h8m; Sat, 18 Jun 2022 06:59:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655535583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K+o4MppwV0FHvSVTs+HpyezA3UgZ3fHWhxIcRumzHdU=; b=U/GcJV90Iq2iUyFRfOHxqDoJvgY4PtsCl+oLjGEeJfWJbi0l1UHTnM8zNAAdZuzrf0kmpD idrSXgA0SgCZpCyBEivwsKvn3EDJMV52w4NlCiMh41MSPbOd6hM926hHY97kipCxF3EdZJ OpX3phrnOL9AYLKm+Se/bXyTRKMsrsOv++CfvBhoJBeBeNfbab0c+KEeXwU7wHFUR9yilA LxbixxbGDWrb+Gp6IZz2hveIZGyPbSGEH6ysqfmta0poFwWVIQXROUSRrQAiK8iq6J0B06 lGq434iOpT3luMMvXxDDNBX9LyHD6cFD+gw1Pp+fNOnEH5a/xc9x1DOZh7Qnog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D86397D09; Sat, 18 Jun 2022 06:59:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25I6xgTx040049; Sat, 18 Jun 2022 06:59:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25I6xgAn040048; Sat, 18 Jun 2022 06:59:42 GMT (envelope-from git) Date: Sat, 18 Jun 2022 06:59:42 GMT Message-Id: <202206180659.25I6xgAn040048@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 6bbcfea9bcb4 - main - net-im/jitsi-srtp-native: New port: Native libraties to speed up jitsi-srtp List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6bbcfea9bcb415be236e2670ad99c4cef5eb6ff9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655535583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K+o4MppwV0FHvSVTs+HpyezA3UgZ3fHWhxIcRumzHdU=; b=EgSgZLtvmnAA530d3JSrKZOseL7nlA6c2nFy8UMXrkECWsyUyvQrrhckPSgpeMW4TA0TXd vIaNBbKTKlGR/I0W86hUGo8vQW2yEPCvMb+HbaMFB4QFWrWOqa27cbwR1ORd6WmGZ59vds hlMQbih+0pQVSCoHpCqO78qfNucCpwrMMl/2R4gVYMhA/vyu1XMDTm451p/adpPpnaER7R JQkLTuQPjTgK9EOeR+Qe1xuVtvoTh3xSOWCWUv8nlgnmNT4MRm5f4KNnwnoovHyDCYDc/e B4b2wIn2zCf/3D9rJfRkCig19S+f1beqsxfY5ZeprpzSqxLGeim8P6CU6nkwmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655535583; a=rsa-sha256; cv=none; b=yDpduGXUSj9dW8nhiT+NVfmeNNtiKWilRJRcEHDgnJK18UT9JSFi9IhkBQ8DDCi4xLbcwi usZwoNZ4DBLXua41oKtpMcWbMB/Udto9iz+A3lbdbp8mYvMV3xxfe1/XLnGFaB3Tb5Vpb5 QlISnbT9dDV/BUd6KymFV+IhPPkqnc6ijPW4mZB0BMjOr26ZG14FV7kxz4T5sukspWTt6x nFWzgBf4OR8lxhg9hopQWuybZKFWiuvyhR92H8LY0BSmwfaO2R5qZLecKWiJAhVkHmG/QV G9vI7x/Ye6QC3TNrjtmX5GvlxfoxyF2jAgxX08OL8nPtrE4E5Urz4HP9x1tDXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bbcfea9bcb415be236e2670ad99c4cef5eb6ff9 commit 6bbcfea9bcb415be236e2670ad99c4cef5eb6ff9 Author: Michael Gmelin AuthorDate: 2022-06-18 06:57:16 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-06-18 06:57:16 +0000 net-im/jitsi-srtp-native: New port: Native libraties to speed up jitsi-srtp Native libraries required to speed-up Jitsi SRTP. WWW: https://github.com/jitsi/jitsi-srtp/tree/master/src/main/native PR: 264243 --- 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(+) diff --git a/net-im/Makefile b/net-im/Makefile index dd2aa46f24c2..55a1cf6205bb 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 8eea34dee895..528f4b69d3ed 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= acm@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 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