Dominique Leuenberger 2017-08-21 09:33:34 +00:00 committed by Git OBS Bridge
commit a65e395d43
5 changed files with 13 additions and 35 deletions

View File

@ -1,27 +0,0 @@
From d680436cd85f1f8261bfc974970319ef0efb420a Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Fri, 23 Dec 2016 13:01:09 +0100
Subject: [PATCH] Add break to a case label
GCC 7 error:
mod_pam_nam.c:45:7: error: this statement may fall through
[-Werror=implicit-fallthrough=]
---
src/mod_pam_nam.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mod_pam_nam.c b/src/mod_pam_nam.c
index 4206b78..797690d 100644
--- a/src/mod_pam_nam.c
+++ b/src/mod_pam_nam.c
@@ -43,6 +43,7 @@ write_config_nam (pam_module_t * this, enum write_type op, FILE * fp)
break;
case AUTH:
fprintf (fp, "auth\trequired\tpam_nam.so\tuse_first_pass\n");
+ break;
case PASSWORD:
fprintf (fp, "password\trequired\tpam_nam.so\ttry_first_pass\n");
break;
--
2.11.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed70b81cdf3ae34134eb312b44306942bbf0cdcfc4467c8ce2df4ea8589abd78
size 321326

3
pam-config-0.92.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ba6250e4ba17c00869643a48cac92b3103d80a82220dde4fe7d79f4152de7d5
size 321838

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 9 14:01:00 CEST 2017 - kukuk@suse.de
- Update to version 0.92
- add pam_kwallet5 support
- move pam_systemd before pam_krb5 [bsc#1014995]
- obsoletes gcc7-Add-break-to-a-case-label.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 9 10:16:32 UTC 2017 - mliska@suse.cz Mon Jan 9 10:16:32 UTC 2017 - mliska@suse.cz

View File

@ -20,16 +20,13 @@ Name: pam-config
Summary: Modify common PAM configuration files Summary: Modify common PAM configuration files
License: GPL-2.0 License: GPL-2.0
Group: System/Management Group: System/Management
Version: 0.91 Version: 0.92
Release: 0 Release: 0
PreReq: pam >= 1.3.0 PreReq: pam >= 1.3.0
Url: https://github.com/SUSE/pam-config Url: https://github.com/SUSE/pam-config
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# PATCH-FIX-UPSTREAM: Fix new warning introduced in GCC7
Patch1: gcc7-Add-break-to-a-case-label.patch
%description %description
pam-config is a command line utility to maintain the common PAM pam-config is a command line utility to maintain the common PAM
configuration files included by most PAM application configuration configuration files included by most PAM application configuration
@ -41,7 +38,6 @@ add/adjust/remove other PAM modules and their options.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%configure %configure
@ -85,6 +81,7 @@ fi
%files -f pam-config.lang %files -f pam-config.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING
%{_sbindir}/pam-config %{_sbindir}/pam-config
%doc %{_mandir}/man8/pam-config.8* %doc %{_mandir}/man8/pam-config.8*
%ghost %config %{_sysconfdir}/pam.d/common-account-pc %ghost %config %{_sysconfdir}/pam.d/common-account-pc