########################################################################
# Document: ChangeLog.slacktrack
# Purpose : Document the changes that have occurred in 'slacktrack'
#########################################################################

11-Jul-2003 - v1.12
     * Added -D, --md5sumtgz option that will create an MD5sum of
       the resulting .tgz package file.
     * Fixed problem with checking the exit code from getopt 
       (reported by Emanuele Vicentini).
     * Added a preemptive FAQ
     * Merged Patrick's changes of slacktrack.SlackBuild into mine
       slacktrack.SlackBuild now also creates its own slacktrack-*.txt file

22-Jun-2003 - v1.11r2
     * I'd missed single quotes from a few find commands - fixed.

02-Jun-2003 - v1.11
     * -S, --stripallexec will now strip .a (archive) files.
     * -A, --striparchives option added.  This option strips .a archives.
       Suggested by Patrick Volkerding.
     * slacktrack.SlackBuild no longer includes the large collection of
       example scripts into the resulting package .tgz; they're now 
       maintained in a separate archive (slacktrack-examples-v??.tar.gz)
       available from http://www.interlude.org.uk/unix/slackware/

28-May-2003 - v1.10r2
     * If deleting 'usr/info/dir' then append this info to the log.

22-May-2003 - v1.10
     * Before gzipping man or info pages we now find any bzip2 (.bz2) files
       and unpack them.  I have found that BitchX installs BitchX(1) as
       a bzip2 file.  There is no slacktrack option to turn this feature off
       because if we gzip the bzip2'd man page, the man program won't
       work with the file.
     * Added -K, --delete-usrinfodir option.  If this option is specified
       then slacktrack will delete the file 'usr/info/dir' if it is
       found in the package.
       This file is a special file used by the 'info' program.  To quote
       texinfo's 'dir' file:
           "This (the Directory node) gives a menu of major topics."
       Many programs create their own 'info' file.  However, using slacktrack
       (or even a clean SlackBuild script), any such attempts to create 
       an up to date 'info' file result in the file only containing 
       information about the particular program (or set of programs)
       you have just compiled.
       Therefore you will usually want to delete this file from your
       package so as to avoid overwriting the system version when you
       install your new package.
       The default is not to delete usr/info/dir.
     * As an example, I typically invoke slacktrack as:
       # slacktrack -gfenzKSUIp package-1.00-i386-1.tgz ./package.build


16-May-2003 - v1.09
     * Added exported variable: SLACKTRACKSCRATCHDIR
       This variable points to a 'scratch' dir inside slacktrack's temporary
       path.  Should they wish to do so, the authors of the build scripts 
       can use this directory to save them 'managing' their own temporary
       directories where they unpack the source archives and so on.
       This directory is subject to the same conditions as the rest of the
       slacktrack temporary path -- it will remain if --notidy is specified.
     * Added paragraph in slacktrack(8) that talks about the exported environment
       variables.       
     * Now use date +%s to create more randomly named temp directory for installwatch
       This reduces the possibility of conflicting with another user who is
       running slacktrack on the same system.
     * Modified afio.build to demonstrate using ${SLACKTRACKSCRATCHDIR}
     * Modified tf.build to use ${SLACKTRACKSCRATCHDIR} & to prevent it from
       confirming the compile-time settings with the user.
     * Tidy up of the build scripts in the docs dir.
     * slacktrack(8) & slackdtxt(8) release dates now always in sync with 
       their respective scripts.

07-May-2003 - v1.08r3
     * Updated a few docs
     * Fixed a comment typo in the slacktrack script
     * Tidy up of 'SlackBuild' script
     * Other misc tidying.

03-May-2003 - v1.08r2
     * If the command line/script provided exits with an error code we now
       display the error code as well as a warning message.
     * Moved slacktrack and slackdtxt to /usr/bin rather than being in
       /usr/sbin.  This is because we can use slacktrack with 'fakeroot'
       from the Debian distribution.  fakeroot fakes root privileges, thereby
       allowing slacktrack to chown correctly.  Therefore we can sensibly
       use slacktrack as user other than root.

       To use slacktrack with fakeroot you could do this
        # fakeroot ./trackbuild.fetchmail

       less through the resulting package .tgz to verify that the permissions
       are what they ought to be.  Obviously there will be some issues with
       using fakeroot but it should be pretty useful for users without root
       access.
       I have packaged up fakeroot and you may download it at
         http://www.interlude.org.uk/unix/slackware/
       I have included by fakeroot build script within slacktrack's source
       ball - slacktrack/misc/fakeroot/
 
28-Apr-2003 - v1.08
     * Added -N, --strip-prog to allow the user to specify the location
       of the strip binary.  This allows me to start cross compiling
       stuff with slacktrack stripping the binaries.
     * Renamed my wrapper scripts from 'SlackBuild' to 'trackbuild' to 
       avoid any confusion & updated docs to match.
     * If specifying an alternate package store dir, now suffix the path
       with a /   
     * Now reports size of .tgz if a .tgz is built
     * No options are 'Advanced' - they are now just options
     * Added -R, --run-after facility to make slacktrack execute a given
       command prior to running makepkg.  The purpose of this is to allow
       the user to specify a program such as mc (Midnight Commander) to
       inspect the package directory contents and possibly make changes
       before slacktrack creates the .tgz
       [] Note: The CWD is changed to the package's root directory before
                the external command is executed.  This allows you to specify
                -Rmc and have Midnight Commander load and automatically
                display the root dir of the package.
     * -T wasn't accepting the specified path.  Fixed.
     * -g,--chmod644docs also now does chown -R root.root /usr/doc.  I am finding
       I need to do this in build scripts a lot so I figured since I'm already
       chmod 644ing I may as well just chown them to root since they always
       are in Slackware packages anyway !

16-Apr-2003 - v1.07
     * Added the facility to gzip info pages & updated slacktrack(8) to match.
       -I,  --gzinfo               
       -W,  --extra-infodir <path>  
       -F,  --gzinfo-no-symfix  
     * Switched @uksolutions email addresses in example build scripts with
       @polplex.co.uk
     * Added two build scripts for GNU VCD Imager into the docs/examples/non-slackware
       directory.  There are two scripts:
           vcdimager.build -- this is for use with slacktrack
           vcdimager.SlackBuild -- this is a 'clean' SlackBuild script 
                                   that installs the package into a clean 
                                   dir by doing make DESTDIR
           The purpose of having these two scripts is for anybody who is
           interested in building their own packages; it enables you to
           compare and contrast the differences... or something :)

01-Apr-2003 - v1.06
     * --extra-libdir, --extra-bindir, --extra-mandir added to allow
       the user to specify additional directories that slacktrack should
       consider when stripping binaries and gzipping man pages.
       Note that any binary directories specified by --extra-bindir 
       will NOT be chown root.bin
       Suggested by Darren Austin
     * No longer chown root.bin in /usr/local/{sbin,bin}/
       as it's not the Slackware standard to chown root.bin in any dirs other
       than /sbin, /bin, /usr/bin & /usr/sbin

26-Mar-2003 - v1.05
     * Now considers usr/local for man page, binary and .so files after
       Darren Austin gave a convincing argument as to why one may wish to
       use /usr/local
      
22-Mar-2003 - v1.04-build-2
     * Moved Change Log details into separate file - 'ChangeLog.slacktrack'
       to save cluttering the slacktrack script.
     * Added zlib build script to the list of Slackware example build scripts
       This script downloaded the Slackware bits and also patches in the 
       security patch from OpenPKG.
     * Added NVIDIA_GLX-1.0-4191 and tinyfuge example slacktrack build scripts
     * Fixed a few typos and grammar problems in the docs
     * Tidied up a few comments & code in the slacktrack script
       - No new features added.
  
10-Mar-2003 - v1.04
     * Added --stripallexec option to strip any unstripped ELF executable files
       in the entire package directory.  This means that slacktrack will find all
       files in non-standard Slackware directories such as /opt.
     * Added 'short' command flags for the advanced options.

02-Mar-2003 - v1.03
     * Make sure we have specified a package name before proceeding
     * Bomb out & tidy up if no files or dirs are found in /var/tmp/slacktrack/TRANSL/
       this saves makepkg building a package of the current directory & it also
       indicates that installwatch failed to track any activity, thus has no files
       to package.
     * Fixed problem with the location of installwatch's log file.
     * Lots of error checks
     * Exit codes now have meaning; read slacktrack(8) man page.
     * If build store dir doesn't exist then change it to /tmp rather than
       creating it without warning.

01-Mar-2003 - v1.02
     * Added --chmod644docs option
     * Renamed SLACKTRACKPSEUDODIR to SLACKTRACKFAKEROOT because it makes more
       sense.

28-Feb-2003 - v1.01
     * Stopped dumping all output to /dev/null when gzipping man pages
       as this doesn't always work
     * Added code to fix broken symlinks caused by gzipping man pages
       Added --gzman-no-symfix command line option to prevent this behaviour
     * Added --chown-bdirs-root-bin & chown-bfiles-root-bin (-e,-f) options
       to chown root.bin the system binaries installed into /usr/bin and so on
       This behaviour is specified in Pat's 'slack-tools' README file.

22-Jan-2002 - v1.00
     * Created
