mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
Update currency for procps-ng and psmisc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
56fb88f63d
commit
787407afaa
@ -120,8 +120,10 @@ if ( $package == "meson" ) $dirpath = "https://github.com/mesonbuild/meson/
|
|||||||
if ( $package == "mpc" ) $dirpath = "https://ftp.gnu.org/gnu/mpc";
|
if ( $package == "mpc" ) $dirpath = "https://ftp.gnu.org/gnu/mpc";
|
||||||
if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current";
|
if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current";
|
||||||
if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases";
|
if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases";
|
||||||
if ( $package == "procps-ng" ) $dirpath = "http://sourceforge.net/projects/procps-ng/files";
|
//if ( $package == "procps-ng" ) $dirpath = "http://sourceforge.net/projects/procps-ng/files";
|
||||||
if ( $package == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files";
|
if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags";
|
||||||
|
//if ( $package == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files";
|
||||||
|
if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
|
||||||
if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
|
if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
|
||||||
if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases";
|
if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases";
|
||||||
if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files";
|
if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files";
|
||||||
@ -275,6 +277,12 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel
|
|||||||
return str_replace( "_", ".", $max );
|
return str_replace( "_", ".", $max );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $package == "procps-ng" )
|
||||||
|
return find_max( $lines, "/release/", "/^.* ([\d\.]+).*$/" );
|
||||||
|
|
||||||
|
if ( $package == "psmisc" )
|
||||||
|
return find_max( $lines, "/^v/", "/^v([\d\.]+).*$/" );
|
||||||
|
|
||||||
if ( $package == "grub" )
|
if ( $package == "grub" )
|
||||||
return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" );
|
return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user