[arch-commits] Commit in thinkfinger/repos (6 files)

Dave Reisner dreisner at archlinux.org
Sat Apr 28 17:41:19 EDT 2012


    Date: Saturday, April 28, 2012 @ 17:41:19
  Author: dreisner
Revision: 157519

db-move: moved thinkfinger from [staging] to [testing] (i686)

Added:
  thinkfinger/repos/testing-i686/
  thinkfinger/repos/testing-i686/PKGBUILD
    (from rev 157502, thinkfinger/repos/staging-i686/PKGBUILD)
  thinkfinger/repos/testing-i686/gcc46.patch
    (from rev 157502, thinkfinger/repos/staging-i686/gcc46.patch)
  thinkfinger/repos/testing-i686/thinkfinger-uinput-hack.patch
    (from rev 157502, thinkfinger/repos/staging-i686/thinkfinger-uinput-hack.patch)
  thinkfinger/repos/testing-i686/thinkfinger.install
    (from rev 157502, thinkfinger/repos/staging-i686/thinkfinger.install)
Deleted:
  thinkfinger/repos/staging-i686/

-------------------------------+
 PKGBUILD                      |   44 ++++++++++++++++++++++++++++++++++++++++
 gcc46.patch                   |   22 ++++++++++++++++++++
 thinkfinger-uinput-hack.patch |   13 +++++++++++
 thinkfinger.install           |    4 +++
 4 files changed, 83 insertions(+)

Copied: thinkfinger/repos/testing-i686/PKGBUILD (from rev 157502, thinkfinger/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-28 21:41:19 UTC (rev 157519)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: François Charette <francois.archlinux.org>
+# Contributor: Damir Perisa <damir.archlinux.org>
+# Contributor: Björn Martensen <bjoern.martensen at gmail.com>
+
+pkgname=thinkfinger
+pkgver=0.3
+pkgrel=6
+pkgdesc="A driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
+url="http://thinkfinger.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=("GPL")
+depends=('pam' 'libusb-compat')
+install=thinkfinger.install
+options=('!libtool' 'emptydirs')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+        'thinkfinger-uinput-hack.patch'
+        'gcc46.patch')
+md5sums=('588565233bcbea5ff0a7f5314361c380'
+         '71dc334282d19e6db4f6254542ba563c'
+         '93c80f342329a5bd40f5f324fe670225')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # Patch from Ubuntu: see http://bugs.archlinux.org/task/12580
+  patch -p0 -i "${srcdir}"/thinkfinger-uinput-hack.patch
+
+  patch -p1 -i "${srcdir}"/gcc46.patch
+
+  ./configure --prefix=/usr \
+		--with-birdir=/etc/pam_thinkfinger
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # create dir to store fingerprints
+  install -d $pkgdir/etc/pam_thinkfinger
+  
+  make DESTDIR=$pkgdir install
+}

Copied: thinkfinger/repos/testing-i686/gcc46.patch (from rev 157502, thinkfinger/repos/staging-i686/gcc46.patch)
===================================================================
--- testing-i686/gcc46.patch	                        (rev 0)
+++ testing-i686/gcc46.patch	2012-04-28 21:41:19 UTC (rev 157519)
@@ -0,0 +1,22 @@
+--- a/pam/Makefile.am
++++ b/pam/Makefile.am
+@@ -8,7 +8,7 @@ pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h p
+ else
+ pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+ endif
+-pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
++pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
+ pam_thinkfinger_so_CFLAGS = $(CFLAGS)
+ pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
+ 
+--- a/pam/Makefile.in
++++ b/pam/Makefile.in
+@@ -201,7 +201,7 @@ pamdir = $(SECUREDIR)
+ INCLUDES = -I$(top_srcdir)/libthinkfinger
+ @HAVE_OLD_PAM_FALSE at pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+ @HAVE_OLD_PAM_TRUE at pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+-pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
++pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
+ pam_thinkfinger_so_CFLAGS = $(CFLAGS)
+ pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
+ all: all-am

Copied: thinkfinger/repos/testing-i686/thinkfinger-uinput-hack.patch (from rev 157502, thinkfinger/repos/staging-i686/thinkfinger-uinput-hack.patch)
===================================================================
--- testing-i686/thinkfinger-uinput-hack.patch	                        (rev 0)
+++ testing-i686/thinkfinger-uinput-hack.patch	2012-04-28 21:41:19 UTC (rev 157519)
@@ -0,0 +1,13 @@
+#Source: http://launchpadlibrarian.net/18515541/thinkfinger-uinput-hack.patch (26-12-2008)
+Index: pam/pam_thinkfinger-uinput.c
+===================================================================
+--- pam/pam_thinkfinger-uinput.c	(revision 118)
++++ pam/pam_thinkfinger-uinput.c	(working copy)
+@@ -95,6 +95,7 @@
+ 	/* our single key keyboard */
+ 	i  = ioctl (*fd, UI_SET_EVBIT, EV_KEY) < 0;
+ 	i |= ioctl (*fd, UI_SET_KEYBIT, KEY_ENTER) < 0;
++	i |= ioctl (*fd, UI_SET_KEYBIT, KEY_A) < 0;
+ 
+ 	if (write (*fd, &device, device_size) != device_size) {
+ 		retval = errno;

Copied: thinkfinger/repos/testing-i686/thinkfinger.install (from rev 157502, thinkfinger/repos/staging-i686/thinkfinger.install)
===================================================================
--- testing-i686/thinkfinger.install	                        (rev 0)
+++ testing-i686/thinkfinger.install	2012-04-28 21:41:19 UTC (rev 157519)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "==> To use thinkfinger, add 'uinput' to the MODULES=() in /etc/rc.conf."
+  echo "    More Infos: http://wiki.archlinux.org/index.php/Thinkfinger"
+}



More information about the arch-commits mailing list