Summary: A privileged helper for utmp/wtmp updates. Name: utempter Version: 0.5.3 Release: 2 License: MIT/LGPL Group: System Environment/Base Source: utempter-%{version}.tar.gz Prereq: /usr/sbin/groupadd, /sbin/ldconfig, fileutils BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Utempter is a utility which allows some non-privileged programs to have required root access without compromising system security. Utempter accomplishes this feat by acting as a buffer between root and the programs. %prep %setup -q %build make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make PREFIX=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %pre %{_sbindir}/groupadd -g 22 -r -f utmp %post /sbin/ldconfig if [ -f /var/log/wtmp ]; then chown root.utmp /var/log/wtmp chmod 664 /var/log/wtmp fi if [ -f /var/run/utmp ]; then chown root.utmp /var/run/utmp chmod 664 /var/run/utmp fi %postun -p /sbin/ldconfig %files %defattr(-,root,root) %attr(02755, root, utmp) %{_sbindir}/utempter %doc COPYING %{_libdir}/libutempter.so* %{_includedir}/utempter.h %changelog * Thu Jun 05 2003 Elliot Lee - rebuilt * Fri May 30 2003 Mike A. Harris 0.5.3-1 - Bump version and release and rebuild to strip debug info into .debuginfo package, as the Red Hat Linux 9 package shipped unstripped (#91664) - Updated license field to reflect dual license MIT style + LGPL - Changed spec file Copyright tag to proper License tag - Removed stupid crackrock "version" macro define * Tue Feb 18 2003 Matt Wilson 0.5.2-16 - get the second SIGCHLD SIG_IGN case too (#84571) * Tue Feb 11 2003 Bill Nottingham 0.5.2-15 - don't set SIGCHLD handler to SIG_IGN and then wait * Tue Feb 04 2003 Florian La Roche - add symlink to shared lib - internal sync * Tue Oct 8 2002 Mike A. Harris 0.5.2-12 - All-arch rebuild - Removed dumb usage of {version} in Version: tag * Thu Sep 5 2002 Mike A. Harris 0.5.2-11hammer - Updated BuildRoot line to meet Red Hat standards - Updated filelist to use rpm macros for _libdir, etc. - Added comment to top of specfile to remind people to check utempter changes into CVS, since utempter IS managed by CVS afterall... I will fix the missing bits in CVS soon once the package is reassigned to me - Added 'LIBDIR=%{_libdir}' to make commandline for proper x86_64 build - Added libdir patch to Makefile * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu Jun 20 2002 Elliot Lee 0.5.2-9 - Don't strip binary * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Thu Jul 13 2000 Prospector - automatic rebuild * Sat Jun 17 2000 Matt Wilson - defattr root * Thu Feb 24 2000 Erik Troan - added LGPL notice * Mon Sep 13 1999 Bill Nottingham - strip utempter * Mon Aug 30 1999 Bill Nottingham - add utmp as group 22 * Fri Jun 4 1999 Jeff Johnson - ignore SIGCHLD while processing utmp.