Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2026 22:00:41 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9153d3be9964 - main - devel/p5-Consumer-NonBlock: Add p5-Consumer-NonBlock 0.003
Message-ID:  <69e3ff09.31466.5c3ef2c3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 9153d3be99647da4362c22c9a9ab4e5075e78380
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-18 21:18:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-18 21:18:15 +0000

    devel/p5-Consumer-NonBlock: Add p5-Consumer-NonBlock 0.003
    
    It is very easy to end up in a situation where a producer process produces data
    faster than a consumer process can read/process it resulting in the producer
    blocking on a full pipe buffer. This module allows 2 processes to share data
    similar to a pipe, but without the producer blocking due to full pipe buffers.
    
    A pipe is better in most situations, this is only useful if the producer needs
    to do many things and you cannot afford to block on a consumer. This is used by
    App::Yath to send data to a comparatively slow database upload process without
    blocking.
---
 devel/Makefile                       |  1 +
 devel/p5-Consumer-NonBlock/Makefile  | 24 ++++++++++++++++++++++++
 devel/p5-Consumer-NonBlock/distinfo  |  3 +++
 devel/p5-Consumer-NonBlock/pkg-descr |  9 +++++++++
 devel/p5-Consumer-NonBlock/pkg-plist |  2 ++
 5 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 95b6a0b86f96..a843e6645ede 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2234,6 +2234,7 @@
     SUBDIR += p5-Connector
     SUBDIR += p5-Const-Exporter
     SUBDIR += p5-Const-Fast
+    SUBDIR += p5-Consumer-NonBlock
     SUBDIR += p5-Context-Preserve
     SUBDIR += p5-Contextual-Return
     SUBDIR += p5-Convert-Age
diff --git a/devel/p5-Consumer-NonBlock/Makefile b/devel/p5-Consumer-NonBlock/Makefile
new file mode 100644
index 000000000000..93080eace059
--- /dev/null
+++ b/devel/p5-Consumer-NonBlock/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	Consumer-NonBlock
+PORTVERSION=	0.003
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:EXODIST
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Send data between processes without blocking
+WWW=		https://metacpan.org/dist/Consumer-NonBlock
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Object-HashBase>=0:devel/p5-Object-HashBase
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Consumer-NonBlock/distinfo b/devel/p5-Consumer-NonBlock/distinfo
new file mode 100644
index 000000000000..1443d5a8f142
--- /dev/null
+++ b/devel/p5-Consumer-NonBlock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775587092
+SHA256 (Consumer-NonBlock-0.003.tar.gz) = 117906209393159511954db4d51115444ea9e6a5ea5a2c3c8cdbdcf0c229162d
+SIZE (Consumer-NonBlock-0.003.tar.gz) = 16932
diff --git a/devel/p5-Consumer-NonBlock/pkg-descr b/devel/p5-Consumer-NonBlock/pkg-descr
new file mode 100644
index 000000000000..90a2e627738e
--- /dev/null
+++ b/devel/p5-Consumer-NonBlock/pkg-descr
@@ -0,0 +1,9 @@
+It is very easy to end up in a situation where a producer process produces data
+faster than a consumer process can read/process it resulting in the producer
+blocking on a full pipe buffer. This module allows 2 processes to share data
+similar to a pipe, but without the producer blocking due to full pipe buffers.
+
+A pipe is better in most situations, this is only useful if the producer needs
+to do many things and you cannot afford to block on a consumer. This is used by
+App::Yath to send data to a comparatively slow database upload process without
+blocking.
diff --git a/devel/p5-Consumer-NonBlock/pkg-plist b/devel/p5-Consumer-NonBlock/pkg-plist
new file mode 100644
index 000000000000..08635f225713
--- /dev/null
+++ b/devel/p5-Consumer-NonBlock/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Consumer/NonBlock.pm
+%%PERL5_MAN3%%/Consumer::NonBlock.3.gz


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e3ff09.31466.5c3ef2c3>