Include unix_dir.c when compiling under cygwin.
Fix missing type declaration.
Fix poor promiser form for commands promise
Spaces in commands type promisers cause warnings about binary not
existing. Any spaces in the promiser should be in the args attribute.
Closes Redmine 1277
Implement $(sys.cpus) on HP-UX platform

Uses the HP-UX mpctl() function to query the number of processors
available system-wide (as opposed to within a processor set) in order
to populate the $(sys.cpus) variable.

In HP-UX running on Intel Itanium Hyper-Thread Technology processors,
where each CPU core has two virtual cores, the total number of virtual
- rather than physical - cores is provided, which corresponds to the
behavior of the Linux scan of the /proc/stat file with HTT is enabled
on x86 platforms.

On a PA-RISC system, the total number of physical cores is set. The
PA-8900 processor has two physical cores per CPU socket, so an rp8420
with 16 PA-8900 processors will set $(sys.cpus) to 32, as expected.

It may be worthwhile to implement a $(sys.cpusockets) variable too,
in light of things like Oracle and Red Hat licensing.

The mpctl() function is documented at this page:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02264569/c02264569.pdf
Replace date +%s in testall with more widely compatible code (Mantis #1254)

In order to calculate the total run time of acceptance tests, the
testall script needs the UNIX seconds - a time() call - of the start
and end times of the test runs. It currently uses the command
"date +%s" to get these times.

Many older OS platforms - such as HP-UX 11.11, Solaris 8 and 9, and
others - do not support the "%s" format for the date command.

This patch creates a unix_seconds() subroutine which uses the modern
"date +%s" command if available, falls back to a Perl "print time()"
call, and failing that it falls back to pulling the octal date out of
a pax-created cpio header for an empty temporary file and converting
it to decimal using "bc."

This code will work on every POSIX-compliant platform (since the
pax/cpio/bc approach is strictly POSIX) as well as any platorm that
has a copy of Perl in the path.
check for BN_new() failure
modify syntax from select_xpath_region to select_xpath, in code, testing, and documentation
modify insert_text delete_text and set_text to prevent overwriting child nodes
Add maplist to functions that return (i,r,s)list.
Closes #1505
Modify print statements from CfOut to cfPS in order to update classes
Sort functions in verify_packages.c

There are four independent activities performed in verify_packages: obtaining
and caching list of installed packages, deciding what operations need to be
performed on packages, performing operations and cleanup.

The activities share data over global variables (PACKAGE_SCHEDULE,
INSTALLED_PACKAGE_LISTS), so it is not yet possible to split this module into
four independent ones, but at least sorting those into groups helps to
understand the structure of the code.
CFEngine is no longer stored in Subversion
Implement matching 'any' architecture in IsNewerThanInstalled (Redmine #1415)

Previously upgrading the package of 'any' architecture failed.
Packages promises: fix matching installed packages (Redmine #1415)
Tests for fix of matching installed packages (Redmine #1415)
Further updates to logging output.
Merge pull request #210 from nickanderson/hotfix/1505

Add maplist to functions that return (i,r,s)list.
Added package_patch_command to many distributions
Minor modification to cfPS statement parameters.
Merge pull request #205 from lpefferkorn/master

Missing BN_new() check for failure