From Philippe.Waelti@eivd.ch  Tue Jul 19 06:56:31 2005
Return-Path: <Philippe.Waelti@eivd.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AF30916A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Jul 2005 06:56:31 +0000 (GMT)
	(envelope-from Philippe.Waelti@eivd.ch)
Received: from mail2.eivd.ch (mail2.eivd.ch [193.134.216.149])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DF16143D48
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Jul 2005 06:56:26 +0000 (GMT)
	(envelope-from Philippe.Waelti@eivd.ch)
Received: from localhost (localhost [127.0.0.1])
	by mail2.eivd.ch (8.13.1/8.13.1/MailGateway 2.01) with ESMTP id j6J6uK4A009123
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Jul 2005 08:56:20 +0200
Received: from mail2.eivd.ch ([127.0.0.1])
 by localhost (mail2.eivd.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 09017-03 for <FreeBSD-gnats-submit@freebsd.org>;
 Tue, 19 Jul 2005 08:56:19 +0200 (CEST)
Received: from EINT11.einet.ad.eivd.ch ([10.192.41.24])
	by mail2.eivd.ch (8.13.1/8.13.1/MailGateway 2.01) with ESMTP id j6J6uIAI009119
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Jul 2005 08:56:18 +0200
Received: from pwiux01.eivd.ch ([10.192.57.52]) by EINT11.einet.ad.eivd.ch with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 19 Jul 2005 08:56:18 +0200
Received: from pwiux01.eivd.ch (localhost [127.0.0.1])
	by pwiux01.eivd.ch (8.13.3/8.13.1) with ESMTP id j6J6uHrQ013217;
	Tue, 19 Jul 2005 08:56:17 +0200 (CEST)
	(envelope-from philippe.waelti@eivd.ch)
Received: (from pwaelti@localhost)
	by pwiux01.eivd.ch (8.13.3/8.13.1/Submit) id j6J6uHca013216;
	Tue, 19 Jul 2005 08:56:17 +0200 (CEST)
	(envelope-from philippe.waelti@eivd.ch)
Message-Id: <20050719065617.GB12763@pwiux01.eivd.ch>
Date: Tue, 19 Jul 2005 08:56:17 +0200
From: Philippe Waelti <philippe.waelti@eivd.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Philippe Waelti <philippe.waelti@eivd.ch>
Subject: [NEW PORT] math/p5-Statistics-R: Controls the R (R-project) interpreter through Perl

>Number:         83707
>Category:       ports
>Synopsis:       [NEW PORT] math/p5-Statistics-R: Controls the R (R-project) interpreter through Perl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    aaron
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 19 07:00:21 GMT 2005
>Closed-Date:    Mon Dec 05 01:03:18 GMT 2005
>Last-Modified:  Mon Dec 05 01:03:18 GMT 2005
>Originator:     Philippe Waelti
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
EiVD
>Environment:
System: FreeBSD pwiux01.eivd.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #6: Thu Jul  7 08:56:27 CEST
>Description:
This will permit the control of the the R (R-project) interpreter
through Perl.

You can for example, start only one instance of the R interpreter and have
different Perl process accessing it.

WWW: http://search.cpan.org/dist/Statistics-R-0.02

- Walter
philippe.waelti@eivd.ch

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Statistics-R-0.02.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:
#
#	p5-Statistics-R
#	p5-Statistics-R/distinfo
#	p5-Statistics-R/Makefile
#	p5-Statistics-R/pkg-descr
#	p5-Statistics-R/files
#	p5-Statistics-R/files/patch-bridge-linux
#	p5-Statistics-R/pkg-plist
#
echo c - p5-Statistics-R
mkdir -p p5-Statistics-R > /dev/null 2>&1
echo x - p5-Statistics-R/distinfo
sed 's/^X//' >p5-Statistics-R/distinfo << 'END-of-p5-Statistics-R/distinfo'
XMD5 (Statistics-R-0.02.tar.gz) = 8c6c260ab0031d9191a293543e650d74
XSIZE (Statistics-R-0.02.tar.gz) = 9129
END-of-p5-Statistics-R/distinfo
echo x - p5-Statistics-R/Makefile
sed 's/^X//' >p5-Statistics-R/Makefile << 'END-of-p5-Statistics-R/Makefile'
X# New ports collection makefile for:   p5-Statistics-R
X# Date created:        12 July 2005
X# Whom:                pwaelti
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Statistics-R
XPORTVERSION=	0.02
XCATEGORIES=	math perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Statistics
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	philippe.waelti@eivd.ch
XCOMMENT=	Controls the R (R-project) interpreter through Perl
X
XBUILD_DEPENDS=	R:${PORTSDIR}/math/R
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Statistics::R::Bridge.3 Statistics::R::Bridge::pipe.3 \
X		Statistics::R.3 Statistics::R::Bridge::Linux.3 \
X		Statistics::R::Bridge::Win32.3
X
X.include <bsd.port.mk>
END-of-p5-Statistics-R/Makefile
echo x - p5-Statistics-R/pkg-descr
sed 's/^X//' >p5-Statistics-R/pkg-descr << 'END-of-p5-Statistics-R/pkg-descr'
XThis will permit the control of the the R (R-project) interpreter
Xthrough Perl.
X
XYou can for example, start only one instance of the R interpreter and have
Xdifferent Perl process accessing it.
X
XWWW: http://search.cpan.org/dist/Statistics-R-0.02
X
X- Walter
Xphilippe.waelti@eivd.ch
END-of-p5-Statistics-R/pkg-descr
echo c - p5-Statistics-R/files
mkdir -p p5-Statistics-R/files > /dev/null 2>&1
echo x - p5-Statistics-R/files/patch-bridge-linux
sed 's/^X//' >p5-Statistics-R/files/patch-bridge-linux << 'END-of-p5-Statistics-R/files/patch-bridge-linux'
X--- lib/Statistics/R/Bridge/Linux.pm.orig	Tue Jul 12 10:35:30 2005
X+++ lib/Statistics/R/Bridge/Linux.pm	Tue Jul 12 10:35:54 2005
X@@ -95,11 +95,11 @@
X     if ( !-s $this->{R_BIN} ) { $this->error("Can'find R binary!") ; return UNDEF ;}
X     if ( !-d $this->{R_DIR} ) { $this->error("Can'find R directory!") ; return UNDEF ;}
X     
X-    $this->{START_CMD} = "$this->{R_BIN} --slave --vanilla --gui=none" ;
X+    $this->{START_CMD} = "$this->{R_BIN} --slave --vanilla" ;
X     
X     if ( !$args{log_dir} ) { $args{log_dir} = "$this->{TMP_DIR}/Statistics-R" ;}
X     
X-    $this->{OS} = 'linux' ;
X+    $this->{OS} = 'FreeBSD' ;
X     
X     $this->SUPER::pipe(%args) ;
X   }
END-of-p5-Statistics-R/files/patch-bridge-linux
echo x - p5-Statistics-R/pkg-plist
sed 's/^X//' >p5-Statistics-R/pkg-plist << 'END-of-p5-Statistics-R/pkg-plist'
Xbin/statistics-r.pl
X%%SITE_PERL%%/Statistics/R.pm
X%%SITE_PERL%%/Statistics/R/Bridge.pm
X%%SITE_PERL%%/Statistics/R/Bridge/Linux.pm
X%%SITE_PERL%%/Statistics/R/Bridge/Win32.pm
X%%SITE_PERL%%/Statistics/R/Bridge/pipe.pm
X%%SITE_PERL%%/mach/auto/Statistics/R/.packlist
X@dirrm %%SITE_PERL%%/mach/auto/Statistics/R
X@dirrm %%SITE_PERL%%/Statistics/R/Bridge
X@dirrm %%SITE_PERL%%/Statistics/R
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Statistics 2>/dev/null || true
END-of-p5-Statistics-R/pkg-plist
exit
--- p5-Statistics-R-0.02.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->aaron  
Responsible-Changed-By: aaron 
Responsible-Changed-When: Mon Nov 21 05:47:29 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83707 
State-Changed-From-To: open->feedback  
State-Changed-By: aaron 
State-Changed-When: Mon Nov 21 06:41:10 GMT 2005 
State-Changed-Why:  
Sent back to maintainer to fix problems with patch 


http://www.freebsd.org/cgi/query-pr.cgi?pr=83707 

From: "Aaron Dalton" <aaron@FreeBSD.org>
To: philippe.waelti@eivd.ch
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/83707: [NEW PORT] math/p5-Statistics-R: Controls the R
 (R-project) interpreter through Perl
Date: Sun, 20 Nov 2005 23:41:02 -0700 (MST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-1566923989-1132554980=:90819
 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
 Content-ID: <20051120233645.A90824@moondance.itsy-bitsy.net>
 
 There is a problem with the patch you submitted.  I get the following 
 error when trying to build:
 
 moondance# make
 ===>  Vulnerability check disabled, database not found
 ===>  Extracting for p5-Statistics-R-0.02
 => MD5 Checksum OK for Statistics-R-0.02.tar.gz.
 => SHA256 Checksum OK for Statistics-R-0.02.tar.gz.
 ===>   p5-Statistics-R-0.02 depends on file: /usr/local/bin/perl5.8.7 - 
 found
 ===>  Patching for p5-Statistics-R-0.02
 ===>   p5-Statistics-R-0.02 depends on file: /usr/local/bin/perl5.8.7 - 
 found
 ===>  Applying FreeBSD patches for p5-Statistics-R-0.02
 1 out of 1 hunks failed--saving rejects to 
 lib/Statistics/R/Bridge/Linux.pm.rej
 => Patch patch-bridge-linux failed to apply cleanly.
 *** Error code 1
 
 Stop in /home/aaron/BSD/p5-Statistics-R.
 
 I've attached the .rej file as well.  I await your reply.
 
 -- 
 Aaron Dalton
 aaron@FreeBSD.org
 FreeBSD Ports Committer
 --0-1566923989-1132554980=:90819
 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=Linux.pm.rej
 Content-Transfer-Encoding: BASE64
 Content-ID: <20051120233620.R90819@moondance.itsy-bitsy.net>
 Content-Description: rejected patch
 Content-Disposition: ATTACHMENT; FILENAME=Linux.pm.rej
 
 KioqKioqKioqKioqKioqDQoqKiogOTUsMTA1ICoqKioNCiAgICAgIGlmICgg
 IS1zICR0aGlzLT57Ul9CSU59ICkgeyAkdGhpcy0+ZXJyb3IoIkNhbidmaW5k
 IFIgYmluYXJ5ISIpIDsgcmV0dXJuIFVOREVGIDt9DQogICAgICBpZiAoICEt
 ZCAkdGhpcy0+e1JfRElSfSApIHsgJHRoaXMtPmVycm9yKCJDYW4nZmluZCBS
 IGRpcmVjdG9yeSEiKSA7IHJldHVybiBVTkRFRiA7fQ0KICAgICAgDQotICAg
 ICAkdGhpcy0+e1NUQVJUX0NNRH0gPSAiJHRoaXMtPntSX0JJTn0gLS1zbGF2
 ZSAtLXZhbmlsbGEgLS1ndWk9bm9uZSIgOw0KICAgICAgDQogICAgICBpZiAo
 ICEkYXJnc3tsb2dfZGlyfSApIHsgJGFyZ3N7bG9nX2Rpcn0gPSAiJHRoaXMt
 PntUTVBfRElSfS9TdGF0aXN0aWNzLVIiIDt9DQogICAgICANCi0gICAgICR0
 aGlzLT57T1N9ID0gJ2xpbnV4JyA7DQogICAgICANCiAgICAgICR0aGlzLT5T
 VVBFUjo6cGlwZSglYXJncykgOw0KICAgIH0NCi0tLSA5NSwxMDUgLS0tLQ0K
 ICAgICAgaWYgKCAhLXMgJHRoaXMtPntSX0JJTn0gKSB7ICR0aGlzLT5lcnJv
 cigiQ2FuJ2ZpbmQgUiBiaW5hcnkhIikgOyByZXR1cm4gVU5ERUYgO30NCiAg
 ICAgIGlmICggIS1kICR0aGlzLT57Ul9ESVJ9ICkgeyAkdGhpcy0+ZXJyb3Io
 IkNhbidmaW5kIFIgZGlyZWN0b3J5ISIpIDsgcmV0dXJuIFVOREVGIDt9DQog
 ICAgICANCisgICAgICR0aGlzLT57U1RBUlRfQ01EfSA9ICIkdGhpcy0+e1Jf
 QklOfSAtLXNsYXZlIC0tdmFuaWxsYSIgOw0KICAgICAgDQogICAgICBpZiAo
 ICEkYXJnc3tsb2dfZGlyfSApIHsgJGFyZ3N7bG9nX2Rpcn0gPSAiJHRoaXMt
 PntUTVBfRElSfS9TdGF0aXN0aWNzLVIiIDt9DQogICAgICANCisgICAgICR0
 aGlzLT57T1N9ID0gJ0ZyZWVCU0QnIDsNCiAgICAgIA0KICAgICAgJHRoaXMt
 PlNVUEVSOjpwaXBlKCVhcmdzKSA7DQogICAgfQ0K
 
 --0-1566923989-1132554980=:90819--

From: Aaron Dalton <aaron@freebsd.org>
To: bug-followup@FreeBSD.org,  philippe.waelti@eivd.ch
Cc:  
Subject: Re: ports/83707: [NEW PORT] math/p5-Statistics-R: Controls the R
 (R-project) interpreter through Perl
Date: Sat, 03 Dec 2005 14:25:59 -0700

 I fixed the patching issue, but now make test is not working.  Will you 
 please take a look and get back to me?
 
 moondance# make test
 PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.7 "-Iblib/lib" "-Iblib/arch" 
 test.pl
 1..1
 # Running under perl version 5.008007 for freebsd
 # Current time local: Sat Dec  3 14:21:15 2005
 # Current time GMT:   Sat Dec  3 21:21:15 2005
 # Using Test.pm version 1.25
 ok 1
 ok 2
 ok 3
 ----
 ok 4
 ok 5
 ok 6
 not ok 7
 # Failed test 7 in test.pl at line 34
 #  test.pl line 34 is:   ok( $ret =~ /^\[\d+\]\s+123\s*$/ ) ;
 ok 8
 ok 9
 ----
 ok 10
 
 The End! By!
 
 
 -- 
 Aaron Dalton
 aaron@FreeBSD.org
 FreeBSD Ports Committer
State-Changed-From-To: feedback->closed  
State-Changed-By: aaron 
State-Changed-When: Mon Dec 5 01:02:46 GMT 2005 
State-Changed-Why:  
Closed due to submitter timeout.  The original Perl module developer is unreachable as well.  Feel free to resubmit if you are able to track down the errors. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83707 
>Unformatted:
