Author: krejzi
Date: Fri Sep 29 08:30:09 2017
New Revision: 19281

Log:
Fix currency

Modified:
   trunk/scripts/blfs-chapter09.php
   trunk/scripts/blfs-chapter11.php
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php    Thu Sep 28 14:10:22 2017        (r19280)
+++ trunk/scripts/blfs-chapter09.php    Fri Sep 29 08:30:09 2017        (r19281)
@@ -15,7 +15,7 @@
 
 $ignores = array();
 
-//$current="libdaemon"; // For debugging
+//$current="enchant"; // For debugging
 
 $regex = array();
 $regex[ 'clucene-core'  ] = "/^.*Download clucene-core-([\d\.]+).tar.*$/";
@@ -24,6 +24,7 @@
 $regex[ 'libiodbc'      ] = "/^.*Download libiodbc-(\d[\d\.]+\d).tar.*$/";
 $regex[ 'libical'       ] = "/^.*v(\d[\d\.]+\d).*$/";
 $regex[ 'libdaemon'     ] = "/^.*Version (\d[\d\.]+\d) released.*$/";
+$regex[ 'libatasmart'   ] = "/^.*v(\d[\d\.]+\d).*$/";
 
 $sf = 'sourceforge.net';
 
@@ -40,10 +41,6 @@
         'match'   => '^.*$',
         'replace' => "http://$sf/projects/clucene/files"; ),
 
- array( 'pkg'     => 'enchant',
-        'match'   => '^.*$',
-        'replace' => "http://www.abisource.com/downloads/enchant"; ),
-
  array( 'pkg'     => 'expat',
         'match'   => '^.*$',
         'replace' => "http://$sf/projects/expat/files/expat"; ),
@@ -143,6 +140,14 @@
  array( 'pkg'     => 'qca',
         'match'   => '^.*$',
         'replace' => "https://download.kde.org/stable/qca"; ),
+
+ array( 'pkg'     => 'libatasmart',
+        'match'   => '^.*$',
+        'replace' => "http://git.0pointer.net/libatasmart.git/refs/"; ),
+
+ array( 'pkg'     => 'enchant',
+        'match'   => '^.*$',
+        'replace' => "https://github.com/AbiWord/enchant/releases"; ),
 );
 
 function get_packages( $package, $dirpath )
@@ -304,12 +309,6 @@
     return find_max( $lines, '/^.*boost_[\d_]+.tar.*$/', 
'/^.*boost_([\d_]+).tar.*$/' );
   }
 
-  if ( $book_index == "enchant" )
-  {
-    $dir   = find_max( $lines, '/^\s*[\d\.]+\/.*$/', '/^\s*([\d\.]+)\/.*$/' );
-    $lines = http_get_file( "$dirpath/$dir" );
-  }
-
   if ( $book_index == "icu4c" )
   {
     $dir   = find_max( $lines, '/\d+\.\d/', '/^(\d+\.\d+)\/.*$/' );
@@ -413,6 +412,9 @@
 
       array( 'pkg'   => 'libxml2',
              'regex' => "/libxml2-([\d\.]+).*$/" ),
+
+      array( 'pkg'   => 'libidn2',
+             'regex' => "/libidn2-([\d\.]+).*$/" ),
    );
 
    foreach( $match as $m )

Modified: trunk/scripts/blfs-chapter11.php
==============================================================================
--- trunk/scripts/blfs-chapter11.php    Thu Sep 28 14:10:22 2017        (r19280)
+++ trunk/scripts/blfs-chapter11.php    Fri Sep 29 08:30:09 2017        (r19281)
@@ -36,10 +36,6 @@
           'match'   => '^.*$',
           'replace' => "https://alioth.debian.org/projects/chrpath"; ),
 
-   array( 'pkg'     => 'compface',
-          'match'   => '^.*$',
-          'replace' => "http://freecode.com/projects/compface"; ),
-
    array( //'pkg'     => 'gnome',
           'match'   => '^ftp:\/\/ftp.gnome',
           'replace' => "http://ftp.gnome"; ),
@@ -169,9 +165,6 @@
   if ( $book_index == "chrpath" )
     return find_max( $lines, '/0\./', '/^\s*([\d\.]+).*$/' );
 
-  if ( $book_index == "compface" )
-    return find_max( $lines, '/\d\./', '/^\s*([\d\.]+).*$/' );
-
   if ( $book_index == "hd2u" )
     return find_max( $lines, '/hd2u/', '/^.*hd2u-([\d\.]+).tgz.*$/' );
 

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Thu Sep 28 14:10:22 2017        (r19280)
+++ trunk/scripts/blfs-chapter13.php    Fri Sep 29 08:30:09 2017        (r19281)
@@ -32,7 +32,7 @@
 $ignores[ 'python'       ] = '';
 $ignores[ 'python1'      ] = '';
 
-//$current="ninja";  // For debugging
+//$current="ruby";  // For debugging
 
 $regex = array();
 $regex[ 'check'   ] = "/^.*Check (\d[\d\.]+\d).*$/";
@@ -47,7 +47,7 @@
 $regex[ 'jtreg'   ] = "/^.*jtreg-(\d[b\d\.\-]+\d)\.tar.*$/";
 $regex[ 'OpenJDK1'] = "/^.*OpenJDK-(\d[\d\.]+\d)\-.*$/";
 $regex[ 'setuptools' ] = "/^.*setuptools-(\d[\d\.]+\d).zip.*$/";
-$regex[ 'lxml'       ] = "/^.*lxml (\d[\d\.]+\d).*$/";
+//$regex[ 'lxml'       ] = "/^.*lxml (\d[\d\.]+\d).*$/";
 $regex[ 'funcsigs'   ] = "/^.*funcsigs (\d[\d\.]+\d).*$/";
 $regex[ 'pycrypto'   ] = "/^.*pycrypto (\d[\d\.]+\d).*$/";
 
@@ -333,7 +333,7 @@
 
    array( 'pkg'     => 'ruby',
           'match'   => '^.*$',
-          'replace' => "http://cache.ruby-lang.org/pub/ruby"; ),
+          'replace' => "http://cache.ruby-lang.org/pub/ruby/"; ),
 
    array( 'pkg'     => 'setuptools',
           'match'   => '^.*$',
-- 
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