Coder Social home page Coder Social logo

blfs-currency's Introduction

These scripts are used to determine the latest stable versions of 
BLFS packages that are available upstreeam.

----
blfs-chapterxx.php -- These scripts examine the wget-list generated by the 
main book Makefile and check upstream servers for the latest versions.  In
many cases, the script can just take the url directly from the wget-list,
but in about a third of the cases, customization of the process is needed.

The scripts also determine the package names referenced from the wget-list, 
but in a few cases, the names must be modified by custom procedures.

The wget-list location and the directory for output html files 
(e.g. chapter4.html) will be in the current directory unless specified by 
environment variables.  For Chapter 24 (xorg), the location of the BLFS
xml sources is also needed.

For example:

cat > /etc/profile.d/blfs-currency.sh << "EOF"
# Begin /etc/profile.d/blfs-currency.sh

HTML_DIR=/home/bdubbs/public_html/
WGET_DIR=$HTML_DIR/blfs-book-xsl/
BLFS_DIR=/home/bdubbs/BLFS/trunk/BOOK/
export HTML_DIR WGET_DIR BLFS_DIR

# End /etc/profile.d/blfs-currency.sh
EOF

The scripts are numbered according to the BLFS chapter where they start. 
They cover one or more BLFS chapters according to the number of
packages in the chapters.

The scripts are a bit fragile as they rely on the format of upstream servers.
When the upstream servers change their location or format, then the scripts 
must be updated to conform to the changes.
----
update-blfs-currency.sh -- This is a simple script to run each of the 
blfs-chapterxx.php scripts in numerical order.  It is usually run from a
cron job once a day.
----
summ-blfs*.php -- These scripts examine the generated html files to determine 
non-current packages identified bu the blfs-chapterxx.php scripts.

The scripts fetch the current BLFS tickets from the Trac system running on 
linuxfromscratch.org and integrate that data from the parsed html files.

Output is either to a mail address or stdout depending on the version of the 
program.

The programs require wget and mailx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.