1
0
forked from ports/contrib

libolm: initial commit, version 3.2.4

This commit is contained in:
Tim Biermann 2021-06-14 19:51:39 +00:00
parent c78ebe13fe
commit 631a21f9ed
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 45 additions and 0 deletions

20
libolm/.footprint Normal file
View File

@ -0,0 +1,20 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/olm/
-rw-r--r-- root/root usr/include/olm/inbound_group_session.h
-rw-r--r-- root/root usr/include/olm/olm.h
-rw-r--r-- root/root usr/include/olm/outbound_group_session.h
-rw-r--r-- root/root usr/include/olm/pk.h
-rw-r--r-- root/root usr/include/olm/sas.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/Olm/
-rw-r--r-- root/root usr/lib/cmake/Olm/OlmConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/Olm/OlmConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/Olm/OlmTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/Olm/OlmTargets.cmake
lrwxrwxrwx root/root usr/lib/libolm.so -> libolm.so.3
lrwxrwxrwx root/root usr/lib/libolm.so.3 -> libolm.so.3.2.4
-rwxr-xr-x root/root usr/lib/libolm.so.3.2.4
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/olm.pc

4
libolm/.signature Normal file
View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+UvtT+QVtL69ezzY4Pag3iPF4LBIV7sqxUU/y+aH46ByghTtyUwHOQIvOr54qwsyuCWia6u0+8YGcQfzqH/HAA=
SHA256 (Pkgfile) = 8094f6ad6580bcefade8a436ce2362d49845261618c34adbdf193ceea4ed2cfd
SHA256 (.footprint) = 45c1cfd7cbf8883bafd916fce6450313ec27d275a6dfd000be526e64cc7987c6

21
libolm/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Implementation of the olm and megolm cryptographic ratchets
# URL: https://gitlab.matrix.org/matrix-org/olm
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake ninja
name=libolm
version=3.2.4
release=1
source=(https://gitlab.matrix.org/matrix-org/olm/-/archive/$version/olm-$version.tar.bz2)
build() {
cmake -S olm-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}