pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

olm: import olm-3.2.2 as wip/olm



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Tue Apr 27 23:25:32 2021 +0200
Changeset:	f0e50823cc4680a57f8ce5121784e9eac6a035da

Modified Files:
	Makefile
Added Files:
	olm/DESCR
	olm/Makefile
	olm/PLIST
	olm/buildlink3.mk
	olm/distinfo

Log Message:
olm: import olm-3.2.2 as wip/olm

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.

This library also includes an implementation of the Megolm cryptographic
ratchet.

[ Used by the gomuks matrix client - to be imported soon. ]

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f0e50823cc4680a57f8ce5121784e9eac6a035da

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |  1 +
 olm/DESCR         |  6 ++++++
 olm/Makefile      | 20 ++++++++++++++++++++
 olm/PLIST         | 14 ++++++++++++++
 olm/buildlink3.mk | 12 ++++++++++++
 olm/distinfo      |  6 ++++++
 6 files changed, 59 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6514a1f0cf..3e283246b4 100644
--- a/Makefile
+++ b/Makefile
@@ -2599,6 +2599,7 @@ SUBDIR+=	offset
 SUBDIR+=	oggfwd
 SUBDIR+=	ogmrip
 SUBDIR+=	ogre
+SUBDIR+=	olm
 SUBDIR+=	olsrd
 SUBDIR+=	omega
 SUBDIR+=	omnispeak
diff --git a/olm/DESCR b/olm/DESCR
new file mode 100644
index 0000000000..9215996d9e
--- /dev/null
+++ b/olm/DESCR
@@ -0,0 +1,6 @@
+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.
+
+This library also includes an implementation of the Megolm cryptographic
+ratchet.
diff --git a/olm/Makefile b/olm/Makefile
new file mode 100644
index 0000000000..7cf7a250ff
--- /dev/null
+++ b/olm/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	olm-3.2.2
+CATEGORIES=	security
+MASTER_SITES=	https://gitlab.matrix.org/matrix-org/olm/-/archive/3.2.2/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.matrix.org/matrix-org/olm
+COMMENT=	Implementation of the Double Ratchet cryptographic ratchet
+LICENSE=	apache-2.0
+
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
+
+PKGCONFIG_OVERRIDE+=	olm.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/olm/PLIST b/olm/PLIST
new file mode 100644
index 0000000000..d3bf1a309e
--- /dev/null
+++ b/olm/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+include/olm/inbound_group_session.h
+include/olm/olm.h
+include/olm/outbound_group_session.h
+include/olm/pk.h
+include/olm/sas.h
+lib/cmake/Olm/OlmConfig.cmake
+lib/cmake/Olm/OlmConfigVersion.cmake
+lib/cmake/Olm/OlmTargets-release.cmake
+lib/cmake/Olm/OlmTargets.cmake
+lib/libolm.so
+lib/libolm.so.3
+lib/libolm.so.${PKGVERSION}
+lib/pkgconfig/olm.pc
diff --git a/olm/buildlink3.mk b/olm/buildlink3.mk
new file mode 100644
index 0000000000..b5eeb0a3f0
--- /dev/null
+++ b/olm/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	olm
+
+.if !defined(OLM_BUILDLINK3_MK)
+OLM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.olm+=	olm>=3.2.2
+BUILDLINK_PKGSRCDIR.olm?=	../../wip/olm
+.endif	# OLM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-olm
diff --git a/olm/distinfo b/olm/distinfo
new file mode 100644
index 0000000000..a58a88a546
--- /dev/null
+++ b/olm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (olm-3.2.2.tar.bz2) = 34469f03511c08494fa0eb6230f2f8344026901b
+RMD160 (olm-3.2.2.tar.bz2) = dcf8d0e458654c25926fee897e111652b126c034
+SHA512 (olm-3.2.2.tar.bz2) = a541299f2fbdaa2be5698a690cd753142311a3206011d70186e1122d575478f91e7feba207fe5d09ce506330dd1f9fbb71dccb3de7014c5333427fdd3b77b668
+Size (olm-3.2.2.tar.bz2) = 475682 bytes


Home | Main Index | Thread Index | Old Index