View | Details | Raw Unified | Return to bug 121210
Collapse All | Expand All

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

Return to bug 121210