rpms/thinkfinger/devel README.thinkfinger, NONE, 1.1 thinkfinger-0.3-birdir.patch, 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
Fri May 18 22:40:13 UTC 2007
Author: belegdol
Update of /cvs/extras/rpms/thinkfinger/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29728
Modified Files:
.cvsignore sources thinkfinger.spec
Added Files:
README.thinkfinger thinkfinger-0.3-birdir.patch
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)
* Fri Apr 13 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.3-1
- Updated to 0.3
- Added uinput loading snippet
--- 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>
thinkfinger-0.3-birdir.patch:
--- NEW FILE thinkfinger-0.3-birdir.patch ---
--- thinkfinger-0.3/docs/tf-tool.1.fedora 2007-04-25 15:36:23.000000000 +0100
+++ thinkfinger-0.3/docs/tf-tool.1 2007-04-25 15:37:55.000000000 +0100
@@ -34,15 +34,15 @@ swiped.
.TP
.BI \--add-user\ "login"
Acquire a fingerprint for the user identified by login. If this user
-or the bir folder \fI/etc/pam_thinkfinger\fP do not exist, \fBtf-tool\fP
+or the bir folder \fI/etc/security/pam_thinkfinger\fP do not exist, \fBtf-tool\fP
exits with an error. If the acquiring process is successful, the fingerprint
-is stored in the bir folder as \fI/etc/pam_thinkfinger/login.bir\fP.
+is stored in the bir folder as \fI/etc/security/pam_thinkfinger/login.bir\fP.
This option is available only when ThinkFinger has been compiled with
PAM support.
.TP
.BI \--verify-user\ "login"
Verify a fingerprint for the user identified by login. If this user
-or the bir folder \fI/etc/pam_thinkfinger\fP do not exist, \fBtf-tool\fP exits
+or the bir folder \fI/etc/security/am_thinkfinger\fP do not exist, \fBtf-tool\fP exits
with an error.
This option is available only when ThinkFinger has been compiled with
PAM support.
@@ -53,7 +53,7 @@ Add more output messages.
.SH FILES
.PD 0
.TP
-.I /etc/pam_thinkfinger
+.I /etc/security/pam_thinkfinger
The default folder where the fingerprint for login users are stored
.TP
.I /tmp/tmp.bir
@@ -73,6 +73,9 @@ ThinkFinger was written by Timo Hoenig <
Machek <pavel at suse.cz> and is licensed under the terms of the GNU
General Public License (GPL).
+.SH ADDITIONS
+Fedora changes by Jose Plans <jplans at redhat.com>
+
This manual page was written by Luca Capello <luca at pca.it>.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License (GPL).
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/thinkfinger/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 20 Feb 2007 19:08:36 -0000 1.2
+++ .cvsignore 18 May 2007 22:39:38 -0000 1.3
@@ -1 +1 @@
-thinkfinger-0.2.2.tar.gz
+thinkfinger-0.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/thinkfinger/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 20 Feb 2007 19:08:36 -0000 1.2
+++ sources 18 May 2007 22:39:38 -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/devel/thinkfinger.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thinkfinger.spec 20 Feb 2007 19:08:36 -0000 1.1
+++ thinkfinger.spec 18 May 2007 22:39:38 -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