being run as root.
* citadel.spec: chmod u+s chkpwd during %install stage
+1999-07-17 Nathan Bryant <bryant@cs.usm.maine.edu>
+ * chkpwd.c: DELETED CVS REVISION 1.3 (backed out Art's last change)
+ use 'cvs update -r 1.2 chkpwd.c; cvs update -A chkpwd.c' NOW to
+ avoid problems with working directories.
+ * Makefile.in: don't install chkpwd setuid if make install isn't
+ being run as root.
+ * citadel.spec: chmod u+s chkpwd during %install stage
+
Fri Jul 16 18:39:04 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* PEXP and GEXP no longer trip the idle time display
* Fixed bug which duplicated incoming private mail to Trashcan
$(INSTALL) $$i $(root)$(prefix)/$$i; \
fi \
done
- @if test -f $(root)$(prefix)/chkpwd; then \
+ @if test x`find $(root)$(prefix)/chkpwd -user root` = x$(root)$(prefix)/chkpwd; then \
echo chmod u+s $(root)$(prefix)/chkpwd; \
chmod u+s $(root)$(prefix)/chkpwd; \
fi
find $RPM_BUILD_ROOT/usr/local/citadel -type d | sed "s|$RPM_BUILD_ROOT|%dir |" > filelist
find $RPM_BUILD_ROOT -type f | egrep -v '(citadel\.rc|public_clients|/help/|/messages/|/network/)' | sed "s|$RPM_BUILD_ROOT||" >> filelist
find $RPM_BUILD_ROOT -type f | egrep '(citadel\.rc|public_clients|/help/|/messages/|/network/)' | sed "s|$RPM_BUILD_ROOT|%config |" >> filelist
+chmod u+s $RPM_BUILD_ROOT/usr/local/citadel/chkpwd
%clean
rm -rf "$RPM_BUILD_ROOT"