Skip to contentSkip to conversation

syslog-ng: add optional support for libnet build

PATCH New Chris Packham 2 participants 3 messages Sep 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 syslog-ng: add optional support for libnet build

If libnet is included pass --enable-spoof-source to configure otherwise pass --disable-spoof-source. This stops syslog-ng's configure from enabling address spoofing based on the build host having libnet installed.

Fixes:

http://autobuild.buildroot.net/results/71c733e4a7275f3a1b79cd19065d94e77af0309b
http://autobuild.buildroot.net/results/d16ba0b9ef75d5a676a26db788be31556b69772a
http://autobuild.buildroot.net/results/9659d1db1a128b269459fd9b8be797a9efbd35af

---
 package/syslog-ng/syslog-ng.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/syslog-ng/syslog-ng.mk +7 -0
index c11d3bd..7e4d407 100644
@@ -69,6 +69,13 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
 SYSLOG_NG_DEPENDENCIES += util-linux
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNET),y)
+SYSLOG_NG_DEPENDENCIES += libnet
+SYSLOG_NG_CONF_OPTS += --enable-spoof-source
+else
+SYSLOG_NG_CONF_OPTS += --disable-spoof-source
+endif
+
 ifeq ($(BR2_INIT_SYSTEMD),y)
 SYSLOG_NG_DEPENDENCIES += systemd
 SYSLOG_NG_CONF_OPTS += \
Signature · 1 line
2.9.2.518.ged577c6.dirty
#1 lore raw

PATCH 2/2 syslog-ng: Bump version to 3.7.3

---
 package/syslog-ng/syslog-ng.hash | 2 +-
 package/syslog-ng/syslog-ng.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/syslog-ng/syslog-ng.hash +1 -1
index 0213d2d..f1dcf52 100644
@@ -1,2 +1,2 @@
 # Locally computed
-sha256 b1b3ccc0ce7f0d8bf15b23e59f2f4f5ded70eed410dfd27105219bc8856388a5  syslog-ng-3.7.2.tar.gz
+sha256 49201dcfd59c8992936aa16c694f5e6593d505b44895f6c66b7d7f7895ce2c62  syslog-ng-3.7.3.tar.gz
package/syslog-ng/syslog-ng.mk +1 -1
index 7e4d407..b4fc24b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSLOG_NG_VERSION = 3.7.2
+SYSLOG_NG_VERSION = 3.7.3
 SYSLOG_NG_SOURCE = syslog-ng-$(SYSLOG_NG_VERSION).tar.gz
 SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION)
 SYSLOG_NG_LICENSE = LGPLv2.1+ (syslog-ng core), GPLv2+ (modules)
Signature · 1 line
2.9.2.518.ged577c6.dirty
#2 lore raw

PATCH 1/2 syslog-ng: add optional support for libnet build

In reply to Chris Packham

Hello,

Quoted 7 lines · Chris Packham

If libnet is included pass --enable-spoof-source to configure otherwise pass --disable-spoof-source. This stops syslog-ng's configure from enabling address spoofing based on the build host having libnet installed.

Fixes:

Quoted 8 lines

http://autobuild.buildroot.net/results/71c733e4a7275f3a1b79cd19065d94e77af0309b
http://autobuild.buildroot.net/results/d16ba0b9ef75d5a676a26db788be31556b69772a
http://autobuild.buildroot.net/results/9659d1db1a128b269459fd9b8be797a9efbd35af

---
 package/syslog-ng/syslog-ng.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Both applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com