diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 141 |
1 files changed, 128 insertions, 13 deletions
@@ -627,7 +627,8 @@ LIBOBJS | |||
627 | EGREP | 627 | EGREP |
628 | GREP | 628 | GREP |
629 | CPP | 629 | CPP |
630 | HAVE_SELINUX | 630 | HAVE_LTS |
631 | HAVE_FORCE_NONEWPRIVS | ||
631 | HAVE_CONTRIB_INSTALL | 632 | HAVE_CONTRIB_INSTALL |
632 | HAVE_GCOV | 633 | HAVE_GCOV |
633 | BUSYBOX_WORKAROUND | 634 | BUSYBOX_WORKAROUND |
@@ -645,10 +646,12 @@ HAVE_FIRETUNNEL | |||
645 | HAVE_GAWK | 646 | HAVE_GAWK |
646 | HAVE_MAN | 647 | HAVE_MAN |
647 | HAVE_USERTMPFS | 648 | HAVE_USERTMPFS |
649 | HAVE_OUTPUT | ||
648 | HAVE_OVERLAYFS | 650 | HAVE_OVERLAYFS |
649 | HAVE_DBUSPROXY | 651 | HAVE_DBUSPROXY |
650 | EXTRA_LDFLAGS | 652 | EXTRA_LDFLAGS |
651 | EXTRA_CFLAGS | 653 | EXTRA_CFLAGS |
654 | HAVE_SELINUX | ||
652 | HAVE_APPARMOR | 655 | HAVE_APPARMOR |
653 | AA_LIBS | 656 | AA_LIBS |
654 | AA_CFLAGS | 657 | AA_CFLAGS |
@@ -710,7 +713,9 @@ ac_user_opts=' | |||
710 | enable_option_checking | 713 | enable_option_checking |
711 | enable_analyzer | 714 | enable_analyzer |
712 | enable_apparmor | 715 | enable_apparmor |
716 | enable_selinux | ||
713 | enable_dbusproxy | 717 | enable_dbusproxy |
718 | enable_output | ||
714 | enable_usertmpfs | 719 | enable_usertmpfs |
715 | enable_man | 720 | enable_man |
716 | enable_firetunnel | 721 | enable_firetunnel |
@@ -727,7 +732,8 @@ enable_fatal_warnings | |||
727 | enable_busybox_workaround | 732 | enable_busybox_workaround |
728 | enable_gcov | 733 | enable_gcov |
729 | enable_contrib_install | 734 | enable_contrib_install |
730 | enable_selinux | 735 | enable_force_nonewprivs |
736 | enable_lts | ||
731 | ' | 737 | ' |
732 | ac_precious_vars='build_alias | 738 | ac_precious_vars='build_alias |
733 | host_alias | 739 | host_alias |
@@ -1365,7 +1371,9 @@ Optional Features: | |||
1365 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1371 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1366 | --enable-analyzer enable GCC 10 static analyzer | 1372 | --enable-analyzer enable GCC 10 static analyzer |
1367 | --enable-apparmor enable apparmor | 1373 | --enable-apparmor enable apparmor |
1374 | --enable-selinux SELinux labeling support | ||
1368 | --disable-dbusproxy disable dbus proxy | 1375 | --disable-dbusproxy disable dbus proxy |
1376 | --disable-output disable --output logging | ||
1369 | --disable-usertmpfs disable tmpfs as regular user | 1377 | --disable-usertmpfs disable tmpfs as regular user |
1370 | --disable-man disable man pages | 1378 | --disable-man disable man pages |
1371 | --disable-firetunnel disable firetunnel | 1379 | --disable-firetunnel disable firetunnel |
@@ -1385,7 +1393,9 @@ Optional Features: | |||
1385 | --enable-gcov Gcov instrumentation | 1393 | --enable-gcov Gcov instrumentation |
1386 | --enable-contrib-install | 1394 | --enable-contrib-install |
1387 | install contrib scripts | 1395 | install contrib scripts |
1388 | --enable-selinux SELinux labeling support | 1396 | --enable-force-nonewprivs |
1397 | enable force nonewprivs | ||
1398 | --enable-lts enable long-term support software version (LTS) | ||
1389 | 1399 | ||
1390 | Some influential environment variables: | 1400 | Some influential environment variables: |
1391 | CC C compiler command | 1401 | CC C compiler command |
@@ -3511,6 +3521,20 @@ fi | |||
3511 | 3521 | ||
3512 | fi | 3522 | fi |
3513 | 3523 | ||
3524 | HAVE_SELINUX="" | ||
3525 | # Check whether --enable-selinux was given. | ||
3526 | if test "${enable_selinux+set}" = set; then : | ||
3527 | enableval=$enable_selinux; | ||
3528 | fi | ||
3529 | |||
3530 | if test "x$enable_selinux" = "xyes"; then : | ||
3531 | |||
3532 | HAVE_SELINUX="-DHAVE_SELINUX" | ||
3533 | EXTRA_LDFLAGS+=" -lselinux " | ||
3534 | |||
3535 | |||
3536 | fi | ||
3537 | |||
3514 | 3538 | ||
3515 | 3539 | ||
3516 | 3540 | ||
@@ -3539,6 +3563,19 @@ HAVE_OVERLAYFS="" | |||
3539 | # AC_SUBST(HAVE_OVERLAYFS) | 3563 | # AC_SUBST(HAVE_OVERLAYFS) |
3540 | #]) | 3564 | #]) |
3541 | 3565 | ||
3566 | HAVE_OUTPUT="" | ||
3567 | # Check whether --enable-output was given. | ||
3568 | if test "${enable_output+set}" = set; then : | ||
3569 | enableval=$enable_output; | ||
3570 | fi | ||
3571 | |||
3572 | if test "x$enable_output" != "xno"; then : | ||
3573 | |||
3574 | HAVE_OUTPUT="-DHAVE_OUTPUT" | ||
3575 | |||
3576 | |||
3577 | fi | ||
3578 | |||
3542 | HAVE_USERTMPFS="" | 3579 | HAVE_USERTMPFS="" |
3543 | # Check whether --enable-usertmpfs was given. | 3580 | # Check whether --enable-usertmpfs was given. |
3544 | if test "${enable_usertmpfs+set}" = set; then : | 3581 | if test "${enable_usertmpfs+set}" = set; then : |
@@ -3792,20 +3829,80 @@ else | |||
3792 | fi | 3829 | fi |
3793 | 3830 | ||
3794 | 3831 | ||
3795 | HAVE_SELINUX="" | 3832 | HAVE_FORCE_NONEWPRIVS="" |
3796 | # Check whether --enable-selinux was given. | 3833 | # Check whether --enable-force-nonewprivs was given. |
3797 | if test "${enable_selinux+set}" = set; then : | 3834 | if test "${enable_force_nonewprivs+set}" = set; then : |
3798 | enableval=$enable_selinux; | 3835 | enableval=$enable_force_nonewprivs; |
3799 | fi | 3836 | fi |
3800 | 3837 | ||
3801 | if test "x$enable_selinux" = "xyes"; then : | 3838 | if test "x$enable_force_nonewprivs" = "xyes"; then : |
3802 | 3839 | ||
3803 | HAVE_SELINUX="-DHAVE_SELINUX" | 3840 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" |
3804 | EXTRA_LDFLAGS+=" -lselinux " | ||
3805 | 3841 | ||
3806 | 3842 | ||
3807 | fi | 3843 | fi |
3808 | 3844 | ||
3845 | HAVE_LTS="" | ||
3846 | # Check whether --enable-lts was given. | ||
3847 | if test "${enable_lts+set}" = set; then : | ||
3848 | enableval=$enable_lts; | ||
3849 | fi | ||
3850 | |||
3851 | if test "x$enable_lts" = "xyes"; then : | ||
3852 | |||
3853 | HAVE_LTS="-DHAVE_LTS" | ||
3854 | |||
3855 | |||
3856 | HAVE_DBUSPROXY="" | ||
3857 | |||
3858 | |||
3859 | HAVE_OVERLAYFS="" | ||
3860 | |||
3861 | |||
3862 | HAVE_OUTPUT="" | ||
3863 | |||
3864 | |||
3865 | HAVE_USERTMPFS="" | ||
3866 | |||
3867 | |||
3868 | HAVE_MAN="-DHAVE_MAN" | ||
3869 | |||
3870 | |||
3871 | HAVE_FIRETUNNEL="" | ||
3872 | |||
3873 | |||
3874 | HAVE_PRIVATEHOME="" | ||
3875 | |||
3876 | |||
3877 | HAVE_CHROOT="" | ||
3878 | |||
3879 | |||
3880 | HAVE_GLOBALCFG="" | ||
3881 | |||
3882 | |||
3883 | HAVE_USERNS="" | ||
3884 | |||
3885 | |||
3886 | HAVE_X11="" | ||
3887 | |||
3888 | |||
3889 | HAVE_FILE_TRANSFER="" | ||
3890 | |||
3891 | |||
3892 | HAVE_SUID="yes" | ||
3893 | |||
3894 | |||
3895 | BUSYBOX_WORKAROUND="no" | ||
3896 | |||
3897 | |||
3898 | HAVE_CONTRIB_INSTALL="no", | ||
3899 | |||
3900 | |||
3901 | fi | ||
3902 | |||
3903 | |||
3904 | |||
3905 | |||
3809 | # checking pthread library | 3906 | # checking pthread library |
3810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 | 3907 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
3811 | $as_echo_n "checking for main in -lpthread... " >&6; } | 3908 | $as_echo_n "checking for main in -lpthread... " >&6; } |
@@ -4269,7 +4366,7 @@ fi | |||
4269 | 4366 | ||
4270 | ac_config_files="$ac_config_files mkdeb.sh" | 4367 | ac_config_files="$ac_config_files mkdeb.sh" |
4271 | 4368 | ||
4272 | ac_config_files="$ac_config_files Makefile src/common.mk src/lib/Makefile src/fcopy/Makefile src/fnet/Makefile src/firejail/Makefile src/fnetfilter/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/fbuilder/Makefile src/fsec-print/Makefile src/ftee/Makefile src/faudit/Makefile src/fseccomp/Makefile src/fldd/Makefile src/libpostexecseccomp/Makefile src/fsec-optimize/Makefile src/profstats/Makefile src/man/Makefile test/Makefile" | 4369 | ac_config_files="$ac_config_files Makefile src/common.mk src/lib/Makefile src/fcopy/Makefile src/fnet/Makefile src/firejail/Makefile src/fnetfilter/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/fbuilder/Makefile src/fsec-print/Makefile src/ftee/Makefile src/fseccomp/Makefile src/fldd/Makefile src/libpostexecseccomp/Makefile src/fsec-optimize/Makefile src/profstats/Makefile src/man/Makefile src/zsh_completion/Makefile src/bash_completion/Makefile test/Makefile src/jailtest/Makefile" |
4273 | 4370 | ||
4274 | cat >confcache <<\_ACEOF | 4371 | cat >confcache <<\_ACEOF |
4275 | # This file is a shell script that caches the results of configure | 4372 | # This file is a shell script that caches the results of configure |
@@ -4993,14 +5090,16 @@ do | |||
4993 | "src/fbuilder/Makefile") CONFIG_FILES="$CONFIG_FILES src/fbuilder/Makefile" ;; | 5090 | "src/fbuilder/Makefile") CONFIG_FILES="$CONFIG_FILES src/fbuilder/Makefile" ;; |
4994 | "src/fsec-print/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-print/Makefile" ;; | 5091 | "src/fsec-print/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-print/Makefile" ;; |
4995 | "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; | 5092 | "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; |
4996 | "src/faudit/Makefile") CONFIG_FILES="$CONFIG_FILES src/faudit/Makefile" ;; | ||
4997 | "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;; | 5093 | "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;; |
4998 | "src/fldd/Makefile") CONFIG_FILES="$CONFIG_FILES src/fldd/Makefile" ;; | 5094 | "src/fldd/Makefile") CONFIG_FILES="$CONFIG_FILES src/fldd/Makefile" ;; |
4999 | "src/libpostexecseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpostexecseccomp/Makefile" ;; | 5095 | "src/libpostexecseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpostexecseccomp/Makefile" ;; |
5000 | "src/fsec-optimize/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-optimize/Makefile" ;; | 5096 | "src/fsec-optimize/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-optimize/Makefile" ;; |
5001 | "src/profstats/Makefile") CONFIG_FILES="$CONFIG_FILES src/profstats/Makefile" ;; | 5097 | "src/profstats/Makefile") CONFIG_FILES="$CONFIG_FILES src/profstats/Makefile" ;; |
5002 | "src/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;; | 5098 | "src/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;; |
5099 | "src/zsh_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/zsh_completion/Makefile" ;; | ||
5100 | "src/bash_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/bash_completion/Makefile" ;; | ||
5003 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; | 5101 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; |
5102 | "src/jailtest/Makefile") CONFIG_FILES="$CONFIG_FILES src/jailtest/Makefile" ;; | ||
5004 | 5103 | ||
5005 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 5104 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
5006 | esac | 5105 | esac |
@@ -5466,6 +5565,7 @@ echo "Configuration options:" | |||
5466 | echo " prefix: $prefix" | 5565 | echo " prefix: $prefix" |
5467 | echo " sysconfdir: $sysconfdir" | 5566 | echo " sysconfdir: $sysconfdir" |
5468 | echo " apparmor: $HAVE_APPARMOR" | 5567 | echo " apparmor: $HAVE_APPARMOR" |
5568 | echo " SELinux labeling support: $HAVE_SELINUX" | ||
5469 | echo " global config: $HAVE_GLOBALCFG" | 5569 | echo " global config: $HAVE_GLOBALCFG" |
5470 | echo " chroot: $HAVE_CHROOT" | 5570 | echo " chroot: $HAVE_CHROOT" |
5471 | echo " network: $HAVE_NETWORK" | 5571 | echo " network: $HAVE_NETWORK" |
@@ -5477,6 +5577,7 @@ echo " file transfer support: $HAVE_FILE_TRANSFER" | |||
5477 | echo " overlayfs support: $HAVE_OVERLAYFS" | 5577 | echo " overlayfs support: $HAVE_OVERLAYFS" |
5478 | echo " DBUS proxy support: $HAVE_DBUSPROXY" | 5578 | echo " DBUS proxy support: $HAVE_DBUSPROXY" |
5479 | echo " allow tmpfs as regular user: $HAVE_USERTMPFS" | 5579 | echo " allow tmpfs as regular user: $HAVE_USERTMPFS" |
5580 | echo " enable --ouput logging: $HAVE_OUTPUT" | ||
5480 | echo " Manpage support: $HAVE_MAN" | 5581 | echo " Manpage support: $HAVE_MAN" |
5481 | echo " firetunnel support: $HAVE_FIRETUNNEL" | 5582 | echo " firetunnel support: $HAVE_FIRETUNNEL" |
5482 | echo " busybox workaround: $BUSYBOX_WORKAROUND" | 5583 | echo " busybox workaround: $BUSYBOX_WORKAROUND" |
@@ -5486,6 +5587,20 @@ echo " EXTRA_CFLAGS: $EXTRA_CFLAGS" | |||
5486 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" | 5587 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" |
5487 | echo " Gcov instrumentation: $HAVE_GCOV" | 5588 | echo " Gcov instrumentation: $HAVE_GCOV" |
5488 | echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" | 5589 | echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" |
5489 | echo " SELinux labeling support: $HAVE_SELINUX" | ||
5490 | echo " Install as a SUID executable: $HAVE_SUID" | 5590 | echo " Install as a SUID executable: $HAVE_SUID" |
5591 | echo " LTS: $HAVE_LTS" | ||
5592 | echo " Always enforce filters: $HAVE_FORCE_NONEWPRIVS" | ||
5491 | echo | 5593 | echo |
5594 | |||
5595 | |||
5596 | if test "$HAVE_LTS" = -DHAVE_LTS; then | ||
5597 | echo | ||
5598 | echo | ||
5599 | echo "*********************************************************" | ||
5600 | echo "* Warning: Long-term support (LTS) was enabled! *" | ||
5601 | echo "* Most compile-time options have bean rewritten! *" | ||
5602 | echo "*********************************************************" | ||
5603 | echo | ||
5604 | echo | ||
5605 | fi | ||
5606 | |||