ports/121210: [PATCH] security/p5-Business-PayPal-EWP: update to 1.00

Yen-Ming Lee leeym at FreeBSD.org
Fri Feb 29 07:00:03 UTC 2008


>Number:         121210
>Category:       ports
>Synopsis:       [PATCH] security/p5-Business-PayPal-EWP: update to 1.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 29 07:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>Description:
- Update to 1.00

Port maintainer (alfred at freebsd.org) is cc'd.

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

--- p5-Business-PayPal-EWP-1.00.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/p5-Business-PayPal-EWP/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	8 Sep 2007 01:03:54 -0000	1.7
+++ Makefile	29 Feb 2008 06:49:43 -0000
@@ -7,27 +7,22 @@
 #
 
 PORTNAME=	Business-PayPal-EWP
-PORTVERSION=	0.02
+PORTVERSION=	1.00
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Business
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	alfred at freebsd.org
-COMMENT=	Perl extension to talk to paypal
+MAINTAINER=	alfred at FreeBSD.org
+COMMENT=	Perl extension for PayPal Encrypted Website Payments
+
+RUN_DEPENDS=	p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay
 
 PERL_CONFIGURE=	yes
 USE_OPENSSL=	yes
 CONFIGURE_ARGS=	${OPENSSLBASE}
-
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS=	${BUILD_DEPENDS}
+USE_UNIX2DOS=	yes
 
 MAN3=	Business::PayPal::EWP.3
 
-post-configure:
-	${PERL} -pi -e 's/\x0d//' ${WRKSRC}/ppport.h
-	${PERL} -pi -e 's/\x0d//' ${WRKSRC}/lib/Business/PayPal/EWP.pm
-
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/p5-Business-PayPal-EWP/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo	24 Jan 2006 01:03:12 -0000	1.2
+++ distinfo	29 Feb 2008 06:49:43 -0000
@@ -1,3 +1,3 @@
-MD5 (Business-PayPal-EWP-0.02.tar.gz) = 08327a5ffaa2b76bb1b73529b4d2216a
-SHA256 (Business-PayPal-EWP-0.02.tar.gz) = c418913dfa6d6e67f78aae6bc21a732e6eb95cbb438475b899fa8d9afebd53fd
-SIZE (Business-PayPal-EWP-0.02.tar.gz) = 18615
+MD5 (Business-PayPal-EWP-1.00.tar.gz) = bb31caa10a5791f0d90c2bde9d2e9ad9
+SHA256 (Business-PayPal-EWP-1.00.tar.gz) = fd1e27c9afeec9977d424de5ba8f2fe1532a40de680fe106a6420cfe94888690
+SIZE (Business-PayPal-EWP-1.00.tar.gz) = 20032
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/security/p5-Business-PayPal-EWP/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	12 May 2005 17:48:44 -0000	1.1
+++ pkg-descr	29 Feb 2008 06:49:43 -0000
@@ -1 +1,7 @@
-This module offers an interface to Paypal's encryption scheme.
+This module wraps the sample C++/C# code which PayPal provides for working
+with Encrypted Web Payments. It contains a single function, SignAndEncrypt
+which takes the plaintext form code, private key file, public key file, and
+PayPal's public certificate, and will return the signed and encrypted code
+needed by paypal.
+
+WWW: http://search.cpan.org/dist/Business-PayPal-EWP/
Index: files/patch-EWP.pm
===================================================================
RCS file: /home/pcvs/ports/security/p5-Business-PayPal-EWP/files/patch-EWP.pm,v
retrieving revision 1.1
diff -u -u -r1.1 patch-EWP.pm
--- files/patch-EWP.pm	12 May 2005 17:48:44 -0000	1.1
+++ files/patch-EWP.pm	29 Feb 2008 06:49:43 -0000
@@ -1,10 +1,10 @@
---- lib/Business/PayPal/EWP.pm.old	Thu May 12 10:42:19 2005
-+++ lib/Business/PayPal/EWP.pm	Thu May 12 10:42:39 2005
+--- lib/Business/PayPal/EWP.pm.orig	2007-09-05 07:06:20.000000000 -0700
++++ lib/Business/PayPal/EWP.pm	2008-02-28 22:17:15.000000000 -0800
 @@ -65,6 +65,7 @@
- 	goto END;
-     }
-     Net::SSLeay::BIO_free($bio);
-+    $bio = undef;
-     # Reformat
-     $formdata=~s/,/\n/g;
-     # Encrypt and sign
+ 	goto END;
+     }
+     Net::SSLeay::BIO_free($bio);
++    $bio = undef;
+     # Reformat
+     $formdata=~s/,/\n/g;
+     # Encrypt and sign
Index: files/patch-EWP.xs
===================================================================
RCS file: /home/pcvs/ports/security/p5-Business-PayPal-EWP/files/patch-EWP.xs,v
retrieving revision 1.1
diff -u -u -r1.1 patch-EWP.xs
--- files/patch-EWP.xs	12 May 2005 17:48:44 -0000	1.1
+++ files/patch-EWP.xs	29 Feb 2008 06:49:43 -0000
@@ -1,5 +1,5 @@
---- EWP.xs.old	Thu May 12 10:40:14 2005
-+++ EWP.xs	Thu May 12 10:41:55 2005
+--- EWP.xs.orig	2004-12-07 07:42:37.000000000 -0800
++++ EWP.xs	2008-02-28 21:56:45.000000000 -0800
 @@ -126,8 +126,10 @@
  		PKCS7_free(p7);
  	if (bio)
--- p5-Business-PayPal-EWP-1.00.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list