Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2025 09:12:20 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 33c50326d709 - main - audio/umurmur: Fix with mbedtls3
Message-ID:  <202501030912.5039CKdo030763@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 33c50326d70930b2e87f6e1f04b4a959ba9be4bd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-01-03 09:09:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-01-03 09:12:06 +0000

    audio/umurmur: Fix with mbedtls3
    
    - Apply the upstream patch that adds support for mbedtls3
    
    PR:             283809
---
 audio/umurmur/Makefile | 33 +++++++++++++++++++--------------
 audio/umurmur/distinfo |  4 +++-
 2 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/audio/umurmur/Makefile b/audio/umurmur/Makefile
index af2ce596b854..d7f33752f08d 100644
--- a/audio/umurmur/Makefile
+++ b/audio/umurmur/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	umurmur
 DISTVERSION=	0.2.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio net
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -10,7 +10,11 @@ WWW=		https://umurmur.net/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+PATCH_SITES=https://github.com/umurmur/umurmur/commit/
+PATCHFILES=	3e5ac3994fd8903881d09df0400b8b85d3ed8001.patch:-p1
+
 LIB_DEPENDS=	libconfig.so:devel/libconfig \
+		libmbedtls.so:security/mbedtls3 \
 		libprotobuf-c.so:devel/protobuf-c
 
 USES=		autoreconf gmake libtool localbase
@@ -18,20 +22,21 @@ USE_GITHUB=	yes
 USE_RC_SUBR=	umurmur
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-ssl=mbedtls
 
-.include <bsd.port.pre.mk>
+#.include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
-LIB_DEPENDS+=	libmbedtls.so:security/mbedtls2
-CONFIGURE_ARGS=	--with-ssl=mbedtls
-DEPRECATED=	Depends on expired security/mbedtls2
-EXPIRATION_DATE=2025-03-31
-.else
-USES+=		ssl
-BROKEN_SSL=	openssl openssl31
-BROKEN_SSL_REASON=	Requires OpenSSL 3.0.0 deprecated CRYPTO_MEM_CHECK_ON
-CONFIGURE_ARGS=	--with-ssl=openssl
-.endif
+#.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
+#LIB_DEPENDS+=	libmbedtls.so:security/mbedtls2
+#CONFIGURE_ARGS=	--with-ssl=mbedtls
+#DEPRECATED=	Depends on expired security/mbedtls2
+#EXPIRATION_DATE=2025-03-31
+#.else
+#USES+=		ssl
+#BROKEN_SSL=	openssl openssl31
+#BROKEN_SSL_REASON=	Requires OpenSSL 3.0.0 deprecated CRYPTO_MEM_CHECK_ON
+#CONFIGURE_ARGS=	--with-ssl=openssl
+#.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure.ac
@@ -43,4 +48,4 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/umurmur
 	${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${STAGEDIR}${PREFIX}/etc/umurmur/umurmur.conf.sample
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/umurmur/distinfo b/audio/umurmur/distinfo
index 976abb77cbbc..a2ebadb98895 100644
--- a/audio/umurmur/distinfo
+++ b/audio/umurmur/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1686063083
+TIMESTAMP = 1735893131
 SHA256 (umurmur-umurmur-0.2.20_GH0.tar.gz) = b7b2978c3197aef0a6531f1cf0ee1aebb32a55ad8bda43064ce3a944edbcac83
 SIZE (umurmur-umurmur-0.2.20_GH0.tar.gz) = 93152
+SHA256 (3e5ac3994fd8903881d09df0400b8b85d3ed8001.patch) = 600eb0db06b13188f3f249bbe58496a303234b20cfbb17d3647bf4e321ffdc1a
+SIZE (3e5ac3994fd8903881d09df0400b8b85d3ed8001.patch) = 5062



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501030912.5039CKdo030763>