Update to 1.90.5 (#1902255)

This commit is contained in:
Benjamin Berg 2020-12-01 15:35:23 +01:00
parent f73d0c104c
commit 931896c76a
4 changed files with 10 additions and 31 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ fprintd-0.1-04fd09cfa.tar.bz2
/fprintd-0.8.1.tar.xz
/fprintd-0.9.0.tar.xz
/fprintd-1.90.1.tar.xz
/fprintd-v1.90.4.tar.gz
/fprintd-v1.90.5.tar.gz

View File

@ -1,25 +0,0 @@
From 96444b4156cbc5d0364ac45a7b3288ae28dfbb58 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Tue, 13 Aug 2019 14:16:11 +0200
Subject: [PATCH] pam: Fix rhost string length check
---
pam/pam_fprintd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pam/pam_fprintd.c b/pam/pam_fprintd.c
index 408b74c..b2eee4d 100644
--- a/pam/pam_fprintd.c
+++ b/pam/pam_fprintd.c
@@ -481,7 +481,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
* "localhost" if the host is local.
* We want to not run for known remote hosts */
if (rhost != NULL &&
- rhost != '\0' &&
+ *rhost != '\0' &&
strcmp (rhost, "localhost") != 0) {
return PAM_AUTHINFO_UNAVAIL;
}
--
2.21.0

View File

@ -1,10 +1,10 @@
Name: fprintd
Version: 1.90.1
Release: 2%{?dist}
Version: 1.90.5
Release: 1%{?dist}
Summary: D-Bus service for Fingerprint reader access
License: GPLv2+
Source0: https://gitlab.freedesktop.org/libfprint/fprintd/uploads/a47c31c844e23e070665a8a85dae0144/%{name}-%{version}.tar.xz
Source0: https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz
Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd
ExcludeArch: s390 s390x
@ -12,7 +12,6 @@ BuildRequires: meson
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: dbus-glib-devel
BuildRequires: pam-devel
BuildRequires: libfprint-devel >= 1.90.1
BuildRequires: polkit-devel
@ -52,7 +51,7 @@ Development documentation for fprintd, the D-Bus service for
fingerprint readers access.
%prep
%autosetup -S git -n %{name}-%{version}
%autosetup -S git -n %{name}-v%{version}
%build
%meson -Dgtk_doc=true -Dpam=true
@ -95,6 +94,9 @@ fi
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
%changelog
* Mon Dec 01 2020 Benjamin Berg <bberg@redhat.com> - 1.90.5-1
- Update to 1.90.5 (#1902255)
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.90.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (fprintd-1.90.1.tar.xz) = 9d1695e22701e22632baa2c0afe78ee1082dc325cdd96004909ceeadfa012ee05813d98e854d7933375b07a47dbb2c39dbe5a976c5d86942dc04f5de2b7f686f
SHA512 (fprintd-v1.90.5.tar.gz) = ccbea2769935ed48877ba5ef536c3e99e2cb3d6f3c349697027ef1bdfc785ca367fe3429e93db9813623074318a82a0e9e46068ad90e1b139e49ce3f986ce035