diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-06-15 16:22:09 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-06-15 16:22:09 +0000 |
commit | 36d2dccc79e0685c1d36e35e353107299cca0574 (patch) | |
tree | 70635fe83583f4dc3978a1c27c52d78edb13347d /lfs-latest.php | |
parent | 540dde151e056c25550febe848d406128d9bb9d6 (diff) |
Updae currency script for elfutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11420 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lfs-latest.php')
-rw-r--r-- | lfs-latest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lfs-latest.php b/lfs-latest.php index 90dc3d1bd..b84b31ac4 100644 --- a/lfs-latest.php +++ b/lfs-latest.php @@ -109,6 +109,7 @@ function get_packages( $package, $dirpath ) if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases"; if ( $package == "e2fsprogs" ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs"; if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; +if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; if ( $package == "file" ) $dirpath = "https://github.com/file/file/releases"; if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; @@ -242,6 +243,9 @@ if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; if ( $package == "expect" ) return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" ); + if ( $package == "elfutils" ) + return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" ); + if ( $package == "XML-Parser" ) { $max = find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d).tar.*$/" ); |