The attached patch adds a line to the rpmtool invocation to set
the ownership of %{l_prefix}/var/sudo to root. This is necessary
as sudo won't work properly if it's owned by anybody but root.
This patch is against the Release 2.2 package.
Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``Capitalism works primarily because most of the ways that a company can be
scum end up being extremely bad for business when there's working
competition.'' -rra
--- sudo.spec.orig 2004-10-18 03:53:41.000000000 -0700
+++ sudo.spec 2004-11-03 11:58:47.000000000 -0800
@@ -34,7 +34,7 @@
Group: System
License: BSD
Version: 1.6.8p1
-Release: 2.2.0
+Release: 20041103
# package options
%option with_fsl yes
@@ -148,6 +148,7 @@
'%attr(4111,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/sudo' \
'%attr(4111,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/sudoedit' \
'%attr(0111,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/visudo' \
+ '%attr(0700,%{l_susr},%{l_mgrp}) %dir %{l_prefix}/var/sudo' \
'%config %attr(0400,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sudo/sudoers'
%files -f files