git: bd943b3f8e62 - main - security/olm: Update to 3.2.13

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Thu, 03 Nov 2022 21:53:03 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd943b3f8e624279c69613ced49e9d85afe1f787

commit bd943b3f8e624279c69613ced49e9d85afe1f787
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-11-03 19:59:54 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-11-03 21:51:57 +0000

    security/olm: Update to 3.2.13
    
    Use USE_GITLAB to follow Porters Handbook more closely and be consistent with ports tree
    Disable building of unit tests
    
    Changelog: https://gitlab.matrix.org/matrix-org/olm/-/tags/3.2.13
    
    PR:             267091
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 security/olm/Makefile | 14 ++++++++------
 security/olm/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/security/olm/Makefile b/security/olm/Makefile
index 7ac4e9f6e2c8..08685d9b811a 100644
--- a/security/olm/Makefile
+++ b/security/olm/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	olm
-DISTVERSIONPREFIX=
-DISTVERSION=	3.2.11
+DISTVERSION=	3.2.13
 CATEGORIES=	security
-MASTER_SITES=	https://gitlab.matrix.org/matrix-org/olm/-/archive/${DISTVERSION}/
 
 MAINTAINER=	adridg@FreeBSD.org
 COMMENT=	Double Ratchet cryptographic ratchet in C++
@@ -11,11 +9,15 @@ WWW=		https://gitlab.matrix.org/matrix-org/olm
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lang cpe \
-		localbase:ldflags tar:bz2
-
+USES=		cmake compiler:c++11-lang cpe
 CPE_VENDOR=	matrix
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.matrix.org/
+GL_ACCOUNT=	matrix-org
+GL_COMMIT=	6d767aaf29bdf15571c2ef4d3f8f9e953de03733
 
 PLIST_SUB=	SOVER=${DISTVERSION}
 
+CMAKE_OFF=	OLM_TESTS
+
 .include <bsd.port.mk>
diff --git a/security/olm/distinfo b/security/olm/distinfo
index 19ae04d22429..b208da70ecb0 100644
--- a/security/olm/distinfo
+++ b/security/olm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650224483
-SHA256 (olm-3.2.11.tar.bz2) = 648f8d6cc9cf9c3678ad8a6ca4c095928495d1ea22fc928869da85d5abd2191b
-SIZE (olm-3.2.11.tar.bz2) = 2735303
+TIMESTAMP = 1665852879
+SHA256 (matrix-org-olm-6d767aaf29bdf15571c2ef4d3f8f9e953de03733_GL0.tar.gz) = aa01390d2704e6311bbe65a5c41f7b81cc045968b225c20071db5456162e7157
+SIZE (matrix-org-olm-6d767aaf29bdf15571c2ef4d3f8f9e953de03733_GL0.tar.gz) = 2900458