Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
Date: Tue, 06 Jun 2017 11:53:45
Message-Id: 1496750013.684fd3b673798db8aec06af3c64529078ee4c3f0.whissi@gentoo
1 commit: 684fd3b673798db8aec06af3c64529078ee4c3f0
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 6 11:53:33 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 6 11:53:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684fd3b6
7
8 www-apps/otrs: Security cleanup (bug #621006)
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 www-apps/otrs/Manifest | 3 -
13 www-apps/otrs/otrs-5.0.16.ebuild | 153 ---------------------------------------
14 www-apps/otrs/otrs-5.0.18.ebuild | 153 ---------------------------------------
15 www-apps/otrs/otrs-5.0.19.ebuild | 153 ---------------------------------------
16 4 files changed, 462 deletions(-)
17
18 diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
19 index 03290e66667..5a04a612708 100644
20 --- a/www-apps/otrs/Manifest
21 +++ b/www-apps/otrs/Manifest
22 @@ -1,4 +1 @@
23 -DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
24 -DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11
25 -DIST otrs-5.0.19.tar.bz2 20458807 SHA256 15f0493119f0dec570357d4916929535ae320623475fb4e37ff8cf9a015bce44 SHA512 24ea42171d742f78b7a10619e7d153d702270460a9bdc5d44c6e57e3e4500454c297e87d0696740f3e59571e7985ed6d606cf16d12898a76200bc651f107e84f WHIRLPOOL 3752fbc70d01f80048971491517284dd8799457650eee05f4b5185da195e2c890845303a397c46d8214e2c357552c0a173821ee5fdf6848fec839237a30b64a9
26 DIST otrs-5.0.20.tar.bz2 20638821 SHA256 1dfebd86dc55c7e125593e0bb5307a74217f15e23469fead66e2a4f6e00e27e5 SHA512 29b5c52478af6c95fc529db9d031c79e131a1ffaf7cc323ecfa5527145049e6b6762c04138bab5e6a49863b423829c474b6dbdc77777a84e8ea7f5081c2fdd8c WHIRLPOOL 81536727b7b918b2ddb9c206bb5643effbad584a70b9acdebb18e2b4b911837c246215bab23600f0724b789b3e5718ee22dbbd3daf24874da6ef2ce79fd91a2e
27
28 diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
29 deleted file mode 100644
30 index c58f1acd4e2..00000000000
31 --- a/www-apps/otrs/otrs-5.0.16.ebuild
32 +++ /dev/null
33 @@ -1,153 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="6"
38 -
39 -inherit user systemd
40 -
41 -DESCRIPTION="OTRS is an Open source Ticket Request System"
42 -HOMEPAGE="https://otrs.org/"
43 -SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
44 -
45 -LICENSE="AGPL-3"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
48 -SLOT="0"
49 -
50 -REQUIRED_USE="|| ( mysql postgres )"
51 -
52 -DEPEND="media-libs/libpng:0"
53 -
54 -RDEPEND="dev-perl/Apache-Reload
55 - dev-perl/Archive-Zip
56 - dev-perl/DBI
57 - dev-perl/IO-Socket-SSL
58 - dev-perl/JSON-XS
59 - dev-perl/LWP-UserAgent-Determined
60 - dev-perl/Mail-POP3Client
61 - dev-perl/Mail-IMAPClient
62 - >dev-perl/Net-DNS-0.60
63 - dev-perl/Template-Toolkit
64 - dev-perl/Text-CSV_XS
65 - dev-perl/TimeDate
66 - dev-perl/XML-Parser
67 - dev-perl/YAML-LibYAML
68 - apache2? (
69 - mod_perl? (
70 - www-servers/apache:2
71 - =www-apache/libapreq2-2* www-apache/mod_perl
72 - )
73 - !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
74 - )
75 - fastcgi? (
76 - dev-perl/FCGI
77 - virtual/httpd-fastcgi
78 - )
79 - !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
80 - gd? (
81 - dev-perl/GD
82 - dev-perl/GDTextUtil
83 - dev-perl/GDGraph
84 - )
85 - ldap? ( dev-perl/perl-ldap )
86 - mysql? ( dev-perl/DBD-mysql )
87 - postgres? ( dev-perl/DBD-Pg )
88 - pdf? (
89 - >=dev-perl/PDF-API2-0.73
90 - virtual/perl-Compress-Raw-Zlib
91 - )
92 - soap? (
93 - dev-perl/SOAP-Lite
94 - !=dev-perl/SOAP-Lite-0.711
95 - !=dev-perl/SOAP-Lite-0.712
96 - )
97 - "
98 -
99 -OTRS_HOME="${EROOT%/}/var/lib/otrs"
100 -
101 -pkg_setup() {
102 - # The enewuser otrs will fail if apache isn't there, but it's an optional dep
103 - # so we create the apache user here just in case
104 - enewgroup apache 81
105 - enewuser apache 81 -1 /var/www apache
106 - enewuser otrs -1 -1 ${OTRS_HOME} apache
107 -}
108 -
109 -src_prepare() {
110 - rm -r "${S}/scripts"/auto_* || die
111 -
112 - pushd Kernel >/dev/null || die
113 - for i in *.dist; do
114 - cp ${i} $(basename ${i} .dist) || die
115 - done
116 - popd >/dev/null || die
117 -
118 - # Fix broken png file (and see pngfix help for exit codes)
119 - pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
120 - if [[ $? -gt 15 ]]; then
121 - die "pngfix failed"
122 - fi
123 - mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
124 -
125 - sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
126 - || die "sed failed"
127 -
128 - sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
129 - || die "sed failed"
130 -
131 - grep -lR "/opt" "${S}"/scripts | \
132 - xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
133 - || die "sed failed"
134 -
135 - echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
136 - ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
137 -
138 - eapply_user
139 -}
140 -
141 -# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
142 -pkg_config() {
143 - einfo "Installing cronjobs"
144 - crontab -u otrs /usr/share/doc/${PF}/crontab || die
145 -}
146 -
147 -src_install() {
148 - dodoc CHANGES.md README*
149 -
150 - insinto "${OTRS_HOME}"
151 - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
152 - Custom Kernel bin scripts var
153 -
154 - cat "${S}"/var/cron/*.dist > crontab || die
155 - insinto /usr/share/doc/${PF}/
156 - doins crontab
157 -
158 - local a
159 - for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable
160 - do
161 - keepdir "${OTRS_HOME}/var/${a}"
162 - done
163 - doenvd "${T}/50${PN}"
164 -
165 - systemd_dounit "${FILESDIR}/otrs.service"
166 -}
167 -
168 -pkg_postinst() {
169 - einfo "Setting correct permissions ..."
170 - /usr/bin/env perl "${OTRS_HOME%}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
171 - --otrs-user=otrs \
172 - --web-group=apache \
173 - || die "Could not set permissions"
174 -
175 - einfo "Installation done!"
176 - elog "1) Rebuild your config now by running the following commands:"
177 - elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
178 - elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
179 - elog ""
180 - elog "2) Enable cronjobs with the following command:"
181 - elog "crontab -u otrs crontab"
182 - elog ""
183 - elog "3) systemd users: enable and start OTRS daemon:"
184 - elog "systemctl enable otrs"
185 - elog "systemctl start otrs"
186 -}
187
188 diff --git a/www-apps/otrs/otrs-5.0.18.ebuild b/www-apps/otrs/otrs-5.0.18.ebuild
189 deleted file mode 100644
190 index 16e682a03da..00000000000
191 --- a/www-apps/otrs/otrs-5.0.18.ebuild
192 +++ /dev/null
193 @@ -1,153 +0,0 @@
194 -# Copyright 1999-2017 Gentoo Foundation
195 -# Distributed under the terms of the GNU General Public License v2
196 -
197 -EAPI="6"
198 -
199 -inherit user systemd
200 -
201 -DESCRIPTION="OTRS is an Open source Ticket Request System"
202 -HOMEPAGE="https://www.otrs.com/"
203 -SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
204 -
205 -LICENSE="AGPL-3+"
206 -KEYWORDS="~amd64 ~x86"
207 -IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
208 -SLOT="0"
209 -
210 -REQUIRED_USE="|| ( mysql postgres )"
211 -
212 -DEPEND="media-libs/libpng:0"
213 -
214 -RDEPEND="dev-perl/Apache-Reload
215 - dev-perl/Archive-Zip
216 - dev-perl/DBI
217 - dev-perl/IO-Socket-SSL
218 - dev-perl/JSON-XS
219 - dev-perl/LWP-UserAgent-Determined
220 - dev-perl/Mail-POP3Client
221 - dev-perl/Mail-IMAPClient
222 - >dev-perl/Net-DNS-0.60
223 - dev-perl/Template-Toolkit
224 - dev-perl/Text-CSV_XS
225 - dev-perl/TimeDate
226 - dev-perl/XML-Parser
227 - dev-perl/YAML-LibYAML
228 - apache2? (
229 - mod_perl? (
230 - www-servers/apache:2
231 - =www-apache/libapreq2-2* www-apache/mod_perl
232 - )
233 - !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
234 - )
235 - fastcgi? (
236 - dev-perl/FCGI
237 - virtual/httpd-fastcgi
238 - )
239 - !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
240 - gd? (
241 - dev-perl/GD
242 - dev-perl/GDTextUtil
243 - dev-perl/GDGraph
244 - )
245 - ldap? ( dev-perl/perl-ldap )
246 - mysql? ( dev-perl/DBD-mysql )
247 - postgres? ( dev-perl/DBD-Pg )
248 - pdf? (
249 - >=dev-perl/PDF-API2-0.73
250 - virtual/perl-Compress-Raw-Zlib
251 - )
252 - soap? (
253 - dev-perl/SOAP-Lite
254 - !=dev-perl/SOAP-Lite-0.711
255 - !=dev-perl/SOAP-Lite-0.712
256 - )
257 - "
258 -
259 -OTRS_HOME="/var/lib/otrs"
260 -
261 -pkg_setup() {
262 - # The enewuser otrs will fail if apache isn't there, but it's an optional dep
263 - # so we create the apache user here just in case
264 - enewgroup apache 81
265 - enewuser apache 81 -1 /var/www apache
266 - enewuser otrs -1 -1 "${OTRS_HOME}" apache
267 -}
268 -
269 -src_prepare() {
270 - rm -r "${S}/scripts"/auto_* || die
271 -
272 - pushd Kernel >/dev/null || die
273 - for i in *.dist; do
274 - cp "${i}" $(basename "${i}" .dist) || die
275 - done
276 - popd >/dev/null || die
277 -
278 - # Fix broken png file (and see pngfix help for exit codes)
279 - pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
280 - if [[ $? -gt 15 ]]; then
281 - die "pngfix failed"
282 - fi
283 - mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
284 -
285 - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
286 - || die "sed failed"
287 -
288 - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
289 - || die "sed failed"
290 -
291 - grep -lR "/opt" "${S}"/scripts | \
292 - xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
293 - || die "sed failed"
294 -
295 - echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
296 - ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
297 -
298 - eapply_user
299 -}
300 -
301 -# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
302 -pkg_config() {
303 - einfo "Installing cronjobs"
304 - crontab -u otrs "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
305 -}
306 -
307 -src_install() {
308 - dodoc CHANGES.md README*
309 -
310 - insinto "${OTRS_HOME}"
311 - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
312 - Custom Kernel bin scripts var
313 -
314 - cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
315 - insinto /usr/share/doc/${PF}/
316 - doins "${T}"/crontab
317 -
318 - local a
319 - for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable
320 - do
321 - keepdir "${OTRS_HOME}/var/${a}"
322 - done
323 - doenvd "${T}/50${PN}"
324 -
325 - systemd_dounit "${FILESDIR}/otrs.service"
326 -}
327 -
328 -pkg_postinst() {
329 - einfo "Setting correct permissions ..."
330 - /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
331 - --otrs-user=otrs \
332 - --web-group=apache \
333 - || die "Could not set permissions"
334 -
335 - einfo "Installation done!"
336 - elog "1) Rebuild your config now by running the following commands:"
337 - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
338 - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
339 - elog ""
340 - elog "2) Enable cronjobs with the following command:"
341 - elog "crontab -u otrs crontab"
342 - elog ""
343 - elog "3) systemd users: enable and start OTRS daemon:"
344 - elog "systemctl enable otrs"
345 - elog "systemctl start otrs"
346 -}
347
348 diff --git a/www-apps/otrs/otrs-5.0.19.ebuild b/www-apps/otrs/otrs-5.0.19.ebuild
349 deleted file mode 100644
350 index 16e682a03da..00000000000
351 --- a/www-apps/otrs/otrs-5.0.19.ebuild
352 +++ /dev/null
353 @@ -1,153 +0,0 @@
354 -# Copyright 1999-2017 Gentoo Foundation
355 -# Distributed under the terms of the GNU General Public License v2
356 -
357 -EAPI="6"
358 -
359 -inherit user systemd
360 -
361 -DESCRIPTION="OTRS is an Open source Ticket Request System"
362 -HOMEPAGE="https://www.otrs.com/"
363 -SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
364 -
365 -LICENSE="AGPL-3+"
366 -KEYWORDS="~amd64 ~x86"
367 -IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
368 -SLOT="0"
369 -
370 -REQUIRED_USE="|| ( mysql postgres )"
371 -
372 -DEPEND="media-libs/libpng:0"
373 -
374 -RDEPEND="dev-perl/Apache-Reload
375 - dev-perl/Archive-Zip
376 - dev-perl/DBI
377 - dev-perl/IO-Socket-SSL
378 - dev-perl/JSON-XS
379 - dev-perl/LWP-UserAgent-Determined
380 - dev-perl/Mail-POP3Client
381 - dev-perl/Mail-IMAPClient
382 - >dev-perl/Net-DNS-0.60
383 - dev-perl/Template-Toolkit
384 - dev-perl/Text-CSV_XS
385 - dev-perl/TimeDate
386 - dev-perl/XML-Parser
387 - dev-perl/YAML-LibYAML
388 - apache2? (
389 - mod_perl? (
390 - www-servers/apache:2
391 - =www-apache/libapreq2-2* www-apache/mod_perl
392 - )
393 - !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
394 - )
395 - fastcgi? (
396 - dev-perl/FCGI
397 - virtual/httpd-fastcgi
398 - )
399 - !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
400 - gd? (
401 - dev-perl/GD
402 - dev-perl/GDTextUtil
403 - dev-perl/GDGraph
404 - )
405 - ldap? ( dev-perl/perl-ldap )
406 - mysql? ( dev-perl/DBD-mysql )
407 - postgres? ( dev-perl/DBD-Pg )
408 - pdf? (
409 - >=dev-perl/PDF-API2-0.73
410 - virtual/perl-Compress-Raw-Zlib
411 - )
412 - soap? (
413 - dev-perl/SOAP-Lite
414 - !=dev-perl/SOAP-Lite-0.711
415 - !=dev-perl/SOAP-Lite-0.712
416 - )
417 - "
418 -
419 -OTRS_HOME="/var/lib/otrs"
420 -
421 -pkg_setup() {
422 - # The enewuser otrs will fail if apache isn't there, but it's an optional dep
423 - # so we create the apache user here just in case
424 - enewgroup apache 81
425 - enewuser apache 81 -1 /var/www apache
426 - enewuser otrs -1 -1 "${OTRS_HOME}" apache
427 -}
428 -
429 -src_prepare() {
430 - rm -r "${S}/scripts"/auto_* || die
431 -
432 - pushd Kernel >/dev/null || die
433 - for i in *.dist; do
434 - cp "${i}" $(basename "${i}" .dist) || die
435 - done
436 - popd >/dev/null || die
437 -
438 - # Fix broken png file (and see pngfix help for exit codes)
439 - pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
440 - if [[ $? -gt 15 ]]; then
441 - die "pngfix failed"
442 - fi
443 - mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
444 -
445 - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
446 - || die "sed failed"
447 -
448 - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
449 - || die "sed failed"
450 -
451 - grep -lR "/opt" "${S}"/scripts | \
452 - xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
453 - || die "sed failed"
454 -
455 - echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
456 - ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
457 -
458 - eapply_user
459 -}
460 -
461 -# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
462 -pkg_config() {
463 - einfo "Installing cronjobs"
464 - crontab -u otrs "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
465 -}
466 -
467 -src_install() {
468 - dodoc CHANGES.md README*
469 -
470 - insinto "${OTRS_HOME}"
471 - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
472 - Custom Kernel bin scripts var
473 -
474 - cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
475 - insinto /usr/share/doc/${PF}/
476 - doins "${T}"/crontab
477 -
478 - local a
479 - for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable
480 - do
481 - keepdir "${OTRS_HOME}/var/${a}"
482 - done
483 - doenvd "${T}/50${PN}"
484 -
485 - systemd_dounit "${FILESDIR}/otrs.service"
486 -}
487 -
488 -pkg_postinst() {
489 - einfo "Setting correct permissions ..."
490 - /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
491 - --otrs-user=otrs \
492 - --web-group=apache \
493 - || die "Could not set permissions"
494 -
495 - einfo "Installation done!"
496 - elog "1) Rebuild your config now by running the following commands:"
497 - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
498 - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
499 - elog ""
500 - elog "2) Enable cronjobs with the following command:"
501 - elog "crontab -u otrs crontab"
502 - elog ""
503 - elog "3) systemd users: enable and start OTRS daemon:"
504 - elog "systemctl enable otrs"
505 - elog "systemctl start otrs"
506 -}