Changeset 33fcd18


Ignore:
Timestamp:
04/21/2022 03:23:45 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
3d6553b4
Parents:
272fcd4d
git-author:
Bruce Dubbs <bdubbs@…> (04/19/2022 04:36:18 PM)
git-committer:
William Harrington <kb0iic@…> (04/21/2022 03:23:45 PM)
Message:

Fix currency for mpfr
There is something wrong with the certificate for the mpfr
web page https://mpfr.loria.fr/mpfr-current/. Ignore the certificate
problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest-git.php

    r272fcd4d r33fcd18  
    7171{
    7272  if ( ! preg_match( "/sourceforge/", $url ) &&
     73       ! preg_match( "/mpfr/",        $url ) &&
    7374       ! preg_match( "/psmisc/",      $url ) )
    7475  {
    7576    exec( "curl --location --silent --max-time 30 $url", $dir );
    7677
     78    $s   = implode( "\n", $dir );
     79    $dir = strip_tags( $s );
     80    return explode( "\n", $dir );
     81  }
     82  else if ( preg_match( "/mpfr/", $url ) )
     83  {
     84    # There seems to be a problem with the mpfs certificate
     85    exec( "curl --location --silent --insecure --max-time 30 $url", $dir );
    7786    $s   = implode( "\n", $dir );
    7887    $dir = strip_tags( $s );
Note: See TracChangeset for help on using the changeset viewer.