Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 20:37:12 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403076 - in head/devel: . p5-PerlIO-via-Timeout
Message-ID:  <201512052037.tB5KbCM9096737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Dec  5 20:37:11 2015
New Revision: 403076
URL: https://svnweb.freebsd.org/changeset/ports/403076

Log:
  New port: devel/p5-PerlIO-via-Timeout
  
  This package implements a PerlIO layer, that adds read / write
  timeout. This can be useful to avoid blocking while accessing a
  handle (file, socket, ...), and fail after some time.
  
  The timeout is implemented by using <select> on the handle before
  reading/writing.
  
  WARNING the handle won't timeout if you use sysread or syswrite on
  it, because these functions works at a lower level. However if
  you're trying to implement a timeout for a socket, see IO::Socket::Timeout
  that implements exactly that.
  
  WWW: http://search.cpan.org/dist/PerlIO-via-Timeout

Added:
  head/devel/p5-PerlIO-via-Timeout/
  head/devel/p5-PerlIO-via-Timeout/Makefile   (contents, props changed)
  head/devel/p5-PerlIO-via-Timeout/distinfo   (contents, props changed)
  head/devel/p5-PerlIO-via-Timeout/pkg-descr   (contents, props changed)
  head/devel/p5-PerlIO-via-Timeout/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Dec  5 19:14:38 2015	(r403075)
+++ head/devel/Makefile	Sat Dec  5 20:37:11 2015	(r403076)
@@ -2887,7 +2887,6 @@
     SUBDIR += p5-Perl-Tidy
     SUBDIR += p5-Perl-Unsafe-Signals
     SUBDIR += p5-Perl-Version
-    SUBDIR += p5-Perl-osnames
     SUBDIR += p5-Perl4-CoreLibs
     SUBDIR += p5-Perl6-Builtins
     SUBDIR += p5-Perl6-Export
@@ -2903,6 +2902,7 @@
     SUBDIR += p5-PerlIO-locale
     SUBDIR += p5-PerlIO-utf8_strict
     SUBDIR += p5-PerlIO-via-MD5
+    SUBDIR += p5-PerlIO-via-Timeout
     SUBDIR += p5-PerlIO-via-dynamic
     SUBDIR += p5-PerlIO-via-symlink
     SUBDIR += p5-PerlX-Maybe

Added: head/devel/p5-PerlIO-via-Timeout/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-PerlIO-via-Timeout/Makefile	Sat Dec  5 20:37:11 2015	(r403076)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	PerlIO-via-Timeout
+PORTVERSION=	0.32
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	pi@FreeBSD.org
+COMMENT=	PerlIO layer to add read & write timeouts to a handle
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+NO_ARCH=	yes
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/devel/p5-PerlIO-via-Timeout/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-PerlIO-via-Timeout/distinfo	Sat Dec  5 20:37:11 2015	(r403076)
@@ -0,0 +1,2 @@
+SHA256 (PerlIO-via-Timeout-0.32.tar.gz) = 9278f9ef668850d913d98fa4c0d7e7d667cff3503391f4a4eae73a246f2e7916
+SIZE (PerlIO-via-Timeout-0.32.tar.gz) = 13560

Added: head/devel/p5-PerlIO-via-Timeout/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-PerlIO-via-Timeout/pkg-descr	Sat Dec  5 20:37:11 2015	(r403076)
@@ -0,0 +1,13 @@
+This package implements a PerlIO layer, that adds read / write
+timeout. This can be useful to avoid blocking while accessing a
+handle (file, socket, ...), and fail after some time.
+
+The timeout is implemented by using <select> on the handle before
+reading/writing.
+
+WARNING the handle won't timeout if you use sysread or syswrite on
+it, because these functions works at a lower level. However if
+you're trying to implement a timeout for a socket, see IO::Socket::Timeout
+that implements exactly that.
+
+WWW: http://search.cpan.org/dist/PerlIO-via-Timeout

Added: head/devel/p5-PerlIO-via-Timeout/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-PerlIO-via-Timeout/pkg-plist	Sat Dec  5 20:37:11 2015	(r403076)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/PerlIO/via/README.pod
+%%SITE_PERL%%/PerlIO/via/Timeout.pm
+%%PERL5_MAN3%%/PerlIO::via::README.3.gz
+%%PERL5_MAN3%%/PerlIO::via::Timeout.3.gz



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