2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Replace the Debian libselinux1 dependency with libapparmor1

Debian >= 10 uses AppArmor by default instead of SELinux, so
SELinux-related sudo features are typically going to be unusable in
Debian installs. This changes the dependency on libselinux1 to be a
dependency on libapparmor1 for .deb packages built with `make package`.
This commit is contained in:
kernelmethod 2023-01-26 19:42:52 +00:00
parent fe001b6ffe
commit 8c9a8933b2

View File

@ -315,7 +315,7 @@ still allow people to get their work done."
%endif
%depend [deb]
libc6, libpam0g, libpam-modules, zlib1g, libselinux1
libc6, libpam0g, libpam-modules, zlib1g, libapparmor1
%fixup [deb]
# Add Conflicts, Replaces headers and add libldap dependency as needed.