From 606cd14c43515591854dc04155960da6af342526 Mon Sep 17 00:00:00 2001 From: wen Date: Sat, 27 Oct 2012 12:33:44 +0000 Subject: Update to 1.18 Upstream changes: 1.18 - Added more documentation about empty_port() 1.17 commit 0f4510d83ae2f2ce112288c64289fa36d32865b3 Author: Christian Walde Date: Sat Jul 28 07:04:40 2012 +0200 fix port checking on Win32 by performing it in another process On Win32 fork is emulating by creating another thread in the same process. This leads to a possible bug/race condition when a server tries to open a port and listen on it, while in the same process a client tries to connect to the same port. This manifests by the accept call of the server failing with an error of "Bad file descriptor". This is easily fixed by having another process perform the port checking, since that will not interfere with the internals. --- net/p5-Test-TCP/Makefile | 5 ++--- net/p5-Test-TCP/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'net') diff --git a/net/p5-Test-TCP/Makefile b/net/p5-Test-TCP/Makefile index a7cbf81ecd8..2ec89b32e9f 100644 --- a/net/p5-Test-TCP/Makefile +++ b/net/p5-Test-TCP/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2012/10/23 17:18:55 asau Exp $ +# $NetBSD: Makefile,v 1.10 2012/10/27 12:33:44 wen Exp $ # -DISTNAME= Test-TCP-1.16 +DISTNAME= Test-TCP-1.18 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} diff --git a/net/p5-Test-TCP/distinfo b/net/p5-Test-TCP/distinfo index 6f601280a29..b47794fa270 100644 --- a/net/p5-Test-TCP/distinfo +++ b/net/p5-Test-TCP/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2012/07/25 15:39:31 wen Exp $ +$NetBSD: distinfo,v 1.6 2012/10/27 12:33:44 wen Exp $ -SHA1 (Test-TCP-1.16.tar.gz) = 0453b12186a8cfa58e1e190cda38a79040a4eee8 -RMD160 (Test-TCP-1.16.tar.gz) = 2e410fa5790ed098d64ae3662849f9c45cadf5ae -Size (Test-TCP-1.16.tar.gz) = 26703 bytes +SHA1 (Test-TCP-1.18.tar.gz) = a961d1d430e7648cd59958625ec288bda0973085 +RMD160 (Test-TCP-1.18.tar.gz) = 4578deb1767ce02ca5579b01d4a4dedf6186070e +Size (Test-TCP-1.18.tar.gz) = 27348 bytes -- cgit v1.2.3