bareos: bareos-18.2 c84b0904

Author Committer Branch Timestamp Parent
arogge arogge bareos-18.2 2019-08-29 20:57 bareos-18.2 fe549745 Pending
Changeset cmake: fix regression of acl detection

Since the migration to cmake, the following cmake-variables have not been
set at all:
- HAVE_ACL_TYPE_DEFAULT_DIR
- HAVE_ACL_TYPE_EXTENDED
- HAVE_ACL_TYPE_NFS4

Also the detection of sys/acl.h requires inclusion of sys/types.h (at
least on MacOS, maybe others) which has been missing, too.

This lead to a regression where at least the MacOS client has not been
built with working ACL support.

This patch fixes the detection of ACL support (at least on MacOS) and
restores the cmake-variables.
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosCheckIncludes.cmake Diff File
add - core/cmake/acltypes.cmake Diff File