don't use utmp for socket dir; use a dedicated 'screen' gid

epel9
Bill Nottingham 20 years ago
parent d52fdb8d29
commit 7dbb134093

@ -1,11 +1,11 @@
Summary: A screen manager that supports multiple logins on one terminal. Summary: A screen manager that supports multiple logins on one terminal.
Name: screen Name: screen
Version: 4.0.2 Version: 4.0.2
Release: 8 Release: 9
License: GPL2 License: GPL2
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/screen URL: http://www.gnu.org/software/screen
Prereq: /sbin/install-info Prereq: /sbin/install-info, /usr/sbin/groupadd
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: ncurses-devel texinfo pam-devel libtool BuildRequires: ncurses-devel texinfo pam-devel libtool
@ -145,6 +145,9 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%pre
/usr/sbin/groupadd -g 84 -r -f screen
%post %post
/sbin/install-info %{_infodir}/screen.info.gz %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer." /sbin/install-info %{_infodir}/screen.info.gz %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer."
@ -159,15 +162,18 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS README doc/FAQ doc/README.DOTSCREEN %doc NEWS README doc/FAQ doc/README.DOTSCREEN
%attr(2755,root,utmp) %{_bindir}/screen %attr(2755,root,screen) %{_bindir}/screen
%{_mandir}/man1/screen.* %{_mandir}/man1/screen.*
%{_infodir}/screen.info* %{_infodir}/screen.info*
%{_datadir}/screen/utf8encodings/* %{_datadir}/screen/utf8encodings/*
%attr(775,root,utmp) %{_localstatedir}/run/screen %attr(775,root,screen) %{_localstatedir}/run/screen
%config /etc/screenrc %config /etc/screenrc
%config /etc/pam.d/screen %config /etc/pam.d/screen
%changelog %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 * 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 - fix BR 150392 by implementing the setgid/utmp scheme for socket directory

Loading…
Cancel
Save