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

Tom Gundersen tomegun at nymeria.archlinux.org
Sun May 12 23:30:56 UTC 2013


    Date: Monday, May 13, 2013 @ 01:30:55
  Author: tomegun
Revision: 185287

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  thinkfinger/repos/testing-i686/
  thinkfinger/repos/testing-i686/PKGBUILD
    (from rev 185286, thinkfinger/trunk/PKGBUILD)
  thinkfinger/repos/testing-i686/gcc46.patch
    (from rev 185286, thinkfinger/trunk/gcc46.patch)
  thinkfinger/repos/testing-i686/thinkfinger-uinput-hack.patch
    (from rev 185286, thinkfinger/trunk/thinkfinger-uinput-hack.patch)
  thinkfinger/repos/testing-x86_64/
  thinkfinger/repos/testing-x86_64/PKGBUILD
    (from rev 185286, thinkfinger/trunk/PKGBUILD)
  thinkfinger/repos/testing-x86_64/gcc46.patch
    (from rev 185286, thinkfinger/trunk/gcc46.patch)
  thinkfinger/repos/testing-x86_64/thinkfinger-uinput-hack.patch
    (from rev 185286, thinkfinger/trunk/thinkfinger-uinput-hack.patch)

----------------------------------------------+
 testing-i686/PKGBUILD                        |   44 +++++++++++++++++++++++++
 testing-i686/gcc46.patch                     |   22 ++++++++++++
 testing-i686/thinkfinger-uinput-hack.patch   |   13 +++++++
 testing-x86_64/PKGBUILD                      |   44 +++++++++++++++++++++++++
 testing-x86_64/gcc46.patch                   |   22 ++++++++++++
 testing-x86_64/thinkfinger-uinput-hack.patch |   13 +++++++
 6 files changed, 158 insertions(+)

Copied: thinkfinger/repos/testing-i686/PKGBUILD (from rev 185286, thinkfinger/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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=7
+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')
+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 $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 \
+              --sbindir=/usr/bin \
+              --with-birdir=/etc/pam_thinkfinger
+  make
+}
+
+package() {
+  cd $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 185286, thinkfinger/trunk/gcc46.patch)
===================================================================
--- testing-i686/gcc46.patch	                        (rev 0)
+++ testing-i686/gcc46.patch	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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 185286, thinkfinger/trunk/thinkfinger-uinput-hack.patch)
===================================================================
--- testing-i686/thinkfinger-uinput-hack.patch	                        (rev 0)
+++ testing-i686/thinkfinger-uinput-hack.patch	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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-x86_64/PKGBUILD (from rev 185286, thinkfinger/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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=7
+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')
+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 $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 \
+              --sbindir=/usr/bin \
+              --with-birdir=/etc/pam_thinkfinger
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  # create dir to store fingerprints
+  install -d $pkgdir/etc/pam_thinkfinger
+  
+  make DESTDIR=$pkgdir install
+}

Copied: thinkfinger/repos/testing-x86_64/gcc46.patch (from rev 185286, thinkfinger/trunk/gcc46.patch)
===================================================================
--- testing-x86_64/gcc46.patch	                        (rev 0)
+++ testing-x86_64/gcc46.patch	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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-x86_64/thinkfinger-uinput-hack.patch (from rev 185286, thinkfinger/trunk/thinkfinger-uinput-hack.patch)
===================================================================
--- testing-x86_64/thinkfinger-uinput-hack.patch	                        (rev 0)
+++ testing-x86_64/thinkfinger-uinput-hack.patch	2013-05-12 23:30:55 UTC (rev 185287)
@@ -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;




More information about the arch-commits mailing list