fix the pam module

This commit is contained in:
Matthias Clasen 2009-07-09 04:15:35 +00:00
parent 0d2c78e6ff
commit 4e435b61fb
2 changed files with 18 additions and 1 deletions

View File

@ -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 <mclasen@redhat.com> 0.1-12.git04fd09cfa
- Fix the pam module (#510152)
* Sat Jun 20 2009 Bastien Nocera <bnocera@redhat.com> 0.1-11.git04fd09cfa
- Remove obsolete patch

12
pam-module.patch Normal file
View File

@ -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