Author: bdubbs Date: Mon Jan 13 08:07:23 2020 New Revision: 11728 Log: Update currency for zstd
Modified: trunk/BOOK/lfs-latest.php Modified: trunk/BOOK/lfs-latest.php ============================================================================== --- trunk/BOOK/lfs-latest.php Mon Jan 13 01:12:24 2020 (r11727) +++ trunk/BOOK/lfs-latest.php Mon Jan 13 08:07:23 2020 (r11728) @@ -104,7 +104,7 @@ global $exceptions; global $regex; -//if ( $package != "vim" ) return 0; // Debug +//if ( $package != "zstd" ) return 0; // Debug if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases"; @@ -127,6 +127,7 @@ if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files"; if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/releases"; +if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/releases"; //if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; // Check for ftp @@ -283,6 +284,9 @@ if ( $package == "vim" ) return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" ); + if ( $package == "zstd" ) + return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" ); + // Most packages are in the form $package-n.n.n // Occasionally there are dashes (e.g. 201-1) return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d)\.tar.*$/" ); -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
