Compare commits

...

8 Commits

Author SHA1 Message Date
Fedora Release Engineering 1d182048fe Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:42:37 +00:00
Michal Hlavinka ab4bae5460 add missing spec part 2025-08-27 12:09:41 +02:00
Michal Hlavinka 1b190bb759 revert previous commit, it is still needed even without pam_console
instead take ownership of /etc/security/console.apps/
2025-08-27 12:05:53 +02:00
Michal Hlavinka 68a87d386e do not use console.apps as pam_console was dropped 2025-08-27 11:08:36 +02:00
Fedora Release Engineering a546b622a9 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:53:27 +00:00
Michal Hlavinka 7b3dc67018 fix static analysis issues and ftbfs 2025-01-30 11:31:03 +01:00
Fedora Release Engineering 3e24aa5f3a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 13:58:09 +00:00
Fedora Release Engineering 695d624d0f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:26:45 +00:00
2 changed files with 63 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
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;
}
+27 -2
View File
@@ -9,11 +9,12 @@
Summary: Tools for certain user account management tasks
Name: usermode
Version: 1.114
Release: 9%{?dist}
Release: 16%{?dist}
License: GPL-2.0-or-later
URL: https://pagure.io/%{name}/
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
Source1: config-util
Patch1: fix-sast.patch
Requires: pam, passwd, util-linux
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
BuildRequires: make
@@ -53,6 +54,7 @@ graphical tools for certain account management tasks.
%prep
%setup -q
%patch -P 1 -p 1
%build
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
@@ -87,10 +89,11 @@ done
%files -f %{name}.lang
%license COPYING
%doc ChangeLog NEWS README
%attr(4711,root,root) /usr/sbin/userhelper
%attr(4711,root,root) /%{_sbindir}/userhelper
%{_bindir}/consolehelper
%{_mandir}/man8/userhelper.8*
%{_mandir}/man8/consolehelper.8*
%dir /etc/security/console.apps
%config(noreplace) /etc/security/console.apps/config-util
%if %{with gtk}
@@ -113,6 +116,28 @@ done
%endif
%changelog
* 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