pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
jigasi: import version 1.1
Module Name: pkgsrc-wip
Committed By: Pierre Pronchery <khorben%defora.org@localhost>
Pushed By: khorben
Date: Tue Jul 19 00:57:52 2022 +0200
Changeset: 19da54714669c152f1eceb6241a22fcbd1148057
Modified Files:
Makefile
Added Files:
jigasi/DESCR
jigasi/Makefile
jigasi/PLIST
jigasi/distinfo
Log Message:
jigasi: import version 1.1
Jitsi Gateway to SIP: a server-side application that links allows regular SIP
clients to join Jitsi Meet conferences hosted by Jitsi Videobridge.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=19da54714669c152f1eceb6241a22fcbd1148057
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
jigasi/DESCR | 2 ++
jigasi/Makefile | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
jigasi/PLIST | 16 ++++++++++++
jigasi/distinfo | 5 ++++
5 files changed, 99 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a28b03f4bb..713aa2d3bb 100644
--- a/Makefile
+++ b/Makefile
@@ -1865,6 +1865,7 @@ SUBDIR+= jgraphx
SUBDIR+= jhbuild
SUBDIR+= jibri
SUBDIR+= jicofo
+SUBDIR+= jigasi
SUBDIR+= jira-cli-git
SUBDIR+= jitsi
SUBDIR+= jitsi-meet
diff --git a/jigasi/DESCR b/jigasi/DESCR
new file mode 100644
index 0000000000..8279e7c38e
--- /dev/null
+++ b/jigasi/DESCR
@@ -0,0 +1,2 @@
+Jitsi Gateway to SIP: a server-side application that links allows regular SIP
+clients to join Jitsi Meet conferences hosted by Jitsi Videobridge.
diff --git a/jigasi/Makefile b/jigasi/Makefile
new file mode 100644
index 0000000000..3949d602a8
--- /dev/null
+++ b/jigasi/Makefile
@@ -0,0 +1,75 @@
+# $NetBSD$
+
+DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+PKGNAME= ${GITHUB_PROJECT}-1.1
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jitsi/}
+GITHUB_PROJECT= jigasi
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= khorben%defora.org@localhost
+HOMEPAGE= https://github.com/jitsi/jigasi/
+COMMENT= Allows regular SIP clients to join Jitsi Meet conferences
+LICENSE= apache-2.0
+
+USE_TOOLS+= bash
+USE_TOOLS+= pax:run
+USE_JAVA2= 8
+
+REPLACE_BASH= jigasi.sh
+
+TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven
+
+MAVEN_FLAGS+= -Djavax.net.ssl.trustStore=${WRKDIR}/keystore
+MAVEN_FLAGS+= -Djavax.net.ssl.trustStorePassword=password
+
+SUBST_CLASSES+= java
+SUBST_STAGE.java= post-configure
+SUBST_FILES.java= jigasi.sh
+SUBST_SED.java= -e 's,exec java,exec ${JAVA_BINPREFIX}-java,'
+
+EGDIR= share/examples/${PKGBASE}
+PKG_SYSCONFSUBDIR= jitsi/${PKGBASE}
+CONF_FILES= ${EGDIR}/callstats-java-sdk.properties \
+ ${PKG_SYSCONFDIR}/callstats-java-sdk.properties
+CONF_FILES+= ${EGDIR}/log4j2.xml ${PKG_SYSCONFDIR}/log4j2.xml
+CONF_FILES+= ${EGDIR}/sip-communicator.properties \
+ ${PKG_SYSCONFDIR}/sip-communicator.properties
+
+INSTALLATION_DIRS= bin share/${PKGBASE}/lib ${EGDIR} share/doc/${PKGBASE}
+
+do-configure:
+ #XXX this assumes trusted CA certificates are in /etc/openssl/certs
+ cd ${WRKSRC} && \
+ for cert in /etc/openssl/certs/*.0; do \
+ /usr/pkg/java/openjdk11/bin/keytool -importcert \
+ -keystore ${WRKDIR}/keystore \
+ -noprompt -trustcacerts \
+ -storepass password -file "$$cert" \
+ -alias $$(basename "$$cert"); done
+
+do-build:
+ cd ${WRKSRC} && \
+ mvn package ${MAVEN_FLAGS}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${PAX} -rw lib ${DESTDIR}${PREFIX}/share/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/target/jigasi-1.1-SNAPSHOT.jar \
+ ${DESTDIR}${PREFIX}/share/${PKGBASE}/lib/jigasi.jar
+ ${INSTALL_DATA} ${WRKSRC}/README.md \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/README.md
+ cd ${WRKSRC}/jigasi-home && \
+ ${PAX} -rw * ${DESTDIR}${PREFIX}/${EGDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/jigasi.sh \
+ ${DESTDIR}${PREFIX}/share/${PKGBASE}/jigasi.sh
+ ${LN} -sf ../share/${PKGBASE}/jigasi.sh \
+ ${DESTDIR}${PREFIX}/bin/jigasi
+
+CHECK_RELRO_SKIP+= share/jigasi/lib/native/linux/libhwaddressretriever.so
+CHECK_RELRO_SKIP+= share/jigasi/lib/native/linux-64/libhwaddressretriever.so
+CHECK_SHLIBS_SKIP+= share/jigasi/lib/native/linux/libhwaddressretriever.so
+CHECK_SHLIBS_SKIP+= share/jigasi/lib/native/linux-64/libhwaddressretriever.so
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jigasi/PLIST b/jigasi/PLIST
new file mode 100644
index 0000000000..f86957c648
--- /dev/null
+++ b/jigasi/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+bin/jigasi
+share/doc/jigasi/README.md
+share/examples/jigasi/callstats-java-sdk.properties
+share/examples/jigasi/log4j2.xml
+share/examples/jigasi/sip-communicator.properties
+share/jigasi/jigasi.sh
+share/jigasi/lib/jigasi.jar
+share/jigasi/lib/logging.properties
+share/jigasi/lib/native/linux-64/libhwaddressretriever.so
+share/jigasi/lib/native/linux/libhwaddressretriever.so
+share/jigasi/lib/native/macosx/libhwaddressretriever.jnilib
+share/jigasi/lib/native/windows-64/LocalhostRetriever.dll
+share/jigasi/lib/native/windows-64/hwaddressretriever.dll
+share/jigasi/lib/native/windows/LocalhostRetriever.dll
+share/jigasi/lib/native/windows/hwaddressretriever.dll
diff --git a/jigasi/distinfo b/jigasi/distinfo
new file mode 100644
index 0000000000..d525a456b5
--- /dev/null
+++ b/jigasi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (jigasi-1.1.tar.gz) = 5d97bade3cabf9db6b33da38064ad473415d0db2147d3ed22ec4ffad0d5acb32
+SHA512 (jigasi-1.1.tar.gz) = 26e22bbf033c9127687b2ff349c700e4e81c22e25a0feea94b22b9c6466d725eadb8142c4daf4a64c33860f2a4c606c3a364d9d048d94725100fbde6362e82ef
+Size (jigasi-1.1.tar.gz) = 278449 bytes
Home |
Main Index |
Thread Index |
Old Index