FreeBSD Bugzilla – Attachment 85917 Details for
Bug 122253
[New port] devel/p5-libalarm: Perl module to allow multiple, queued alarms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
p5-libalarm.shar
p5-libalarm.shar (text/plain), 4.27 KB, created by
Mykola Marzhan
on 2008-03-30 10:00:01 UTC
(
hide
)
Description:
p5-libalarm.shar
Filename:
MIME Type:
Creator:
Mykola Marzhan
Created:
2008-03-30 10:00:01 UTC
Size:
4.27 KB
patch
obsolete
># 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: ># ># /usr/ports/devel/p5-libalarm ># /usr/ports/devel/p5-libalarm/files ># /usr/ports/devel/p5-libalarm/files/patch-lib__Alarm__Concurrent.pm ># /usr/ports/devel/p5-libalarm/Makefile ># /usr/ports/devel/p5-libalarm/distinfo ># /usr/ports/devel/p5-libalarm/pkg-descr ># /usr/ports/devel/p5-libalarm/pkg-plist ># /usr/ports/devel/p5-libalarm/Makefile~ ># >echo c - /usr/ports/devel/p5-libalarm >mkdir -p /usr/ports/devel/p5-libalarm > /dev/null 2>&1 >echo c - /usr/ports/devel/p5-libalarm/files >mkdir -p /usr/ports/devel/p5-libalarm/files > /dev/null 2>&1 >echo x - /usr/ports/devel/p5-libalarm/files/patch-lib__Alarm__Concurrent.pm >sed 's/^X//' >/usr/ports/devel/p5-libalarm/files/patch-lib__Alarm__Concurrent.pm << 'END-of-/usr/ports/devel/p5-libalarm/files/patch-lib__Alarm__Concurrent.pm' >X--- ./lib/Alarm/Concurrent.pm.orig 2004-05-11 22:06:28.000000000 +0000 >X+++ ./lib/Alarm/Concurrent.pm 2008-03-27 16:18:44.000000000 +0000 >X@@ -198,12 +198,14 @@ >X =cut >X sub setalarm($$) { >X my ($alarm, $code) = @_; >X+ my $alarm_id = 0; >X >X unless(not defined($code) or UNIVERSAL::isa($code, 'CODE')) { >X croak("Alarm handler must be CODEREF"); >X } >X >X push( @ALARM_QUEUE, [ $alarm, time(), $code ] ); >X+ $alarm_id = $#ALARM_QUEUE; >X >X my $time_remaining; >X $time_remaining = $ALARM_QUEUE[$ACTIVE_ALARM][1]; >X@@ -214,6 +216,8 @@ >X $ACTIVE_ALARM = $#ALARM_QUEUE; >X CORE::alarm($alarm); >X } >X+ >X+ return $alarm_id; >X } >X >X =item clearalarm INDEX LENGTH >END-of-/usr/ports/devel/p5-libalarm/files/patch-lib__Alarm__Concurrent.pm >echo x - /usr/ports/devel/p5-libalarm/Makefile >sed 's/^X//' >/usr/ports/devel/p5-libalarm/Makefile << 'END-of-/usr/ports/devel/p5-libalarm/Makefile' >X# New ports collection makefile for: p5-libalarm >X# Date created: March 27, 2008 >X# Whom: Marzhan Mykola <delgod@portaone.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= libalarm >XPORTVERSION= 1.0 >XCATEGORIES= devel perl5 >XMASTER_SITES= CPAN >XMASTER_SITE_SUBDIR= Alarm >XPKGNAMEPREFIX= p5- >X >XMAINTAINER= delgod@portaone.com >XCOMMENT= Allows multiple, queued alarms. >X >XPERL_CONFIGURE= yes >X >XMAN3= Alarm::_TieSIG.3 \ >X Alarm::Concurrent.3 \ >X Alarm::Queued.3 >X >X.include <bsd.port.mk> >END-of-/usr/ports/devel/p5-libalarm/Makefile >echo x - /usr/ports/devel/p5-libalarm/distinfo >sed 's/^X//' >/usr/ports/devel/p5-libalarm/distinfo << 'END-of-/usr/ports/devel/p5-libalarm/distinfo' >XMD5 (libalarm-1.0.tar.gz) = 7f39e762ed53f707309f77874f54f038 >XSHA256 (libalarm-1.0.tar.gz) = 80a0c7b7a3b8bf0a36969a1baeda26e98706d28dbd5fee5de9dce63c83569180 >XSIZE (libalarm-1.0.tar.gz) = 7223 >END-of-/usr/ports/devel/p5-libalarm/distinfo >echo x - /usr/ports/devel/p5-libalarm/pkg-descr >sed 's/^X//' >/usr/ports/devel/p5-libalarm/pkg-descr << 'END-of-/usr/ports/devel/p5-libalarm/pkg-descr' >XThis module is an attempt to enhance Perl's built-in >Xalarm/$SIG{ALRM} functionality. >X >XWWW: http://search.cpan.org/~johnsca/libalarm-1.0/ >END-of-/usr/ports/devel/p5-libalarm/pkg-descr >echo x - /usr/ports/devel/p5-libalarm/pkg-plist >sed 's/^X//' >/usr/ports/devel/p5-libalarm/pkg-plist << 'END-of-/usr/ports/devel/p5-libalarm/pkg-plist' >X%%SITE_PERL%%/Alarm/_TieSIG.pm >X%%SITE_PERL%%/Alarm/Concurrent.pm >X%%SITE_PERL%%/Alarm/Queued.pm >X@dirrmtry %%SITE_PERL%%/Alarm >X%%SITE_PERL%%/%%PERL_ARCH%%/auto/libalarm/.packlist >X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libalarm >X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash >END-of-/usr/ports/devel/p5-libalarm/pkg-plist >echo x - /usr/ports/devel/p5-libalarm/Makefile~ >sed 's/^X//' >/usr/ports/devel/p5-libalarm/Makefile~ << 'END-of-/usr/ports/devel/p5-libalarm/Makefile~' >X# New ports collection makefile for: p5-libalarm >X# Date created: March 27, 2008 >X# Whom: Marzhan Mykola <delgod@portaone.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= libalarm >XPORTVERSION= 1.0 >XCATEGORIES= devel perl5 >XMASTER_SITES= CPAN >XMASTER_SITE_SUBDIR= Alarm >XPKGNAMEPREFIX= p5- >X >XMAINTAINER= delgod@portaone.com >XCOMMENT= Allow multiple, queued alarms. >X >XPERL_CONFIGURE= yes >X >XMAN3= Alarm::_TieSIG.3 \ >X Alarm::Concurrent.3 \ >X Alarm::Queued.3 >X >X.include <bsd.port.mk> >END-of-/usr/ports/devel/p5-libalarm/Makefile~ >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122253
: 85917 |
85918
|
85919