packagersyslog: enable options when libcurl is enabled
PATCH v2 1/1 packagersyslog: enable options when libcurl is enabled
Following the bump to 8.1910.0, items requiring libcurl were disabled by default. This patch selectively enables options which depend on libcurl when that package is enabled in the build.
---
Changes
v1 -> v2
[Thomas
- Flipped libcurl conditional and name of this patchset to rsyslog
--- package/rsyslog/rsyslog.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
package/rsyslog/rsyslog.mk +11 -1
@@ -17,7 +17,16 @@ RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x)) -# Disable items requiring libcurl +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RSYSLOG_DEPENDENCIES += libcurl +RSYSLOG_CONF_OPTS += --enable-elasticsearch \ + --enable-clickhouse \ + --enable-omhttp \ + --enable-fmhttp \ + --enable-imdocker \ + --enable-omhttpfs \ + --enable-mmkubernetes +else RSYSLOG_CONF_OPTS += --disable-elasticsearch \ --disable-clickhouse \ --disable-omhttp \
@@ -25,6 +34,7 @@ RSYSLOG_CONF_OPTS += --disable-elasticsearch \ --disable-imdocker \ --disable-omhttpfs \ --disable-mmkubernetes +endif ifeq ($(BR2_PACKAGE_GNUTLS),y) RSYSLOG_DEPENDENCIES += gnutls
Signature · 1 line
2.17.1
PATCH v2 1/1 packagersyslog: enable options when libcurl is enabled
Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Matt" == Matt Weber <[email protected]> writes:
Following the bump to 8.1910.0, items requiring libcurl were disabled by default. This patch selectively enables options which depend on libcurl when that package is enabled in the build.
Signed-off-by Matthew Weber <[email protected]>---
Changes
v1 -> v2
[Thomas
- Flipped libcurl conditional and name of this patchset to rsyslog--- package/rsyslog/rsyslog.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)package/rsyslog/rsyslog.mk +0
-0@@ -17,7 +17,16 @@ RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))
package/rsyslog/rsyslog.mk RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ · line 28
Quoted 10 lines
package/rsyslog/rsyslog.mk +9
-1-# Disable items requiring libcurl +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RSYSLOG_DEPENDENCIES += libcurl +RSYSLOG_CONF_OPTS += --enable-elasticsearch \ + --enable-clickhouse \ + --enable-omhttp \ + --enable-fmhttp \ + --enable-imdocker \ + --enable-omhttpfs \ + --enable-mmkubernetes
I was about to apply this, but it fails to build here (a config with just curl and rsyslog):
checking for CURL... yes
checking for LIBLOGNORM... no
configure: error: Package requirements (lognorm >= 2.0.3) were not met:
Package 'lognorm', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBLOGNORM_CFLAGS
and LIBLOGNORM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[1]: *** [package/pkg-generic.mk:250: /home/peko/source/buildroot/output-rsyslog/build/rsyslog-8.1911.0/.stamp_configured] Error 1
Care to take a look?
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 packagersyslog: enable options when libcurl is enabled
Peter,
Quoted 49 lines · Peter Korsgaard
Quoted 26 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Matt" == Matt Weber <[email protected]> writes:
Following the bump to 8.1910.0, items requiring libcurl were disabled by default. This patch selectively enables options which depend on libcurl when that package is enabled in the build.
Signed-off-by Matthew Weber <[email protected]>---
Changes
v1 -> v2
[Thomas
- Flipped libcurl conditional and name of this patchset to rsyslog--- package/rsyslog/rsyslog.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)package/rsyslog/rsyslog.mk +0
-0@@ -17,7 +17,16 @@ RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))package/rsyslog/rsyslog.mk RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ · line 28
Quoted 10 lines
package/rsyslog/rsyslog.mk +9
-1-# Disable items requiring libcurl +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RSYSLOG_DEPENDENCIES += libcurl +RSYSLOG_CONF_OPTS += --enable-elasticsearch \ + --enable-clickhouse \ + --enable-omhttp \ + --enable-fmhttp \ + --enable-imdocker \ + --enable-omhttpfs \ + --enable-mmkubernetesI was about to apply this, but it fails to build here (a config with just curl and rsyslog):
checking for CURL... yes
checking for LIBLOGNORM... no
configure: error: Package requirements (lognorm >= 2.0.3) were not met:Package 'lognorm', required by 'virtual:world', not found
Consider adjusting the
PKG_CONFIG_PATHenvironment variable if you installed software in a non-standard prefix.
Quoted 6 lines
Alternatively, you may set the environment variables
LIBLOGNORM_CFLAGS
andLIBLOGNORM_LIBSto avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[1]: *** [package/pkg-generic.mk:250:/home/peko/source/buildroot/output-rsyslog/build/rsyslog-8.1911.0/.stamp_configured] Error 1Care to take a look?
I'll take a look.
Matt
PATCH v2 1/1 packagersyslog: enable options when libcurl is enabled
Peter,
Quoted 59 lines · Matthew Weber
Peter,
Quoted 55 lines · Peter Korsgaard
Quoted 26 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Matt" == Matt Weber <[email protected]> writes:
Following the bump to 8.1910.0, items requiring libcurl were disabled by default. This patch selectively enables options which depend on libcurl when that package is enabled in the build.
Signed-off-by Matthew Weber <[email protected]>---
Changes
v1 -> v2
[Thomas
- Flipped libcurl conditional and name of this patchset to rsyslog--- package/rsyslog/rsyslog.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)package/rsyslog/rsyslog.mk +0
-0@@ -17,7 +17,16 @@ RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))package/rsyslog/rsyslog.mk RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ · line 28
Quoted 10 lines
package/rsyslog/rsyslog.mk +9
-1-# Disable items requiring libcurl +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RSYSLOG_DEPENDENCIES += libcurl +RSYSLOG_CONF_OPTS += --enable-elasticsearch \ + --enable-clickhouse \ + --enable-omhttp \ + --enable-fmhttp \ + --enable-imdocker \ + --enable-omhttpfs \ + --enable-mmkubernetesI was about to apply this, but it fails to build here (a config with just curl and rsyslog):
checking for CURL... yes
checking for LIBLOGNORM... no
configure: error: Package requirements (lognorm >= 2.0.3) were not met:Package 'lognorm', required by 'virtual:world', not found
Consider adjusting the
PKG_CONFIG_PATHenvironment variable if you installed software in a non-standard prefix.Alternatively, you may set the environment variables
LIBLOGNORM_CFLAGS
andLIBLOGNORM_LIBSto avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[1]: *** [package/pkg-generic.mk:250:/home/peko/source/buildroot/output-rsyslog/build/rsyslog-8.1911.0/.stamp_configured] Error 1Care to take a look?
Looking at this I think I'd like to reject my patch for now. I think we need a specific use case to test this out and justify why libcurl options should be enabled. I had just sent the patch to round out the previous bump that had disabled libcurl related items.
Matt
PATCH v2 1/1 packagersyslog: enable options when libcurl is enabled
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Matthew" == Matthew Weber <[email protected]> writes:
Hi,
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Alternatively, you may set the environment variables
LIBLOGNORM_CFLAGSandLIBLOGNORM_LIBSto avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[1]: *** [package/pkg-generic.mk:250:/home/peko/source/buildroot/output-rsyslog/build/rsyslog-8.1911.0/.stamp_configured] Error 1
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Care to take a look?
Looking at this I think I'd like to reject my patch for now. I think we need a specific use case to test this out and justify why libcurl options should be enabled. I had just sent the patch to round out the previous bump that had disabled libcurl related items.
Ok, I will update the status in patchwork then.
Signature · 1 line
Bye, Peter Korsgaard