aboutsummaryrefslogtreecommitdiffstats
path: root/lfs-latest.php
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-09-24 18:00:25 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-09-24 18:00:25 +0000
commit7886729e9889558543cc96e54eecce1e45543194 (patch)
tree52aeee4e27cfa1688a4a6c6b2896e73c037b8849 /lfs-latest.php
parent81ed05f85e7cc98389d055b7529685b3e59f3502 (diff)
Update lfs currency scripts for new packages
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11307 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lfs-latest.php')
-rw-r--r--lfs-latest.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/lfs-latest.php b/lfs-latest.php
index e45186155..d9c8f91ae 100644
--- a/lfs-latest.php
+++ b/lfs-latest.php
@@ -118,8 +118,10 @@ if ( $package == "file" ) $dirpath = "https://github.com/file/file/release
if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases";
if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" );
if ( $package == "intltool" ) $dirpath = "https://launchpad.net/intltool/trunk";
+if ( $package == "meson" ) $dirpath = "https://github.com/mesonbuild/meson/releases";
if ( $package == "mpc" ) $dirpath = "http://www.multiprecision.org/index.php?prog=mpc&page=download";
if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current";
+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 == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files";
if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
@@ -250,6 +252,9 @@ if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix";
return $max;
}
+ if ( $package == "ninja" )
+ return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" );
+
if ( $package == "gmp" )
return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" );
@@ -319,10 +324,8 @@ function get_current()
$pattern = "/\D*(\d.*[a-z]*)\.tar\D*/";
}
- else if ( preg_match( "/eudev.*manpages/", $file ) )
- {
- continue;
- }
+ else if ( preg_match( "/eudev.*manpages/", $file ) ) continue;
+ else if ( preg_match( "/python/" , $file ) ) continue;
$version = preg_replace( $pattern, "$1", $file ); // Isolate version
$version = preg_replace( "/^\d-/", "", $version ); // Remove leading #-