Changeset 9de91f7


Ignore:
Timestamp:
04/19/2022 04:36:18 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
20d3801, 474ba0c
Parents:
18e99c8
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

    r18e99c8 r9de91f7  
    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.