summaryrefslogtreecommitdiff
path: root/testing/thinkfinger
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-05-28 20:14:47 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-05-28 20:14:47 +0000
commitedec45419def1b81bd663a2859684ef55ba56269 (patch)
treecaa3c2d5f4e55b38e7740a39d80a21507679c586 /testing/thinkfinger
parent483f7de4ab6a706517279a24d2efc969f4a1996d (diff)
Mon May 28 20:14:39 UTC 2012
Diffstat (limited to 'testing/thinkfinger')
-rw-r--r--testing/thinkfinger/PKGBUILD44
-rw-r--r--testing/thinkfinger/gcc46.patch22
-rw-r--r--testing/thinkfinger/thinkfinger-uinput-hack.patch13
-rw-r--r--testing/thinkfinger/thinkfinger.install4
4 files changed, 0 insertions, 83 deletions
diff --git a/testing/thinkfinger/PKGBUILD b/testing/thinkfinger/PKGBUILD
deleted file mode 100644
index 7aae89b5d..000000000
--- a/testing/thinkfinger/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 157520 2012-04-28 21:41:20Z dreisner $
-# Maintainer: Tom Gundersen <teg@jklm.no>
-# Contributor: François Charette <francois.archlinux.org>
-# Contributor: Damir Perisa <damir.archlinux.org>
-# Contributor: Björn Martensen <bjoern.martensen@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
-}
diff --git a/testing/thinkfinger/gcc46.patch b/testing/thinkfinger/gcc46.patch
deleted file mode 100644
index 24e4b534f..000000000
--- a/testing/thinkfinger/gcc46.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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@pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
- @HAVE_OLD_PAM_TRUE@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
diff --git a/testing/thinkfinger/thinkfinger-uinput-hack.patch b/testing/thinkfinger/thinkfinger-uinput-hack.patch
deleted file mode 100644
index 0ac153464..000000000
--- a/testing/thinkfinger/thinkfinger-uinput-hack.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-#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;
diff --git a/testing/thinkfinger/thinkfinger.install b/testing/thinkfinger/thinkfinger.install
deleted file mode 100644
index bb1f6dde0..000000000
--- a/testing/thinkfinger/thinkfinger.install
+++ /dev/null
@@ -1,4 +0,0 @@
-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"
-}