summaryrefslogtreecommitdiffstats
path: root/rules/haproxy.in
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2020-06-10 14:03:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-06-12 10:52:57 +0200
commitf368ebc7cfa544bea4bc7d2135b37db42854e1f4 (patch)
treeecdfe7604c59b3a2fc0685e5eb771df7aec291da /rules/haproxy.in
parent568856a7c2f31eb79f4ba984b107634b6d822736 (diff)
downloadptxdist-f368ebc7cfa544bea4bc7d2135b37db42854e1f4.tar.gz
ptxdist-f368ebc7cfa544bea4bc7d2135b37db42854e1f4.tar.xz
haproxy: new package
HAProxy consists of a GPL core and GPL modules while exportable include files are licensed under LGPL. Some options (e.g. lua, pcre) are not yet configurable, this can be extended if someone needs them. A minimalistic config is provided to be able to test it, for everything else an adjusted config must be installed. As HAProxy's config examples expect some custom files in /etc/haproxy install_alternative_tree is used to install custom configuration files and more easily. Signed-off-by: Bastian Krause <bst@pengutronix.de> Message-Id: <20200610120307.28245-1-bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/haproxy.in')
-rw-r--r--rules/haproxy.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/rules/haproxy.in b/rules/haproxy.in
new file mode 100644
index 000000000..5061c4332
--- /dev/null
+++ b/rules/haproxy.in
@@ -0,0 +1,26 @@
+## SECTION=networking
+
+menuconfig HAPROXY
+ tristate
+ prompt "haproxy "
+ select LIBC_CRYPT
+ select LIBC_DL
+ select LIBC_PTHREAD
+ select LIBC_RT
+ select OPENSSL
+ select SYSTEMD if INITMETHOD_SYSTEMD
+ select ZLIB
+ help
+ Reliable, High Performance TCP/HTTP Load Balancer
+
+if HAPROXY
+
+config HAPROXY_OPENSSL
+ bool
+ prompt "enable OpenSSL support"
+
+config HAPROXY_SYSTEMD_UNIT
+ bool
+ prompt "install systemd service files"
+
+endif