update to POE-Component-Supervisor-0.08

This commit is contained in:
jasper 2014-09-16 06:52:47 +00:00
parent 5c3162afe4
commit cac7f062cd
4 changed files with 6 additions and 55 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2014/03/24 10:27:09 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2014/09/16 06:52:47 jasper Exp $
COMMENT= Erlang inspired babysitting
DISTNAME= POE-Component-Supervisor-0.07
REVISION= 1
DISTNAME= POE-Component-Supervisor-0.08
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
@ -19,12 +18,9 @@ RUN_DEPENDS= devel/p5-Devel-PartialDump \
devel/p5-POE-API-Peek \
devel/p5-MooseX-POE \
devel/p5-MooseX-LogDispatch \
devel/p5-Log-Dispatch-Config-TestLog \
devel/p5-Set-Object \
devel/p5-Hash-Util-FieldHash-Compat
TEST_DEPENDS= devel/p5-Test-use-ok
pre-configure:
rm ${WRKSRC}/lib/POE/Component/Supervisor/Handle/Proc.pm.orig
BUILD_DEPENDS= ${RUN_DEPENDS} \
devel/p5-Log-Dispatch-Config-TestLog
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
MD5 (POE-Component-Supervisor-0.07.tar.gz) = v8xNiov8HIAi3RJPvgBlKw==
RMD160 (POE-Component-Supervisor-0.07.tar.gz) = i6MwI8NY2yLU9rm2f3w8JtQ249I=
SHA1 (POE-Component-Supervisor-0.07.tar.gz) = igZrhWP7/0lMJ6+IlSkLMRSM4Po=
SHA256 (POE-Component-Supervisor-0.07.tar.gz) = DKVGamTuk5US4YoeSu2dIKyeqYLf79IxqWrpGdWIKOg=
SIZE (POE-Component-Supervisor-0.07.tar.gz) = 17248
SHA256 (POE-Component-Supervisor-0.08.tar.gz) = F6wHOfM4/qI2yhUroyrV/QKqlLT+SLV5AOqzf46O8bU=
SIZE (POE-Component-Supervisor-0.08.tar.gz) = 16519

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-lib_POE_Component_Supervisor_Handle_Proc_pm,v 1.1 2014/03/24 10:27:09 jasper Exp $
--- lib/POE/Component/Supervisor/Handle/Proc.pm.orig Mon Nov 8 08:25:58 2010
+++ lib/POE/Component/Supervisor/Handle/Proc.pm Mon Mar 24 11:23:48 2014
@@ -37,7 +37,7 @@ has start_nested_poe => (
default => 1,
);
-has [map { "std${_}_callback" } qw(out err in)] => (
+has [map { "std${_}_callback" } (qw(out err in))] => (
isa => "CodeRef",
is => "rw",
required => 0,
@@ -165,7 +165,7 @@ sub _wrapped_program {
return $program;
}
-foreach my $event qw(stdout stderr stdin) {
+foreach my $event (qw(stdout stderr stdin)) {
my $cb_name = "${event}_callback";
event $event => sub {
if ( my $cb = $_[OBJECT]->$cb_name ) {
@@ -247,7 +247,7 @@ event _close_stdin => sub {
}
};
-foreach my $sig qw(term kill) {
+foreach my $sig (qw(term kill)) {
my $SIG = uc($sig);
my $event = "_${sig}_loop";

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-t_04_global_restart_policy_t,v 1.1 2014/03/24 10:27:09 jasper Exp $
--- t/04_global_restart_policy.t.orig Mon Mar 24 11:25:36 2014
+++ t/04_global_restart_policy.t Mon Mar 24 11:26:00 2014
@@ -20,7 +20,7 @@ my $mid = int( ($n + 1) / 2 );
my @classes = qw(Proc Session);
foreach my $class ( @classes, undef, undef ) {
- foreach my $policy qw(one all rest) {
+ foreach my $policy (qw(one all rest)) {
my %pids;
my ( $supervisor, $session );