Gentoo Archives: gentoo-commits

From: Christian Ruppert <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/haproxy/
Date: Mon, 28 Feb 2022 11:23:02
Message-Id: 1646047375.c695299de64543bdec63285ba2d18ff139d9a3a9.idl0r@gentoo
1 commit: c695299de64543bdec63285ba2d18ff139d9a3a9
2 Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 28 11:22:51 2022 +0000
4 Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 28 11:22:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c695299d
7
8 net-proxy/haproxy: Bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Christian Ruppert <idl0r <AT> gentoo.org>
12
13 net-proxy/haproxy/Manifest | 2 +
14 net-proxy/haproxy/haproxy-2.4.14.ebuild | 182 ++++++++++++++++++++++++++++++++
15 net-proxy/haproxy/haproxy-2.5.4.ebuild | 182 ++++++++++++++++++++++++++++++++
16 3 files changed, 366 insertions(+)
17
18 diff --git a/net-proxy/haproxy/Manifest b/net-proxy/haproxy/Manifest
19 index bf1edc53a32b..ab8e73561193 100644
20 --- a/net-proxy/haproxy/Manifest
21 +++ b/net-proxy/haproxy/Manifest
22 @@ -3,5 +3,7 @@ DIST haproxy-2.0.27.tar.gz 2716937 BLAKE2B 08ab2905b26b8e33068af77f3a153dc489f50
23 DIST haproxy-2.2.17.tar.gz 2933836 BLAKE2B 750d2c5048f994442d13c05ce6624731d296462951ee2e86110467d517a6708b498e98260a3f0770e110dc5c2cb2bdd746fb76f23ba7cebc1642b0b9c8124a67 SHA512 174197e1e0915a6ae6062b9a070f16102ac7f3429f991f36cdb2e2cce587bd26059bd1dc71a368f904bcdecd292ab5926715160400ae96d498d902aac356864f
24 DIST haproxy-2.2.20.tar.gz 2945047 BLAKE2B d2462b3c43e75f86752bcc0edf3af173fba10f9d8191e715b15c926bffb6018b495a54e3f9883dfe6cc80f33cd5f362ac1e2db88f9d0e8b85be74c1fd28dc21a SHA512 53b8466b3717dd5e4d167d48ae449da6e97b3a6d9a06951f040aec34685b961a7014137a5e4d285bd2b8b6eaacc3028f1939c66f450775a01802df085d70a098
25 DIST haproxy-2.4.13.tar.gz 3611045 BLAKE2B 7eda0293a766d48ef3d14891affa684500203437a81efece38f77d5e8006882d574083f0463cb5f39d31dc6b95c7df25d24c7d78bec1a2c3510f54c50207f28f SHA512 f5e7e474252f2745adeec703ed101a6089f6e43c463d823b64430f4f32618db1f73647f0b1f7d1247e1750b49b18a300247aded29c780b0a615b0ac8d7373257
26 +DIST haproxy-2.4.14.tar.gz 3613642 BLAKE2B b45af8f62cefead1f471b0b61e9bc262dc25e0ca99898469d7702fb6e509cf2b9a9c201f8c6ecae948ef40c8fc8aec0351d8e10479752fdd5ccd66758f632799 SHA512 a4a5d449782dc2f1348d1f53ec266eef4ea4e1b0586e81730a01d818481c3a3cfb018ba1da5968d17bb6668e86017beccf7abefc563993b88a5af8cbd1da1943
27 DIST haproxy-2.4.4.tar.gz 3587306 BLAKE2B 983f5919b738419d616b35c1cad6aa2400b0b857160ecfac3bcdfcc14c15280283ae3f33036652a3a9b5bfff0fbb6a54912807ea7c83c828d2b5ba72274fe1a8 SHA512 a8987e8342fdbec7e48de09a4391a67e77e05493260e0e561e8c185b6457b8e1086cc45ce04ebf3365699c008dff81667490e2fe99c33c0ac3c7513df8ae025c
28 DIST haproxy-2.5.3.tar.gz 3818959 BLAKE2B 0e3d53eaf07b5320ccdefe1b3cd12799444bb2a2bbd4a4ca5cf78ae059f684df71667760033ed55e1b8b78fca2a16dcd77fd10969aee802d1e5f6257de33a65a SHA512 691a65eae3912df655124b754ef72785776084c2376220e2ceeaa89c8c5c392eb7d2b2ab72ac06c638c3169bf59b2d83ce0caa42c19ba6ebf7a8c6036bc62280
29 +DIST haproxy-2.5.4.tar.gz 3819082 BLAKE2B fabc62ebaa968a11a49a6dd131198af31a49adbe73bcae82124ca752c2c90c1d77346621c9d804a10bca8ff254580aa7fbaca774f9df1a6a99ec112375d84a50 SHA512 95eb1ad9121a93cc77f0dd14e0080e18935cd45dc7dc511ab6dd0ecbdbb967bbde5eaa83f70157086796603560b979689f7d50b0cfba93d0245544c3a8c28a87
30
31 diff --git a/net-proxy/haproxy/haproxy-2.4.14.ebuild b/net-proxy/haproxy/haproxy-2.4.14.ebuild
32 new file mode 100644
33 index 000000000000..ba20ee3537d8
34 --- /dev/null
35 +++ b/net-proxy/haproxy/haproxy-2.4.14.ebuild
36 @@ -0,0 +1,182 @@
37 +# Copyright 1999-2022 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="7"
41 +
42 +LUA_COMPAT=( lua5-3 )
43 +
44 +[[ ${PV} == *9999 ]] && SCM="git-r3"
45 +inherit toolchain-funcs flag-o-matic lua-single systemd linux-info ${SCM}
46 +
47 +MY_P="${PN}-${PV/_beta/-dev}"
48 +
49 +DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
50 +HOMEPAGE="http://www.haproxy.org"
51 +if [[ ${PV} != *9999 ]]; then
52 + SRC_URI="http://haproxy.1wt.eu/download/$(ver_cut 1-2)/src/${MY_P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
54 +else
55 + EGIT_REPO_URI="http://git.haproxy.org/git/haproxy-$(ver_cut 1-2).git/"
56 + EGIT_BRANCH=master
57 +fi
58 +
59 +LICENSE="GPL-2 LGPL-2.1"
60 +SLOT="0/$(ver_cut 1-2)"
61 +IUSE="+crypt doc examples +slz +net_ns +pcre pcre-jit pcre2 pcre2-jit prometheus-exporter
62 +ssl systemd +threads tools vim-syntax zlib lua device-atlas 51degrees wurfl"
63 +REQUIRED_USE="pcre-jit? ( pcre )
64 + pcre2-jit? ( pcre2 )
65 + pcre? ( !pcre2 )
66 + lua? ( ${LUA_REQUIRED_USE} )
67 + device-atlas? ( pcre )
68 + ?? ( slz zlib )"
69 +
70 +BDEPEND="virtual/pkgconfig"
71 +DEPEND="
72 + crypt? ( virtual/libcrypt:= )
73 + pcre? (
74 + dev-libs/libpcre
75 + pcre-jit? ( dev-libs/libpcre[jit] )
76 + )
77 + pcre2? (
78 + dev-libs/libpcre2:=
79 + pcre2-jit? ( dev-libs/libpcre2:=[jit] )
80 + )
81 + ssl? (
82 + dev-libs/openssl:0=
83 + )
84 + systemd? ( sys-apps/systemd )
85 + zlib? ( sys-libs/zlib )
86 + lua? ( ${LUA_DEPS} )
87 + device-atlas? ( dev-libs/device-atlas-api-c )"
88 +RDEPEND="${DEPEND}
89 + acct-group/haproxy
90 + acct-user/haproxy"
91 +
92 +S="${WORKDIR}/${MY_P}"
93 +
94 +DOCS=( CHANGELOG CONTRIBUTING MAINTAINERS README )
95 +EXTRAS=( admin/halog admin/iprange dev/tcploop dev/hpack )
96 +
97 +haproxy_use() {
98 + (( $# != 2 )) && die "${FUNCNAME} <USE flag> <make option>"
99 +
100 + usex "${1}" "USE_${2}=1" "USE_${2}="
101 +}
102 +
103 +pkg_setup() {
104 + use lua && lua-single_pkg_setup
105 + if use net_ns; then
106 + CONFIG_CHECK="~NET_NS"
107 + linux-info_pkg_setup
108 + fi
109 +}
110 +
111 +src_compile() {
112 + local -a args=(
113 + V=1
114 + TARGET=linux-glibc
115 + )
116 +
117 + # TODO: PCRE2_WIDTH?
118 + args+=( $(haproxy_use threads THREAD) )
119 + args+=( $(haproxy_use crypt LIBCRYPT) )
120 + args+=( $(haproxy_use net_ns NS) )
121 + args+=( $(haproxy_use pcre PCRE) )
122 + args+=( $(haproxy_use pcre-jit PCRE_JIT) )
123 + args+=( $(haproxy_use pcre2 PCRE2) )
124 + args+=( $(haproxy_use pcre2-jit PCRE2_JIT) )
125 + args+=( $(haproxy_use ssl OPENSSL) )
126 + args+=( $(haproxy_use slz SLZ) )
127 + args+=( $(haproxy_use zlib ZLIB) )
128 + args+=( $(haproxy_use lua LUA) )
129 + args+=( $(haproxy_use 51degrees 51DEGREES) )
130 + args+=( $(haproxy_use device-atlas DEVICEATLAS) )
131 + args+=( $(haproxy_use wurfl WURFL) )
132 + args+=( $(haproxy_use systemd SYSTEMD) )
133 + args+=( $(haproxy_use prometheus-exporter PROMEX) )
134 +
135 + # Bug #668002
136 + if use ppc || use arm || use hppa; then
137 + TARGET_LDFLAGS=-latomic
138 + fi
139 +
140 + # HAProxy really needs some of those "SPEC_CFLAGS", like -fno-strict-aliasing
141 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]}
142 + emake -C admin/systemd CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) SBINDIR=/usr/sbin
143 +
144 + if use tools ; then
145 + for extra in ${EXTRAS[@]} ; do
146 + if [ "${extra}" = "admin/halog" ]; then
147 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} admin/halog/halog
148 + elif [ "${extra}" = "dev/hpack" ]; then
149 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} dev/hpack/{decode,gen-enc,gen-rht}
150 + else
151 + # Those two includes are a workaround for hpack Makefile missing those
152 + emake -C ${extra} \
153 + CFLAGS="${CFLAGS} -I../../include/ -I../../ebtree/" OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) ${args[@]}
154 + fi
155 + done
156 + fi
157 +}
158 +
159 +src_install() {
160 + dosbin haproxy
161 + dosym ../sbin/haproxy /usr/bin/haproxy
162 +
163 + newconfd "${FILESDIR}/${PN}.confd" ${PN}
164 + newinitd "${FILESDIR}/${PN}.initd-r6" ${PN}
165 +
166 + doman doc/haproxy.1
167 +
168 + systemd_dounit admin/systemd/haproxy.service
169 +
170 + einstalldocs
171 +
172 + # The errorfiles are used by upstream defaults.
173 + insinto /etc/haproxy/errors/
174 + doins examples/errorfiles/*
175 +
176 + if use doc; then
177 + dodoc ROADMAP doc/*.txt
178 + #if use lua; then
179 + # TODO: doc/lua-api/
180 + #fi
181 + fi
182 +
183 + if use tools ; then
184 + has admin/halog "${EXTRAS[@]}" && dobin admin/halog/halog
185 + has admin/iprange "${EXTRAS[@]}" && { newbin admin/iprange/iprange haproxy_iprange; newbin admin/iprange/ip6range haproxy_ip6range; }
186 + has dev/tcploop "${EXTRAS[@]}" && newbin dev/tcploop/tcploop haproxy_tcploop
187 + has dev/hpack "${EXTRAS[@]}" && {
188 + newbin dev/hpack/gen-rht haproxy_gen-rht
189 + newbin dev/hpack/gen-enc haproxy_gen-enc
190 + newbin dev/hpack/decode haproxy_decode
191 + }
192 + fi
193 +
194 + if use examples ; then
195 + docinto examples
196 + dodoc examples/*.cfg
197 + dodoc doc/seamless_reload.txt
198 + fi
199 +
200 + if use vim-syntax ; then
201 + insinto /usr/share/vim/vimfiles/syntax
202 + doins admin/syntax-highlight/haproxy.vim
203 + fi
204 +}
205 +
206 +pkg_postinst() {
207 + if [[ ! -f "${EROOT}/etc/haproxy/haproxy.cfg" ]] ; then
208 + ewarn "You need to create /etc/haproxy/haproxy.cfg before you start the haproxy service."
209 + ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created."
210 + ewarn "Make use of them with the \"user\" and \"group\" directives."
211 +
212 + if [[ -d "${EROOT}/usr/share/doc/${PF}" ]]; then
213 + einfo "Please consult the installed documentation for learning the configuration file's syntax."
214 + einfo "The documentation and sample configuration files are installed here:"
215 + einfo " ${EROOT}/usr/share/doc/${PF}"
216 + fi
217 + fi
218 +}
219
220 diff --git a/net-proxy/haproxy/haproxy-2.5.4.ebuild b/net-proxy/haproxy/haproxy-2.5.4.ebuild
221 new file mode 100644
222 index 000000000000..ba20ee3537d8
223 --- /dev/null
224 +++ b/net-proxy/haproxy/haproxy-2.5.4.ebuild
225 @@ -0,0 +1,182 @@
226 +# Copyright 1999-2022 Gentoo Authors
227 +# Distributed under the terms of the GNU General Public License v2
228 +
229 +EAPI="7"
230 +
231 +LUA_COMPAT=( lua5-3 )
232 +
233 +[[ ${PV} == *9999 ]] && SCM="git-r3"
234 +inherit toolchain-funcs flag-o-matic lua-single systemd linux-info ${SCM}
235 +
236 +MY_P="${PN}-${PV/_beta/-dev}"
237 +
238 +DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
239 +HOMEPAGE="http://www.haproxy.org"
240 +if [[ ${PV} != *9999 ]]; then
241 + SRC_URI="http://haproxy.1wt.eu/download/$(ver_cut 1-2)/src/${MY_P}.tar.gz"
242 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
243 +else
244 + EGIT_REPO_URI="http://git.haproxy.org/git/haproxy-$(ver_cut 1-2).git/"
245 + EGIT_BRANCH=master
246 +fi
247 +
248 +LICENSE="GPL-2 LGPL-2.1"
249 +SLOT="0/$(ver_cut 1-2)"
250 +IUSE="+crypt doc examples +slz +net_ns +pcre pcre-jit pcre2 pcre2-jit prometheus-exporter
251 +ssl systemd +threads tools vim-syntax zlib lua device-atlas 51degrees wurfl"
252 +REQUIRED_USE="pcre-jit? ( pcre )
253 + pcre2-jit? ( pcre2 )
254 + pcre? ( !pcre2 )
255 + lua? ( ${LUA_REQUIRED_USE} )
256 + device-atlas? ( pcre )
257 + ?? ( slz zlib )"
258 +
259 +BDEPEND="virtual/pkgconfig"
260 +DEPEND="
261 + crypt? ( virtual/libcrypt:= )
262 + pcre? (
263 + dev-libs/libpcre
264 + pcre-jit? ( dev-libs/libpcre[jit] )
265 + )
266 + pcre2? (
267 + dev-libs/libpcre2:=
268 + pcre2-jit? ( dev-libs/libpcre2:=[jit] )
269 + )
270 + ssl? (
271 + dev-libs/openssl:0=
272 + )
273 + systemd? ( sys-apps/systemd )
274 + zlib? ( sys-libs/zlib )
275 + lua? ( ${LUA_DEPS} )
276 + device-atlas? ( dev-libs/device-atlas-api-c )"
277 +RDEPEND="${DEPEND}
278 + acct-group/haproxy
279 + acct-user/haproxy"
280 +
281 +S="${WORKDIR}/${MY_P}"
282 +
283 +DOCS=( CHANGELOG CONTRIBUTING MAINTAINERS README )
284 +EXTRAS=( admin/halog admin/iprange dev/tcploop dev/hpack )
285 +
286 +haproxy_use() {
287 + (( $# != 2 )) && die "${FUNCNAME} <USE flag> <make option>"
288 +
289 + usex "${1}" "USE_${2}=1" "USE_${2}="
290 +}
291 +
292 +pkg_setup() {
293 + use lua && lua-single_pkg_setup
294 + if use net_ns; then
295 + CONFIG_CHECK="~NET_NS"
296 + linux-info_pkg_setup
297 + fi
298 +}
299 +
300 +src_compile() {
301 + local -a args=(
302 + V=1
303 + TARGET=linux-glibc
304 + )
305 +
306 + # TODO: PCRE2_WIDTH?
307 + args+=( $(haproxy_use threads THREAD) )
308 + args+=( $(haproxy_use crypt LIBCRYPT) )
309 + args+=( $(haproxy_use net_ns NS) )
310 + args+=( $(haproxy_use pcre PCRE) )
311 + args+=( $(haproxy_use pcre-jit PCRE_JIT) )
312 + args+=( $(haproxy_use pcre2 PCRE2) )
313 + args+=( $(haproxy_use pcre2-jit PCRE2_JIT) )
314 + args+=( $(haproxy_use ssl OPENSSL) )
315 + args+=( $(haproxy_use slz SLZ) )
316 + args+=( $(haproxy_use zlib ZLIB) )
317 + args+=( $(haproxy_use lua LUA) )
318 + args+=( $(haproxy_use 51degrees 51DEGREES) )
319 + args+=( $(haproxy_use device-atlas DEVICEATLAS) )
320 + args+=( $(haproxy_use wurfl WURFL) )
321 + args+=( $(haproxy_use systemd SYSTEMD) )
322 + args+=( $(haproxy_use prometheus-exporter PROMEX) )
323 +
324 + # Bug #668002
325 + if use ppc || use arm || use hppa; then
326 + TARGET_LDFLAGS=-latomic
327 + fi
328 +
329 + # HAProxy really needs some of those "SPEC_CFLAGS", like -fno-strict-aliasing
330 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]}
331 + emake -C admin/systemd CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) SBINDIR=/usr/sbin
332 +
333 + if use tools ; then
334 + for extra in ${EXTRAS[@]} ; do
335 + if [ "${extra}" = "admin/halog" ]; then
336 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} admin/halog/halog
337 + elif [ "${extra}" = "dev/hpack" ]; then
338 + emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} dev/hpack/{decode,gen-enc,gen-rht}
339 + else
340 + # Those two includes are a workaround for hpack Makefile missing those
341 + emake -C ${extra} \
342 + CFLAGS="${CFLAGS} -I../../include/ -I../../ebtree/" OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) ${args[@]}
343 + fi
344 + done
345 + fi
346 +}
347 +
348 +src_install() {
349 + dosbin haproxy
350 + dosym ../sbin/haproxy /usr/bin/haproxy
351 +
352 + newconfd "${FILESDIR}/${PN}.confd" ${PN}
353 + newinitd "${FILESDIR}/${PN}.initd-r6" ${PN}
354 +
355 + doman doc/haproxy.1
356 +
357 + systemd_dounit admin/systemd/haproxy.service
358 +
359 + einstalldocs
360 +
361 + # The errorfiles are used by upstream defaults.
362 + insinto /etc/haproxy/errors/
363 + doins examples/errorfiles/*
364 +
365 + if use doc; then
366 + dodoc ROADMAP doc/*.txt
367 + #if use lua; then
368 + # TODO: doc/lua-api/
369 + #fi
370 + fi
371 +
372 + if use tools ; then
373 + has admin/halog "${EXTRAS[@]}" && dobin admin/halog/halog
374 + has admin/iprange "${EXTRAS[@]}" && { newbin admin/iprange/iprange haproxy_iprange; newbin admin/iprange/ip6range haproxy_ip6range; }
375 + has dev/tcploop "${EXTRAS[@]}" && newbin dev/tcploop/tcploop haproxy_tcploop
376 + has dev/hpack "${EXTRAS[@]}" && {
377 + newbin dev/hpack/gen-rht haproxy_gen-rht
378 + newbin dev/hpack/gen-enc haproxy_gen-enc
379 + newbin dev/hpack/decode haproxy_decode
380 + }
381 + fi
382 +
383 + if use examples ; then
384 + docinto examples
385 + dodoc examples/*.cfg
386 + dodoc doc/seamless_reload.txt
387 + fi
388 +
389 + if use vim-syntax ; then
390 + insinto /usr/share/vim/vimfiles/syntax
391 + doins admin/syntax-highlight/haproxy.vim
392 + fi
393 +}
394 +
395 +pkg_postinst() {
396 + if [[ ! -f "${EROOT}/etc/haproxy/haproxy.cfg" ]] ; then
397 + ewarn "You need to create /etc/haproxy/haproxy.cfg before you start the haproxy service."
398 + ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created."
399 + ewarn "Make use of them with the \"user\" and \"group\" directives."
400 +
401 + if [[ -d "${EROOT}/usr/share/doc/${PF}" ]]; then
402 + einfo "Please consult the installed documentation for learning the configuration file's syntax."
403 + einfo "The documentation and sample configuration files are installed here:"
404 + einfo " ${EROOT}/usr/share/doc/${PF}"
405 + fi
406 + fi
407 +}