Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 11:58:26 +0300 (EEST)
From:      Mykola Marzhan <delgod@portaone.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122253: [New port] ports: devel/p5-libalarm
Message-ID:  <200803300858.m2U8wQ6P079030@lizard.portaone.com>
Resent-Message-ID: <200803300900.m2U90174009189@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122253
>Category:       ports
>Synopsis:       [New port] ports: devel/p5-libalarm
>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 30 09:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mykola Marzhan
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
PortaOne
>Environment:
System: FreeBSD lizard.portaone.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Wed Mar 26 00:57:12 EET 2008 root@lizard.portaone.com:/usr/src/sys/amd64/compile/LIZARD amd64


	
>Description:
	Perl module libalarm allows multiple, queued alarms.
>How-To-Repeat:
	
>Fix:

	

--- p5-libalarm.shar begins here ---
# 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
--- p5-libalarm.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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