ports/120849: [UPDATE] security/p5-Business-PayPal-EWP

Felippe de Meirelles Motta lippemail at gmail.com
Tue Feb 19 21:20:03 UTC 2008


>Number:         120849
>Category:       ports
>Synopsis:       [UPDATE] security/p5-Business-PayPal-EWP
>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:   Tue Feb 19 21:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Felippe de Meirelles Motta
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-PRERELEASE #0: Thu Jan 10 01:55:37 BRST 2008
    lippe at shire.freebsd.org:/usr/obj/usr/src/sys/GENERIC

>Description:
- Updated to 1.00;
- Use CPAN macro;
- Add USE_DOS2UNIX;
- Avoid portlint warnings on {BUILD,RUN}_DEPENDS;
- Remove post-configure stage in Makefile;
- Rebuild pkg-descr;
- Remove unnecessary patches;
- Update and fix pkg-plist.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/p5-Business-PayPal-EWP/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	8 Sep 2007 01:03:54 -0000	1.7
+++ Makefile	19 Feb 2008 20:50:30 -0000
@@ -7,27 +7,23 @@
 #
 
 PORTNAME=	Business-PayPal-EWP
-PORTVERSION=	0.02
+PORTVERSION=	1.00
 CATEGORIES=	security perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Business
+MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	alfred at freebsd.org
-COMMENT=	Perl extension to talk to paypal
+COMMENT=	Perl extension for PayPal's Encrypted Website Payments
 
+USE_DOS2UNIX=	yes
 PERL_CONFIGURE=	yes
 USE_OPENSSL=	yes
 CONFIGURE_ARGS=	${OPENSSLBASE}
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
+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}
+RUN_DEPENDS+=	${BUILD_DEPENDS}
 
 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/ncvs/ports/security/p5-Business-PayPal-EWP/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	24 Jan 2006 01:03:12 -0000	1.2
+++ distinfo	19 Feb 2008 20:50:30 -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/ncvs/ports/security/p5-Business-PayPal-EWP/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	12 May 2005 17:48:44 -0000	1.1
+++ pkg-descr	19 Feb 2008 20:50:30 -0000
@@ -1 +1,3 @@
-This module offers an interface to Paypal's encryption scheme.
+Business::PayPal::EWP - Perl extension for PayPal's Encrypted Website Payments
+
+WWW:	http://search.cpan.org/dist/Business-PayPal-EWP/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/p5-Business-PayPal-EWP/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	22 Jan 2006 02:50:24 -0000	1.2
+++ pkg-plist	19 Feb 2008 20:50:30 -0000
@@ -1,10 +1,8 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP/EWP.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP/EWP.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP/.packlist
-%%SITE_PERL%%/%%PERL_ARCH%%/Business/PayPal/EWP.pm.orig
 %%SITE_PERL%%/%%PERL_ARCH%%/Business/PayPal/EWP.pm
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Business/PayPal
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Business
Index: files/patch-EWP.pm
===================================================================
RCS file: files/patch-EWP.pm
diff -N files/patch-EWP.pm
--- files/patch-EWP.pm	12 May 2005 17:48:44 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- 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
-@@ -65,6 +65,7 @@
- 	goto END;
-     }
-     Net::SSLeay::BIO_free($bio);
-+    $bio = undef;
-     # Reformat
-     $formdata=~s/,/\n/g;
-     # Encrypt and sign
Index: files/patch-EWP.xs
===================================================================
RCS file: files/patch-EWP.xs
diff -N files/patch-EWP.xs
--- files/patch-EWP.xs	12 May 2005 17:48:44 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
---- EWP.xs.old	Thu May 12 10:40:14 2005
-+++ EWP.xs	Thu May 12 10:41:55 2005
-@@ -126,8 +126,10 @@
- 		PKCS7_free(p7);
- 	if (bio)
- 		BIO_free_all(bio);
-+#if 0
- 	if (memBio)
- 		BIO_free_all(memBio);
-+#endif
- 	if (p7bio)
- 		BIO_free_all(p7bio);
- 	if (pkey)


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



More information about the freebsd-ports-bugs mailing list