rsyslog: move configurables to Config.in
authorMatthew Hagan <redacted>
Thu, 24 Feb 2022 00:10:59 +0000 (00:10 +0000)
committerRosen Penev <redacted>
Thu, 24 Feb 2022 00:57:43 +0000 (16:57 -0800)
Signed-off-by: Matthew Hagan <redacted>
admin/rsyslog/Config.in [new file with mode: 0644]
admin/rsyslog/Makefile

diff --git a/admin/rsyslog/Config.in b/admin/rsyslog/Config.in
new file mode 100644 (file)
index 0000000..6e6b70e
--- /dev/null
@@ -0,0 +1,62 @@
+if PACKAGE_rsyslog
+       config RSYSLOG_gssapi_krb5
+               bool "Enable GSSAPI Kerberos 5 support"
+               default n
+               help
+                 Enable GSSAPI Kerberos 5 support in rsyslog
+       config RSYSLOG_mysql
+               bool "Enable MySQL support"
+               default n
+               help
+                 Enable MySQL support in rsyslog
+       config RSYSLOG_pgsql
+               bool "Enable PostgreSQL support"
+               default n
+               help
+                 Enable PostgreSQL support in rsyslog
+       config RSYSLOG_libdbi
+               bool "Enable libdbi support"
+               default n
+               help
+                 Enable libdbi support in rsyslog
+       config RSYSLOG_elasticsearch
+               bool "Enable ElasticSearch module support"
+               default n
+               help
+                 Enable ElasticSearch output module in rsyslog
+       config RSYSLOG_omhttp
+               bool "Enable HTTP output module support"
+               default n
+               help
+                 Enable HTTP output module in rsyslog
+       config RSYSLOG_openssl
+               bool "Enable OpenSSL support"
+               default n
+               help
+                 Enable OpenSSL support in rsyslog
+       config RSYSLOG_gnutls
+               bool "Enable GnuTLS support"
+               default n
+               help
+                 Enable GnuTLS support in rsyslog
+       config RSYSLOG_mail
+               bool "Enable Mail support"
+               default n
+               help
+                 Enable mail support in rsyslog
+       config RSYSLOG_mmjsonparse
+               bool "Enable JSON parsing module support"
+               default n
+               help
+                 Enable JSON parsing support in rsyslog
+       config RSYSLOG_mmdblookup
+               bool "Enable MaxMind DB lookup helper support"
+               default n
+               help
+                 Enable MaxMind DB lookup helper support in rsyslog
+       config RSYSLOG_imfile
+               bool "Enable file input module support"
+               default n
+               help
+                 Enable input file module in rsyslog
+endif
index 515576714ea37e6a4771c716f6488bd10e85b61e..596fb2e25cc0ee4714fc2cdcc78ed1272d8486c3 100644 (file)
@@ -75,78 +75,7 @@ define Package/rsyslog/install
 endef
 
 define Package/rsyslog/config
-       config RSYSLOG_gssapi_krb5
-               depends on PACKAGE_rsyslog
-               bool "Enable GSSAPI Kerberos 5 support"
-               default n
-               help
-                       Enable GSSAPI Kerberos 5 support in rsyslog
-       config RSYSLOG_mysql
-               depends on PACKAGE_rsyslog
-               bool "Enable MySQL support"
-               default n
-               help
-                       Enable MySQL support in rsyslog
-       config RSYSLOG_pgsql
-               depends on PACKAGE_rsyslog
-               bool "Enable PostgreSQL support"
-               default n
-               help
-                       Enable PostgreSQL support in rsyslog
-       config RSYSLOG_libdbi
-               depends on PACKAGE_rsyslog
-               bool "Enable libdbi support"
-               default n
-               help
-                       Enable libdbi support in rsyslog
-       config RSYSLOG_elasticsearch
-               depends on PACKAGE_rsyslog
-               bool "Enable ElasticSearch module support"
-               default n
-               help
-                       Enable ElasticSearch output module in rsyslog
-       config RSYSLOG_omhttp
-               depends on PACKAGE_rsyslog
-               bool "Enable HTTP output module support"
-               default n
-               help
-                       Enable HTTP output module in rsyslog
-       config RSYSLOG_openssl
-               depends on PACKAGE_rsyslog
-               bool "Enable OpenSSL support"
-               default n
-               help
-                       Enable OpenSSL support in rsyslog
-       config RSYSLOG_gnutls
-               depends on PACKAGE_rsyslog
-               bool "Enable GnuTLS support"
-               default n
-               help
-                       Enable GnuTLS support in rsyslog
-       config RSYSLOG_mail
-               depends on PACKAGE_rsyslog
-               bool "Enable Mail support"
-               default n
-               help
-                       Enable mail support in rsyslog
-       config RSYSLOG_mmjsonparse
-               depends on PACKAGE_rsyslog
-               bool "Enable JSON parsing module support"
-               default n
-               help
-                       Enable JSON parsing support in rsyslog
-       config RSYSLOG_mmdblookup
-               depends on PACKAGE_rsyslog
-               bool "Enable MaxMind DB lookup helper support"
-               default n
-               help
-                       Enable MaxMind DB lookup helper support in rsyslog
-       config RSYSLOG_imfile
-               depends on PACKAGE_rsyslog
-               bool "Enable file input module support"
-               default n
-               help
-                       Enable input file module in rsyslog
+  source "$(SOURCE)/Config.in"
 endef
 
 $(eval $(call BuildPackage,rsyslog))
git clone https://git.99rst.org/PROJECT