mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
New ports security/olm and net-im/mtxclient
These are support libraries for Matrix clients; Nheko in particular. Until I wrap-up Nheko, they aren't used by anything.
This commit is contained in:
parent
587e169b66
commit
b681f9b307
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496814
@ -76,6 +76,7 @@ PORTREVISION= 1
|
||||
SUBDIR += mcabber
|
||||
SUBDIR += meanwhile
|
||||
SUBDIR += mikutter
|
||||
SUBDIR += mtxclient
|
||||
SUBDIR += mu-conference
|
||||
SUBDIR += openfire
|
||||
SUBDIR += oysttyer
|
||||
|
40
net-im/mtxclient/Makefile
Normal file
40
net-im/mtxclient/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mtxclient
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.2.0
|
||||
CATEGORIES= net-im
|
||||
|
||||
MAINTAINER= adridg@FreeBSD.org
|
||||
COMMENT= Client API library for the Matrix protocol
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILES= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json \
|
||||
spdlog>=1.3:devel/spdlog \ \
|
||||
gtest-config:devel/googletest
|
||||
LIB_DEPENDS= libsodium.so:security/libsodium \
|
||||
libboost_date_time.so:devel/boost-libs \
|
||||
libboost_chrono.so:devel/boost-libs \
|
||||
libboost_iostreams.so:devel/boost-libs \
|
||||
libboost_random.so:devel/boost-libs \
|
||||
libboost_regex.so:devel/boost-libs \
|
||||
libboost_system.so:devel/boost-libs \
|
||||
libboost_thread.so:devel/boost-libs \
|
||||
libolm.so:security/olm
|
||||
|
||||
USES= cmake compiler:c++11-lang pkgconfig \
|
||||
localbase:ldflags tar:xz
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Nheko-Reborn
|
||||
|
||||
# 71 files use #include <json.hpp>, which needs to be
|
||||
# elsewhere; an alternative would be to bung in -I${LOCALBASE}/include/nlohmann
|
||||
post-patch:
|
||||
${FIND} ${WRKSRC} -type f -print0 | \
|
||||
${XARGS} -0 ${REINPLACE_CMD} \
|
||||
's+include <json.hpp>+include <nlohmann/json.hpp>+'
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-im/mtxclient/distinfo
Normal file
3
net-im/mtxclient/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1553378997
|
||||
SHA256 (Nheko-Reborn-mtxclient-v0.2.0_GH0.tar.gz) = e7638d4a8233c0c763d48111fd13e8ad1dcd5f34e3e641b46eaf1bb920b73482
|
||||
SIZE (Nheko-Reborn-mtxclient-v0.2.0_GH0.tar.gz) = 477869
|
@ -0,0 +1,10 @@
|
||||
--- include/mtx/responses/groups.hpp.orig 2019-03-24 20:45:03 UTC
|
||||
+++ include/mtx/responses/groups.hpp
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
-#include "json.hpp"
|
||||
+#include <nlohmann/json.hpp>
|
||||
|
||||
namespace mtx {
|
||||
namespace responses {
|
6
net-im/mtxclient/pkg-descr
Normal file
6
net-im/mtxclient/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Client API library for the Matrix protocol, built on top of Boost.Asio.
|
||||
|
||||
This library is a C++-based API used by some C++-based Matrix clients,
|
||||
like Nheko.
|
||||
|
||||
WWW: https://github.com/Nheko-Reborn/mtxclient
|
57
net-im/mtxclient/pkg-plist
Normal file
57
net-im/mtxclient/pkg-plist
Normal file
@ -0,0 +1,57 @@
|
||||
include/mtx.hpp
|
||||
include/mtx/common.hpp
|
||||
include/mtx/errors.hpp
|
||||
include/mtx/events.hpp
|
||||
include/mtx/events/aliases.hpp
|
||||
include/mtx/events/avatar.hpp
|
||||
include/mtx/events/canonical_alias.hpp
|
||||
include/mtx/events/collections.hpp
|
||||
include/mtx/events/common.hpp
|
||||
include/mtx/events/create.hpp
|
||||
include/mtx/events/encrypted.hpp
|
||||
include/mtx/events/encryption.hpp
|
||||
include/mtx/events/guest_access.hpp
|
||||
include/mtx/events/history_visibility.hpp
|
||||
include/mtx/events/join_rules.hpp
|
||||
include/mtx/events/member.hpp
|
||||
include/mtx/events/messages/audio.hpp
|
||||
include/mtx/events/messages/emote.hpp
|
||||
include/mtx/events/messages/file.hpp
|
||||
include/mtx/events/messages/image.hpp
|
||||
include/mtx/events/messages/notice.hpp
|
||||
include/mtx/events/messages/text.hpp
|
||||
include/mtx/events/messages/video.hpp
|
||||
include/mtx/events/name.hpp
|
||||
include/mtx/events/pinned_events.hpp
|
||||
include/mtx/events/power_levels.hpp
|
||||
include/mtx/events/redaction.hpp
|
||||
include/mtx/events/tag.hpp
|
||||
include/mtx/events/topic.hpp
|
||||
include/mtx/identifiers.hpp
|
||||
include/mtx/requests.hpp
|
||||
include/mtx/responses.hpp
|
||||
include/mtx/responses/common.hpp
|
||||
include/mtx/responses/create_room.hpp
|
||||
include/mtx/responses/crypto.hpp
|
||||
include/mtx/responses/empty.hpp
|
||||
include/mtx/responses/groups.hpp
|
||||
include/mtx/responses/login.hpp
|
||||
include/mtx/responses/media.hpp
|
||||
include/mtx/responses/messages.hpp
|
||||
include/mtx/responses/notifications.hpp
|
||||
include/mtx/responses/profile.hpp
|
||||
include/mtx/responses/register.hpp
|
||||
include/mtx/responses/sync.hpp
|
||||
include/mtx/responses/version.hpp
|
||||
include/mtxclient/crypto/client.hpp
|
||||
include/mtxclient/crypto/objects.hpp
|
||||
include/mtxclient/crypto/types.hpp
|
||||
include/mtxclient/http/client.hpp
|
||||
include/mtxclient/http/errors.hpp
|
||||
include/mtxclient/http/session.hpp
|
||||
include/mtxclient/utils.hpp
|
||||
lib/cmake/MatrixClient/MatrixClientConfig.cmake
|
||||
lib/cmake/MatrixClient/MatrixClientConfigVersion.cmake
|
||||
lib/cmake/MatrixClient/MatrixClientTargets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/MatrixClient/MatrixClientTargets.cmake
|
||||
lib/libmatrix_client.a
|
@ -446,6 +446,7 @@ PORTREVISION= 1
|
||||
SUBDIR += ocaml-ssl
|
||||
SUBDIR += oidentd
|
||||
SUBDIR += oinkmaster
|
||||
SUBDIR += olm
|
||||
SUBDIR += onionscan
|
||||
SUBDIR += op
|
||||
SUBDIR += openbsm
|
||||
|
18
security/olm/Makefile
Normal file
18
security/olm/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= olm
|
||||
DISTVERSIONPREFIX=
|
||||
DISTVERSION= 3.0.0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://git.matrix.org/git/olm/snapshot/
|
||||
|
||||
MAINTAINER= adridg@FreeBSD.org
|
||||
COMMENT= Double Ratchet cryptographic ratchet in C++
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILES= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake compiler:c++11-lang \
|
||||
localbase:ldflags tar:bz2
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/olm/distinfo
Normal file
3
security/olm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1553454378
|
||||
SHA256 (olm-3.0.0.tar.bz2) = 8ecbe3756eebe79aafc5331bd0b25d0a853792a774f7dbdf681d30363aed148d
|
||||
SIZE (olm-3.0.0.tar.bz2) = 444358
|
5
security/olm/pkg-descr
Normal file
5
security/olm/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
An implementation of the Double Ratchet cryptographic ratchet described by
|
||||
https://whispersystems.org/docs/specifications/doubleratchet/, written in C and
|
||||
C++11 and exposed as a C API.
|
||||
|
||||
WWW: https://git.matrix.org/git/olm/about/
|
11
security/olm/pkg-plist
Normal file
11
security/olm/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
include/olm/inbound_group_session.h
|
||||
include/olm/olm.h
|
||||
include/olm/outbound_group_session.h
|
||||
include/olm/pk.h
|
||||
lib/cmake/Olm/OlmConfig.cmake
|
||||
lib/cmake/Olm/OlmConfigVersion.cmake
|
||||
lib/cmake/Olm/OlmTargets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/Olm/OlmTargets.cmake
|
||||
lib/libolm.so
|
||||
lib/libolm.so.3
|
||||
lib/libolm.so.3.0.0
|
Loading…
Reference in New Issue
Block a user