summaryrefslogtreecommitdiff
path: root/libolm
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-14 19:51:39 +0000
committerTim Biermann <tbier@posteo.de>2021-06-14 19:51:39 +0000
commit631a21f9ed5406c968982e8f3800eca9f46a7028 (patch)
tree9b2d67bb99b85fc4b66c35b347c7a93f72ecb598 /libolm
parentc78ebe13fea794fe8baf9b860e0f58d8974b5155 (diff)
downloadcontrib-631a21f9ed5406c968982e8f3800eca9f46a7028.tar.gz
contrib-631a21f9ed5406c968982e8f3800eca9f46a7028.tar.xz
libolm: initial commit, version 3.2.4
Diffstat (limited to 'libolm')
-rw-r--r--libolm/.footprint20
-rw-r--r--libolm/.signature4
-rw-r--r--libolm/Pkgfile21
3 files changed, 45 insertions, 0 deletions
diff --git a/libolm/.footprint b/libolm/.footprint
new file mode 100644
index 000000000..f05054e46
--- /dev/null
+++ b/libolm/.footprint
@@ -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
diff --git a/libolm/.signature b/libolm/.signature
new file mode 100644
index 000000000..1b7d0f269
--- /dev/null
+++ b/libolm/.signature
@@ -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
diff --git a/libolm/Pkgfile b/libolm/Pkgfile
new file mode 100644
index 000000000..2437c1807
--- /dev/null
+++ b/libolm/Pkgfile
@@ -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
+}

Generated by cgit