[blfs-book] r18632 - trunk/scripts

via blfs-book blfs-book at lists.linuxfromscratch.org
Sun Apr 23 10:39:54 PDT 2017


Author: bdubbs
Date: Sun Apr 23 10:39:54 2017
New Revision: 18632

Log:
Add c-ares to start of chapter 17

Modified:
   trunk/scripts/blfs-chapter17.php

Modified: trunk/scripts/blfs-chapter17.php
==============================================================================
--- trunk/scripts/blfs-chapter17.php	Sun Apr 23 10:32:31 2017	(r18631)
+++ trunk/scripts/blfs-chapter17.php	Sun Apr 23 10:39:54 2017	(r18632)
@@ -5,7 +5,7 @@
 
 $CHAPTER       = '17';
 $CHAPTERS      = 'Chapters 17-19';
-$START_PACKAGE = 'curl';
+$START_PACKAGE = 'c-ares';
 $STOP_PACKAGE  = 're-alpine';
 
 $renames = array();
@@ -14,7 +14,7 @@
 $ignores = array();
 $ignores[ 'rpcnis-headers' ] = '';
 
-//$current="fetchmail";
+//$current="c-ares";
 
 $regex = array();
 $regex[ 're-alpine' ] = "/^.*Download re-alpine-(\d[\d\.]+\d).tar.*$/";
@@ -195,6 +195,9 @@
      return 0;  // This is an error
   }
 
+  if ( $book_index == "c-ares" )
+    return find_max( $lines, '/c-ares/', '/^.*c-ares ([\d\.]+) .*$/' );
+
   if ( $book_index == "libndp" )
     return find_max( $lines, '/v\d/', '/^.*v([\d\.]+)$/' );
 


More information about the blfs-book mailing list