pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/jitsi-srtp



Module Name:    pkgsrc
Committed By:   khorben
Date:           Thu Feb 16 09:55:38 UTC 2023

Added Files:
        pkgsrc/chat/jitsi-srtp: DESCR Makefile PLIST distinfo

Log Message:
jitsi-srtp: import version 1.1

Jitsi SRTP contains classes for encrypting and decrypting SRTP and SRTCP
packets. Jitsi SRTP contains native libraries to speed up encryption/decryption.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/jitsi-srtp/DESCR \
    pkgsrc/chat/jitsi-srtp/Makefile pkgsrc/chat/jitsi-srtp/PLIST \
    pkgsrc/chat/jitsi-srtp/distinfo

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

Added files:

Index: pkgsrc/chat/jitsi-srtp/DESCR
diff -u /dev/null pkgsrc/chat/jitsi-srtp/DESCR:1.1
--- /dev/null   Thu Feb 16 09:55:38 2023
+++ pkgsrc/chat/jitsi-srtp/DESCR        Thu Feb 16 09:55:38 2023
@@ -0,0 +1,2 @@
+Jitsi SRTP contains classes for encrypting and decrypting SRTP and SRTCP
+packets. Jitsi SRTP contains native libraries to speed up encryption/decryption.
Index: pkgsrc/chat/jitsi-srtp/Makefile
diff -u /dev/null pkgsrc/chat/jitsi-srtp/Makefile:1.1
--- /dev/null   Thu Feb 16 09:55:38 2023
+++ pkgsrc/chat/jitsi-srtp/Makefile     Thu Feb 16 09:55:38 2023
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2023/02/16 09:55:38 khorben Exp $
+
+GITHUB_TAG=    88a9c387a8dc006a06dbe911ef1252423004927b
+DISTNAME=      jitsi-srtp-1.1
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jitsi/}
+
+MAINTAINER=    khorben%defora.org@localhost
+HOMEPAGE=      https://github.com/jitsi/jitsi-srtp/
+COMMENT=       SRTP implementation for Jitsi
+LICENSE=       apache-2.0
+
+DISTINFO_FILE= ${.CURDIR}/../../chat/jitsi-srtp/distinfo
+DISTFILES=     ${DEFAULT_DISTFILES}
+DISTFILES+=    jitsi-srtp-java-deps-1.1.tar.gz
+SITES.jitsi-srtp-java-deps-1.1.tar.gz= \
+               ftp://ftp.NetBSD.org/pub/NetBSD/misc/khorben/
+
+USE_TOOLS+=    pax:build
+
+USE_CMAKE=             yes
+CMAKE_ARGS+=           -DJAVA_INCLUDE_PATH2=${PKG_JAVA_HOME}/include/netbsd
+CMAKE_ARGS+=           -DJITSI_SRTP_LIBSSL_VERSION=1.1
+CMAKE_INSTALL_PREFIX=  ${PREFIX}/lib
+
+USE_JAVA2=     17
+
+TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven
+
+MAVEN_FLAGS+=  -Duser.home=${FAKEHOMEDIR}
+MAVEN_FLAGS+=  -Dmaven.repo.local=${WRKDIR}/deps
+MAVEN_FLAGS+=  --offline
+MAVEN_FLAGS+=  -DskipTests
+MAVEN_FLAGS+=  -Dassembly.skipAssembly=false
+MVN=           ${PKGSRC_SETENV} ${MAKE_ENV} mvn ${MAVEN_FLAGS}
+
+.PHONY: create-deps-file
+create-deps-file: build
+       #XXX disable offline mode for maven before using this rule
+       cd ${WRKSRC} && ${MVN} validate
+       cd ${WRKDIR} && \
+               ${PAX} -wz -f jitsi-srtp-java-deps-${PKGVERSION_NOREV}.tar.gz deps
+
+pre-build:
+       cd ${WRKSRC} && ${MVN} compile
+
+do-test:
+       cd ${WRKSRC} && ${MVN} test
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/chat/jitsi-srtp/PLIST
diff -u /dev/null pkgsrc/chat/jitsi-srtp/PLIST:1.1
--- /dev/null   Thu Feb 16 09:55:38 2023
+++ pkgsrc/chat/jitsi-srtp/PLIST        Thu Feb 16 09:55:38 2023
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/16 09:55:38 khorben Exp $
+lib/libjitsisrtp_${PKGVERSION}.so
Index: pkgsrc/chat/jitsi-srtp/distinfo
diff -u /dev/null pkgsrc/chat/jitsi-srtp/distinfo:1.1
--- /dev/null   Thu Feb 16 09:55:38 2023
+++ pkgsrc/chat/jitsi-srtp/distinfo     Thu Feb 16 09:55:38 2023
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2023/02/16 09:55:38 khorben Exp $
+
+BLAKE2s (jitsi-srtp-1.1-88a9c387a8dc006a06dbe911ef1252423004927b.tar.gz) = 8761a9f00b44ac29378a04b75db5cd9247b15ae09e3e88c9e17c4a6afdb4c20b
+SHA512 (jitsi-srtp-1.1-88a9c387a8dc006a06dbe911ef1252423004927b.tar.gz) = 
2b381d3dd399353828526a8201206b5d541c66273d487e9d2982ad9584322f7a87459514057a33df1c7f765472eae8ce78ce25f83bab65075435391c677ee641
+Size (jitsi-srtp-1.1-88a9c387a8dc006a06dbe911ef1252423004927b.tar.gz) = 55925 bytes
+BLAKE2s (jitsi-srtp-java-deps-1.1.tar.gz) = d1f0483e8711f49620576c56d254d622fde99a6d8b6218f716759dc0baf84fd0
+SHA512 (jitsi-srtp-java-deps-1.1.tar.gz) = 7955c8c03159d6d82bc3a20b9ec9192f742a1274d0fabee4f98a5980afaf1946240526950e5e403f4b77c04a168b3354ccd3b22a8efeb0c25966226a63626b96
+Size (jitsi-srtp-java-deps-1.1.tar.gz) = 43646219 bytes



Home | Main Index | Thread Index | Old Index