Skip to content
Permalink
Browse files

curl-ca-bundle: update to certdata.txt 1.73

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77667 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Apr 8, 2011
1 parent 297083e commit 67b2a3fc2471529c71b886bd1017d9154efabd7a
Showing with 6 additions and 5 deletions.
  1. +6 −5 net/curl-ca-bundle/Portfile
@@ -6,6 +6,7 @@ PortSystem 1.0
name curl-ca-bundle
# keep the version in sync with the curl port
version 7.21.4
revision 1
set curl_name curl
categories net
maintainers ryandesign
@@ -19,8 +20,8 @@ distname ${curl_name}-${version}
dist_subdir ${curl_name}
set curl_source ${distname}${extract.suffix}
set certdata_file certdata.txt
set certdata_version 1.71
set certdata_date 2011-03-23
set certdata_version 1.73
set certdata_date 2011-04-06
set certdata_distfile certdata-${certdata_version}.txt
set certdata_path security/nss/lib/ckfw/builtins/${certdata_file}
build.target ca-bundle
@@ -48,7 +49,7 @@ master_sites \
# on me noticing new versions within that time and updating the port, and
# on upstream not updating the file again within that time.
set days_since_update [expr {[expr {[clock seconds] - [clock format [clock scan ${certdata_date}] -format %s]}] / 86400}]
if {${days_since_update} > 9} {
if {${days_since_update} > 3} {
master_sites-append http://distfiles.macports.org/curl/:certdata
} else {
master_sites-append http://mxr.mozilla.org/mozilla/source/${certdata_path}?raw=1&dummy=:certdata
@@ -62,8 +63,8 @@ checksums ${curl_source} \
sha1 9cc59be07932b63e1f7d714c56ffaaa92af55373 \
rmd160 c18710206d30a0f1078b2156df25ded30443f7cf \
${certdata_distfile} \
sha1 1a74ddcefa3732f6bf27fe74558296a6463672d9 \
rmd160 90b1e4acd29564a0ba5ce3ad6733094aaf3535b8
sha1 3b6ccdbd795a1f0b94e8a7b54bb32f2430fbeb34 \
rmd160 85395b11e9f9a5e5adb4c13f7433a4ac3d1edbcc

depends_build \
path:bin/perl:perl5

0 comments on commit 67b2a3f

Please sign in to comment.
You can’t perform that action at this time.