Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 05:30:03 -0700 (PDT)
From:      Joshua Goodall <joshua@roughtrade.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/36815: new port: net/p5-Spread-Session
Message-ID:  <200205241230.g4OCU3k70615@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/36815; it has been noted by GNATS.

From: Joshua Goodall <joshua@roughtrade.net>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/36815: new port: net/p5-Spread-Session
Date: Fri, 24 May 2002 22:21:26 +1000

 I just tested this with a 4.6-PRERELEASE box and it worked.
 Here's an updated sharachive (with tiny wording nit).
 
 Joshua
 
 
 # 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:				May 24th 2002
 X# Whom:	      				Joshua Goodall <joshua@roughtrade.net>
 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 <bsd.port.mk>
 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 <jmay@pobox.com>') : ()),
 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 direct interface
 Xto the C API's.
 X
 X- Joshua Goodall <joshua@roughtrade.net>
 END-of-p5-Spread-Session/pkg-descr
 exit
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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