Hello community, here is the log from the commit of package thinkfinger checked in at Thu Feb 15 18:15:19 CET 2007. -------- --- thinkfinger/thinkfinger.changes 2007-01-26 01:33:43.000000000 +0100 +++ /mounts/work_src_done/STABLE/thinkfinger/thinkfinger.changes 2007-02-15 17:41:26.948705000 +0100 @@ -2 +2 @@ -Fri Jan 26 01:33:36 CET 2007 - ro@suse.de +Tue Feb 13 19:10:49 CET 2007 - thoenig@suse.de @@ -4 +4,25 @@ -- no main package, no debuginfo +- Use uinput to send a synthetic carriage return after swipe rather + than killing the thread which resides in pam_prompt (b.n.c + 244722, b.n.c #244719) +- tf-tool: add parameter '--verify-user <login>' to verify against + a stored biometric identification record + +------------------------------------------------------------------- +Mon Feb 5 14:08:53 CET 2007 - thoenig@suse.de + +- ThinkFinger 0.2.2 +- Make ThinkFinger work with most revisions of the UPEK/SGS Thomson + Microelectronics fingerprint reader (b.n.c #239861) +- install PAM configuration in %post if an unaltered version of + /etc/pam.d/common-auth is being found (b.n.c #239855) +- add 'Supplements: modalias(usb:v0483p2016d*dc*dsc*dp*ic*isc*ip*) + (b.n.c #239855) +- tf-tool: add parameter '--add-user <login>' to add biometric + identification records which are respected by pam_thinkfinger + (b.n.c #239860) +- add man pages for 'tf-tool' and 'pam_thinkfinger' (b.n.c #242098) + +------------------------------------------------------------------- +Fri Jan 12 16:23:36 CET 2007 - thoenig@suse.de + +- Fate #300416: Add packages libthinkfinger and pam_thinkfinger Old: ---- thinkfinger-0.2.tar.bz2 New: ---- common-auth.example thinkfinger-0.2.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ thinkfinger.spec ++++++ --- /var/tmp/diff_new_pack.o22740/_old 2007-02-15 18:14:14.000000000 +0100 +++ /var/tmp/diff_new_pack.o22740/_new 2007-02-15 18:14:14.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package thinkfinger (Version 0.2) +# spec file for package thinkfinger (Version 0.2.3) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -9,31 +9,35 @@ # # norootforbuild -# nodebuginfo Name: thinkfinger URL: http://sourceforge.net/projects/thinkfinger Summary: ThinkFinger driver for the SGS Thomson Microelectronics fingerprint reader -BuildRequires: libusb pam-devel pkgconfig -Version: 0.2 -Release: 2 +BuildRequires: coreutils libusb pam-devel pkgconfig +Version: 0.2.3 +Release: 1 License: GNU General Public License (GPL) Group: System/Libraries -Source: %{name}-%{version}.tar.bz2 +Source0: %{name}-%{version}.tar.bz2 +Source1: common-auth.example BuildRoot: %{_tmppath}/%{name}-%{version}-build Autoreqprov: on %package -n libthinkfinger Summary: ThinkFinger driver for the SGS Thomson Microelectronics fingerprint reader Requires: libusb Group: System/Libraries +Supplements: modalias(usb:v0483p2016d*dc*dsc*dp*ic*isc*ip*) %package -n pam_thinkfinger Summary: PAM module to be used with ThinkFinger, an driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads. Requires: libthinkfinger pam Group: Productivity/Security +Supplements: modalias(usb:v0483p2016d*dc*dsc*dp*ic*isc*ip*) %description -ThinkFinger is an driver for the SGS Thomson Microelectronics -fingerprint reader found in most IBM/Lenovo ThinkPads. +ThinkFinger is a driver for the UPEK/SGS Thomson Microelectronics +fingerprint reader (USB ID 0483:2016). The device is being found +either as a standalone USB device, built into USB keyboards or built +into laptops. @@ -70,37 +74,89 @@ %build ./configure CFLAGS="$RPM_OPT_FLAGS" \ + --enable-pam \ + --enable-static=no \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ + --mandir=%{_mandir} \ --includedir=%{_includedir} \ - --enable-pam \ --with-securedir=/%{_lib}/security \ - --enable-static=no + --with-birdir=%{_sysconfdir}/pam_thinkfinger make %install +cp %{SOURCE1} . make DESTDIR=${RPM_BUILD_ROOT} install %clean -rm -rf %{buildroot} +rm -rf %{_buildroot} + +%post -n pam_thinkfinger +mkdir -p %{_sysconfdir}/pam_thinkfinger +if [ -f %{_sysconfdir}/pam.d/common-auth ]; then + MD5_COMMON_AUTH=14514a545a8f7948e1e157b680a8058b + MD5_CURRENT=`%{_bindir}/md5sum %{_sysconfdir}/pam.d/common-auth | cut -f1 -d " "` + if test "$MD5_CURRENT" = "$MD5_COMMON_AUTH"; then + echo "Applying PAM config..." + mv %{_sysconfdir}/pam.d/common-auth %{_sysconfdir}/pam.d/common-auth-without-pam_thinkfinger + if [ $? == 0 ]; then + cp %{_docdir}/libthinkfinger/common-auth.example %{_sysconfdir}/pam.d/common-auth + else + echo "mv failed, not applying PAM config" + fi + else + echo "Not applying PAM config..." + fi +fi + +%postun -n pam_thinkfinger +if [ -f %{_sysconfdir}/pam.d/common-auth-without-pam_thinkfinger ]; then + MD5_COMMON_THINKFINGER=8bbb482d92b23b0129cae8359e79978b + MD5_CURRENT=`%{_bindir}/md5sum %{_sysconfdir}/pam.d/common-auth | cut -f1 -d " "` + if test "$MD5_CURRENT" = "$MD5_COMMON_THINKFINGER"; then + echo "Removing PAM config..." + mv %{_sysconfdir}/pam.d/common-auth-without-pam_thinkfinger %{_sysconfdir}/pam.d/common-auth + else + echo "Not removing PAM config..." + fi +fi %files -n libthinkfinger %defattr(-,root,root) -%doc README COPYING +%doc README COPYING common-auth.example %{_includedir}/libthinkfinger.h %{_libdir}/libthinkfinger.so* %{_libdir}/libthinkfinger.la %{_libdir}/pkgconfig/*.pc %{_sbindir}/tf-tool -%{_sbindir}/tf-init +%{_mandir}/*/tf-tool* %files -n pam_thinkfinger %defattr(-,root,root) /%_lib/security/pam_thinkfinger.so +%{_mandir}/*/pam_thinkfinger* %changelog -n thinkfinger -* Fri Jan 26 2007 - ro@suse.de -- no main package, no debuginfo +* Tue Feb 13 2007 - thoenig@suse.de +- Use uinput to send a synthetic carriage return after swipe rather + than killing the thread which resides in pam_prompt (b.n.c + 244722, b.n.c #244719) +- tf-tool: add parameter '--verify-user <login>' to verify against + a stored biometric identification record +* Mon Feb 05 2007 - thoenig@suse.de +- ThinkFinger 0.2.2 +- Make ThinkFinger work with most revisions of the UPEK/SGS Thomson + Microelectronics fingerprint reader (b.n.c #239861) +- install PAM configuration in %%post if an unaltered version of + /etc/pam.d/common-auth is being found (b.n.c #239855) +- add 'Supplements: modalias(usb:v0483p2016d*dc*dsc*dp*ic*isc*ip*) + (b.n.c #239855) +- tf-tool: add parameter '--add-user <login>' to add biometric + identification records which are respected by pam_thinkfinger + (b.n.c #239860) +- add man pages for 'tf-tool' and 'pam_thinkfinger' (b.n.c #242098) +* Fri Jan 12 2007 - thoenig@suse.de +- Fate #300416: Add packages libthinkfinger and pam_thinkfinger * Fri Jan 12 2007 - thoenig@suse.de - ThinkFinger 0.2 - add pluggable authentication module ++++++ thinkfinger-0.2.tar.bz2 -> thinkfinger-0.2.3.tar.bz2 ++++++ ++++ 5855 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org