This is a minor update to the latest available version of sudo.
* Replace hardcoded path.
* Drop SELinux support.
Fixes #11230.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
###############################################################################
name = sudo
-version = 1.8.17p1
+version = 1.8.18p1
release = 1
groups = Applications/System
requires
audit-devel
cyrus-sasl-devel
- libselinux-devel
openldap-devel
pam-devel
end
--with-logfac=authpriv \
--with-pam \
--with-pam-login \
- --with-editor=/usr/bin/vi \
+ --with-editor=%{bindir}/vi \
--with-env-editor \
--with-ignore-dot \
--with-tty-tickets \
--with-ldap \
--with-passprompt="[sudo] password for %p: " \
- --with-selinux \
--with-linux-audit
install_cmds
mkdir -pv %{BUILDROOT}/etc
- cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}/etc/sudoers
+ cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}%{sysconfdir}/sudoers
end
end
groups += Base
configfiles
- /etc/sudoers
+ %{sysconfdir}/sudoers
end
end