graphite: Timestamp is now configurable as a template

Timestamp of metrics is now configurable, so users can use the
S_ macros to set the metric time to the time when the message was
generated instead of when the message was received.

Fixes: #20
basicfuncs-plus: Added padding template function.

Padding template function extends a string to a specified
width with prepending specified characters. The default
padding character is ' '(space).

For example:
$(padding $MESSAGE 10 X): bar -> XXXXXXXbar
$(padding $MESSAGE 10 foo): bar -> foofoofbar
README: Added basicfuncs functions
Merge pull request #42 from talien/f/graphite-timestamp-template

graphite: Timestamp is now configurable as a template
Merge pull request #43 from talien/f/padding-template-function

basicfuncs-plus: Added padding template function.
release: Preparations for 0.3.0
configure.ac: Support compiling against a syslog-ng with internal ivykis

If syslog-ng was compiled with an internal ivykis, it will (in upcoming
versions) install the ivykis headers and adjust CFLAGS accordingly, so
that modules can be compiled against libsyslog-ng alone. This will be
marked with an "ivykis=internal" in the syslog-ng pkg-config control
file. When that is found, the Incubator need not look for a system-wide
Ivykis installation.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
configure.ac: Do not clobber LIBS when looking for libperl

We're using ExtUtils::Embed to figure out the libraries needed for the
perl module, do not clobber the global LIBS when verifying that libperl
exists. Previously, everything got linked against libperl, which is
undesired.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
rss: Fix the module linking

Correct the name of a variable, so that the RSS module will get
correctly linked to libsyslog-ng and others.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
configure.ac: Use ExtUtils::Embed to detect libperl

Reported-by: Peter Czanik <czanik@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Merge pull request #45 from algernon/h/viral-libperl-fix

perl fixes
Merge pull request #46 from algernon/h/rss/linking-fix

rss: Fix the module linking
release: Preparations for 0.3.1
configure.ac: Added disable switches for features dependending on external libs.

This makes packagers' work easier, because can choose whether they want to introduce new dependency for
their package.
configure: enable-*=yes options make features mandatory.

If a feature is switched on by --enable-feature=yes, then if a
dependency for this feature is missing, configure fails. If it is
switched on by --enable-feature=auto, then if a dependency is missing,
the feature is switched off.
Merge pull request #44 from algernon/f/internal-ivykis

configure.ac: Support compiling against a syslog-ng with internal ivykis
getent: Remove an unnecessary include statement

We do not use <features.h> anywhere, no need to include it. This makes
the Incubator compile again on FreeBSD, thus fixes #50.

Reported-by: Peter Czanik <czanik@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Add support for $(getent protocols)
add the new protocols file to EXTRA_DIST
Merge pull request #54 from algernon/h/tfgetent-freebsd

getent: Remove an unnecessary include statement