Date: Sun, 18 Mar 2007 17:11:52 +0100 (CET) From: Ruben van Staveren <ruben@verweg.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110475: New port: devel/p5-Thread-Cancel 1.05 Message-ID: <200703181611.l2IGBqk1025465@helium.verweg.com> Resent-Message-ID: <200703181620.l2IGK3Oj081550@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110475 >Category: ports >Synopsis: New port: devel/p5-Thread-Cancel 1.05 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 18 16:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ruben van Staveren >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD helium.verweg.com 6.2-STABLE FreeBSD 6.2-STABLE #30: Sun Feb 11 01:03:26 CET 2007 root@helium.verweg.com:/usr/obj/usr/cvsup/6-stable/src/sys/HELIUM-SMP i386 >Description: >From pkg-descr: This module adds cancellation capabilities for threads. Cancelled threads are terminated using threads->exit(). The thread is then detached, and hence automatically cleaned up. Threads that are suspended using Thread::Suspend do not need to be resumed in order to be cancelled. It is possible for a thread to cancel itself. WWW: http://search.cpan.org/dist/Thread-Cancel/ >How-To-Repeat: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Thread-Cancel # p5-Thread-Cancel/Makefile # p5-Thread-Cancel/distinfo # p5-Thread-Cancel/pkg-descr # p5-Thread-Cancel/pkg-plist # echo c - p5-Thread-Cancel mkdir -p p5-Thread-Cancel > /dev/null 2>&1 echo x - p5-Thread-Cancel/Makefile sed 's/^X//' >p5-Thread-Cancel/Makefile << 'END-of-p5-Thread-Cancel/Makefile' X# New ports collection makefile for: p5-Thread-Cancel X# Date created: 2007-03-18 X# Whom: Ruben van Staveren X# X# $FreeBSD$ X# X XPORTNAME= Thread-Cancel XPORTVERSION= 1.05 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Thread XPKGNAMEPREFIX= p5- X XMAINTAINER= ruben@verweg.com XCOMMENT= Cancel (i.e., kill) threads X XRUN_DEPENDS= p5-threads>=1.34:${PORTSDIR}/devel/p5-threads XBUILD_DEPENDS= ${RUN_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Thread::Cancel.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500800 XIGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again X.endif X X.include <bsd.port.post.mk> END-of-p5-Thread-Cancel/Makefile echo x - p5-Thread-Cancel/distinfo sed 's/^X//' >p5-Thread-Cancel/distinfo << 'END-of-p5-Thread-Cancel/distinfo' XMD5 (Thread-Cancel-1.05.tar.gz) = 8e3d2006e42d4cc10b4ebe7d324015cb XSHA256 (Thread-Cancel-1.05.tar.gz) = 3ab2c6ab9a45c49061dbf11d80d88b605e47196f9957e6e011f8b7c10ca87d4c XSIZE (Thread-Cancel-1.05.tar.gz) = 5109 END-of-p5-Thread-Cancel/distinfo echo x - p5-Thread-Cancel/pkg-descr sed 's/^X//' >p5-Thread-Cancel/pkg-descr << 'END-of-p5-Thread-Cancel/pkg-descr' XThis module adds cancellation capabilities for threads. Cancelled threads are Xterminated using threads->exit(). The thread is then detached, and hence Xautomatically cleaned up. X XThreads that are suspended using Thread::Suspend do not need to be resumed in Xorder to be cancelled. X XIt is possible for a thread to cancel itself. X X XWWW: http://search.cpan.org/dist/Thread-Cancel/ END-of-p5-Thread-Cancel/pkg-descr echo x - p5-Thread-Cancel/pkg-plist sed 's/^X//' >p5-Thread-Cancel/pkg-plist << 'END-of-p5-Thread-Cancel/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/Thread/Cancel.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Cancel/.packlist X@dirrmtry %%SITE_PERL%%/Thread/Cancel X@dirrmtry %%SITE_PERL%%/Thread X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Cancel X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread END-of-p5-Thread-Cancel/pkg-plist exit >Fix: FYI: "make test" ran succesfukl on this platform with perl interpreter threads enabled >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703181611.l2IGBqk1025465>