Merge remote-tracking branches 'remotes/origin/master' and 'remotes/local-cache/master'
Merge remote-tracking branches 'remotes/origin/master' and 'remotes/local-cache/master'
Next stage of release preparation.

CMakeConfig.txt: Add missing dependency

{debian,redhat}/*: Remove all of the debian/redhat bits, it's all in project-builder now.

dist/rules: Update with new project-builder control bits.  Move the instructions to the top.
  Update the versions and release info for all of the OSs.  Remove the obsolete building bits,
  add in the project-builder ones.

src/CMakeLists.txt: Remove deptool time::hires dependency and merge the two IF(...) stanzas together

deptool.in: Make the Time::HiRes module dependency optional -- some OSs don't have it by default.
  Remove the time logging code.  It was never on by default and to the best of my knowledge no one
  ever used it.

zsh-paths: More complicated path determination, but works more generally.

zshrc: remove COLUMNS env var when doing procfind or we never get more than 80 columns.
Merge remote branches 'remotes/origin/master' and 'remotes/local-cache/master'
Fixes to get builds working on another machine.

check-changelogs.sh: Script to verify consistency of the changelogs and the version stamp.

make-tar.sh: Bring back the code to make the tar file -- it was removed but turned out to be
  necessary.

rules: fixup $ENV{'HOME'} bits in PB_ROOT.  Get the version from the generated file.  Use the
  new script for checking the changelogs.  make-tar moved to dist.  Split out the rules for
  deb and rpm packages.  Add back in .SECONDARY to preserve the intermediates, e.g. .../setup-vm
  Hide some of the cleanup commands to make the output less messy.

try-fixup-download-errors.sh: For unknown reasons we occasionally get glitches in the package files.
  This script tries to identify those and force the cache to re-fetch the data.
More fixes to get things working.

rules: split out the packages rules so we can run subsets more easily during testing.
  Automatically try to fixup download errors when re-running the commands so that
  glitches in the caching can be repaired.  Remove the target file so file completion
  works better.

try-fixup-download-errors.sh: script to try to fix any download errors that may have occurred.

TestUtil.?pp: Add function to get the deptool os/version/arch information so it can be used in
  selectively disabling tests.

src/CMakeLists.txt: add TestUtil.cpp

StatsQuantile.cpp: make variable only appear when in debugging mode to remove warning from compiler.

deptool.in: Fix naming convention for several bits so that we have a-b-c form always.  Include the
  minor version in the build dir for the redhat releases since enough changes during minor releases
  that we can't treat them as the same.  Same fix for centos; add in scientific linux.  Make the
  minor revision fix for opensuse, unclear if it's needed, but likely.

perl/CMakeLists.txt: extract out the perl ccflags and use them.  Needed for perl module to work on
  debian 7.0/i386.

tests/CMakeLists.txt: byte_buffer test is not simple, so remove duplicate.  Deptool does not depend
  on Time::HiRes any more, add in deptool-osarch test.  process_statistics test now needs deptool
  in env to selectively disable.

byte_buffer.cpp: Skip resident size test on opensuse-12.1; it doesn't work.

deptool-osarch.cpp: verify that the c++ and command line arguments agree

process_statistics.cpp: skip resident size test on opensuse, doesn't work.

test-deptool-osarch.sh: Verify that the deptool values and what is parsed in the C++ agree.
Support source version names like YYYY-MM-DD or 0.YYYY.MM.DD

rules: start adding in the vm rules, primarily the bits to generate the transient latest-release
  stuff

deptool.in: Change code to always backup the old Lintel/DataSeries directory when doing a tarinit.
  Also fix untar/http download code to be pretty tolerant of the naming of the versions so that
  we can handle the transition.
Bits for getting things working on freebsd/openbsd

{free,open}bsd-vm-prep.sh: scripts for preparing a free/openbsd vm after a base install for building
  Lintel and DataSeries.

dist/rules: Rules for building on our openbsd/freebsd vms.  Special rule for verifying all the
  VMs are up before starting the build, then rules to build the bz2 tar files and release file,
  finally it just calls a simple script to do the build.

vm-build.sh: Simple script for building inside a vm.

deptool.in: depInit needs to pass through unrecognized arguments, init --tar takes additional
  arguments.  Simplify the code that unpacks the tarball to just use the version from the filename
  since different tar's give different output.  Fix die statement to double escape the \'s.  Improve
  prompt on release file download, also send error off to /dev/null to not pollute the screen.

zsh-buildenv: [BUGFIX] recalculate $DEPTOOL after changing build root.

flock.sh: [BUGFIX] the simple script test was fragile to timing glitches.  Fix so that it more
  closely finds the beginning and end of when the lock should be held.  Also improve output to be
  easier to read.
Fixes to make builds work on all tested remote hosts.

build-from-source.sh: unified script to build from source, a combination of
  vm-build.sh and test-remote.sh, plus additional fixes to verify that the
  downloaded packages have the correct checksum, and to use curl or wget,
  whichever is present.

remote-host-list: give up on Debian Etch, Lenny, both are now obsolete.  Remove RH4.8, it's
  ancient, and builds weren't working. Add RHEL6.2, update the RHEL5.6 to 5.8 and opensuse 11.2 to
  11.4.  Add in MacOS.

dist/rules: update help message.  Remove unused variables.  Break martenot-copy (deliberately, not
  tested and shouldn't work.)  Update vm rules to use the /result pattern.  Fix to 100 columns for
  most bits, except for the build-from-source.sh line so that it's easier to copy and paste.
  Add rule for remote-hosts to first "prep" the hosts, which is just making sure we can ssh to them.
  Rewrite host rules with the new naming convention.  Add rules to build the latest-release stuff,
  copy it to tesla, and build on a remote machine.

test-remote.sh, vm-build.sh: merged into build-from-source.sh

ProgramOptions.cpp: [BUGFIX] force a minimum width so insane environments don't confuse us.
  Rewrite the line-break code so that we will always find a breakpoint.  If we had an unbreakable
  line at the start with no spaces, the old code would go into an infinite loop becuase where :=
  npos +1 == 0, which is not >= help_width, so we just got stuck at 0.  Also fix the word wrapping
  so that we actually do wrap everything rather than just the extra help.

deptool.in: Remove the --no-cache option and make it the default.  Reformat paragraphs to 100
  columns.  Add getenv option to unset the environment, letting us automatically clean up an
  environment that could have non-default env vars in it.  Add another rule for rhel, although it's
  a 4.x rule which doesn't really matter since we don't build on 4.x.  TODO to remove the no-cache
  option.  Factor out the http fetch code so that we can try both wget and curl.

zshrc: add macos procfind rule.

program_options.cpp: fix --help test to verify word-wrap works.

program_options.help.ref: and update the reference file.

run-check-program-options.sh: and force the column count.
Repair builds on vms.

build-from-source.sh: openbsd default install has insufficient space on /var/tmp; use /home.
  Support openbsd sha1 command.

dist/rules: copy into /var/tmp and run build-from-source from there along with additional sha
  checksums.
Merge remote-tracking branches 'remotes/origin/master' and 'remotes/local-cache/master'
Fix minor goof in case statment; zsh on centos wasn't happy with it.
Fix to deal with potentially borked user environment

TestUtil.cpp: improve error message.

tests/CMakeLists.txt: add script to clean out deptool env before testing; then use it.

clean-deptool-env.in: simple script to clean out deptool env

test-deptool-osarch.sh: verify that deptool propagates broken settings
Merge remote-tracking branch 'remotes/origin/master'

* remotes/origin/master:
  Fix minor goof in case statment; zsh on centos wasn't happy with it.
  Merge remote-tracking branches 'remotes/origin/master' and 'remotes/local-cache/master'