Compare commits
32
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8df24764b5 | ||
|
|
871e941647 | ||
|
|
85a0972cac | ||
|
|
fc3e4de1fb | ||
|
|
76346b911b | ||
|
|
aa53392b50 | ||
|
|
da1e16cdee | ||
|
|
6984a6cdaa | ||
|
|
5ebd2b55e6 | ||
|
|
a17faee8fd | ||
|
|
e4aaf906a8 | ||
|
|
81f0589322 | ||
|
|
529d783670 | ||
|
|
c211b79f76 | ||
|
|
596b834c77 | ||
|
|
96a21d11bb | ||
|
|
6569117db5 | ||
|
|
4e359c182a | ||
|
|
665eabf8bd | ||
|
|
aa41e53d15 | ||
|
|
f3b5f64435 | ||
|
|
137e051740 | ||
|
|
9e1759cf00 | ||
|
|
124aec2cb3 | ||
|
|
c04cf117e9 | ||
|
|
b77212f16c | ||
|
|
bd4ba70e00 | ||
|
|
fbc8fe6c32 | ||
|
|
8e3b8943e9 | ||
|
|
87980c4de1 | ||
|
|
45adcfa66e | ||
|
|
621260e65e |
@@ -6,3 +6,7 @@ usermode-1.105.tar.xz
|
||||
/usermode-1.109.tar.xz
|
||||
/usermode-1.110.tar.xz
|
||||
/usermode-1.111.tar.xz
|
||||
/usermode-1.112.tar.xz
|
||||
/usermode-1.112.autotoolized.tar.xz
|
||||
/usermode-1.113.tar.xz
|
||||
/usermode-1.114.tar.xz
|
||||
|
||||
@@ -1 +1 @@
|
||||
28ba510fbd8da9f4e86e57d6c31cff29 usermode-1.111.tar.xz
|
||||
SHA512 (usermode-1.114.tar.xz) = 703eb218704c7a11cdce25a71f4fc91bf4f042a8b185f79f3954699081c0db8a6234ad6f11738d8b2fe6a492a03d029cbe01762a47869edc473e4fbaa6e0ee32
|
||||
|
||||
+131
-18
@@ -1,22 +1,31 @@
|
||||
# Add `--without gtk' option (enable gtk by default):
|
||||
%bcond_without gtk
|
||||
|
||||
Summary: Tools for certain user account management tasks
|
||||
Name: usermode
|
||||
Version: 1.111
|
||||
Release: 3%{?dist}
|
||||
Version: 1.114
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://fedorahosted.org/usermode/
|
||||
Source: https://fedorahosted.org/releases/u/s/usermode/usermode-%{version}.tar.xz
|
||||
URL: https://pagure.io/%{name}/
|
||||
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: config-util
|
||||
Requires: pam, passwd, util-linux
|
||||
BuildRequires: desktop-file-utils, gettext, glib2-devel, gtk2-devel, intltool
|
||||
BuildRequires: libblkid-devel, libSM-devel, libselinux-devel, libuser-devel
|
||||
BuildRequires: pam-devel, perl-XML-Parser, startup-notification-devel
|
||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext, glib2-devel, intltool
|
||||
%if %{with gtk}
|
||||
BuildRequires: desktop-file-utils, gtk2-devel, startup-notification-devel, libSM-devel
|
||||
%endif
|
||||
BuildRequires: libblkid-devel, libselinux-devel, libuser-devel
|
||||
BuildRequires: pam-devel, perl-XML-Parser
|
||||
BuildRequires: util-linux
|
||||
|
||||
%if %{with gtk}
|
||||
%package gtk
|
||||
Summary: Graphical tools for certain user account management tasks
|
||||
Group: Applications/System
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%global _hardened_build 1
|
||||
|
||||
@@ -25,6 +34,7 @@ The usermode package contains the userhelper program, which can be
|
||||
used to allow configured programs to be run with superuser privileges
|
||||
by ordinary users.
|
||||
|
||||
%if %{with gtk}
|
||||
%description gtk
|
||||
The usermode-gtk package contains several graphical tools for users:
|
||||
userinfo, usermount and userpasswd. Userinfo allows users to change
|
||||
@@ -34,26 +44,30 @@ passwords.
|
||||
|
||||
Install the usermode-gtk package if you would like to provide users with
|
||||
graphical tools for certain account management tasks.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-selinux
|
||||
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
||||
%make_install INSTALL='install -p'
|
||||
|
||||
%if %{with gtk}
|
||||
# make userformat symlink to usermount
|
||||
ln -sf usermount $RPM_BUILD_ROOT%{_bindir}/userformat
|
||||
ln -s usermount.1 $RPM_BUILD_ROOT%{_mandir}/man1/userformat.1
|
||||
%endif
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/security/console.apps
|
||||
install -p -m 644 %{SOURCE1} \
|
||||
$RPM_BUILD_ROOT/etc/security/console.apps/config-util
|
||||
|
||||
%if %{with gtk}
|
||||
for i in redhat-userinfo.desktop redhat-userpasswd.desktop \
|
||||
redhat-usermount.desktop; do
|
||||
echo 'NotShowIn=GNOME;KDE;' >>$RPM_BUILD_ROOT%{_datadir}/applications/$i
|
||||
@@ -61,17 +75,20 @@ for i in redhat-userinfo.desktop redhat-userpasswd.desktop \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/$i
|
||||
done
|
||||
%endif
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc COPYING ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%doc ChangeLog NEWS README
|
||||
%attr(4711,root,root) /usr/sbin/userhelper
|
||||
%{_bindir}/consolehelper
|
||||
%{_mandir}/man8/userhelper.8*
|
||||
%{_mandir}/man8/consolehelper.8*
|
||||
%config(noreplace) /etc/security/console.apps/config-util
|
||||
|
||||
%if %{with gtk}
|
||||
%files gtk
|
||||
%{_bindir}/usermount
|
||||
%{_mandir}/man1/usermount.1*
|
||||
@@ -88,8 +105,104 @@ done
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/applications/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jun 16 2021 Jiri Kucera <jkucera@redhat.com> - 1.114-2
|
||||
- Do not use fexecve
|
||||
Script executed via fexecve has a file descriptor number in
|
||||
argv[0]. This results in unexpected output: when displaying
|
||||
the script help, a user see "Usage: <number> [options]"
|
||||
instead of "Usage: <scriptname> [options]".
|
||||
Resolves: #1969918
|
||||
|
||||
* Tue May 04 2021 Jiri Kucera <jkucera@redhat.com> - 1.114-1
|
||||
- Update to usermode-1.114
|
||||
- Allow to optionally disable GTK
|
||||
|
||||
* Mon May 03 2021 Jiri Kucera <jkucera@redhat.com> - 1.113-1
|
||||
- Update to usermode-1.113
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Sep 09 2020 Jiri Kucera <jkucera@redhat.com> - 1.112-9
|
||||
- Do not use deprecated selinux headers
|
||||
Resolves #1865598
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Aug 07 2018 Jiri Kucera <jkucera@redhat.com> - 1.112-3
|
||||
- Dropped need to run autotools
|
||||
- <sys/sysmacros.h> must be now included manually
|
||||
Resolves #1606624
|
||||
- Fixed bad FSF address
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 22 2018 Jiri Kucera <jkucera@redhat.com> - 1.112-1
|
||||
- Update to usermode-1.112
|
||||
Resolves #1269643
|
||||
|
||||
* Wed Feb 21 2018 Jiri Kucera <jkucera@redhat.com> - 1.111-14
|
||||
- Added missing gcc dependency
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.111-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.111-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.111-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Apr 24 2017 Miloslav Trmač <mitr@redhat.com> - 1.111-10
|
||||
- Fix a FBFS with -Werror=format-security
|
||||
Resolves #1444750
|
||||
- Fix inconsistent dates in %%changelog
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.111-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.111-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.111-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.111-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.111-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.111-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 21 2013 Miloslav Trmač <mitr@redhat.com> - 1.111-3
|
||||
- Enable hardened build
|
||||
Resolves: #965471
|
||||
@@ -453,10 +566,10 @@ done
|
||||
- Add getenforce checks
|
||||
- Add root_passwd check
|
||||
|
||||
* Tue Jul 1 2004 Dan Walsh <dwalsh@redhat.com> 1.70-6
|
||||
* Thu 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
|
||||
* Thu 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
|
||||
@@ -625,7 +738,7 @@ done
|
||||
- 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
|
||||
* Tue 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
|
||||
|
||||
@@ -702,7 +815,7 @@ done
|
||||
* 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
|
||||
* Wed 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
|
||||
|
||||
@@ -842,7 +955,7 @@ done
|
||||
* Tue Mar 07 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- queue notice messages until we get prompts in userhelper to fix bug #8745
|
||||
|
||||
* Fri Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- free trip through the build system
|
||||
|
||||
* Tue Jan 11 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
|
||||
Reference in New Issue
Block a user