Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
name = sudo
version = 1.9.12p1
-release = 2
+release = 3
groups = Applications/System
url = https://www.sudo.ws/
end
install_cmds
+ # Create sudoers config file.
mkdir -pv %{BUILDROOT}%{sysconfdir}
cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}%{sysconfdir}/sudoers
- # Do not ship /run
+ # Do not ship /run.
rm -rvf %{BUILDROOT}/run
+
+ # Fix library permissions.
+ find %{BUILDROOT}%{libdir}/%{name} -type f -iname "*.so" -exec chmod 755 {} \;
+
end
end