[lfs] branch trunk updated: Fix currency for expat.
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <177852386207.3328.7793679945446344059@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 118c93154 Fix currency for expat.
118c93154 is described below
commit 118c93154454880aa322b901191fc36b82dacf77
Author: Bruce Dubbs <[email protected]>
AuthorDate: Mon May 11 13:24:12 2026 -0500
Fix currency for expat.
---
lfs-latest-git.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index bd803ee6f..f32af9f51 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -121,7 +121,7 @@ function get_packages( $package, $dirpath )
if ( $package == "bc" ) $dirpath = github("gavinhoward/bc");
if ( $package == "e2fsprogs" ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs";
-if ( $package == "expat" ) $dirpath = "https://sourceforge.net/projects/expat/files";
+if ( $package == "expat" ) $dirpath = github("libexpat/libexpat");
if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils";
if ( $package == "expect" ) $dirpath = "https://sourceforge.net/projects/expect/files";
if ( $package == "file" ) $dirpath = "https://github.com/file/file/tags";
@@ -226,6 +226,9 @@ if ( $package == "zstd" ) $dirpath = github("facebook/zstd");
if ( $package == "expect" )
return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" );
+ if ( $package == "expat" )
+ return find_max( $lines, "/name.:/", "/^.*(\d\.\d\.\d).*$/" );
+
if ( $package == "elfutils" )
return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" );
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page