|
274 | 274 | AM_CONDITIONAL(WITH_ASAN, test "$enable_asan" = "yes")
|
275 | 275 | AC_MSG_RESULT($asan_status)
|
276 | 276 |
|
277 |
| -# User and group for running cockpit web server (cockpit-tls or -ws in customized setups) |
278 |
| - |
279 |
| -AC_ARG_WITH(cockpit_user, |
280 |
| - AS_HELP_STRING([--with-cockpit-user=<user>], |
281 |
| - [User for running cockpit (root)] |
282 |
| - ) |
283 |
| - ) |
284 |
| -AC_ARG_WITH(cockpit_group, |
285 |
| - AS_HELP_STRING([--with-cockpit-group=<group>], |
286 |
| - [Group for running cockpit] |
287 |
| - ) |
288 |
| - ) |
289 |
| -if test -z "$with_cockpit_user"; then |
290 |
| - COCKPIT_USER=root |
291 |
| - COCKPIT_GROUP= |
292 |
| -else |
293 |
| - COCKPIT_USER=$with_cockpit_user |
294 |
| - if test -z "$with_cockpit_group"; then |
295 |
| - COCKPIT_GROUP=$with_cockpit_user |
296 |
| - else |
297 |
| - COCKPIT_GROUP=$with_cockpit_group |
298 |
| - fi |
299 |
| -fi |
300 |
| - |
301 |
| -AC_SUBST(COCKPIT_USER) |
302 |
| -AC_SUBST(COCKPIT_GROUP) |
303 |
| - |
304 |
| -# User for running cockpit-ws instances from cockpit-tls |
305 |
| - |
306 |
| -AC_ARG_WITH(cockpit_ws_instance_user, |
307 |
| - AS_HELP_STRING([--with-cockpit-ws-instance-user=<user>], |
308 |
| - [User for running cockpit-ws instances from cockpit-tls (root)] |
309 |
| - ) |
310 |
| - ) |
311 |
| -AC_ARG_WITH(cockpit_ws_instance_group, |
312 |
| - AS_HELP_STRING([--with-cockpit-ws-instance-group=<group>], |
313 |
| - [Group for running cockpit-ws instances from cockpit-tls] |
314 |
| - ) |
315 |
| - ) |
316 |
| -if test -z "$with_cockpit_ws_instance_user"; then |
317 |
| - if test "$COCKPIT_USER" != "root"; then |
318 |
| - AC_MSG_ERROR([--with-cockpit-ws-instance-user is required when setting --with-cockpit-user]) |
319 |
| - fi |
320 |
| - COCKPIT_WSINSTANCE_USER=root |
321 |
| -else |
322 |
| - COCKPIT_WSINSTANCE_USER=$with_cockpit_ws_instance_user |
323 |
| - if test -z "$with_cockpit_ws_instance_group"; then |
324 |
| - COCKPIT_WSINSTANCE_GROUP=$with_cockpit_ws_instance_user |
325 |
| - else |
326 |
| - COCKPIT_WSINSTANCE_GROUP=$with_cockpit_ws_instance_group |
327 |
| - fi |
328 |
| -fi |
329 |
| - |
330 |
| -AC_SUBST(COCKPIT_WSINSTANCE_USER) |
331 |
| -AC_SUBST(COCKPIT_WSINSTANCE_GROUP) |
332 |
| - |
333 | 277 | # admin users group
|
334 | 278 | AC_ARG_WITH([admin-group],
|
335 | 279 | [AS_HELP_STRING([--with-admin-group=GROUP],
|
@@ -495,10 +439,6 @@ echo "
|
495 | 439 | cflags: ${CFLAGS}
|
496 | 440 | cppflags: ${CPPFLAGS}
|
497 | 441 |
|
498 |
| - cockpit-ws user: ${COCKPIT_USER} |
499 |
| - cockpit-ws group: ${COCKPIT_GROUP} |
500 |
| - cockpit-ws instance user: ${COCKPIT_WSINSTANCE_USER} |
501 |
| - cockpit-ws instance group: ${COCKPIT_WSINSTANCE_GROUP} |
502 | 442 | admin group: ${admin_group}
|
503 | 443 |
|
504 | 444 | Building docs: ${enable_doc}
|
|
0 commit comments