From 4e435b61fb6015d31c4d001687ff03946ec75570 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 9 Jul 2009 04:15:35 +0000 Subject: [PATCH] fix the pam module --- fprintd.spec | 7 ++++++- pam-module.patch | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pam-module.patch diff --git a/fprintd.spec b/fprintd.spec index 64432bc..4782d96 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -3,7 +3,7 @@ Name: fprintd Version: 0.1 -Release: 11.git%{short_hash}%{?dist} +Release: 12.git%{short_hash}%{?dist} Summary: D-Bus service for Fingerprint reader access Group: System Environment/Daemons @@ -17,6 +17,7 @@ Source0: fprintd-0.1-%{short_hash}.tar.bz2 Patch1: 0001-Detect-when-a-device-is-disconnected.patch # https://bugzilla.redhat.com/show_bug.cgi?id=498368 Patch2: polkit1.patch +Patch3: pam-module.patch Url: http://www.reactivated.net/fprint/wiki/Fprintd BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExcludeArch: s390 s390x @@ -62,6 +63,7 @@ fingerprint readers access. %setup -q -n %{name}-%{version} %patch1 -p1 %patch2 -p1 -b .polkit1 +%patch3 -p1 -b .pam-module autoreconf -i -f @@ -104,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Thu Jul 9 2009 Matthias Clasen 0.1-12.git04fd09cfa +- Fix the pam module (#510152) + * Sat Jun 20 2009 Bastien Nocera 0.1-11.git04fd09cfa - Remove obsolete patch diff --git a/pam-module.patch b/pam-module.patch new file mode 100644 index 0000000..1d02d7c --- /dev/null +++ b/pam-module.patch @@ -0,0 +1,12 @@ +diff -up fprintd-0.1/pam/Makefile.am.pam fprintd-0.1/pam/Makefile.am +--- fprintd-0.1/pam/Makefile.am.pam 2009-07-09 00:08:40.474479777 -0400 ++++ fprintd-0.1/pam/Makefile.am 2009-07-09 00:08:17.307483156 -0400 +@@ -5,7 +5,7 @@ pammoddir=$(libdir)/security + + pam_fprintd_la_SOURCES = pam_fprintd.c $(MARSHALFILES) + pam_fprintd_la_CFLAGS = -fPIC $(WARN_CFLAGS) $(GLIB_CFLAGS) +-pam_fprintd_la_LDFLAGS = -module ++pam_fprintd_la_LDFLAGS = -avoid-version -module + pam_fprintd_la_LIBADD = $(PAM_LIBS) $(GLIB_LIBS) + + MARSHALFILES = marshal.c marshal.h