[Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Dec 24 07:21:10 UTC 2010


Hello,

On Thu, 23 Dec 2010 19:26:22 -0600
heiko at zuerker.org wrote:

> From: Heiko Zuerker <smiley73 at users.sourceforge.net>
> 
> 
> Signed-off-by: Heiko Zuerker <smiley73 at users.sourceforge.net>
> ---
>  package/Config.in              |    1 +
>  package/eventlog/eventlog.mk   |   13 +++++++++++++

You'll need a Config.in file for eventlog as well.

> --- /dev/null
> +++ b/package/syslog-ng/Config.in
> @@ -0,0 +1,19 @@
> +config BR2_PACKAGE_SYSLOG_NG
> +    bool "syslog-ng"
> +    depends on BR2_PACKAGE_LIBNET

For library dependencies, we generally use "select".

> +    help
> +      The syslog-ng application supports reliable and encrypted transport 
> +      using TCP and TLS, and offers powerful message filtering, sorting, 
> +      pre-processing and log normalization capabilities. Utilizing message 
> +      parsing and classification, syslog-ng is able to correlate log messages 
> +      both real-time and offline, making it especially suited to implement the 
> +      artificial ignorance principle. This high-performance tool handles 
> +      extreme loads easily, and is extensible with various plug-ins to best 
> +      suit your requirements. 

And we generally add the main website of the package here, at the end
of the help text.

> +config BR2_PACKAGE_SYSLOG_NG_LINK_DYN
> +    bool "dynamic linking"
> +    depends on BR2_PACKAGE_SYSLOG_NG

I haven't checked what --enable-dynamic-linking does. But if it's
dynamic linking against libraries, then you don't need a separate
option for that, just use BR2_PREFER_STATIC_LIB.

Is syslog-ng a complete replacement for sysklogd ?

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list