Author: bdubbs
Date: Fri Dec 30 08:17:22 2016
New Revision: 18112

Log:
Update script for elfutils new location

Modified:
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Fri Dec 30 08:05:40 2016        (r18111)
+++ trunk/scripts/blfs-chapter13.php    Fri Dec 30 08:17:22 2016        (r18112)
@@ -34,7 +34,7 @@
 $ignores[ 'python'       ] = '';
 $ignores[ 'python1'      ] = '';
 
-//$current="valgrind";  // For debugging
+//$current="elfutils";  // For debugging
 
 $regex = array();
 $regex[ 'check'   ] = "/^.*Download check-(\d[\d\.]+\d).tar.*$/";
@@ -140,7 +140,7 @@
 
    array( 'pkg'     => 'elfutils',
           'match'   => '^.*$',
-          'replace' => "https://fedorahosted.org/releases/e/l/elfutils"; ),
+          'replace' => "ftp://sourceware.org/pub/elfutils"; ),
 
    array( 'pkg'     => 'Archive-Zip',
           'match'   => '^.*$',
@@ -511,8 +511,7 @@
 
   if ( $book_index == "elfutils" )
   {
-     return find_max( $lines, "/^\s*\d[\d\.]+\/.*$/",
-                              "/^\s*(\d[\d\.]+)\/.*$/" );
+     return find_max( $lines, "/\d[\d\.]+/", "/^.* (\d[\d\.]+)$/" );
   }
 
     if ( $package == "v" )  // ninja
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to