mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
Update currency to use https everywhere
This commit is contained in:
parent
3328dfdc69
commit
d18d2850dc
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,5 @@ lfs-bootscripts-*.tar.xz
|
||||
conditional.ent
|
||||
version.ent
|
||||
appendices/*.script
|
||||
*.swp
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user