Skip to contentSkip to conversation

package/syslog-ng: fix build if net-snmp is installed on the host (again)

PATCH New Thomas De Schampheleire 3 participants 3 messages Jan 20, 2021 – Jan 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/syslog-ng: fix build if net-snmp is installed on the host (again)

From: Thomas De Schampheleire <[email protected]>

See also commit 4ff6e5239240a4e1bdf73c41d6e9bff9473ec62c which describes the problem in detail.

The same problem now arises again, because syslog-ng renamed the --enable-snmp-dest option into --enable-afsnmp. See syslog-ng commit 4537938474771673ef5bd4a9cad7c9a7dc20b7c1, first part of 3.27.1.

Update the configure options passed from Buildroot accordingly.

---
 package/syslog-ng/syslog-ng.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/syslog-ng/syslog-ng.mk +2 -2
index 6d22883116..14888d2aed 100644
@@ -100,10 +100,10 @@ endif
 
 ifeq ($(BR2_PACKAGE_NETSNMP),y)
 SYSLOG_NG_DEPENDENCIES += netsnmp
-SYSLOG_NG_CONF_OPTS += --enable-snmp-dest
+SYSLOG_NG_CONF_OPTS += --enable-afsnmp
 SYSLOG_NG_CONF_OPTS += --with-net-snmp="$(STAGING_DIR)/usr/bin"
 else
-SYSLOG_NG_CONF_OPTS += --disable-snmp-dest
+SYSLOG_NG_CONF_OPTS += --disable-afsnmp
 endif
 
 define SYSLOG_NG_INSTALL_INIT_SYSV
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/syslog-ng: fix build if net-snmp is installed on the host (again)

Quoted 9 lines · On Wed, 20 Jan 2021 14:40:07 +0100 Thomas De Schampheleire…

From: Thomas De Schampheleire <[email protected]>

See also commit 4ff6e5239240a4e1bdf73c41d6e9bff9473ec62c which describes the problem in detail.

The same problem now arises again, because syslog-ng renamed the --enable-snmp-dest option into --enable-afsnmp. See syslog-ng commit 4537938474771673ef5bd4a9cad7c9a7dc20b7c1, first part of 3.27.1.

Quoted 6 lines

Update the configure options passed from Buildroot accordingly.

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

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/syslog-ng: fix build if net-snmp is installed on the host (again)

In reply to Thomas De Schampheleire
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Thomas De Schampheleire <[email protected]> See also commit 4ff6e5239240a4e1bdf73c41d6e9bff9473ec62c which describes the problem in detail.

Quoted 7 lines

The same problem now arises again, because syslog-ng renamed the --enable-snmp-dest option into --enable-afsnmp. See syslog-ng commit 4537938474771673ef5bd4a9cad7c9a7dc20b7c1, first part of 3.27.1.

Update the configure options passed from Buildroot accordingly.

Committed to 2020.11.x (2020.02.x uses 3.24.1), thanks.

Signature · 1 line
Bye, Peter Korsgaard