Compare commits

..

8 Commits

Author SHA1 Message Date
cvsdist 6965ad1ab5 auto-import changelog data from usermode-1.46-1s.1.src.rpm
Tue Mar 18 2003 D. Marlin <dmarlin@redhat.com>
- new s390 release number and rebuild for s390 (bug #85960)
2004-09-09 13:55:57 +00:00
cvsdist 30eab18de7 auto-import changelog data from usermode-1.46-1.src.rpm
Fri Nov 09 2001 Nalin Dahyabhai <nalin@redhat.com> 1.46-1
- restore the previous XAUTHORITY setting before opening PAM sessions
Fri Nov 02 2001 Nalin Dahyabhai <nalin@redhat.com> 1.45-1
- propagate environment variables from libpam to applications
Wed Oct 03 2001 Nalin Dahyabhai <nalin@redhat.com> 1.44-1
- only try to call gtk_main_quit() if we've got a loop to get out of
    (#54109)
- obey RPM_OPT_FLAGS, obey
2004-09-09 13:55:27 +00:00
cvsdist 8f20f7cc1a auto-import changelog data from usermode-1.43-1.src.rpm
Tue Aug 28 2001 Trond Eivind Glomsr?d <teg@redhat.com> 1.43-1
- Update translations
2004-09-09 13:54:35 +00:00
cvsdist a467c40586 auto-import changelog data from usermode-1.42-3.src.rpm
Mon Aug 06 2001 Nalin Dahyabhai <nalin@redhat.com>
- add build requirements on glib-devel, gtk+-devel, pam-devel (#49726)
2004-09-09 13:54:20 +00:00
cvsdist 7d3d116027 auto-import changelog data from usermode-1.42-2.src.rpm
Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
2004-09-09 13:54:11 +00:00
cvsdist 8e1c33a7eb auto-import changelog data from usermode-1.42-1.src.rpm
Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
- final translation merge.
Wed Feb 14 2001 Nalin Dahyabhai <nalin@redhat.com>
- clear the supplemental groups list before running binaries as root
    (#26851)
Wed Feb 07 2001 Nalin Dahyabhai <nalin@redhat.com>
- set XAUTHORITY if we fall back to regular behavior (#26343)
- make the suid helper 04711 instead of 04755
Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com>
- refresh translations
Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
- use lang finding script.
Thu Jan 25 2001 Yukihiro Nakai <ynakai@redhat.com>
- Some fix for Japanese environment.
- Use gtk_set_locale() instead of setlocale()
- Copyright update.
Sun Jan 07 2001 Yukihiro Nakai <ynakai@redhat.com>
- Add gettextized
2004-09-09 13:53:53 +00:00
cvsdist 60c5728d59 auto-import changelog data from usermode-1.37-2.src.rpm
Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix segfault in userhelper (#20027)
Tue Oct 24 2000 Nalin Dahyabhai <nalin@redhat.com>
- /sbin/shutdown, not /usr/sbin/shutdown (#19034)
2004-09-09 13:53:25 +00:00
cvsdist 464b59f836 auto-import changelog data from usermode-1.36-3.src.rpm
Fri Oct 06 2000 Nalin Dahyabhai <nalin@redhat.com>
- don't pass on arguments to halt and reboot, because they error out
Thu Oct 05 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix the /usr/bin/shutdown wrapper so that root can call shutdown
- only include the /usr/bin/shutdown wrapper on 6.x
- also sanitize LC_MESSAGES
- tweak sanitizing checks (from mkj)
Wed Oct 04 2000 Jakub Jelinek <jakub@redhat.com>
- fix a security bug with LC_ALL/LANG variables (#18046)
Mon Aug 28 2000 Nalin Dahyabhai <nalin@redhat.com>
- mark defined strings translateable (#17006)
2004-09-09 13:53:05 +00:00
3 changed files with 90 additions and 20 deletions
+1 -1
View File
@@ -1 +1 @@
usermode-1.35.tar.bz2
usermode-1.46.tar.bz2
+1 -1
View File
@@ -1 +1 @@
b4d2030313b42cee7d340957f12d75ca usermode-1.35.tar.bz2
8878f3c450fb4d56f0a9261d7cab8bf5 usermode-1.46.tar.bz2
+88 -18
View File
@@ -1,29 +1,27 @@
%define build6x 0
Summary: Graphical tools for certain user account management tasks.
Name: usermode
Version: 1.35
Release: 2
Copyright: GPL
Version: 1.46
Release: 1s.1
License: GPL
Group: Applications/System
Source: usermode-%{PACKAGE_VERSION}.tar.bz2
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
%endif
Conflicts: SysVinit < 2.74-14
BuildRoot: %{_tmppath}/usermode-root
BuildPrereq: glib-devel, gtk+-devel, pam-devel
BuildRoot: %{_tmppath}/%{name}-root
%description
The usermode package contains several graphical tools for users:
userinfo, usermount and userpasswd. Userinfo allows users to change
their finger information. Usermount lets users mount, unmount, and
format filesystems. Userpasswd allows users to change their
userinfo, usermount, and userpasswd. Userinfo allows users to change
their finger information. Usermount lets users mount, unmount, and
format filesystems. Userpasswd allows users to change their
passwords.
Install the usermode package if you would like to provide users with
graphical tools for certain account management tasks.
%prep
%setup -q
@@ -43,12 +41,12 @@ make PREFIX=$RPM_BUILD_ROOT \
# place....
mkdir -p $RPM_BUILD_ROOT/etc/pam.d $RPM_BUILD_ROOT/etc/security/console.apps
for wrapapp in halt reboot poweroff ; do
ln -sf consolehelper $RPM_BUILD_ROOT/usr/bin/$wrapapp
touch $RPM_BUILD_ROOT/etc/security/console.apps/$wrapapp
ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/${wrapapp}
touch $RPM_BUILD_ROOT/etc/security/console.apps/${wrapapp}
%if %{build6x}
cp shutdown.pamd.6x $RPM_BUILD_ROOT/etc/pam.d/$wrapapp
cp shutdown.pamd.6x $RPM_BUILD_ROOT/etc/pam.d/${wrapapp}
%else
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/$wrapapp
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrapapp}
%endif
done
@@ -57,16 +55,18 @@ install -m755 shutdown $RPM_BUILD_ROOT%{_bindir}/
# Strip it!
strip $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_sbindir}/* || :
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/usermount
%{_mandir}/man1/usermount.1*
%{_bindir}/userinfo
%{_mandir}/man1/userinfo.1*
%attr(4755,root,root) /usr/sbin/userhelper
%attr(4711,root,root) /usr/sbin/userhelper
%{_mandir}/man8/userhelper.8*
%{_bindir}/userpasswd
%{_mandir}/man1/userpasswd.1*
@@ -77,9 +77,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/halt
%{_bindir}/reboot
%{_bindir}/poweroff
%if %{build6x}
%{_bindir}/shutdown
%endif
%{_datadir}/pixmaps/*
%{_datadir}/locale/*/*/*
%config(noreplace) /etc/pam.d/halt
%config(noreplace) /etc/pam.d/reboot
%config(noreplace) /etc/pam.d/poweroff
@@ -87,7 +88,76 @@ rm -rf $RPM_BUILD_ROOT
%config(missingok) /etc/security/console.apps/reboot
%config(missingok) /etc/security/console.apps/poweroff
# 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 Mar 18 2003 D. Marlin <dmarlin@redhat.com>
- new s390 release number and rebuild for s390 (bug #85960)
* Fri Nov 9 2001 Nalin Dahyabhai <nalin@redhat.com> 1.46-1
- restore the previous XAUTHORITY setting before opening PAM sessions
* Fri Nov 2 2001 Nalin Dahyabhai <nalin@redhat.com> 1.45-1
- propagate environment variables from libpam to applications
* Fri Oct 3 2001 Nalin Dahyabhai <nalin@redhat.com> 1.44-1
- only try to call gtk_main_quit() if we've got a loop to get out of (#54109)
- obey RPM_OPT_FLAGS, obey
* Tue Aug 28 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.43-1
- Update translations
* Mon Aug 6 2001 Nalin Dahyabhai <nalin@redhat.com>
- add build requirements on glib-devel, gtk+-devel, pam-devel (#49726)
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
- final translation merge.
* Wed Feb 14 2001 Nalin Dahyabhai <nalin@redhat.com>
- clear the supplemental groups list before running binaries as root (#26851)
* Wed Feb 7 2001 Nalin Dahyabhai <nalin@redhat.com>
- set XAUTHORITY if we fall back to regular behavior (#26343)
- make the suid helper 04711 instead of 04755
* Mon Feb 5 2001 Nalin Dahyabhai <nalin@redhat.com>
- refresh translations
* Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
- use lang finding script.
* Thu Jan 25 2001 Yukihiro Nakai <ynakai@redhat.com>
- Some fix for Japanese environment.
- Use gtk_set_locale() instead of setlocale()
- Copyright update.
* Sun Jan 7 2001 Yukihiro Nakai <ynakai@redhat.com>
- Add gettextized
* Thu Nov 2 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix segfault in userhelper (#20027)
* Tue Oct 24 2000 Nalin Dahyabhai <nalin@redhat.com>
- /sbin/shutdown, not /usr/sbin/shutdown (#19034)
* Fri Oct 6 2000 Nalin Dahyabhai <nalin@redhat.com>
- don't pass on arguments to halt and reboot, because they error out
* Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix the /usr/bin/shutdown wrapper so that root can call shutdown
- only include the /usr/bin/shutdown wrapper on 6.x
- also sanitize LC_MESSAGES
- tweak sanitizing checks (from mkj)
* Wed Oct 4 2000 Jakub Jelinek <jakub@redhat.com>
- fix a security bug with LC_ALL/LANG variables (#18046)
* Mon Aug 28 2000 Nalin Dahyabhai <nalin@redhat.com>
- mark defined strings translateable (#17006)
* Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix incorrect user name
- add a shell wrapper version of /usr/bin/shutdown