rpms/thinkfinger/FC-6 README.thinkfinger, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 thinkfinger.spec, 1.1, 1.2 thinkfinger-0.2.2-bufover.patch, 1.1, NONE

Julian Sikorski (belegdol) fedora-extras-commits at redhat.com
Sun Aug 26 08:06:11 UTC 2007


Author: belegdol

Update of /cvs/extras/rpms/thinkfinger/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20657

Modified Files:
	.cvsignore sources thinkfinger.spec 
Added Files:
	README.thinkfinger 
Removed Files:
	thinkfinger-0.2.2-bufover.patch 
Log Message:
* Fri May 18 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.3-2
- Merged Jose Plans' changes (RH #237817)



--- NEW FILE README.thinkfinger ---
ThinkFinger 0.3 : Fedora specific notes.
===============================================================================

OK this README is meant for users using the Fedora distribution.
The installation is almost the same, there are just some bits I wanted
you to take into consideration.

Installation Instructions
=========================

Please check the INSTALL and INSTALL.fedora files.

General Fedora specific notes
=============================

- Where are the user bir files ?

  These are located in /etc/security/pam_thinkfinger
  In the default installs these are in /etc/pam_thinkfinger

- There are some other differences we still need to clarify here.

Example of a Fedora setup
=========================

'/etc/pam.d/system-auth'
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      pam_env.so
auth        sufficient    pam_thinkfinger.so debug
auth        sufficient    pam_unix.so nullok try_first_pass
auth        requisite     pam_succeed_if.so uid >= 500 quiet
auth        required      pam_deny.so

[...]

Any questions?
==============

Please e-mail me at : Jose Plans <jplans at redhat.com>


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/thinkfinger/FC-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	20 Feb 2007 19:22:05 -0000	1.2
+++ .cvsignore	26 Aug 2007 08:05:39 -0000	1.3
@@ -1 +1 @@
-thinkfinger-0.2.2.tar.gz
+thinkfinger-0.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/thinkfinger/FC-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	20 Feb 2007 19:22:05 -0000	1.2
+++ sources	26 Aug 2007 08:05:39 -0000	1.3
@@ -1 +1 @@
-82c3b74c369fc231379d48af9e8ff851  thinkfinger-0.2.2.tar.gz
+588565233bcbea5ff0a7f5314361c380  thinkfinger-0.3.tar.gz


Index: thinkfinger.spec
===================================================================
RCS file: /cvs/extras/rpms/thinkfinger/FC-6/thinkfinger.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thinkfinger.spec	20 Feb 2007 19:22:05 -0000	1.1
+++ thinkfinger.spec	26 Aug 2007 08:05:39 -0000	1.2
@@ -1,15 +1,15 @@
 Name:           thinkfinger
-Version:        0.2.2
-Release:        4%{?dist}
+Version:        0.3
+Release:        2%{?dist}
 Summary:        A driver for the UPEK/SGS Thomson Microelectronics fingerprint reader
 Group:          System Environment/Base
 License:        GPL
 URL:            http://thinkfinger.sourceforge.net
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0:         thinkfinger-0.2.2-bufover.patch
+Source1:        README.thinkfinger
+Patch0:         thinkfinger-0.3-birdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  libusb-devel
+BuildRequires:  libusb-devel >= 0.1.11
 BuildRequires:  pam-devel
 BuildRequires:  doxygen
 
@@ -56,7 +56,8 @@
 
 %prep
 %setup -q
-%patch0 -p1
+#%patch0 -p1 -b .securitydir
+%{__install} -pm 644 %{SOURCE1} README.Fedora
 
 
 %build
@@ -77,8 +78,12 @@
 #create folder where fingerprints will be stored
 %{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/pam_thinkfinger
 
-#fix permissions on pam_thinkfinger.so
-chmod +x $RPM_BUILD_ROOT/%{_lib}/security/pam_thinkfinger.so
+#load uinput module automatically
+mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/modules
+cat >$RPM_BUILD_ROOT/etc/sysconfig/modules/thinkfinger.modules <<EOF
+#!/bin/sh
+modprobe uinput >/dev/null 2>&1
+EOF
 
 
 %clean
@@ -90,13 +95,14 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README README.Fedora
 %{_libdir}/libthinkfinger.so.*
 /%{_lib}/security/pam_thinkfinger.so
 %{_sbindir}/tf-tool
 %{_mandir}/man1/tf-tool.1.gz
 %{_mandir}/man8/pam_thinkfinger.8.gz
 %{_sysconfdir}/pam_thinkfinger
+%config %attr(0755,root,root)/etc/sysconfig/modules/thinkfinger.modules 
 
 %files devel
 %defattr(-,root,root,-)
@@ -108,6 +114,13 @@
 
 
 %changelog
+* Fri May 18 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.3-2
+- Merged Jose Plans' changes (RH #237817)
+
+* Fri Apr 13 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.3-1
+- Updated to 0.3
+- Added uinput loading snippet
+
 * Tue Feb 20 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2.2-4
 - Fixed Source0 URL
 
@@ -118,4 +131,4 @@
 - Fixed stripping problem properly
 
 * Mon Feb 19 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2.2-1
-- Initial RPM release
\ No newline at end of file
+- Initial RPM release


--- thinkfinger-0.2.2-bufover.patch DELETED ---




More information about the fedora-extras-commits mailing list