Subject: CVS commit: pkgsrc/devel/cook
To: None <pkgsrc-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: pkgsrc-changes
Date: 08/09/2006 23:29:15
Module Name:	pkgsrc
Committed By:	mrg
Date:		Wed Aug  9 23:29:15 UTC 2006

Modified Files:
	pkgsrc/devel/cook: Makefile PLIST distinfo

Log Message:
update cook from 2.22 to 2.26.  besides fixing GCC4 builds, many of the
changes since 2.22 include:

       * A bug has been fixed in the tell-position flag. It wasn't actually
       giving the file name and line number when executing commands if you
       used the "set tell-position" variants, only the -tell-position command
       line option.

       * A bug has been fixed in the cook -fp-update command, it would
       segfault in some cases.
       * A bug has been fixed in the cookbook include file processing.

       * A bug has been fixed in the negative flag setting (comamnd line
       options and "set" clauses).

       * The find_command command now copes better with directories it is not
       allowed to access.

       * A Java cookbook has been added to to the distribution.

       * A bug has been fixed in the execution of some commands.  If any words
       of the command had spaces in them, it did not pass it to a shell to be
       executed, but instead constructed a command of a different shape than
       the user expected.

       * A bug has been fixed on Linux (and it only ever ocurred on Linux)
       where cook would suddenly stop for no reason with exit status 1.  Turns
       out that sometimes fflush(stderr) returns an EAGAIN error.

       * A bug has been fixed which caused the cook -script option to produce
       invalid shell scripts when a recipe body contained no statements.

       * A bug has been fixed in the graph file pair generation, used to
       generate warnings about dangerous #include-cooked contents.

       * There is a new tell-position setting, so that when Cook prints a
       command it is about to run, it includes the file name and line nunmber
       of the command.  This can be useful when debugging cookbooks.

       * A bug has been fixed in the output line wrapping.  Once again it
       adapts to the window width.

       * A major problem with parallel execution and hangs has been fixed.
       The table indexed by process ID was now growing correctly.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 pkgsrc/devel/cook/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/devel/cook/PLIST
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/cook/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.