Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 124aec2cb3 | |||
| c04cf117e9 | |||
| b77212f16c | |||
| bd4ba70e00 | |||
| fbc8fe6c32 | |||
| 8e3b8943e9 | |||
| 87980c4de1 | |||
| 45adcfa66e |
@@ -0,0 +1,21 @@
|
||||
commit b562472980ecd903d13e69279a31fcf77fac57bc
|
||||
Author: Miloslav Trmač <mitr@redhat.com>
|
||||
Date: Mon Apr 24 21:58:56 2017 +0200
|
||||
|
||||
Don't unnecessarily use g_strdup_printf()
|
||||
|
||||
This avoids a build failure with Werror=format-security.
|
||||
|
||||
diff --git a/userhelper.c b/userhelper.c
|
||||
index 15d2c5e..287aa4d 100644
|
||||
--- a/userhelper.c
|
||||
+++ b/userhelper.c
|
||||
@@ -583,7 +583,7 @@ converse_console(int num_msg, const struct pam_message **msg,
|
||||
|
||||
if (banner == 0) {
|
||||
if ((data->banner != NULL) && (data->domain != NULL)) {
|
||||
- text = g_strdup_printf(dgettext(data->domain, data->banner));
|
||||
+ text = g_strdup (dgettext(data->domain, data->banner));
|
||||
} else {
|
||||
if ((service != NULL) && (strlen(service) > 0)) {
|
||||
if (data->fallback_allowed) {
|
||||
+32
-8
@@ -1,12 +1,14 @@
|
||||
Summary: Tools for certain user account management tasks
|
||||
Name: usermode
|
||||
Version: 1.111
|
||||
Release: 4%{?dist}
|
||||
Release: 10%{?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/usermode/
|
||||
Source: https://releases.pagure.org/usermode/usermode-%{version}.tar.xz
|
||||
Source1: config-util
|
||||
# Upstream commit b562472980ecd903d13e69279a31fcf77fac57bc
|
||||
Patch0: usermode-1.111-format-security.patch
|
||||
Requires: pam, passwd, util-linux
|
||||
BuildRequires: desktop-file-utils, gettext, glib2-devel, gtk2-devel, intltool
|
||||
BuildRequires: libblkid-devel, libSM-devel, libselinux-devel, libuser-devel
|
||||
@@ -38,6 +40,8 @@ graphical tools for certain account management tasks.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .format-security
|
||||
|
||||
%build
|
||||
%configure --with-selinux
|
||||
|
||||
@@ -90,6 +94,26 @@ done
|
||||
%{_datadir}/applications/*
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
@@ -456,10 +480,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
|
||||
@@ -628,7 +652,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
|
||||
|
||||
@@ -705,7 +729,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
|
||||
|
||||
@@ -845,7 +869,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