Changeset 43822cc for lfs-latest.php


Ignore:
Timestamp:
03/31/2021 10:41:37 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
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)
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11757 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest.php

    r3e18fa2 r43822cc  
    121121if ( $package == "mpfr"       ) $dirpath = "http://mpfr.loria.fr/mpfr-current";
    122122if ( $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";
     124if ( $package == "procps-ng"  ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags";
     125//if ( $package == "psmisc"     ) $dirpath = "http://sourceforge.net/projects/$package/files";
     126if ( $package == "psmisc"     ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
    125127if ( $package == "shadow"     ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
    126128if ( $package == "systemd"    ) $dirpath = "https://github.com/systemd/systemd/releases";
     
    276278  }
    277279
     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
    278286  if ( $package == "grub" )
    279287     return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" );
Note: See TracChangeset for help on using the changeset viewer.