diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-11-08 10:14:24 -0600 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-11-08 10:14:24 -0600 |
commit | d18d2850dcb486c7fbad6d0bb9b1a65467069059 (patch) | |
tree | e61f6a7d25ff6940820047b43f89a414bda82861 /lfs-latest-git.php | |
parent | 3328dfdc691a1920fcae70954fa77f1ddc49bcfc (diff) |
Update currency to use https everywhere
Diffstat (limited to 'lfs-latest-git.php')
-rw-r--r-- | lfs-latest-git.php | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lfs-latest-git.php b/lfs-latest-git.php index eaf7bc20b..aa365a74d 100644 --- a/lfs-latest-git.php +++ b/lfs-latest-git.php @@ -110,10 +110,10 @@ function get_packages( $package, $dirpath ) if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases"; -if ( $package == "e2fsprogs" ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/"; -if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; +if ( $package == "e2fsprogs" ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs"; +if ( $package == "expat" ) $dirpath = "https://sourceforge.net/projects/expat/files"; if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; -if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; +if ( $package == "expect" ) $dirpath = "https://sourceforge.net/projects/expect/files"; if ( $package == "file" ) $dirpath = "https://github.com/file/file/tags"; if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); @@ -122,7 +122,8 @@ if ( $package == "intltool" ) $dirpath = "https://launchpad.net/intltool/trunk if ( $package == "libffi" ) $dirpath = "https://github.com/libffi/libffi/releases"; if ( $package == "meson" ) $dirpath = "https://github.com/mesonbuild/meson/releases"; if ( $package == "mpc" ) $dirpath = "https://ftp.gnu.org/gnu/mpc"; -if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current"; +if ( $package == "mpfr" ) $dirpath = "https://mpfr.loria.fr/mpfr-current"; +if ( $package == "ncurses" ) $dirpath = "https://invisible-mirror.net/archives/ncurses"; if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases"; if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags"; if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags"; @@ -131,15 +132,16 @@ if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shad if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/"; if ( $package == "Jinja" ) $dirpath = "https://pypi.python.org/pypi/Jinja2/"; if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases"; -if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files"; +if ( $package == "tcl" ) $dirpath = "https://sourceforge.net/projects/tcl/files"; if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/releases"; -//if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; // Check for ftp if ( preg_match( "/^ftp/", $dirpath ) ) { + echo "ftp should not occur\n"; + /* $dirpath = substr( $dirpath, 6 ); // Remove ftp:// $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash $position = strpos( $dirpath, "/" ); // Divide at first slash @@ -185,6 +187,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel $lines = ftp_rawlist ($conn, $path); ftp_close( $conn ); +*/ } else // http(s) { @@ -410,7 +413,6 @@ function mail_to_lfs() } exec ( "echo '$message' | mailx -r $from -s '$subject' $to" ); - //echo $message; } function html() |