Compare commits
No commits in common. "rawhide" and "f34" have entirely different histories.
2 changed files with 5 additions and 94 deletions
|
|
@ -1,36 +0,0 @@
|
||||||
diff --git a/gsmclient.c b/gsmclient.c
|
|
||||||
index fb93a5c..93e9a64 100644
|
|
||||||
--- a/gsmclient.c
|
|
||||||
+++ b/gsmclient.c
|
|
||||||
@@ -182,6 +182,7 @@ gsm_client_init (GsmClient *client, gpointer data)
|
|
||||||
char pid_str[64];
|
|
||||||
int empty_vector_len = 0;
|
|
||||||
char *empty_vector[] = { NULL };
|
|
||||||
+ gchar *curdir;
|
|
||||||
|
|
||||||
(void)data;
|
|
||||||
client->priv = g_new (GsmClientPrivate, 1);
|
|
||||||
@@ -197,8 +198,10 @@ gsm_client_init (GsmClient *client, gpointer data)
|
|
||||||
/* Default property values (this code assumes we start
|
|
||||||
* with an empty proplist)
|
|
||||||
*/
|
|
||||||
+ curdir = g_get_current_dir ();
|
|
||||||
push_prop (client, smprop_new_string (GSM_CLIENT_PROPERTY_CURRENT_DIRECTORY,
|
|
||||||
- g_get_current_dir (), -1));
|
|
||||||
+ curdir, -1));
|
|
||||||
+ g_free(curdir);
|
|
||||||
|
|
||||||
g_snprintf (pid_str, sizeof (pid_str), "%d", (int) getpid ());
|
|
||||||
push_prop (client, smprop_new_string (GSM_CLIENT_PROPERTY_PROCESS_ID,
|
|
||||||
diff --git a/shvar.c b/shvar.c
|
|
||||||
index 0e199c6..62723db 100644
|
|
||||||
--- a/shvar.c
|
|
||||||
+++ b/shvar.c
|
|
||||||
@@ -348,6 +348,7 @@ svSetValue(shvarFile *s, const char *key, const char *value)
|
|
||||||
s->modified = 1;
|
|
||||||
goto bail; /* do not need keyValue */
|
|
||||||
}
|
|
||||||
+ else goto bail;
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,20 +1,14 @@
|
||||||
# Add `--without gtk' option (enable gtk by default):
|
# Add `--without gtk' option (enable gtk by default):
|
||||||
# No GTK 2 in RHEL 10
|
|
||||||
%if 0%{?rhel} > 9
|
|
||||||
%bcond_with gtk
|
|
||||||
%else
|
|
||||||
%bcond_without gtk
|
%bcond_without gtk
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: Tools for certain user account management tasks
|
Summary: Tools for certain user account management tasks
|
||||||
Name: usermode
|
Name: usermode
|
||||||
Version: 1.114
|
Version: 1.114
|
||||||
Release: 17%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL-2.0-or-later
|
License: GPLv2+
|
||||||
URL: https://pagure.io/%{name}/
|
URL: https://pagure.io/%{name}/
|
||||||
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
||||||
Source1: config-util
|
Source1: config-util
|
||||||
Patch1: fix-sast.patch
|
|
||||||
Requires: pam, passwd, util-linux
|
Requires: pam, passwd, util-linux
|
||||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
|
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
@ -25,6 +19,7 @@ BuildRequires: desktop-file-utils, gtk2-devel, startup-notification-devel, libSM
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libblkid-devel, libselinux-devel, libuser-devel
|
BuildRequires: libblkid-devel, libselinux-devel, libuser-devel
|
||||||
BuildRequires: pam-devel, perl-XML-Parser
|
BuildRequires: pam-devel, perl-XML-Parser
|
||||||
|
BuildRequires: util-linux
|
||||||
|
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
%package gtk
|
%package gtk
|
||||||
|
|
@ -53,7 +48,6 @@ graphical tools for certain account management tasks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -p 1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
|
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
|
||||||
|
|
@ -61,7 +55,7 @@ graphical tools for certain account management tasks.
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install INSTALL='install -p'
|
||||||
|
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
# make userformat symlink to usermount
|
# make userformat symlink to usermount
|
||||||
|
|
@ -88,11 +82,10 @@ done
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ChangeLog NEWS README
|
%doc ChangeLog NEWS README
|
||||||
%attr(4711,root,root) /%{_sbindir}/userhelper
|
%attr(4711,root,root) /usr/sbin/userhelper
|
||||||
%{_bindir}/consolehelper
|
%{_bindir}/consolehelper
|
||||||
%{_mandir}/man8/userhelper.8*
|
%{_mandir}/man8/userhelper.8*
|
||||||
%{_mandir}/man8/consolehelper.8*
|
%{_mandir}/man8/consolehelper.8*
|
||||||
%dir /etc/security/console.apps
|
|
||||||
%config(noreplace) /etc/security/console.apps/config-util
|
%config(noreplace) /etc/security/console.apps/config-util
|
||||||
|
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
|
|
@ -115,52 +108,6 @@ done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-17
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Aug 27 2025 Michal Hlavinka <mhlavink@redhat.com> - 1.114-15
|
|
||||||
- revert back and take ownership of console.apps as usermode still needs it
|
|
||||||
|
|
||||||
* Wed Aug 27 2025 Michal Hlavinka <mhlavink@redhat.com> - 1.114-14
|
|
||||||
- drop console.apps files as pam no longer uses those and pam_console
|
|
||||||
was dropped https://fedoraproject.org/wiki/Changes/RemovePamConsole
|
|
||||||
|
|
||||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 30 2025 Michal Hlavinka <mhlavink@redhat.com> - 1.114-12
|
|
||||||
- fix static analysis issues and ftbfs
|
|
||||||
|
|
||||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.114-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 06 2023 Tomas Popela <tpopela@redhat.com> - 1.114-6
|
|
||||||
- Don't build GTK 2 bits on RHEL 10 as GTK 2 won't be available there
|
|
||||||
|
|
||||||
* 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
|
* Wed Jun 16 2021 Jiri Kucera <jkucera@redhat.com> - 1.114-2
|
||||||
- Do not use fexecve
|
- Do not use fexecve
|
||||||
Script executed via fexecve has a file descriptor number in
|
Script executed via fexecve has a file descriptor number in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue