Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc2a5cf9ce | |||
| 29053aed89 | |||
| bd0a47d2d6 | |||
| 8158713524 | |||
| 1b7e004d7f | |||
| 19708d230b | |||
| 9f5805d228 | |||
| 7403fbcc67 | |||
| d45f30fb84 |
+2
-1
@@ -1 +1,2 @@
|
||||
usermode-1.69-4.tar.gz
|
||||
usermode-1.71-1.tar.gz
|
||||
usermode-1.71-2.tar.gz
|
||||
|
||||
@@ -1 +1 @@
|
||||
6d2ad6152aec78365dcc85f678d538d0 usermode-1.69-4.tar.gz
|
||||
5d67635450424c583e9770d50ec808cd usermode-1.71-2.tar.gz
|
||||
|
||||
+46
-9
@@ -1,15 +1,16 @@
|
||||
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
||||
%define WITH_SELINUX 1
|
||||
%define WITH_SELINUX 0
|
||||
%endif
|
||||
|
||||
%define build6x 0
|
||||
Summary: Tools for certain user account management tasks.
|
||||
Name: usermode
|
||||
Version: 1.69
|
||||
Release: 4
|
||||
Version: 1.71
|
||||
Release: 2
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Source: usermode-%{version}-%{release}.tar.gz
|
||||
Patch0: usermode-mkfs.patch
|
||||
%if %{build6x}
|
||||
Requires: util-linux, pam >= 0.66-5
|
||||
%else
|
||||
@@ -18,6 +19,9 @@ Requires: util-linux, pam >= 0.75-37, /etc/pam.d/system-auth
|
||||
Conflicts: SysVinit < 2.74-14
|
||||
BuildPrereq: desktop-file-utils, glib2-devel, gtk2-devel
|
||||
BuildPrereq: libglade2-devel, libuser-devel, pam-devel, util-linux
|
||||
%if %{WITH_SELINUX}
|
||||
BuildPrereq: libselinux-devel
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
%package gtk
|
||||
@@ -43,6 +47,8 @@ graphical tools for certain account management tasks.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-%{release}
|
||||
|
||||
%patch0 -p1 -b .mkfs
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%if %{WITH_SELINUX}
|
||||
@@ -67,9 +73,6 @@ for wrappedapp in halt reboot poweroff ; do
|
||||
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
|
||||
%endif
|
||||
done
|
||||
%if %{WITH_SELINUX}
|
||||
install -m644 userhelper_context $RPM_BUILD_ROOT/etc/security
|
||||
%endif
|
||||
%if ! %{build6x}
|
||||
rm -f $RPM_BUILD_ROOT/%{_bindir}/shutdown
|
||||
%endif
|
||||
@@ -98,9 +101,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config /etc/security/console.apps/halt
|
||||
%config /etc/security/console.apps/reboot
|
||||
%config /etc/security/console.apps/poweroff
|
||||
%if %{WITH_SELINUX}
|
||||
%config /etc/security/userhelper_context
|
||||
%endif
|
||||
|
||||
%files gtk
|
||||
%defattr(-,root,root)
|
||||
@@ -117,6 +117,43 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/applications/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 20 2004 Jindrich Novy <jnovy@redhat.com> 1.71-2
|
||||
- added "-I" option to mkfs in the .mkfs patch (#117793)
|
||||
|
||||
* Thu Aug 26 2004 Alexander Larsson <alexl@redhat.com> - 1.71-1
|
||||
- consolehelper: work if root is readonly
|
||||
|
||||
* Mon Jul 12 2004 Dan Walsh <dwalsh@redhat.com> 1.70-8
|
||||
- Additional diffs from NSA
|
||||
- Clean up comments
|
||||
|
||||
* Thu Jul 8 2004 Dan Walsh <dwalsh@redhat.com> 1.70-7
|
||||
- More fixes for SELinux. roll back to only use root for auth.
|
||||
- Add getenforce checks
|
||||
- Add root_passwd check
|
||||
|
||||
* Tue Jul 1 2004 Dan Walsh <dwalsh@redhat.com> 1.70-6
|
||||
- More fixes to make targeted policy work correctly
|
||||
|
||||
* Tue Jul 1 2004 Dan Walsh <dwalsh@redhat.com> 1.70-5
|
||||
- Fix to use root if user not defined
|
||||
|
||||
* Tue May 25 2004 Dan Walsh <dwalsh@redhat.com> 1.70-4
|
||||
- Support new policy files
|
||||
|
||||
* Thu May 20 2004 Dan Walsh <dwalsh@redhat.com> 1.70-3
|
||||
- Change user context to default name if username context not in passwd file
|
||||
|
||||
* Thu Apr 1 2004 Dan Walsh <dwalsh@redhat.com> 1.70-1
|
||||
- Change user context to "root" if username context "user_t" not in passwd file
|
||||
|
||||
* Wed Mar 31 2004 Nalin Dahyabhai <nalin@redhat.com> 1.70-1
|
||||
- fix accidental mixup of role and type setting up new selinux context
|
||||
- log the new selinux context if we're running an app in a new selinux context
|
||||
|
||||
* Sat Feb 21 2004 Dan Walsh <dwalsh@redhat.com> 1.69-5
|
||||
- Change to fall back to root auth if selinux user does not exist
|
||||
|
||||
* Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 1.69-4
|
||||
- fix call to is_selinux_enabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user