svn commit: r496814 - in head: net-im net-im/mtxclient net-im/mtxclient/files security security/olm
Adriaan de Groot
adridg at FreeBSD.org
Mon Mar 25 10:40:45 UTC 2019
Author: adridg
Date: Mon Mar 25 10:40:41 2019
New Revision: 496814
URL: https://svnweb.freebsd.org/changeset/ports/496814
Log:
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.
Added:
head/net-im/mtxclient/
head/net-im/mtxclient/Makefile (contents, props changed)
head/net-im/mtxclient/distinfo (contents, props changed)
head/net-im/mtxclient/files/
head/net-im/mtxclient/files/patch-include_mtx_responses_groups.hpp (contents, props changed)
head/net-im/mtxclient/pkg-descr (contents, props changed)
head/net-im/mtxclient/pkg-plist (contents, props changed)
head/security/olm/
head/security/olm/Makefile (contents, props changed)
head/security/olm/distinfo (contents, props changed)
head/security/olm/pkg-descr (contents, props changed)
head/security/olm/pkg-plist (contents, props changed)
Modified:
head/net-im/Makefile
head/security/Makefile
Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile Mon Mar 25 10:08:42 2019 (r496813)
+++ head/net-im/Makefile Mon Mar 25 10:40:41 2019 (r496814)
@@ -76,6 +76,7 @@ PORTREVISION= 1
SUBDIR += mcabber
SUBDIR += meanwhile
SUBDIR += mikutter
+ SUBDIR += mtxclient
SUBDIR += mu-conference
SUBDIR += openfire
SUBDIR += oysttyer
Added: head/net-im/mtxclient/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/mtxclient/Makefile Mon Mar 25 10:40:41 2019 (r496814)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= mtxclient
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.0
+CATEGORIES= net-im
+
+MAINTAINER= adridg at 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>
Added: head/net-im/mtxclient/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/mtxclient/distinfo Mon Mar 25 10:40:41 2019 (r496814)
@@ -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
Added: head/net-im/mtxclient/files/patch-include_mtx_responses_groups.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/mtxclient/files/patch-include_mtx_responses_groups.hpp Mon Mar 25 10:40:41 2019 (r496814)
@@ -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 {
Added: head/net-im/mtxclient/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/mtxclient/pkg-descr Mon Mar 25 10:40:41 2019 (r496814)
@@ -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
Added: head/net-im/mtxclient/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/mtxclient/pkg-plist Mon Mar 25 10:40:41 2019 (r496814)
@@ -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
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Mon Mar 25 10:08:42 2019 (r496813)
+++ head/security/Makefile Mon Mar 25 10:40:41 2019 (r496814)
@@ -446,6 +446,7 @@ PORTREVISION= 1
SUBDIR += ocaml-ssl
SUBDIR += oidentd
SUBDIR += oinkmaster
+ SUBDIR += olm
SUBDIR += onionscan
SUBDIR += op
SUBDIR += openbsm
Added: head/security/olm/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/olm/Makefile Mon Mar 25 10:40:41 2019 (r496814)
@@ -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 at 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>
Added: head/security/olm/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/olm/distinfo Mon Mar 25 10:40:41 2019 (r496814)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553454378
+SHA256 (olm-3.0.0.tar.bz2) = 8ecbe3756eebe79aafc5331bd0b25d0a853792a774f7dbdf681d30363aed148d
+SIZE (olm-3.0.0.tar.bz2) = 444358
Added: head/security/olm/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/olm/pkg-descr Mon Mar 25 10:40:41 2019 (r496814)
@@ -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/
Added: head/security/olm/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/olm/pkg-plist Mon Mar 25 10:40:41 2019 (r496814)
@@ -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
More information about the svn-ports-all
mailing list