Skip to contentSkip to conversation

add libnet 1.1.5

PATCH New heiko at zuerker.org 2 participants 4 messages Dec 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add libnet 1.1.5

From: Heiko Zuerker <[email protected]>

---
 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
package/Config.in +1 -0
index d3ae75e..6e7970b 100644
@@ -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"
package/libnet/Config.in new file +4 -0
new file mode 100644
index 0000000..3e5bc27
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_LIBNET
+    bool "libnet"
+    help
+      libnet provides a portable framework for low-level network packet construction.
package/libnet/libnet.mk new file +12 -0
new file mode 100644
index 0000000..57c7c30
@@ -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))
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 1/1 add syslog-ng 3.0.9, including required eventlog lib

From: Heiko Zuerker <[email protected]>

---
 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
package/Config.in +1 -0
index 6e7970b..296387f 100644
@@ -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
package/eventlog/eventlog.mk new file +13 -0
new file mode 100644
index 0000000..ef52400
@@ -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))
package/syslog-ng/Config.in new file +19 -0
new file mode 100644
index 0000000..921c25e
@@ -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
package/syslog-ng/syslog-ng.mk new file +36 -0
new file mode 100644
index 0000000..1ef44d7
@@ -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))
Signature · 1 line
1.7.3.2
#2 lore raw

PATCH 1/1 add syslog-ng 3.0.9, including required eventlog lib

Hello,

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

From: Heiko Zuerker <[email protected]>

---
 package/Config.in              |    1 +
 package/eventlog/eventlog.mk   |   13 +++++++++++++

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

package/syslog-ng/Config.in line 3

Quoted 6 lines
package/syslog-ng/Config.in new file +3 -0
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_SYSLOG_NG
+    bool "syslog-ng"
+    depends on BR2_PACKAGE_LIBNET

For library dependencies, we generally use "select".

package/syslog-ng/Config.in line 12

Quoted 9 lines
package/syslog-ng/Config.in new file +9 -0
+    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.

package/syslog-ng/Config.in line 16

Quoted 3 lines
package/syslog-ng/Config.in new file +3 -0
+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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 1/1 add syslog-ng 3.0.9, including required eventlog lib

Quoting Thomas Petazzoni <[email protected]>:

Quoted 8 lines

Hello,

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

From: Heiko Zuerker <[email protected]>

Quoted 6 lines
Quoted 4 lines
---
 package/Config.in              |    1 +
 package/eventlog/eventlog.mk   |   13 +++++++++++++

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

Will do

Quoted 8 lines

package/syslog-ng/Config.in line 3

Quoted 6 lines
package/syslog-ng/Config.in new file +3 -0
@@ -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

Quoted 12 lines

package/syslog-ng/Config.in line 12

Quoted 11 lines
package/syslog-ng/Config.in new file +5 -0
+    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

package/syslog-ng/Config.in new file +3 -0
+      artificial ignorance principle. This high-performance tool handles
+      extreme loads easily, and is extensible with various plug-ins to best
+      suit your requirements.
Quoted 2 lines

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

Will do

Quoted 7 lines

package/syslog-ng/Config.in line 16

Quoted 3 lines
package/syslog-ng/Config.in new file +3 -0
+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

Quoted 1 line

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.

Signature · 7 lines
Regards
   Heiko Zuerker
   http://www.devil-linux.org


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.