Author: bdubbs Date: Wed Sep 21 10:43:38 2016 New Revision: 17787 Log: Update scripts fo rnew packages nghttp2 and pcre2
Modified: trunk/scripts/blfs-chapter09.php trunk/scripts/blfs-chapter17.php Modified: trunk/scripts/blfs-chapter09.php ============================================================================== --- trunk/scripts/blfs-chapter09.php Wed Sep 21 07:45:15 2016 (r17786) +++ trunk/scripts/blfs-chapter09.php Wed Sep 21 10:43:38 2016 (r17787) @@ -12,7 +12,7 @@ $renames[ 'v' ] = 'liblinear'; $ignores = array(); -//$current="openobex"; // For debugging +//$current="pcre2"; // For debugging $regex = array(); $regex[ 'clucene-core' ] = "/^.*Download clucene-core-([\d\.]+).tar.*$/"; @@ -361,6 +361,9 @@ array( 'pkg' => 'libtasn1', 'regex' => "/libtasn1-([\d\.]+).*$/" ), + array( 'pkg' => 'pcre2', + 'regex' => "/pcre2-([\d\.]+).*$/" ), + array( 'pkg' => 'libxml2', 'regex' => "/libxml2-([\d\.]+).*$/" ), ); Modified: trunk/scripts/blfs-chapter17.php ============================================================================== --- trunk/scripts/blfs-chapter17.php Wed Sep 21 07:45:15 2016 (r17786) +++ trunk/scripts/blfs-chapter17.php Wed Sep 21 10:43:38 2016 (r17787) @@ -14,7 +14,7 @@ $ignores = array(); $ignores[ 'rpcnis-headers' ] = ''; -//$current="libtirpc"; +//$current="nghttp2"; $regex = array(); $regex[ 're-alpine' ] = "/^.*Download re-alpine-(\d[\d\.]+\d).tar.*$/"; @@ -66,6 +66,10 @@ 'match' => '^.*$', 'replace' => "http://www.mutt.org/download.html" ), + array( 'pkg' => 'nghttp2', + 'match' => '^.*$', + 'replace' => "https://github.com/nghttp2/nghttp2/releases/" ), + array( 'pkg' => 'libndp', 'match' => '^.*$', 'replace' => "https://github.com/jpirko/libndp/releases" ), @@ -192,6 +196,9 @@ if ( $book_index == "mutt" ) return find_max( $lines, '/mutt-/', '/^.*mutt-([\d\.]+).tar.*$/' ); + if ( $book_index == "nghttp2" ) + return find_max( $lines, '/nghttp2/', '/^.*nghttp2 v([\d\.]+).*$/' ); + if ( $book_index == "geoclue1" ) return find_max( $lines, '/geoclue/', '/^.*geoclue-([\d\.]+).tar.*$/' ); @@ -213,6 +220,9 @@ $match = array( array( 'pkg' => 'w3m', 'regex' => "/w3m-(\d[\d\.]+)/" ), + + array( 'pkg' => 'nghttp', + 'regex' => "/nghttp2-(\d[\d\.]+)/" ), ); foreach( $match as $m ) -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page