From owner-freebsd-ports Sat Apr 6 7: 0:32 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A55A837B41B for ; Sat, 6 Apr 2002 07:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g36F06H90918; Sat, 6 Apr 2002 07:00:06 -0800 (PST) (envelope-from gnats) Received: from green.shallow.net (c16486.smelb1.vic.optusnet.com.au [210.49.224.105]) by hub.freebsd.org (Postfix) with ESMTP id 84B3937B41A for ; Sat, 6 Apr 2002 06:58:31 -0800 (PST) Received: by green.shallow.net (Postfix, from userid 1001) id E73163EAC; Sun, 7 Apr 2002 00:57:29 +1000 (EST) Message-Id: <20020406145729.E73163EAC@green.shallow.net> Date: Sun, 7 Apr 2002 00:57:29 +1000 (EST) From: Joshua Goodall Reply-To: Joshua Goodall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36815: new port: net/p5-Spread-Session Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36815 >Category: ports >Synopsis: new port: net/p5-Spread-Session >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 07:00:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joshua Goodall >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD green.shallow.net 4.5-STABLE FreeBSD 4.5-STABLE #3: Sat Apr 6 23:01:47 EST 2002 joshua@green.shallow.net:/usr/obj/usr/src/sys/GREEN i386 >Description: Spread::Session is an object-oriented Perl wrapper for the Spread messaging toolkit. Committer please note: that this module is not currently carried in CPAN /modules/by-module/. If acceptable, I'd appreciate a MASTER_SITE_LOCAL subdir until that changes. Joshua >How-To-Repeat: >Fix: # 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-Spread-Session # p5-Spread-Session/Makefile # p5-Spread-Session/files # p5-Spread-Session/files/patch-Makefile.PL # p5-Spread-Session/files/patch-Session.pm # p5-Spread-Session/pkg-comment # p5-Spread-Session/pkg-plist # p5-Spread-Session/distinfo # p5-Spread-Session/pkg-descr # echo c - p5-Spread-Session mkdir -p p5-Spread-Session > /dev/null 2>&1 echo x - p5-Spread-Session/Makefile sed 's/^X//' >p5-Spread-Session/Makefile << 'END-of-p5-Spread-Session/Makefile' X# New ports collection makefile for: p5-Spread-Session X# Date created: April 3rd 2002 X# Whom: Joshua Goodall X# X# $FreeBSD$ X# X XPORTNAME= Spread-Session XPORTVERSION= 0.2 XCATEGORIES= net perl5 X#MASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITES= http://www.roughtrade.net/distfiles/ XMASTER_SITE_SUBDIR= Spread XPKGNAMEPREFIX= p5- X XMAINTAINER= joshua@roughtrade.net X XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Spread.pm:${PORTSDIR}/net/spread XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Spread::Session.3 X X.include END-of-p5-Spread-Session/Makefile echo c - p5-Spread-Session/files mkdir -p p5-Spread-Session/files > /dev/null 2>&1 echo x - p5-Spread-Session/files/patch-Makefile.PL sed 's/^X//' >p5-Spread-Session/files/patch-Makefile.PL << 'END-of-p5-Spread-Session/files/patch-Makefile.PL' X--- Makefile.PL.orig Mon Mar 25 08:47:50 2002 X+++ Makefile.PL Wed Apr 3 01:03:40 2002 X@@ -4,10 +4,6 @@ X WriteMakefile( X 'NAME' => 'Spread::Session', X 'VERSION_FROM' => 'Session.pm', # finds $VERSION X- 'PREREQ_PM' => { X- Log::Channel => 0.4, X- Event => 0.85, # for test cases X- }, X ($] >= 5.005 ? ## Add these new keywords supported since 5.005 X (ABSTRACT_FROM => 'Session.pm', # retrieve abstract from module X AUTHOR => 'Jason W. May ') : ()), END-of-p5-Spread-Session/files/patch-Makefile.PL echo x - p5-Spread-Session/files/patch-Session.pm sed 's/^X//' >p5-Spread-Session/files/patch-Session.pm << 'END-of-p5-Spread-Session/files/patch-Session.pm' X--- Session.pm.orig Sat Apr 6 16:12:24 2002 X+++ Session.pm Sat Apr 6 16:13:03 2002 X@@ -46,7 +46,6 @@ X use strict; X #use warnings; X use Carp; X-use Log::Channel; X use Spread; X X use vars qw($VERSION); X@@ -55,9 +54,17 @@ X my $DEFAULT_TIMEOUT = 5; X X BEGIN { X- my $log = new Log::Channel; X+ my ($log, $msglog); X+ if (defined eval "require Log::Channel") { X+ $log = new Log::Channel; X+ $msglog = new Log::Channel("message"); X+ } else { X+ # no log::channel, disable all the logging X+ $log = sub {}; X+ $msglog = sub {}; X+ } X+ X sub sslog { $log->(@_) } X- my $msglog = new Log::Channel("message"); X sub msglog { $msglog->(@_) } X } X END-of-p5-Spread-Session/files/patch-Session.pm echo x - p5-Spread-Session/pkg-comment sed 's/^X//' >p5-Spread-Session/pkg-comment << 'END-of-p5-Spread-Session/pkg-comment' XPerl OO wrapper for Spread messaging toolkit END-of-p5-Spread-Session/pkg-comment echo x - p5-Spread-Session/pkg-plist sed 's/^X//' >p5-Spread-Session/pkg-plist << 'END-of-p5-Spread-Session/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/Spread/Session.pm Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Spread/Session/.packlist X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Spread/Session X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Spread 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Spread 2>/dev/null || true END-of-p5-Spread-Session/pkg-plist echo x - p5-Spread-Session/distinfo sed 's/^X//' >p5-Spread-Session/distinfo << 'END-of-p5-Spread-Session/distinfo' XMD5 (Spread-Session-0.2.tar.gz) = 1ac0f4f0beb0bf31e3538c287dc8903e END-of-p5-Spread-Session/distinfo echo x - p5-Spread-Session/pkg-descr sed 's/^X//' >p5-Spread-Session/pkg-descr << 'END-of-p5-Spread-Session/pkg-descr' XThis is a wrapper module for Spread.pm (part of the standard Spread Xdistribution), providing an object-oriented interface to the Spread Xmessaging toolkit instead of Spread.pm's more functional interface Xto the C API's. X X- Joshua Goodall END-of-p5-Spread-Session/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message