auto-import changelog data from sudo-1.6.3-4.src.rpm
Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Tue Jun 06 2000 Karsten Hopp <karsten@redhat.de> - fixed owner of sudo and visudo Thu Jun 01 2000 Nalin Dahyabhai <nalin@redhat.com> - modify PAM setup to use system-auth - clean up buildrooting by using the makeinstall macro Tue Apr 11 2000 Bernhard Rosenkraenzer <bero@redhat.com> - initial build in main distrib - update to 1.6.3 - deal with compressed man pages Tue Dec 14 1999 Preston Brown <pbrown@redhat.com> - updated to 1.6.1 for Powertools 6.2 - config files are now noreplace. Thu Jul 22 1999 Tim Powers <timp@redhat.com> - updated to 1.5.9p2 for Powertools 6.1 Wed May 12 1999 Bill Nottingham <notting@redhat.com> - sudo is configured with pam. There's no pam.d file. Oops. Mon Apr 26 1999 Preston Brown <pbrown@redhat.com> - upgraded to 1.59p1 for powertools 6.0 Tue Oct 27 1998 Preston Brown <pbrown@redhat.com> - fixed so it doesn't find /usr/bin/vi first, but instead /bin/vi (always installed) Thu Oct 08 1998 Michael Maher <mike@redhat.com> - built package for 5.2 Mon May 18 1998 Michael Maher <mike@redhat.com> - updated SPEC file. Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com> - updated to 1.5.4 Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com> - built for glibc, no problems Fri Apr 25 1997 Michael Fulbright <msf@redhat.com> - Fixed for 4.2 PowerTools - Still need to be pamified - Still need to move stmp file to /var/log Mon Feb 17 1997 Michael Fulbright <msf@redhat.com> - First version for PowerCD.
This commit is contained in:
parent
e1bbbfc936
commit
3703e230c8
@ -0,0 +1 @@
|
||||
sudo-1.6.3.tar.gz
|
121
sudo.spec
Normal file
121
sudo.spec
Normal file
@ -0,0 +1,121 @@
|
||||
Summary: Allows restricted root access for specified users.
|
||||
Name: sudo
|
||||
Version: 1.6.3
|
||||
Release: 4
|
||||
Copyright: BSD
|
||||
Group: Applications/System
|
||||
Source: http://www.courtesan.com/sudo/dist/sudo-%{version}.tar.gz
|
||||
URL: http://www.courtesan.com/sudo/
|
||||
BuildRoot: /var/tmp/%{name}-root
|
||||
Requires: /etc/pam.d/system-auth
|
||||
|
||||
%description
|
||||
Sudo (superuser do) allows a system administrator to give certain
|
||||
users (or groups of users) the ability to run some (or all) commands
|
||||
as root while logging all commands and arguments. Sudo operates on a
|
||||
per-command basis. It is not a replacement for the shell. Features
|
||||
include: the ability to restrict what commands a user may run on a
|
||||
per-host basis, copious logging of each command (providing a clear
|
||||
audit trail of who did what), a configurable timeout of the sudo
|
||||
command, and the ability to use the same configuration file (sudoers)
|
||||
on many different machines.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-logging=syslog \
|
||||
--with-logfac=authpriv \
|
||||
--with-pam \
|
||||
--with-editor=/bin/vi \
|
||||
--with-env-editor \
|
||||
--with-ignore-dot \
|
||||
--with-tty-tickets
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir $RPM_BUILD_ROOT
|
||||
%{makeinstall} install_uid=`id -u` install_gid=`id -g` sudoers_uid=`id -u` sudoers_gid=`id -g`
|
||||
chmod 755 $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_sbindir}/*
|
||||
install -d -m 700 $RPM_BUILD_ROOT/var/run/sudo
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
|
||||
cat > $RPM_BUILD_ROOT/etc/pam.d/sudo << EOF
|
||||
#%PAM-1.0
|
||||
auth required /lib/security/pam_stack.so service=system-auth
|
||||
account required /lib/security/pam_stack.so service=system-auth
|
||||
password required /lib/security/pam_stack.so service=system-auth
|
||||
session required /lib/security/pam_stack.so service=system-auth
|
||||
EOF
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc BUGS CHANGES FAQ HISTORY README RUNSON TODO TROUBLESHOOTING *.pod
|
||||
%config(noreplace) /etc/sudoers
|
||||
%config(noreplace) /etc/pam.d/sudo
|
||||
%dir /var/run/sudo
|
||||
%attr(4111,root,root) %{_bindir}/sudo
|
||||
%attr(0755,root,root) %{_sbindir}/visudo
|
||||
%{_mandir}/man5/sudoers.5*
|
||||
%{_mandir}/man8/sudo.8*
|
||||
%{_mandir}/man8/visudo.8*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Tue Jun 06 2000 Karsten Hopp <karsten@redhat.de>
|
||||
- fixed owner of sudo and visudo
|
||||
|
||||
* Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- modify PAM setup to use system-auth
|
||||
- clean up buildrooting by using the makeinstall macro
|
||||
|
||||
* Tue Apr 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- initial build in main distrib
|
||||
- update to 1.6.3
|
||||
- deal with compressed man pages
|
||||
|
||||
* Tue Dec 14 1999 Preston Brown <pbrown@redhat.com>
|
||||
- updated to 1.6.1 for Powertools 6.2
|
||||
- config files are now noreplace.
|
||||
|
||||
* Thu Jul 22 1999 Tim Powers <timp@redhat.com>
|
||||
- updated to 1.5.9p2 for Powertools 6.1
|
||||
|
||||
* Wed May 12 1999 Bill Nottingham <notting@redhat.com>
|
||||
- sudo is configured with pam. There's no pam.d file. Oops.
|
||||
|
||||
* Mon Apr 26 1999 Preston Brown <pbrown@redhat.com>
|
||||
- upgraded to 1.59p1 for powertools 6.0
|
||||
|
||||
* Tue Oct 27 1998 Preston Brown <pbrown@redhat.com>
|
||||
- fixed so it doesn't find /usr/bin/vi first, but instead /bin/vi (always installed)
|
||||
|
||||
* Fri Oct 08 1998 Michael Maher <mike@redhat.com>
|
||||
- built package for 5.2
|
||||
|
||||
* Mon May 18 1998 Michael Maher <mike@redhat.com>
|
||||
- updated SPEC file.
|
||||
|
||||
* Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com>
|
||||
- updated to 1.5.4
|
||||
|
||||
* Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com>
|
||||
- built for glibc, no problems
|
||||
|
||||
* Fri Apr 25 1997 Michael Fulbright <msf@redhat.com>
|
||||
- Fixed for 4.2 PowerTools
|
||||
- Still need to be pamified
|
||||
- Still need to move stmp file to /var/log
|
||||
|
||||
* Mon Feb 17 1997 Michael Fulbright <msf@redhat.com>
|
||||
- First version for PowerCD.
|
||||
|
Loading…
Reference in New Issue
Block a user