Compare commits
36 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7dfd98933b | |||
| ea622475b0 | |||
| 59c19fb409 | |||
| 23baa38e8d | |||
| aab0623893 | |||
| 655d4331e2 | |||
| fee85cc9ad | |||
| 9062e42624 | |||
| 90b7e28bd4 | |||
| 618c2731a3 | |||
| b37d1ca3be | |||
| 9e32e323ec | |||
| 3fd9ba787f | |||
| 2b2e6b9b22 | |||
| 2a0b3c48b6 | |||
| 447e3e827a | |||
| 2bc1093b62 | |||
| 6feccc4f24 | |||
| a93647191f | |||
| fc2a5cf9ce | |||
| 29053aed89 | |||
| bd0a47d2d6 | |||
| 8158713524 | |||
| 1b7e004d7f | |||
| 19708d230b | |||
| 9f5805d228 | |||
| 7403fbcc67 | |||
| d45f30fb84 | |||
| 677b49c212 | |||
| 39c598198f | |||
| b8a704d664 | |||
| d14eecbbaf | |||
| 3b8e78ae61 | |||
| 7d1ecad376 | |||
| 37f99cae90 | |||
| 2e16fde7bc |
+9
-1
@@ -1 +1,9 @@
|
||||
usermode-1.53.tar.gz
|
||||
usermode-1.72.tar.gz
|
||||
usermode-1.73.tar.bz2
|
||||
usermode-1.74.tar.bz2
|
||||
usermode-1.75.tar.bz2
|
||||
usermode-1.76.tar.bz2
|
||||
usermode-1.77.tar.bz2
|
||||
usermode-1.78.tar.bz2
|
||||
usermode-1.79.tar.bz2
|
||||
usermode-1.80.tar.bz2
|
||||
|
||||
@@ -1 +1 @@
|
||||
4510849ea395cb2f87ec79ccb30e21b5 usermode-1.53.tar.gz
|
||||
46b55c4d1a5c879ca15b4445237a7e93 usermode-1.80.tar.bz2
|
||||
|
||||
+286
-12
@@ -1,18 +1,27 @@
|
||||
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
||||
%define WITH_SELINUX 1
|
||||
%endif
|
||||
|
||||
%define build6x 0
|
||||
Summary: Tools for certain user account management tasks.
|
||||
Name: usermode
|
||||
Version: 1.53
|
||||
Release: 2
|
||||
Version: 1.80
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Source: usermode-%{version}.tar.gz
|
||||
Source: usermode-%{version}.tar.bz2
|
||||
%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, passwd
|
||||
%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
|
||||
BuildPrereq: perl-XML-Parser
|
||||
%if %{WITH_SELINUX}
|
||||
BuildPrereq: libselinux-devel >= 1.17.13-2
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
%package gtk
|
||||
@@ -39,7 +48,12 @@ graphical tools for certain account management tasks.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure \
|
||||
%if %{WITH_SELINUX}
|
||||
--with-selinux
|
||||
%endif
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
@@ -51,16 +65,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 +103,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 +110,272 @@ 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
|
||||
* Wed May 11 2005 Jindrich Novy <jnovy@redhat.com> 1.80-1
|
||||
- fix "Unknown error" when password is mistyped in userpasswd (#135500)
|
||||
- add icons to windows for usermode-gtk applications (#155867)
|
||||
- add missing checks for some PAM error codes
|
||||
- fix ungettextized error message
|
||||
- update translations
|
||||
|
||||
* Tue Mar 15 2005 Matthias Clasen <mclasen@redhat.com> 1.79-2
|
||||
- rebuild against new libwnck
|
||||
|
||||
* Wed Mar 02 2005 Jindrich Novy <jnovy@rdhat.com> 1.79-1
|
||||
- fix problem with root passwords starting with space (#124980)
|
||||
|
||||
* Wed Feb 16 2005 Jindrich Novy <jnovy@rdhat.com> 1.78-2
|
||||
- add $RPM_OPT_FLAGS to CFLAGS
|
||||
|
||||
* Thu Jan 27 2005 Jindrich Novy <jnovy@redhat.com> 1.78-1
|
||||
- pam-panel-icon has popup menu to choose to forget/keep
|
||||
authentization by right clicking as usual for other panel applets (#75845)
|
||||
- fix race condition (#142254)
|
||||
|
||||
* Thu Jan 20 2005 Jindrich Novy <jnovy@redhat.com> 1.77-1
|
||||
- preserve LANGUAGE environment variable in userhelper (#82300)
|
||||
- use badge instead of keyring icon for pam-panel-icon (#122487)
|
||||
- icon is not showed in the panel when logged as root (#75234)
|
||||
- use new environment variable USERHELPER_UID to identify
|
||||
an user who executed an application via userhelper (#116186)
|
||||
|
||||
* Thu Dec 02 2004 Jindrich Novy <jnovy@redhat.com> 1.76-1
|
||||
- fix dependencies to Perl-XML-Parser #124170
|
||||
- use pamconsole instead of user in /etc/fstab to let
|
||||
usermount work with hal #139820
|
||||
|
||||
* Tue Nov 16 2004 Jindrich Novy <jnovy@redhat.com>
|
||||
- update libuser interface to libuser-0.6
|
||||
|
||||
* Wed Nov 10 2004 Jindrich Novy <jnovy@redhat.com> 1.75-1
|
||||
- make pam-panel-icon using localized strings (#138609)
|
||||
- update translations
|
||||
- fix usermount to use "-I" option only for vfat and msdos fs
|
||||
- fix Makefile.am to not to use "Release" from spec to name dist tarballs
|
||||
|
||||
* Wed Oct 20 2004 Jindrich Novy <jnovy@redhat.com> 1.74-1
|
||||
- add patch from Mathew Miller (mattdm@mattdm.org) to use
|
||||
own user's password instead of root's in authentization
|
||||
(the user must be a member of specific group to enable it)
|
||||
|
||||
* Mon Oct 04 2004 Jindrich Novy <jnovy@redhat.com> 1.73-1
|
||||
- add support to configure.in for more languages
|
||||
- update translations from upstream
|
||||
- generate build scripts by autogen.sh
|
||||
|
||||
* Tue Sep 28 2004 Rik van Riel <riel@redhat.com> 1.72-2
|
||||
- add dependency on passwd (bz #125010)
|
||||
- make sure the Release: isn't part of the path name and tarball name
|
||||
|
||||
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 1.72-1
|
||||
- remove X-Red-Hat-Base category from userinfo.desktop
|
||||
- fix `make distcheck'
|
||||
- use proper value types for Terminal keys in desktop entries
|
||||
- remove upstreamed mkfs patch
|
||||
|
||||
* Fri Sep 24 2004 Jindrich Novy <jnovy@redhat.com> 1.71-4
|
||||
- updated dependencies to SELinux
|
||||
|
||||
* Wed Sep 22 2004 Jindrich Novy <jnovy@redhat.com> 1.71-3
|
||||
- installation to Preferences/More Preferences as a request
|
||||
of Ray Strode (rstrode@redhat.com) and #131605
|
||||
|
||||
* 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user