Merged changed from development branch

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@6 a8a2147e-0eb0-e98b-0563-54e275c8f842
Added version checksums to trunk


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@8 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 9 from branches/dev:
Switched to google code update URL

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@10 a8a2147e-0eb0-e98b-0563-54e275c8f842
Updated checksums


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@11 a8a2147e-0eb0-e98b-0563-54e275c8f842
Reverse merged revision(s) 1-0 from branches/dev:

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@15 a8a2147e-0eb0-e98b-0563-54e275c8f842
Updated checksums


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@16 a8a2147e-0eb0-e98b-0563-54e275c8f842
Reverse merged revision(s) 1-0 from branches/dev:

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@25 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 26-34 from branches/dev:
Added some improvements to self-update process based on input from http://stackoverflow.com/questions/8595751/is-this-a-valid-self-update-approach-for-a-bash-script
........
Now using double-brackets instead of single brackets in tests.
........
References to $0 are now surrounded with double-quotes.
........
All scripts are now using latest revision of self-updating approach.
........
Removed useless errexit options
........
Self updating now uses dedicated script to replace file itself.
........
Using latest revision of self-update approach.
........
Added more validity checks and return value checks.
........
Updated changelog
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@35 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 36-82 from branches/dev:
Wrapped additional identifiers in double-quotes.
........
Added ability to look for unzip utility and GraphicsMagick installation to work around usability issues.
Please see the following issues for more information:
unzip: http://forge.typo3.org/issues/30918
GraphicsMagick: http://forge.typo3.org/issues/32761
........
Database configuration is no longer written to localconf.php by default. This caused the Typo3 1-2-3 installer to not start correctly.
........
Added ability to adjust access rights for the Typo3 installation so that the install tool can run (optional when sudo permissions are available).
........
bootstrap.sh can now create a complete installation from scratch that starts right into the 1-2-3 installer.
........
bootstrap.sh now writes the database configuration by default (which the Typo3 installer uses), but ignores the database name to avoid conflicts with the installer.
........
Added validity check for version parameter
........
bootstrap.sh will now also adjust the owner of the Typo3 installation.
........
Owner is now initialized to the user that invoked the script
........
Added validity check for file parameter
........
Functions are now explicitly marked with the optional "function" keyword.
........
All rm calls now use the -- argument delimiter to avoid parameter confusion.
........
restoreBackup.sh now properly checks for write permissions of the target folder before attempting to delete it.
........
Fixed output of file permission check
........
Fixed access to undefined variable if run without sudo.
........
No longer sourcing config file if --help or -h are passed as the first (and possibly only) argument.
........
bootstrap.sh will now lock the Typo3 install tool with a random password (if /dev/urandom is available).
........
bootstrap.sh now checks for readability of /dev/urandom instead of existence (as we want to read from it anyway).
........
Removed changelog from scripts. Version numbers were arbitrary and changes can be monitored in svn log.
........
Scripts will now check if all dependencies are met before doing any processing.
........
Scripts now support --export-config to easily export the default configuration of the script to a file (so that it can be used as a configuration file).
........
showHelp no longer controls exit status.
........
Replaced single-bracket tests with double-bracket tests.
Fixed referenced to possibly undefined variable $1.
........
Minor test syntax improvements.
switchVersion will now check the version parameter (like bootstrap.sh).
........
Improved the result handling of mysql binaries.
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@83 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 84 from branches/dev:
Added packaging script
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@85 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 87-89 from branches/dev:
bootstrap.sh now uses the signal file FIRST_INSTALL to enable the install tool.
Additionally, creation of the signal file now happens sooner so that it will be affected by ownership changes performed later in the script.
........
Fixed a critical logic error when deciding if config file should be sourced.
........
Fixed mysql binary results always being incorrectly interpreted.
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@90 a8a2147e-0eb0-e98b-0563-54e275c8f842
Removed nonsensical output indirection

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@93 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 91-97 from branches/dev:
createBackup.sh can now utilize pv for progress feedback (if available).
........
Fixed dependency check for pv usage.
........
No need to supply --verbose and then redirect stdout to /dev/null
........
Improved progress indicator integration.

........
Added --fix-indexphp parameter to replace the index.php symlink with a copy of the actual file.
........
switchVersion.sh can now handle installations created with --fix-indexphp
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@98 a8a2147e-0eb0-e98b-0563-54e275c8f842
Fixed TYPO3 capitalization.
All scripts now support --extract-config to extraction configuration items from existing TYPO3 installations.
All scripts now read from a core configuration file (typo3scripts.conf) before looking for their own configuration.
Scripts can now properly determine if an update is available or if no update information is available.
Updated utility scripts to include .php files.
Added extChangelog.sh - A script to retrieve extension upload comments.
Added extUpdate.sh - A script to check update status on installed extensions.
Added extExtract.php - A script to extract the contents of extension file containers (.t3x).

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@159 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 160-171 from branches/dev:
Fixed script name not being evaluated when required argument count isn't reached.
........
extExtract.php now uses urlencode to encode string values to reduce the PHP version dependency.
........
Fixed extUpdate.sh ignoring extension filter set with --extension.
........
extExtract.php now allows the user to configure the limit at which string values are summarized as String[length].
extExtract.php will now use gettype() to print type information if the type of a variable is unexpected.
........
generateChecksums now includes .php files.
........
extExtract.php can now be instructed to save the downloaded .t3x file (optionally in a specific file).
The filenames of temporary downloads aren't suffixed with .temp any longer.
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@174 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 173-188 from branches/dev:
generateChecksums no longer writes to a specific file.
generateChecksums now only generates checksums for scripts starting from the second line. This will later allow modifications of the file interpreter to be ignored by update checks.
versions file is now available in the development branch.
Scripts should now ignore their first line in update checks.
Scripts now use the updated versions file format.
Slightly improved updater output.
extExtract.php now checks if an extension key was provided for configuration.
More (previously) constants can now be redefined in extExtract.php
Slightly improved a regular expression to allow for empty lines in the configuration files.
extExtract.php can now use exec to initiate self-update if pcntl_exec is not available.
Added final fallback for extExtract.php self-updater.

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@189 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 190-218 from branches/dev:
Introducing fixPermissions.sh - Fixes file access permissions for a TYPO3 installation. Intended to make TYPO3 installations usable after moving them to another host.
Added new switches to all scripts: --verbose,--quiet,--force,--update-check
Update checking is no longer a forced action, it has to be invoked manually.

All scripts now output notifications about configuration file sourcing to stderr.
All scripts now print notifications about dependencies to stderr.
All parameter validation output should now be written to stderr.

Changed default parameter parsing (hopefully for the better).
Normalized true/false and 1/0 use in configuration parameters (as well, hopefully).
updateCheck() now returns a value indicating if an update is available.
This value is also returned by the script itself when --update-check is used.
updateCheck now gives more feedback when --verbose is defined as well.
Notifications about configuration file sourcing are now only printed if --verbose was set.
Updated required argument counts.
Fixed duplicate UPDATE_BASE definition.
Updated usage in command line help output.
The location of the binaries, that were determined to fulfill their respective scripts dependencies, is now printed if --verbose was set.
Unified the default argument validity check throughout all scripts.
Changed error message on failed argument validity checks to relate to new command line argument parsing scheme.
Fixed checkDependency() breaking execution.
TYPO3 download and parts of installation now print to stderr and are effected by --verbose.
Update check will now see if curl is available before trying to use it.
GM detection is now skipped by default as neither ImageMagick nor GraphicsMagick can be trusted to produce valid output 100% of the time. This is better left un-automated (unless specifically requested).
Fixed argument count error messages potentially being written to stdout.
Default installation version bumped to 6.0.0
Fixed extUpdate.sh stopping execution when unable to read local version for extension.

git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@219 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merged revision(s) 221-230 from branches/dev:
No longer adding 'USE database' to mysqldump output.
........
Fixed improperly handled 'cp' result for nonexistent 'localconf.php'.
........
Properly handling "impossible to resume download" situation now (either use --force or delete partial download).
........
Now ignoring 'localconf.php' when targetting 6.0
........
Specifying --force will now overwrite (but not clear) an existing base directory.
........
Removed some parameter inconsistencies.
........
Removed incorrect status output
........
Added support for external TYPO3 installation package location
........
Added checks to handle insufficient privileges to read config
........
Fixed issues with TYPO3 package store
........


git-svn-id: http://typo3scripts.googlecode.com/svn/trunk@231 a8a2147e-0eb0-e98b-0563-54e275c8f842
Merge branch 'dev'
Updated URLs and version hashes
*crossing fingers*