From 1b63720b6d10bf47712bfcc42d72de12a111c729 Mon Sep 17 00:00:00 2001 From: lippe Date: Sun, 28 Sep 2008 14:27:08 +0000 Subject: - 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. - Take maintainership. PR: ports/120849 Submitted by: lippe --- security/p5-Business-PayPal-EWP/Makefile | 4 ++-- security/p5-Business-PayPal-EWP/files/patch-EWP.pm | 10 ---------- security/p5-Business-PayPal-EWP/files/patch-EWP.xs | 13 ------------- security/p5-Business-PayPal-EWP/pkg-descr | 4 +++- security/p5-Business-PayPal-EWP/pkg-plist | 3 +-- 5 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 security/p5-Business-PayPal-EWP/files/patch-EWP.pm delete mode 100644 security/p5-Business-PayPal-EWP/files/patch-EWP.xs diff --git a/security/p5-Business-PayPal-EWP/Makefile b/security/p5-Business-PayPal-EWP/Makefile index a336d478f2b7..7505c30dc354 100644 --- a/security/p5-Business-PayPal-EWP/Makefile +++ b/security/p5-Business-PayPal-EWP/Makefile @@ -12,11 +12,11 @@ CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= lippe@FreeBSD.org COMMENT= Perl extension for PayPal Encrypted Website Payments RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay PERL_CONFIGURE= yes USE_OPENSSL= yes diff --git a/security/p5-Business-PayPal-EWP/files/patch-EWP.pm b/security/p5-Business-PayPal-EWP/files/patch-EWP.pm deleted file mode 100644 index bda109259e8d..000000000000 --- a/security/p5-Business-PayPal-EWP/files/patch-EWP.pm +++ /dev/null @@ -1,10 +0,0 @@ ---- 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 diff --git a/security/p5-Business-PayPal-EWP/files/patch-EWP.xs b/security/p5-Business-PayPal-EWP/files/patch-EWP.xs deleted file mode 100644 index 768bb434781d..000000000000 --- a/security/p5-Business-PayPal-EWP/files/patch-EWP.xs +++ /dev/null @@ -1,13 +0,0 @@ ---- 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) - BIO_free_all(bio); -+#if 0 - if (memBio) - BIO_free_all(memBio); -+#endif - if (p7bio) - BIO_free_all(p7bio); - if (pkey) diff --git a/security/p5-Business-PayPal-EWP/pkg-descr b/security/p5-Business-PayPal-EWP/pkg-descr index dd358ec51191..2f58813a01c6 100644 --- a/security/p5-Business-PayPal-EWP/pkg-descr +++ b/security/p5-Business-PayPal-EWP/pkg-descr @@ -1,4 +1,6 @@ -This module wraps the sample C++/C# code which PayPal provides for working +Business::PayPal::EWP - Perl extension for PayPal's Encrypted Website Payments + +WWW: http://search.cpan.org/dist/Business-PayPal-EWP/ 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 diff --git a/security/p5-Business-PayPal-EWP/pkg-plist b/security/p5-Business-PayPal-EWP/pkg-plist index 29127c5904bf..42dd7056cf32 100644 --- a/security/p5-Business-PayPal-EWP/pkg-plist +++ b/security/p5-Business-PayPal-EWP/pkg-plist @@ -1,9 +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 -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal/EWP @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/PayPal @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Business/PayPal -- cgit