From owner-freebsd-perl@FreeBSD.ORG Sat Dec 9 12:20:39 2006 Return-Path: X-Original-To: perl@FreeBSD.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9535B16A40F; Sat, 9 Dec 2006 12:20:39 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A92D43CA2; Sat, 9 Dec 2006 12:19:35 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 754778D; Sat, 9 Dec 2006 20:20:38 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Gea-Suan Lin X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20061209122038.754778D@netnews.NCTU.edu.tw> Date: Sat, 9 Dec 2006 20:20:38 +0800 (CST) Cc: perl@FreeBSD.org Subject: [PATCH] devel/p5-Coro: update to 3.1.1 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 12:20:39 -0000 >Submitter-Id: current-users >Originator: Gea-Suan Lin >Organization: >Confidential: no >Synopsis: [PATCH] devel/p5-Coro: update to 3.1.1 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 6.1-RELEASE-p8 i386 >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE-p8 FreeBSD 6.1-RELEASE-p8 #0: Fri Sep 29 03:41:50 CST 2006 >Description: - Update to 3.1.1 Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Coro-3.1.1,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/p5-Coro/Makefile /home/staff/gslin/work/ports/p5-Coro/Makefile --- /usr/ports/devel/p5-Coro/Makefile Mon Feb 6 16:11:21 2006 +++ /home/staff/gslin/work/ports/p5-Coro/Makefile Sat Dec 9 20:19:51 2006 @@ -6,34 +6,29 @@ # PORTNAME= Coro -PORTVERSION= 1.9 +PORTVERSION= 3.1.1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Coro PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-3.11 MAINTAINER= perl@FreeBSD.org COMMENT= Coro - coroutine process abstraction for perl -BUILD_DEPENDS= p5-Event>=0.89:${PORTSDIR}/devel/p5-Event \ - ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= p5-Event>=0.89:${PORTSDIR}/devel/p5-Event \ + ${SITE_PERL}/AnyEvent.pm:${PORTSDIR}/devel/p5-AnyEvent \ + ${SITE_PERL}/${PERL_ARCH}/IO/AIO.pm:${PORTSDIR}/devel/p5-IO-AIO +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes -.if !defined(NOPORTDOCS) -PORTDOCS= Changes -EXAMPLES= eg/attributes eg/bench eg/cont eg/dns eg/event eg/lwp eg/myhttpd eg/prodcons1 eg/prodcons2 eg/prodcons3 eg/readline - -post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR} - @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." -.endif +MAN3= Coro.3 Coro::AIO.3 Coro::Channel.3 Coro::Handle.3 \ + Coro::LWP.3 Coro::MakeMaker.3 Coro::RWLock.3 Coro::Select.3 \ + Coro::Semaphore.3 Coro::SemaphoreSet.3 Coro::Signal.3 \ + Coro::Socket.3 Coro::Specific.3 Coro::State.3 Coro::Timer.3 \ + Coro::Util.3 .include @@ -41,22 +36,12 @@ IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again .endif -MAN3= Coro.3 \ - Coro::AIO.3 \ - Coro::Channel.3 \ - Coro::Cont.3 \ - Coro::Event.3 \ - Coro::Handle.3 \ - Coro::MakeMaker.3 \ - Coro::RWLock.3 \ - Coro::Select.3 \ - Coro::Semaphore.3 \ - Coro::SemaphoreSet.3 \ - Coro::Signal.3 \ - Coro::Socket.3 \ - Coro::Specific.3 \ - Coro::State.3 \ - Coro::Timer.3 \ - Coro::Util.3 +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/cede-vs-schedule ${DOCSDIR} +.endif .include diff -ruN --exclude=CVS /usr/ports/devel/p5-Coro/distinfo /home/staff/gslin/work/ports/p5-Coro/distinfo --- /usr/ports/devel/p5-Coro/distinfo Mon Feb 6 16:11:21 2006 +++ /home/staff/gslin/work/ports/p5-Coro/distinfo Sat Dec 9 19:45:50 2006 @@ -1,3 +1,3 @@ -MD5 (Coro-1.9.tar.gz) = 63efa9fb31ded80f2c7d1fb900163824 -SHA256 (Coro-1.9.tar.gz) = c94d584e07e0433909157277194112807077ed97446943995ecc2634595b8d7f -SIZE (Coro-1.9.tar.gz) = 55882 +MD5 (Coro-3.11.tar.gz) = b5e2accd75fbb4aaa83e7216e92e6a3d +SHA256 (Coro-3.11.tar.gz) = 1ad4f9aa856b7b8d9add923d1cb5baf14064d4754d999090f6d402c7e5b7cd9d +SIZE (Coro-3.11.tar.gz) = 62084 diff -ruN --exclude=CVS /usr/ports/devel/p5-Coro/files/patch-Coro-Makefile.PL /home/staff/gslin/work/ports/p5-Coro/files/patch-Coro-Makefile.PL --- /usr/ports/devel/p5-Coro/files/patch-Coro-Makefile.PL Wed Jan 11 21:17:31 2006 +++ /home/staff/gslin/work/ports/p5-Coro/files/patch-Coro-Makefile.PL Sat Dec 9 19:51:35 2006 @@ -1,120 +1,40 @@ ---- Coro/Makefile.PL.orig Wed Jan 11 13:20:06 2006 -+++ Coro/Makefile.PL Wed Jan 11 13:22:18 2006 -@@ -31,77 +31,8 @@ if ($^O =~ /win32/i or $^O =~ /cygwin/ o - $iface = "s"; - } - --print <etjmp/longjump, context, rix, inux or indows?", - $iface; -- $iface = lc $1 if $r =~ /(\S)/; ++ my $r = 'u'; + $iface = lc $1 if $r =~ /(\S)/; if ($iface eq "u") { - $DEFINE .= " -DCORO_UCONTEXT"; -@@ -122,37 +53,9 @@ retry: - print "\nUsing windows-specific implementation\n\n"; - } else { - print "\nUnknown implementation \"$iface\"\n"; -- goto retry; - } --} else { -- print "\nUsing microsoft compatible coroutines\n\n"; --} -- --print <