Compare commits

...

6 Commits

Author SHA1 Message Date
Miloslav Trmač 124aec2cb3 Update home page and release URLs to point to pagure.io 2017-04-24 22:22:57 +02:00
Miloslav Trmač c04cf117e9 Fix inconsistent dates in %%changelog
Because such an old history is no longer available, assume that the
dates are correct and the days of week are incorrect.
2017-04-24 22:18:41 +02:00
Miloslav Trmač b77212f16c Fix a build failure with -Werror=format-security 2017-04-24 22:13:58 +02:00
Fedora Release Engineering bd4ba70e00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:50:58 +00:00
Fedora Release Engineering fbc8fe6c32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:28:13 +00:00
Dennis Gilmore 8e3b8943e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:42:54 +00:00
2 changed files with 47 additions and 8 deletions
+21
View File
@@ -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) {
+26 -8
View File
@@ -1,12 +1,14 @@
Summary: Tools for certain user account management tasks
Name: usermode
Version: 1.111
Release: 6%{?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,20 @@ 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
@@ -462,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
@@ -634,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
@@ -711,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
@@ -851,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>