changelog
- Wed, 23 Jan 2008 14:25:07 +0800
- by Tim Post <tinkertim@gmail.com> [Wed, 23 Jan 2008 14:25:07 +0800] rev 9
- Several more fixes for POSIX conformity
Fixed several other instances where strings were transformed
prior to newlines being stripped.
Signed-off-by: Tim Post <tinkertim@gmail.com>
- Wed, 23 Jan 2008 14:18:07 +0800
- by Tim Post <tinkertim@gmail.com> [Wed, 23 Jan 2008 14:18:07 +0800] rev 8
- Many changes for portability, see patch
Organized usage() so that short options are less confusing
Any fatal where 'exit' is explicitly called is better explained
Eliminated reverse negative conditionals, ie [ ! -z becomes [ -n
Most functions now call $PROG instead of 'prog' to use full paths
Added a portable find_basename() that works if 'basename' doesn't exist
Replaced all calls to 'basename' with 'find_basename'
Added support for -? ? --? in argument processing
Eliminated all shift (int) calls with shift shift ... shift
Fixed several occurences where newlines weren't stripped from strings
prior to replacing or transforming strings to meet POSIX, several more to do.
Added a -M, --manual option to show a man page for 'setup' if man (and page)
are present for help beyond basic --help
Added -e, --exec-prefix preference to path selection
Signed-off-by: Tim Post <tinkertim@gmail.com>
- Tue, 22 Jan 2008 19:42:18 +0800
- by Tim Post <tinkertim@gmail.com> [Tue, 22 Jan 2008 19:42:18 +0800] rev 7
- check_sanity() now forcibly exits on all problems regardless of --force
Added comments, syntax and example usage to all functions
Signed-off-by: Tim Post <tinkertim@gmail.com>
- Tue, 22 Jan 2008 19:06:58 +0800
- by Tim Post <tinkertim@gmail.com> [Tue, 22 Jan 2008 19:06:58 +0800] rev 6
- Added check_prog_export() and generate_pem() to function libraries
Moved check_prog to setup_corefuncs.sh as install.sh will be using
check_prog_export().
Added check_prog_export() :
Works just like check_prog(), except it exports PROGNAME=/path/to/progname
Example, check_prog_export "rm" would set the global RM=/bin/rm, no writing
to paths.out once we're in install.sh. One should use check_prog from within
setup, check_prog_export within install / package tasks if a program was not
checked by setup.
Added generate_pem() :
Generates a PEM encoded self signed certificate filling in values obtained
from the host. Function then calls openssl to verify the cert that was
written.
Both functions return non-zero on failure.
Signed-off-by: Tim Post <tinkertim@gmail.com>
- Mon, 21 Jan 2008 15:59:28 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 15:59:28 +0800] rev 5
- Updated todo list
- Mon, 21 Jan 2008 15:37:46 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 15:37:46 +0800] rev 4
- Broke up long lines in Ubuntu and Debian specific packages.in
Signed-off-by: Tim Post <tinkertim@gmail.com>
- Mon, 21 Jan 2008 15:18:12 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 15:18:12 +0800] rev 3
- Added a README regarding patc submission and branching.
- Mon, 21 Jan 2008 15:05:49 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 15:05:49 +0800] rev 2
- Branched "tinkertim" for collaboration.
- Mon, 21 Jan 2008 14:33:11 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 14:33:11 +0800] rev 1
- Added tag 0.0.5 for changeset cd29879e9d6b
- Mon, 21 Jan 2008 14:30:16 +0800
- by Tim Post <tinkertim@gmail.com> [Mon, 21 Jan 2008 14:30:16 +0800] rev 0
- Initial checkin
Signed-off-by: Tim Post <tinkertim@gmail.com>