mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Add currency for sqlite; correction for pcre2.
This commit is contained in:
@@ -140,12 +140,13 @@ if ( $package == "ncurses" ) $dirpath = "https://invisible-mirror.net/archive
|
||||
if ( $package == "ninja" ) $dirpath = github("ninja-build/ninja");
|
||||
if ( $package == "openssl" ) $dirpath = github("openssl/openssl");
|
||||
if ( $package == "packaging" ) $dirpath = "https://pypi.org/rss/project/packaging/releases.xml";
|
||||
if ( $package == "pcre" ) $dirpath = github("PCRE2Project/pcre2");
|
||||
if ( $package == "pcre2" ) $dirpath = github("PCRE2Project/pcre2");
|
||||
if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags";
|
||||
if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
|
||||
if ( $package == "Python" ) $dirpath = "https://www.python.org/downloads/source/";
|
||||
if ( $package == "setuptools" ) $dirpath = "https://pypi.org/rss/project/setuptools/releases.xml";
|
||||
if ( $package == "shadow" ) $dirpath = github("shadow-maint/shadow");
|
||||
if ( $package == "sqlite-autoconf" ) $dirpath = "https://sqlite.org/download.html";
|
||||
if ( $package == "sysvinit" ) $dirpath = github("slicer69/sysvinit");
|
||||
if ( $package == "sysklogd" ) $dirpath = github("troglobit/sysklogd");
|
||||
if ( $package == "systemd" ) $dirpath = github("systemd/systemd");
|
||||
@@ -270,6 +271,9 @@ if ( $package == "zstd" ) $dirpath = github("facebook/zstd");
|
||||
if ( $package == "pcre2" )
|
||||
return find_max( $lines, '/name.:/', '/^.*pcre2-([\d\.]+\d).*$/' );
|
||||
|
||||
if ( $package == "sqlite-autoconf" )
|
||||
return find_max( $lines, '/autoconf/', '/^.*autoconf-(\d+).tar.*$/' );
|
||||
|
||||
if ( $package == "procps-ng" )
|
||||
return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
|
||||
|
||||
@@ -365,6 +369,11 @@ function get_current()
|
||||
$pkg_pattern= "/(\D*4).*/";
|
||||
}
|
||||
|
||||
else if ( preg_match( "/pcre2/", $file ) )
|
||||
{
|
||||
$pkg_pattern= "/(\D*2).*/";
|
||||
}
|
||||
|
||||
else if ( preg_match( "/systemd-man-pages/", $file ) ) continue;
|
||||
else if ( preg_match( "/python/" , $file ) ) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user