Changeset 43822cc for lfs-latest.php
- Timestamp:
- 03/31/2021 10:41:37 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- e2ccc32
- Parents:
- 3e18fa2
- git-author:
- Thomas Trepl <thomas@…> (02/21/2020 04:32:53 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:37 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lfs-latest.php
r3e18fa2 r43822cc 121 121 if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current"; 122 122 if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases"; 123 if ( $package == "procps-ng" ) $dirpath = "http://sourceforge.net/projects/procps-ng/files"; 124 if ( $package == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files"; 123 //if ( $package == "procps-ng" ) $dirpath = "http://sourceforge.net/projects/procps-ng/files"; 124 if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags"; 125 //if ( $package == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files"; 126 if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags"; 125 127 if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases"; 126 128 if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases"; … … 276 278 } 277 279 280 if ( $package == "procps-ng" ) 281 return find_max( $lines, "/release/", "/^.* ([\d\.]+).*$/" ); 282 283 if ( $package == "psmisc" ) 284 return find_max( $lines, "/^v/", "/^v([\d\.]+).*$/" ); 285 278 286 if ( $package == "grub" ) 279 287 return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" );
Note:
See TracChangeset
for help on using the changeset viewer.