Compare commits

..

17 Commits

Author SHA1 Message Date
Jindrich Novy fc2a5cf9ce - added .mkfs patch 2004-09-21 08:16:07 +00:00
cvsdist 29053aed89 auto-import changelog data from usermode-1.71-1.src.rpm
Thu Aug 26 2004 Alexander Larsson <alexl@redhat.com> - 1.71-1
- consolehelper: work if root is readonly
2004-09-09 14:02:40 +00:00
cvsdist bd0a47d2d6 auto-import changelog data from usermode-1.70-8.src.rpm
Mon Jul 12 2004 Dan Walsh <dwalsh@redhat.com> 1.70-8
- Additional diffs from NSA
- Clean up comments
2004-09-09 14:02:14 +00:00
cvsdist 8158713524 auto-import changelog data from usermode-1.70-7.src.rpm
Thu Jul 08 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
2004-09-09 14:01:36 +00:00
cvsdist 1b7e004d7f auto-import usermode-1.70-6 from usermode-1.70-6.src.rpm 2004-09-09 14:01:25 +00:00
cvsdist 19708d230b auto-import changelog data from usermode-1.70-5.src.rpm
Thu Jul 01 2004 Dan Walsh <dwalsh@redhat.com> 1.70-5
- Fix to use root if user not defined
2004-09-09 14:01:21 +00:00
cvsdist 9f5805d228 auto-import changelog data from usermode-1.70-4.src.rpm
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
2004-09-09 14:00:45 +00:00
cvsdist 7403fbcc67 auto-import changelog data from usermode-1.70-2.src.rpm
Thu Apr 01 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
2004-09-09 14:00:33 +00:00
cvsdist d45f30fb84 auto-import changelog data from usermode-1.69-5.src.rpm
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
2004-09-09 13:59:36 +00:00
cvsdist 677b49c212 auto-import changelog data from usermode-1.69-4.src.rpm
Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 1.69-4
- fix call to is_selinux_enabled
Mon Dec 08 2003 Nalin Dahyabhai <nalin@redhat.com>
- fix warning in userinfo which would cause random early exit (#111409)
- clean up warnings
Tue Nov 25 2003 Dan Walsh <dwalsh@redhat.com> 1.69-3.sel
- Fix handling of roles from console file
Fri Nov 14 2003 Nalin Dahyabhai <nalin@redhat.com>
- don't disable use of deprecated GLib and GTK+ APIs, reported by the
    mysterious Pierre-with-no-last-name
Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 1.69-2.sel
- Turn on sleinux
2004-09-09 13:59:06 +00:00
cvsdist 39c598198f auto-import changelog data from usermode-1.69-1.src.rpm
Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 1.69-1
- all around: cleanups
- consolehelper: coalesce multiple messages from PAM again
- usermount: handle user-not-allowed-to-control-mounts error correctly
    (#100457)
- userhelper: trim off terminating commas when changing chfn info
Mon Oct 06 2003 Dan Walsh <dwalsh@redhat.com> 1.68-8
Wed Oct 1 2003 Dan Walsh <dwalsh@redhat.com> 1.68-7.sel
- Fix to use /etc instead of /usr/etc
Thu Sep 25 2003 Dan Walsh <dwalsh@redhat.com> 1.68-6.sel
- turn on selinux
- add default userhelper context file
Thu Sep 25 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-6
- make selinux a configure option to avoid screwing with makefiles
Thu Sep 25 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-5
- rebuild
Mon Sep 08 2003 Dan Walsh <dwalsh@redhat.com> 1.68-4
- turn off selinux
Fri Sep 05 2003 Dan Walsh <dwalsh@redhat.com> 1.68-3.sel
- turn on selinux
Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1.68-2
- Add SELinux support
Wed Apr 16 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-1
- update translations
- suppress the error dialog from user cancel
2004-09-09 13:58:53 +00:00
cvsdist b8a704d664 auto-import usermode-1.67-2 from usermode-1.67-2.src.rpm 2004-09-09 13:58:03 +00:00
cvsdist d14eecbbaf auto-import usermode-1.63-1 from usermode-1.63-1.src.rpm 2004-09-09 13:57:59 +00:00
cvsdist 3b8e78ae61 auto-import usermode-1.62-1 from usermode-1.62-1.src.rpm 2004-09-09 13:57:48 +00:00
cvsdist 7d1ecad376 auto-import usermode-1.61-1 from usermode-1.61-1.src.rpm 2004-09-09 13:57:21 +00:00
cvsdist 37f99cae90 auto-import usermode-1.60-1 from usermode-1.60-1.src.rpm 2004-09-09 13:56:50 +00:00
cvsdist 2e16fde7bc auto-import usermode-1.59-2 from usermode-1.59-2.src.rpm 2004-09-09 13:56:46 +00:00
3 changed files with 221 additions and 14 deletions
+2 -1
View File
@@ -1 +1,2 @@
usermode-1.53.tar.gz
usermode-1.71-1.tar.gz
usermode-1.71-2.tar.gz
+1 -1
View File
@@ -1 +1 @@
4510849ea395cb2f87ec79ccb30e21b5 usermode-1.53.tar.gz
5d67635450424c583e9770d50ec808cd usermode-1.71-2.tar.gz
+218 -12
View File
@@ -1,18 +1,27 @@
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
%define WITH_SELINUX 0
%endif
%define build6x 0
Summary: Tools for certain user account management tasks.
Name: usermode
Version: 1.53
Version: 1.71
Release: 2
License: GPL
Group: Applications/System
Source: usermode-%{version}.tar.gz
Source: usermode-%{version}-%{release}.tar.gz
Patch0: usermode-mkfs.patch
%if %{build6x}
Requires: util-linux, pam >= 0.66-5
%else
Requires: util-linux, pam >= 0.66-5, /etc/pam.d/system-auth
Requires: util-linux, pam >= 0.75-37, /etc/pam.d/system-auth
%endif
Conflicts: SysVinit < 2.74-14
BuildPrereq: glib2-devel, gtk2-devel, libglade2-devel, libuser-devel, pam-devel, util-linux
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
@@ -36,10 +45,16 @@ Install the usermode-gtk package if you would like to provide users with
graphical tools for certain account management tasks.
%prep
%setup -q
%setup -q -n %{name}-%{version}-%{release}
%patch0 -p1 -b .mkfs
%build
%configure
%configure \
%if %{WITH_SELINUX}
--with-selinux
%endif
make
%install
@@ -51,16 +66,17 @@ make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/pam.d $RPM_BUILD_ROOT/etc/security/console.apps
for wrappedapp in halt reboot poweroff ; do
ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/${wrappedapp}
touch $RPM_BUILD_ROOT/etc/security/console.apps/${wrappedapp}
install -m644 $wrappedapp $RPM_BUILD_ROOT/etc/security/console.apps/${wrappedapp}
%if %{build6x}
cp shutdown.pamd.6x $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
%else
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
%endif
done
%if ! %{build6x}
rm -f $RPM_BUILD_ROOT/%{_bindir}/shutdown
%endif
# Strip it! Strip it good!
strip $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_sbindir}/* || :
%find_lang %{name}
%clean
@@ -88,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
%files gtk
%defattr(-,root,root)
%config /etc/X11/applnk/System/*
%{_bindir}/usermount
%{_mandir}/man1/usermount.1*
%{_bindir}/userinfo
@@ -96,12 +111,203 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/userpasswd
%{_mandir}/man1/userpasswd.1*
%{_bindir}/consolehelper-gtk
%{_bindir}/pam-panel-icon
%{_datadir}/%{name}
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
# If you're updating translations, do me a favor and bump the RELEASE number,
# and not the VERSION number. Version numbers indicate CODE changes.
%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
* Mon Dec 8 2003 Nalin Dahyabhai <nalin@redhat.com>
- fix warning in userinfo which would cause random early exit (#111409)
- clean up warnings
* Tue Nov 25 2003 Dan Walsh <dwalsh@redhat.com> 1.69-3.sel
- Fix handling of roles from console file
* Fri Nov 14 2003 Nalin Dahyabhai <nalin@redhat.com>
- don't disable use of deprecated GLib and GTK+ APIs, reported by the
mysterious Pierre-with-no-last-name
* Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 1.69-2.sel
- Turn on sleinux
* Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 1.69-1
- all around: cleanups
- consolehelper: coalesce multiple messages from PAM again
- usermount: handle user-not-allowed-to-control-mounts error correctly (#100457)
- userhelper: trim off terminating commas when changing chfn info
* Mon Oct 6 2003 Dan Walsh <dwalsh@redhat.com> 1.68-8
* Wed Oct 1 2003 Dan Walsh <dwalsh@redhat.com> 1.68-7.sel
- Fix to use /etc instead of /usr/etc
* Thu Sep 25 2003 Dan Walsh <dwalsh@redhat.com> 1.68-6.sel
- turn on selinux
- add default userhelper context file
* Thu Sep 25 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-6
- make selinux a configure option to avoid screwing with makefiles
* Thu Sep 25 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-5
- rebuild
* Mon Sep 8 2003 Dan Walsh <dwalsh@redhat.com> 1.68-4
- turn off selinux
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 1.68-3.sel
- turn on selinux
* Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1.68-2
- Add SELinux support
* Wed Apr 16 2003 Nalin Dahyabhai <nalin@redhat.com> 1.68-1
- update translations
- suppress the error dialog from user cancel
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Feb 20 2003 Nalin Dahyabhai <nalin@redhat.com> 1.67-1
- work around GTK+ clearing DESKTOP_STARTUP_ID at gtk_init() time, so that
startup notification actually works (#84684)
* Wed Feb 19 2003 Nalin Dahyabhai <nalin@redhat.com> 1.66-1
- consolehelper-gtk: complete startup notification at startup
- userhelper: pass startup notification data to consolehelper-gtk
- consolehelper-gtk: setup startup notification for children if userhelper
requests it
* Mon Jan 27 2003 Nalin Dahyabhai <nalin@redhat.com> 1.65-2
- rebuild
* Mon Jan 20 2003 Nalin Dahyabhai <nalin@redhat.com> 1.65-1
- pass-through DESKTOP_STARTUP_ID
* Mon Jan 6 2003 Nalin Dahyabhai <nalin@redhat.com> 1.64-1
- set the requesting user PAM item to the invoking user's name (#81255)
* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.63-2
- remove directory names from PAM config files, allowing the same config
files to work for both arches on multilib boxes
- translation updates
* Wed Sep 4 2002 Nalin Dahyabhai <nalin@redhat.com> 1.63-1
- userhelper: swallow the exec'd program's exit status, which would be
misinterpreted by consolehelper anyway
* Tue Sep 3 2002 Nalin Dahyabhai <nalin@redhat.com> 1.62-1
- consolehelper: suppress dialog on successful execution
- userhelper: return 0 on success, not 1 (what was I *thinking*?)
* Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 1.61-1
- userinfo: exit properly on escape. handle site_info field properly. go
insensitive while running child process.
- userpasswd: exit properly on cancel.
- all of the above: reap the child instead of checking for pipe close -- this
way is more robust (#68578,72684).
- usermount: run mount/umount synchronously. capture stderr and display in a
dialog. desensitize action buttons when no filesystems are selected.
- consolehelper: display errors if we're attempting to run bogus programs
(#72127)
- translation updates (#70278)
* Wed Aug 14 2002 Nalin Dahyabhai <nalin@redhat.com> 1.60-1
- reconnect the "cancel" and "ok" buttons in userinfo
- heed the cancel button when prompting for passwords in userinfo (#68578)
- translation update
* Wed Aug 14 2002 Nalin Dahyabhai <nalin@redhat.com> 1.59-2
- change "forget password" to "forget authorization", because we don't actually
remember the password (that would be scary, #71476)
- translation update
* Tue Aug 13 2002 Nalin Dahyabhai <nalin@redhat.com> 1.59-1
- pam-panel-icon: overhaul, change the 'locked' icon to keyring-small, nix the
'unlocked' icon
- consolehelper-gtk: properly set up the dialog buttons (should be 'cancel/ok'
when we're asking questions, was always 'close')
- disappear pam_timestamp_init
* Wed Aug 7 2002 Nalin Dahyabhai <nalin@redhat.com> 1.58-2
- install the new 'unlocked' icon
* Tue Aug 6 2002 Jonathan Blandford <jrb@redhat.com>
- New version.
* Mon Aug 5 2002 Nalin Dahyabhai <nalin@redhat.com> 1.57-1
- add support for BANNER and BANNER_DOMAIN in the userhelper configuration
* Mon Aug 5 2002 Nalin Dahyabhai <nalin@redhat.com> 1.56-4
- mark strings in the .glade file as translatable (#70278)
- translation updates
* Wed Jul 31 2002 Nalin Dahyabhai <nalin@redhat.com> 1.56-3
- add icons for userpasswd and usermount
* Wed Jul 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.56-2
- actually include the icons
- translation updates
* Tue Jul 23 2002 Nalin Dahyabhai <nalin@redhat.com> 1.56-1
- userinfo: prevent users from selecting "nologin" as a shell (#68579)
- don't strip binaries by default; leave that to the buildroot policy
- use desktop-file-install
* Wed Jun 19 2002 Havoc Pennington <hp@redhat.com>
- put pam-panel-icon in file list
* Mon May 20 2002 Nalin Dahyabhai <nalin@redhat.com> 1.55-2
- don't strip binaries which have no special privileges
* Wed May 15 2002 Nalin Dahyabhai <nalin@redhat.com> 1.55-1
- remove the pixmap we don't use any more (we use stock pixmaps now)
- update translations
* Thu Apr 16 2002 Nalin Dahyabhai <nalin@redhat.com> 1.54-1
- suppress even error messages from Xlib when consolehelper calls
gtk_init_check() to see if the display is available
* Mon Apr 15 2002 Nalin Dahyabhai <nalin@redhat.com> 1.53-2
- refresh translations