Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 11:07:46 GMT
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: edfad7680a94 - main - net/lavinmq: update to 1.1.4
Message-ID:  <202307181107.36IB7kdF002298@gitrepo.freebsd.org>

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

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

commit edfad7680a94ab33adba51203836d73abbd98fdf
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2023-07-18 07:08:34 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2023-07-18 11:06:57 +0000

    net/lavinmq: update to 1.1.4
    
    - breaks on 14.0 now due to OpenSSL 3.0
    - pet port{lint, clippy, fmt} while here
    
    PR:             272080
---
 net/lavinmq/Makefile | 38 +++++++++++++++++++++-----------------
 net/lavinmq/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile
index 1d3f1435b3a8..5ae75f50cfc0 100644
--- a/net/lavinmq/Makefile
+++ b/net/lavinmq/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	lavinmq
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.1
+DISTVERSION=	1.1.4
 CATEGORIES=	net
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-# PATCHFILES+=	3a73c414b749.patch:-p1 # https://github.com/cloudamqp/lavinmq/pull/273
 
 MAINTAINER=	dch@FreeBSD.org
 COMMENT=	Next-generation AMQP 0.9.1 based message broker
@@ -12,6 +11,8 @@ WWW=		https://www.lavinmq.com/
 
 LICENSE=	APACHE20
 
+BROKEN_FreeBSD_14=	Incompatible with OpenSSL 3.0 in 14-CURRENT
+
 BUILD_DEPENDS=	crystal:lang/crystal \
 		help2man:misc/help2man \
 		shards:devel/shards
@@ -19,8 +20,7 @@ BUILD_DEPENDS=	crystal:lang/crystal \
 USES=		pkgconfig ssl:build
 USE_GITHUB=	yes
 GH_ACCOUNT=	cloudamqp
-GH_TUPLE=	\
-		84codes:http-protection:893a191d55e301e0df96d6dd0f7d72c527bddeb8:a/deps/http-protection \
+GH_TUPLE=	84codes:http-protection:893a191d55e301e0df96d6dd0f7d72c527bddeb8:a/deps/http-protection \
 		84codes:systemd.cr:v2.0.0:systemd/deps/systemd.cr \
 		cloudamqp:amq-protocol.cr:v1.1.2:proto/deps/amq-protocol.cr \
 		cloudamqp:amqp-client.cr:v1.0.10:client/deps/amqp-client.cr \
@@ -37,17 +37,19 @@ PORTDOCS=	CHANGELOG.md NOTICE README.md SECURITY.md
 
 OPTIONS_DEFINE=	DOCS
 
-SHARDS_ENV=	--time --verbose --production --release --no-color --stats --static
+SHARDS_ENV=	--time --verbose --production --release --no-color --stats \
+		--static
 
 post-extract:
-	# force shards to use local paths, not git repos, for dependencies
+# force shards to use local paths, not git repos, for dependencies
 	@${RM} ${WRKSRC}/shard.lock
 	@${REINPLACE_CMD} -E \
 		-e 's,github: .*/,path: deps/,' \
 		-e '/branch:/d' \
 		-e '/version: .>1/d' \
-		${WRKSRC}/shard.yml ${WRKSRC}/deps/*/shard.yml
-	# switch config example into hier(5) compliance
+		${WRKSRC}/shard.yml \
+		${WRKSRC}/deps/*/shard.yml
+# switch config example into hier(5) compliance
 	@${REINPLACE_CMD} -E \
 		-e 's,/etc/,${PREFIX}/etc/,' \
 		-e 's,/lib/,/db/,' \
@@ -57,14 +59,15 @@ post-extract:
 
 do-build:
 	${MKDIR} ${WRKDIR}/man1
-	(cd ${WRKSRC} && ${LOCALBASE}/bin/shards lock ${SHARDS_ENV} \
-		&& ${LOCALBASE}/bin/shards build ${SHARDS_ENV})
-	help2man -Nn "fast and advanced message queue server" \
-		${WRKSRC}/bin/lavinmq     -o ${WRKDIR}/man1/lavinmq.1
-	help2man -Nn "control utility for lavinmq server" \
-		${WRKSRC}/bin/lavinmqctl  -o ${WRKDIR}/man1/lavinmqctl.1
-	help2man -Nn "performance testing tool for amqp servers" \
-		${WRKSRC}/bin/lavinmqperf -o ${WRKDIR}/man1/lavinmqperf.1
+	(cd ${WRKSRC} && \
+		${LOCALBASE}/bin/shards lock ${SHARDS_ENV} && \
+		${LOCALBASE}/bin/shards build ${SHARDS_ENV})
+	help2man -Nn "fast and advanced message queue server" ${WRKSRC}/bin/lavinmq \
+		-o ${WRKDIR}/man1/lavinmq.1
+	help2man -Nn "control utility for lavinmq server" ${WRKSRC}/bin/lavinmqctl \
+		-o ${WRKDIR}/man1/lavinmqctl.1
+	help2man -Nn "performance testing tool for amqp servers" ${WRKSRC}/bin/lavinmqperf \
+		-o ${WRKDIR}/man1/lavinmqperf.1
 
 do-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR} \
@@ -76,7 +79,8 @@ do-install:
 .for f in lavinmq lavinmqctl lavinmqperf
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} \
 		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKDIR}/man1/${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKDIR}/man1/${f}.1 \
+		${STAGEDIR}${MAN1PREFIX}/man/man1/
 .endfor
 
 do-install-DOCS-on:
diff --git a/net/lavinmq/distinfo b/net/lavinmq/distinfo
index 10eae6aac603..5cc4a7d2b673 100644
--- a/net/lavinmq/distinfo
+++ b/net/lavinmq/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1680985090
-SHA256 (cloudamqp-lavinmq-v1.0.1_GH0.tar.gz) = dea2991354b711c2a7b0b963affd20d94f07e892dcd27dd5934111bf8f6e284f
-SIZE (cloudamqp-lavinmq-v1.0.1_GH0.tar.gz) = 377415
+TIMESTAMP = 1689628147
+SHA256 (cloudamqp-lavinmq-v1.1.4_GH0.tar.gz) = eb7173c17323bf2a212ea91642f4028d5743e4d02d642ae66485f72115de442d
+SIZE (cloudamqp-lavinmq-v1.1.4_GH0.tar.gz) = 380633
 SHA256 (84codes-http-protection-893a191d55e301e0df96d6dd0f7d72c527bddeb8_GH0.tar.gz) = eba9fed6dff8ed2b1322ca57b5bdd1e6d4afe49367ca84f38cd0cd7c062dab93
 SIZE (84codes-http-protection-893a191d55e301e0df96d6dd0f7d72c527bddeb8_GH0.tar.gz) = 10307
 SHA256 (84codes-systemd.cr-v2.0.0_GH0.tar.gz) = 4dd0c6f838542f97338866aef36de7b464c06112c4434e4db48aa65586b68ef3



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