Package: sudo Version: 1.8.3p1-2 Severity: wishlist Tags: patch sudo has integrated support for doing SELinux role/domain changes, but that needs to be enabled at build-time. libselinux1 is already priority:required, so it doesn't even bloat the system.
Attached patch makes dpkg-buildpackage produce a working executable on my systems, but I have no buildd experience. Regards, Arno -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (900, 'stable'), (300, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sudo depends on: ii libc6 2.13-24 ii libpam-modules 1.1.3-6 ii libpam0g 1.1.3-6 sudo recommends no packages. sudo suggests no packages. -- Configuration Files: /etc/sudoers [Errno 13] Permission denied: u'/etc/sudoers' /etc/sudoers.d/README [Errno 13] Permission denied: u'/etc/sudoers.d/README' -- no debconf information
diff -aur debian~/control debian/control --- debian~/control 2012-01-11 20:02:02.299672989 +0100 +++ debian/control 2012-01-11 20:03:02.745452877 +0100 @@ -2,7 +2,7 @@ Section: admin Priority: optional Maintainer: Bdale Garbee <bd...@gag.com> -Build-Depends: debhelper (>= 7), libpam0g-dev, libldap2-dev, libsasl2-dev, autotools-dev, bison, flex +Build-Depends: debhelper (>= 7), libpam0g-dev, libldap2-dev, libsasl2-dev, libselinux1-dev, autotools-dev, bison, flex Standards-Version: 3.9.2 Vcs-Git: git://git.gag.com/debian/sudo Vcs-Browser: http://git.gag.com/?p=debian/sudo diff -aur debian~/rules debian/rules --- debian~/rules 2012-01-11 20:02:19.865865514 +0100 +++ debian/rules 2012-01-11 19:46:01.426327411 +0100 @@ -20,7 +20,7 @@ mkdir -p build-simple cd build-simple && NROFFPROG=/usr/bin/nroff $(CURDIR)/configure \ --prefix=/usr -v \ - --with-all-insults \ + --with-all-insults --with-selinux \ --with-pam \ --with-fqdn \ --with-logging=syslog \