[61464] trunk/dports/devel/osc/Portfile

tommyd at macports.org tommyd at macports.org
Fri Dec 11 16:50:23 PST 2009


Revision: 61464
          http://trac.macports.org/changeset/61464
Author:   tommyd at macports.org
Date:     2009-12-11 16:50:21 -0800 (Fri, 11 Dec 2009)
Log Message:
-----------
* ssl verification issues resolved by depending and using port:curl-ca-bundle

Modified Paths:
--------------
    trunk/dports/devel/osc/Portfile

Modified: trunk/dports/devel/osc/Portfile
===================================================================
--- trunk/dports/devel/osc/Portfile	2009-12-12 00:18:58 UTC (rev 61463)
+++ trunk/dports/devel/osc/Portfile	2009-12-12 00:50:21 UTC (rev 61464)
@@ -5,7 +5,7 @@
 
 name                osc
 version             0.124
-revision            1
+revision            2
 
 categories          devel python
 platforms           darwin
@@ -19,7 +19,8 @@
 
 homepage            http://en.opensuse.org/Build_Service/CLI
 
-depends_lib-append  port:py25-elementtree \
+depends_lib-append  port:curl-ca-bundle \
+                    port:py25-elementtree \
                     port:py25-urlgrabber \
                     port:py25-m2crypto
 
@@ -27,6 +28,11 @@
 git.url             git://gitorious.org/opensuse/osc.git
 git.branch          13d900a6
 
+post-patch {
+    reinplace "s|/etc/pki/tls/cert.pem|${prefix}/share/curl/curl-ca-bundle.crt|g" \
+        ${worksrcpath}/osc/conf.py \
+}
+
 post-destroot {
     ln -s osc-wrapper.py ${destroot}${prefix}/bin/osc
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091211/17a6c4c4/attachment.html>


More information about the macports-changes mailing list