* [Buildroot] [PATCH] add libnet 1.1.5
@ 2010-12-24 1:26 heiko at zuerker.org
2010-12-24 1:26 ` [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib heiko at zuerker.org
0 siblings, 1 reply; 4+ messages in thread
From: heiko at zuerker.org @ 2010-12-24 1:26 UTC (permalink / raw)
To: buildroot
From: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
---
package/Config.in | 1 +
package/libnet/Config.in | 4 ++++
package/libnet/libnet.mk | 12 ++++++++++++
3 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 package/libnet/Config.in
create mode 100644 package/libnet/libnet.mk
diff --git a/package/Config.in b/package/Config.in
index d3ae75e..6e7970b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -308,6 +308,7 @@ source "package/libidn/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/neon/Config.in"
source "package/libnl/Config.in"
+source "package/libnet/Config.in"
source "package/libpcap/Config.in"
source "package/libosip2/Config.in"
source "package/librsync/Config.in"
diff --git a/package/libnet/Config.in b/package/libnet/Config.in
new file mode 100644
index 0000000..3e5bc27
--- /dev/null
+++ b/package/libnet/Config.in
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_LIBNET
+ bool "libnet"
+ help
+ libnet provides a portable framework for low-level network packet construction.
diff --git a/package/libnet/libnet.mk b/package/libnet/libnet.mk
new file mode 100644
index 0000000..57c7c30
--- /dev/null
+++ b/package/libnet/libnet.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# LIBNET
+#
+#############################################################
+
+LIBNET_VERSION = 1.1.5
+LIBNET_SOURCE = libnet-$(LIBNET_VERSION).tar.gz
+LIBNET_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libnet-dev
+LIBNET_INSTALL_STAGING=YES
+
+$(eval $(call AUTOTARGETS,package,libnet))
--
1.7.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib
2010-12-24 1:26 [Buildroot] [PATCH] add libnet 1.1.5 heiko at zuerker.org
@ 2010-12-24 1:26 ` heiko at zuerker.org
2010-12-24 7:21 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: heiko at zuerker.org @ 2010-12-24 1:26 UTC (permalink / raw)
To: buildroot
From: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
---
package/Config.in | 1 +
package/eventlog/eventlog.mk | 13 +++++++++++++
package/syslog-ng/Config.in | 19 +++++++++++++++++++
package/syslog-ng/syslog-ng.mk | 36 ++++++++++++++++++++++++++++++++++++
4 files changed, 69 insertions(+), 0 deletions(-)
create mode 100644 package/eventlog/eventlog.mk
create mode 100644 package/syslog-ng/Config.in
create mode 100644 package/syslog-ng/syslog-ng.mk
diff --git a/package/Config.in b/package/Config.in
index 6e7970b..296387f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -472,6 +472,7 @@ source "package/module-init-tools/Config.in"
source "package/procps/Config.in"
source "package/psmisc/Config.in"
source "package/sysklogd/Config.in"
+source "package/syslog-ng/Config.in"
source "package/sysvinit/Config.in"
source "package/util-linux/Config.in"
endif
diff --git a/package/eventlog/eventlog.mk b/package/eventlog/eventlog.mk
new file mode 100644
index 0000000..ef52400
--- /dev/null
+++ b/package/eventlog/eventlog.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# EVENTLOG
+#
+#############################################################
+EVENTLOG_MAIN_VERSION = 0.2
+EVENTLOG_VERSION = $(EVENTLOG_MAIN_VERSION).12
+EVENTLOG_SOURCE = eventlog_$(EVENTLOG_VERSION).tar.gz
+EVENTLOG_SITE = http://www.balabit.com/downloads/files/eventlog/$(EVENTLOG_MAIN_VERSION)
+
+EVENTLOG_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,eventlog))
diff --git a/package/syslog-ng/Config.in b/package/syslog-ng/Config.in
new file mode 100644
index 0000000..921c25e
--- /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
+ 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.
+
+config BR2_PACKAGE_SYSLOG_NG_LINK_DYN
+ bool "dynamic linking"
+ depends on BR2_PACKAGE_SYSLOG_NG
+
+comment "syslog-ng depends on libnet"
+ depends on !BR2_PACKAGE_LIBNET
diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
new file mode 100644
index 0000000..1ef44d7
--- /dev/null
+++ b/package/syslog-ng/syslog-ng.mk
@@ -0,0 +1,36 @@
+#############################################################
+#
+# SYSLOG_NG-tools
+#
+#############################################################
+SYSLOG_NG_VERSION = 3.0.9
+SYSLOG_NG_SOURCE = syslog-ng_$(SYSLOG_NG_VERSION).tar.gz
+SYSLOG_NG_SITE = http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$(SYSLOG_NG_VERSION)/source
+
+SYSLOG_NG_CONF_OPT = --sysconfdir=/etc/syslog-ng --with-pidfile-dir=/var/run --enable-spoof-source
+SYSLOG_NG_DEPENDENCIES = eventlog
+
+ifeq ($(BR2_PACKAGE_SYSLOG_NG_LINK_DYN),y)
+ SYSLOG_NG_CONF_OPT += --enable-dynamic-linking
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ SYSLOG_NG_CONF_OPT += --enable-ssl
+ SYSLOG_NG_DEPENDENCIES += openssl
+endif
+
+ifeq ($(BR2_INET_IPV6),y)
+ SYSLOG_NG_CONF_OPT += --enable-ipv6
+endif
+
+ifeq ($(BR2_PACKAGE_PCRE),y)
+ SYSLOG_NG_CONF_OPT += --enable-pcre
+ SYSLOG_NG_DEPENDENCIES += pcre
+endif
+
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+ SYSLOG_NG_CONF_OPT += --enable-linux-caps
+ SYSLOG_NG_DEPENDENCIES += libcap
+endif
+
+$(eval $(call AUTOTARGETS,package,syslog-ng))
--
1.7.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib
2010-12-24 1:26 ` [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib heiko at zuerker.org
@ 2010-12-24 7:21 ` Thomas Petazzoni
2010-12-24 13:33 ` Heiko Zuerker
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-12-24 7:21 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 23 Dec 2010 19:26:22 -0600
heiko at zuerker.org wrote:
> From: Heiko Zuerker <smiley73@users.sourceforge.net>
>
>
> Signed-off-by: Heiko Zuerker <smiley73@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib
2010-12-24 7:21 ` Thomas Petazzoni
@ 2010-12-24 13:33 ` Heiko Zuerker
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Zuerker @ 2010-12-24 13:33 UTC (permalink / raw)
To: buildroot
Quoting Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
> Hello,
>
> On Thu, 23 Dec 2010 19:26:22 -0600
> heiko at zuerker.org wrote:
>
>> From: Heiko Zuerker <smiley73@users.sourceforge.net>
>>
>>
>> Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
>> ---
>> package/Config.in | 1 +
>> package/eventlog/eventlog.mk | 13 +++++++++++++
>
> You'll need a Config.in file for eventlog as well.
Will do
>> --- /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".
Okay
>> + 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.
Will do
>> +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.
--enable-dynamic-linking Link glib and eventlog dynamically
instead of statically.
--enable-static-linking Link everything statically.
--enable-mixed-linking Link 3rd party libraries statically,
system libraries dynamically
> Is syslog-ng a complete replacement for sysklogd ?
Yes it is. It has a lot more features.
I'll be sending in a newer patch in a little bit.
--
Regards
Heiko Zuerker
http://www.devil-linux.org
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-24 13:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-24 1:26 [Buildroot] [PATCH] add libnet 1.1.5 heiko at zuerker.org
2010-12-24 1:26 ` [Buildroot] [PATCH] add syslog-ng 3.0.9, including required eventlog lib heiko at zuerker.org
2010-12-24 7:21 ` Thomas Petazzoni
2010-12-24 13:33 ` Heiko Zuerker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).