[75006] trunk/dports/perl/p5-crypt-openssl-x509

ryandesign at macports.org ryandesign at macports.org
Tue Jan 11 02:46:11 PST 2011


Revision: 75006
          http://trac.macports.org/changeset/75006
Author:   ryandesign at macports.org
Date:     2011-01-11 02:46:02 -0800 (Tue, 11 Jan 2011)
Log Message:
-----------
p5-crypt-openssl-x509: update to 1.6

Modified Paths:
--------------
    trunk/dports/perl/p5-crypt-openssl-x509/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-crypt-openssl-x509/files/patch-Makefile.PL.diff

Removed Paths:
-------------
    trunk/dports/perl/p5-crypt-openssl-x509/files/X509.xs.diff

Modified: trunk/dports/perl/p5-crypt-openssl-x509/Portfile
===================================================================
--- trunk/dports/perl/p5-crypt-openssl-x509/Portfile	2011-01-11 10:38:42 UTC (rev 75005)
+++ trunk/dports/perl/p5-crypt-openssl-x509/Portfile	2011-01-11 10:46:02 UTC (rev 75006)
@@ -3,20 +3,19 @@
 PortSystem              1.0
 PortGroup               perl5 1.0
 
-perl5.setup             Crypt-OpenSSL-X509 1.3
+perl5.setup             Crypt-OpenSSL-X509 1.6 ../by-authors/id/D/DA/DANIEL
 maintainers             nomaintainer
 description             Perl extension to OpenSSL's X509 API.
 long_description        ${description}
-
-checksums               md5 1d33d511ce0c83682a5aa04dbed42ac6 \
-                        sha1 bbbb616eef2717d7d0a44baef8d3eaa7b23e7600
 platforms               darwin
 
+checksums               sha1    549373039a2e4688bb9051f532bc8a2eebb5e19f \
+                        rmd160  ee213d277d3755a7a0b8dc9e0235fe2ffbfa37d0
+
 depends_lib-append      port:openssl
 
-patchfiles              X509.xs.diff
+patchfiles              patch-Makefile.PL.diff
 
 post-patch {
-    reinplace "s|/usr/include/openssl|${prefix}/include/openssl|g" ${worksrcpath}/Makefile.PL
-    reinplace "s|/usr/lib|${prefix}/lib|g" ${worksrcpath}/Makefile.PL
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile.PL
 }

Deleted: trunk/dports/perl/p5-crypt-openssl-x509/files/X509.xs.diff
===================================================================
--- trunk/dports/perl/p5-crypt-openssl-x509/files/X509.xs.diff	2011-01-11 10:38:42 UTC (rev 75005)
+++ trunk/dports/perl/p5-crypt-openssl-x509/files/X509.xs.diff	2011-01-11 10:46:02 UTC (rev 75006)
@@ -1,20 +0,0 @@
---- X509.xs.orig	2010-07-02 09:06:45.000000000 +1000
-+++ X509.xs	2010-08-19 12:25:05.000000000 +1000
-@@ -169,7 +169,7 @@ static HV* hv_exts(X509* x509, int no_na
-   X509_EXTENSION *ext;
-   int i, c, r;
-   size_t len = 128;
--  char* key;
-+  char* key = NULL;
-   SV* rv;
- 
-   HV* RETVAL = newHV();
-@@ -818,7 +818,7 @@ basicC(ext, value)
-   PREINIT:
-   BASIC_CONSTRAINTS *bs;
-   const X509V3_EXT_METHOD *method;
--  int ret;
-+  int ret = 0;
- 
-   CODE:
- 

Added: trunk/dports/perl/p5-crypt-openssl-x509/files/patch-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-crypt-openssl-x509/files/patch-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/perl/p5-crypt-openssl-x509/files/patch-Makefile.PL.diff	2011-01-11 10:46:02 UTC (rev 75006)
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig	2011-01-05 12:03:35.000000000 -0600
++++ Makefile.PL	2011-01-11 04:44:10.000000000 -0600
+@@ -10,8 +10,8 @@
+ 
+ requires_external_cc();
+ 
+-cc_inc_paths('/usr/include/openssl', '/usr/local/include/ssl', '/usr/local/ssl/include');
+-cc_lib_paths('/usr/lib', '/usr/local/lib', '/usr/local/ssl/lib');
++cc_inc_paths('@PREFIX@/include/ssl');
++cc_lib_paths('@PREFIX@/lib');
+ 
+ cc_lib_links('crypto');
+ cc_optimize_flags('-O2 -g -Wall -Werror');
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110111/9cd70b61/attachment.html>


More information about the macports-changes mailing list