Author: bdubbs Date: Wed May 30 13:06:29 2018 New Revision: 20185 Log: Update currency for LVM2, exiv2, soundtouch, and ghostscript
Modified: trunk/scripts/blfs-chapter05.php trunk/scripts/blfs-chapter10.php trunk/scripts/blfs-chapter46.php trunk/scripts/blfs-chapter50.php Modified: trunk/scripts/blfs-chapter05.php ============================================================================== --- trunk/scripts/blfs-chapter05.php Tue May 29 11:47:09 2018 (r20184) +++ trunk/scripts/blfs-chapter05.php Wed May 30 13:06:29 2018 (r20185) @@ -123,7 +123,7 @@ return find_max( $lines, "/$package/", "/^.*$package([\d\.]*\d).tar.*$/" ); if ( $book_index == "LVM2." ) - return find_max( $lines, "/Release/", "/^.*Release (\d[\d\.]*\d).*$/" ); + return find_max( $lines, "/Release/", "/^.*Release (\d[\d\.]*\d)\..*$/" ); if ( $book_index == "gptfdisk" ) { Modified: trunk/scripts/blfs-chapter10.php ============================================================================== --- trunk/scripts/blfs-chapter10.php Tue May 29 11:47:09 2018 (r20184) +++ trunk/scripts/blfs-chapter10.php Wed May 30 13:06:29 2018 (r20185) @@ -20,7 +20,6 @@ $regex[ 'LibRaw' ] = "/^.*LibRaw-(\d[\d\.]+\d).tar.*$/"; $regex[ 'poppler' ] = "/^.*poppler-([\d\.]+\d).tar.*$/"; $regex[ 'popplerdata' ] = "/^.*poppler-data([\d\.]+\d).tar.*$/"; -$regex[ 'exiv2' ] = "/^.*exiv2-(\d[\d\.]+\d).*.tar.*$/"; $sf = 'sourceforge.net'; @@ -108,7 +107,7 @@ array( 'pkg' => 'exiv2', 'match' => '^.*$', - 'replace' => "http://exiv2.org/download.html" ), + 'replace' => "https://github.com/Exiv2/exiv2/releases" ), array( 'pkg' => 'opencv', 'match' => '^.*$', @@ -270,6 +269,9 @@ if ( $book_index == "aalib" ) return find_max( $lines, "/$book_index/", '/^.*aalib-([rc\d\.]+).tar.*$/' ); + if ( $book_index == "exiv2" ) + return find_max( $lines, "/v\d/", '/^.*v(\d[\d\.]+).*$/' ); + // imlib if ( $book_index == "imlib2" ) { Modified: trunk/scripts/blfs-chapter46.php ============================================================================== --- trunk/scripts/blfs-chapter46.php Tue May 29 11:47:09 2018 (r20184) +++ trunk/scripts/blfs-chapter46.php Wed May 30 13:06:29 2018 (r20185) @@ -23,6 +23,7 @@ $ignores[ 'flash_player_npapi_linux.i' ] = ''; //$current="libcanberra"; +$current="soundtouch"; $regex = array(); $regex[ 'a52dec' ] = "/^.*a52dec-(\d[\d\.]+\d) is.*$/"; @@ -30,7 +31,6 @@ $regex[ 'libmpeg2' ] = "/^.*libmpeg2-(\d[\d\.]+\d).*$/"; $regex[ 'libmusicbrainz1' ] = "/^.*libmusicbrainz-(5[\d\.]+\d).*$/"; $regex[ 'libsamplerate' ] = "/^.*libsamplerate-([\d\.]+\d).tar.*$/"; -$regex[ 'soundtouch' ] = "/^.*Download .* Source Codes release ([\d\.]+\d).*$/"; $regex[ 'flash_player_ppapi_linux.x' ] = "/^.*latest versions are (\d[\d\.]+\d).*$/"; $regex[ 'libcanberra' ] = "/^.*(\d[\d\.]+\d) released.*$/"; @@ -102,7 +102,7 @@ array( 'pkg' => 'soundtouch', 'match' => '^.*$', - 'replace' => "http://www.surina.net/soundtouch/sourcecode.html" ), + 'replace' => "https://gitlab.com/soundtouch/soundtouch/tags" ), array( 'pkg' => 'taglib', 'match' => '^.*$', @@ -312,6 +312,9 @@ if ( $package == "libvpx" ) return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]+\d).*$/" ); + if ( $package == "soundtouch" ) + return find_max( $lines, "/$package/", "/^.*$package-([\d\.]+).*$/" ); + if ( $package == "speexdsp" ) return find_max( $lines, "/$package/", "/^.*$package-([\d\.rc]+).tar.*$/" ); Modified: trunk/scripts/blfs-chapter50.php ============================================================================== --- trunk/scripts/blfs-chapter50.php Tue May 29 11:47:09 2018 (r20184) +++ trunk/scripts/blfs-chapter50.php Wed May 30 13:06:29 2018 (r20185) @@ -19,7 +19,7 @@ //$current="docbook-xsl"; // For debugging $regex = array(); -$regex[ 'ghostscript' ] = "/^.*latest.*Ghostscript (\d[\d\.]+) .*$/"; +$regex[ 'ghostscript' ] = "/^.*current Ghostscript release (\d[\d\.]+) .*$/"; $regex[ 'sane-frontends' ] = "/^.*sane-frontends-(\d[\d\.]+\d).tar.*$/"; $regex[ 'ghostscript-fonts-std' ] = "/^.*ghostscript-fonts-std-(\d[\d\.]+\d).tar.*$/"; @@ -36,7 +36,7 @@ array( 'pkg' => 'ghostscript', 'match' => '^.*$', - 'replace' => "http://www.ghostscript.com/Releases.html" ), + 'replace' => "http://www.ghostscript.com/index.html" ), array( 'pkg' => 'ghostscript-fonts-std', 'match' => '^.*$', -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page