forked from Lainports/freebsd-ports
audio/umurmur: Fix with mbedtls3
- Apply the upstream patch that adds support for mbedtls3 PR: 283809
This commit is contained in:
parent
47344ff214
commit
33c50326d7
2 changed files with 23 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
.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
|
||||
|
||||
#.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
|
||||
|
||||
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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue