git: 9ac74d69b379 - main - net/amqpcat: Update to 1.1.1

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 07:56:29 UTC
The branch main has been updated by dch:

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

commit 9ac74d69b379f7c82a861f77aad68d90c1634b15
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2026-10-08 07:47:30 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2026-10-08 07:55:32 +0000

    net/amqpcat: Update to 1.1.1
    
    - bump amq-protocol.cr dependency to 1.3.1 for Crystal 1.21
    - drop upstreamed IO::Memory writable patch
    - report the correct version in tarball builds
    
    Changelog:    https://github.com/cloudamqp/amqpcat/releases/tag/v1.1.1
    Sponsored by: SkunkWerks, GmbH
---
 net/amqpcat/Makefile                               |  7 ++--
 net/amqpcat/distinfo                               | 10 +++---
 ...-deps_amq-protocol.cr_src_amq_protocol_table.cr | 37 ----------------------
 3 files changed, 8 insertions(+), 46 deletions(-)

diff --git a/net/amqpcat/Makefile b/net/amqpcat/Makefile
index d70d211d3c3b..13ecd269889a 100644
--- a/net/amqpcat/Makefile
+++ b/net/amqpcat/Makefile
@@ -1,11 +1,10 @@
 PORTNAME=	amqpcat
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
-PORTREVISION=	3
+DISTVERSION=	1.1.1
 CATEGORIES=	net
 
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX} \
-		cloudamqp-amq-protocol.cr-v1.1.15_GH0.tar.gz \
+		cloudamqp-amq-protocol.cr-v1.3.1_GH0.tar.gz \
 		cloudamqp-amqp-client.cr-v1.3.1_GH0.tar.gz
 
 MAINTAINER=	dch@FreeBSD.org
@@ -23,7 +22,7 @@ LIB_DEPENDS=	libgc-threaded.so:devel/boehm-gc-threaded \
 USES=		pkgconfig ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	cloudamqp
-GH_TUPLE=	cloudamqp:amq-protocol.cr:v1.1.15:proto/deps/amq-protocol.cr \
+GH_TUPLE=	cloudamqp:amq-protocol.cr:v1.3.1:proto/deps/amq-protocol.cr \
 		cloudamqp:amqp-client.cr:v1.3.1:client/deps/amqp-client.cr
 
 PLIST_FILES=	bin/amqpcat \
diff --git a/net/amqpcat/distinfo b/net/amqpcat/distinfo
index e0fd3e3c9d40..36fef95a6a39 100644
--- a/net/amqpcat/distinfo
+++ b/net/amqpcat/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1772700764
-SHA256 (cloudamqp-amqpcat-v1.1.0_GH0.tar.gz) = d08973a92748601188c90caa4ec31b8f8f8efa2a6c202661bff8c6a527b3a861
-SIZE (cloudamqp-amqpcat-v1.1.0_GH0.tar.gz) = 6897
-SHA256 (cloudamqp-amq-protocol.cr-v1.1.15_GH0.tar.gz) = 2650924ad06f80a12d4f3eeaf800da45e7d74304289692a4b26576e5bfada85a
-SIZE (cloudamqp-amq-protocol.cr-v1.1.15_GH0.tar.gz) = 18077
+TIMESTAMP = 1791272366
+SHA256 (cloudamqp-amqpcat-v1.1.1_GH0.tar.gz) = e274e074c42ebe89b72a2cf5ff2d1b1906679fa3b949002d8b6c5c674c210b37
+SIZE (cloudamqp-amqpcat-v1.1.1_GH0.tar.gz) = 6889
+SHA256 (cloudamqp-amq-protocol.cr-v1.3.1_GH0.tar.gz) = 1b58ad267980a93f1fe0aae94a1bfccf23531d6f007de64ef5724da6eef1c5cf
+SIZE (cloudamqp-amq-protocol.cr-v1.3.1_GH0.tar.gz) = 26161
 SHA256 (cloudamqp-amqp-client.cr-v1.3.1_GH0.tar.gz) = 2534b98bf64a17e075871f82fcf6bdee6d6d9dba5fc29472afe61bf6f1a5388e
 SIZE (cloudamqp-amqp-client.cr-v1.3.1_GH0.tar.gz) = 24043
diff --git a/net/amqpcat/files/patch-deps_amq-protocol.cr_src_amq_protocol_table.cr b/net/amqpcat/files/patch-deps_amq-protocol.cr_src_amq_protocol_table.cr
deleted file mode 100644
index 99f999387da7..000000000000
--- a/net/amqpcat/files/patch-deps_amq-protocol.cr_src_amq_protocol_table.cr
+++ /dev/null
@@ -1,37 +0,0 @@
---- deps/amq-protocol.cr/src/amq/protocol/table.cr.orig	2026-08-28 19:19:33 UTC
-+++ deps/amq-protocol.cr/src/amq/protocol/table.cr
-@@ -219,7 +219,7 @@ module AMQ
- 
-       def self.from_bytes(bytes, format) : self
-         size = format.decode(UInt32, bytes[0, 4])
--        mem = IO::Memory.new(bytes[4, size], writeable: false)
-+        mem = IO::Memory.new(bytes[4, size], writable: false)
-         new(mem)
-       end
- 
-@@ -227,14 +227,14 @@ module AMQ
-         size ||= UInt32.from_io(io, format)
-         case io
-         when IO::Memory
--          if io.@writeable
-+          if io.@writable
-             mem = IO::Memory.new(size)
-             IO.copy(io, mem, size)
-             new(mem)
-           else
-             bytes = io.to_slice[io.pos, size]
-             io.pos += size
--            new(IO::Memory.new(bytes, writeable: false))
-+            new(IO::Memory.new(bytes, writable: false))
-           end
-         else
-           mem = IO::Memory.new(size)
-@@ -277,7 +277,7 @@ module AMQ
-       end
- 
-       private def ensure_writeable
--        return if @io.@writeable.as(Bool)
-+        return if @io.@writable.as(Bool)
-         writeable_io = IO::Memory.new(@io.bytesize)
-         writeable_io.write @io.to_slice
-         @io = writeable_io