don't use utmp for socket dir; use a dedicated 'screen' gid
This commit is contained in:
parent
d52fdb8d29
commit
7dbb134093
14
screen.spec
14
screen.spec
@ -1,11 +1,11 @@
|
||||
Summary: A screen manager that supports multiple logins on one terminal.
|
||||
Name: screen
|
||||
Version: 4.0.2
|
||||
Release: 8
|
||||
Release: 9
|
||||
License: GPL2
|
||||
Group: Applications/System
|
||||
URL: http://www.gnu.org/software/screen
|
||||
Prereq: /sbin/install-info
|
||||
Prereq: /sbin/install-info, /usr/sbin/groupadd
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
BuildRequires: ncurses-devel texinfo pam-devel libtool
|
||||
|
||||
@ -145,6 +145,9 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -g 84 -r -f screen
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/screen.info.gz %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer."
|
||||
|
||||
@ -159,15 +162,18 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README doc/FAQ doc/README.DOTSCREEN
|
||||
|
||||
%attr(2755,root,utmp) %{_bindir}/screen
|
||||
%attr(2755,root,screen) %{_bindir}/screen
|
||||
%{_mandir}/man1/screen.*
|
||||
%{_infodir}/screen.info*
|
||||
%{_datadir}/screen/utf8encodings/*
|
||||
%attr(775,root,utmp) %{_localstatedir}/run/screen
|
||||
%attr(775,root,screen) %{_localstatedir}/run/screen
|
||||
%config /etc/screenrc
|
||||
%config /etc/pam.d/screen
|
||||
|
||||
%changelog
|
||||
* Fri May 27 2005 Bill Nottingham <notting@redhat.com> - 4.0.2-9
|
||||
- don't use utmp group for socket dir; use a dedicated screen gid
|
||||
|
||||
* Tue Mar 29 2005 Petr Rockai <prockai@redhat.com> - 4.0.2-8
|
||||
- fix BR 150392 by implementing the setgid/utmp scheme for socket directory
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user