Add [] for an empty argument to a configure macro

Change-Id: I904ef5ac6eaf21a10bc5a0c09fe3700c04f56850
Actually test our daemon implementation

The daemon-t.c test was testing the system daemon() function rather
than our replacement.

Change-Id: Ifc41cad20bb1ce36180bab668e8e2088f63f6a39
Remove prototypes from the Perl remctl function

Remove prototypes from the Perl remctl() function.  With prototypes,
the connection and command information could not be provided via an
array, since the prototype forces it into scalar context.

Change-Id: I9e60ed68b202a358d0b23be4e69eb3a0a0d346eb
Add test for passing too few arguments to Perl remctl function

Change-Id: I712303514663e52b61b16e5415400452bc102d60
Add NEWS entry for Perl remctl prototype fix

Change-Id: I09b7b3dffc0f807d2e9cf0c1174cec162f6a2b42
Reword Python documentation to be clearer about required APIs

Both set_ccache and set_source are optional; don't imply that they
must be called if the caller doesn't care about changing those
defaults.

Change-Id: I597b9b1b6b850c478a085f17099ef7d55c8bb8a2
Also fix set_ccache and set_source_ip docs for other bindings

Make the same fix for other bindings as for Python: be clear that
set_ccache and set_source_ip are optional calls.

Change-Id: I1bc1e81da9af4eba52e64723e9bc5a1c20b0e154
Add some additional TODO items

Change-Id: I88dd04c0927824e369495d4f3643eb9a2516161a
Pass REMCTL_RUBY_FLAGS to extconf.rb

When building the Ruby extension makefile, pass the value of
REMCTL_RUBY_FLAGS (if any) on the command line to extconf.rb.
This can be used to pass in flags such as --vendor.  Inspired
by a bug report from Ken Dreyer.

Change-Id: Ia0a0b2c77aea5f273f709b1e2624deee51e50cab
define AM_PROG_AR to support Automake 1.12

Change-Id: I772638117178d921a62499bedf35eb0d6b6ed480
Add a comment explaining the AM_PROG_AR workaround

Change-Id: I1a2527046dd3f75926ed4cbec0f0ec5b5212d426
Skip generating protocol documentation if xml2rfc is not found

Reported by Ken Dreyer.

Change-Id: I6714ab6a418a7f04675a1e2cb2fdf406ec4704e2
Use command -v instead of which

which doesn't return a useful exit status on Solaris /bin/sh, but
command -v appears to work.

Change-Id: I9dada94a2628d33442df45dec76e69b2f6f727e6
Fix various issues with the RPM spec file

- spec fixes for build issues around perl and lib dirs
- move perl to vendor_perl on EL6
- re-add missing devel package
- change arch to i686 from i386 (if 32bit build)
- added missing/required doc to python package
- general cleanup for rpmlint

Change-Id: Id7e0127abbd2ef1e3b95a7de2d8d731813c398d6
Close some memory leaks in server configuration parsing

Free the configuration properly if configuration parsing fails with
an error, and correctly free all of the allocated memory when freeing
the configuration data.

Change-Id: I67021ae6211b9dba0f944fa174acbaf1c11f81d8
Free the server configuration on exit of the test suite

So that we can use valgrind to check for memory leaks properly, free
the allocated configuration on exit of the test suite.

Change-Id: If0ad4d1c3bd3bf915188ddc93783eafb553a6586
Add NEWS entry for server config memory leaks

Change-Id: Ie9daaa26b157396840133d3d8025e9e643d255e9
Fix file descriptor leak in checking ACL files

Fix a file descriptor leak when checking ACL files.  This would cause
long-running remctld processes to eventually run out of available file
descriptors.

Change-Id: I607320ee67fb80990e8605ca2a7c5524010e4fca
Update to rra-c-util 4.6

* Drop concat from the util library in favor of asprintf.
* Fail on any error in [bx]asprintf and [bx]vasprintf.

Change-Id: Ife0797f7b735f759abb21d330438da729551b78e
Prefer asprintf to malloc/strlcpy in client/open.c

Change-Id: I4e9051266824717d3622faa897d0893dbfa9158c