Author: bdubbs
Date: Fri Jan 22 22:43:47 2021
New Revision: 24132
Log:
Fix currency for vsftpd and epiphany
Modified:
trunk/scripts/blfs-chapter43.php
trunk/scripts/blfs-include.php
Modified: trunk/scripts/blfs-chapter43.php
==============================================================================
--- trunk/scripts/blfs-chapter43.php Fri Jan 22 18:47:20 2021 (r24131)
+++ trunk/scripts/blfs-chapter43.php Fri Jan 22 22:43:47 2021 (r24132)
@@ -304,6 +304,19 @@
if ( $package == "balsa" )
return find_max( $lines, "/^.*balsa-/", "/^.*balsa-([\d\.]+).*$/" );
+ if ( $package == "epiphany" )
+ {
+ $max = find_max( $lines, "/$package/",
"/^.*$package-([\d\.]*\d)\.ta.*$/" );
+ if ($max == 0 && preg_match( "/40\//", $dirpath ) )
+ {
+ $dirpath = preg_replace( "/40/", "/3.38/", $dirpath );
+ $lines = http_get_file( "$dirpath" );
+ $max = find_max( $lines, "/$package/",
"/^.*$package-([\d\.]*\d)\.ta.*$/" );
+ }
+
+ return $max;
+ }
+
if ( $package == "gparted" )
return find_max( $lines, "/$package/", "/^.*$package-([\d\.]+).*$/" );
Modified: trunk/scripts/blfs-include.php
==============================================================================
--- trunk/scripts/blfs-include.php Fri Jan 22 18:47:20 2021 (r24131)
+++ trunk/scripts/blfs-include.php Fri Jan 22 22:43:47 2021 (r24132)
@@ -147,6 +147,7 @@
preg_match( "/swig/", $url ) ||
preg_match( "/ntfs/", $url ) ||
preg_match( "/docutils/", $url ) ||
+ preg_match( "/vsftpd/", $url ) ||
preg_match( "/php/", $url ) ||
preg_match( "/xfce4-pulseaudio-plugin/", $url ) ||
preg_match( "/llvm/", $url ) )
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page