Initial commit, ebuild by me but heavily inspired by the work of John Schember <j5483...
authorTony Vroon <chainsaw@gentoo.org>
Wed, 21 Feb 2007 16:40:45 +0000 (16:40 +0000)
committerTony Vroon <chainsaw@gentoo.org>
Wed, 21 Feb 2007 16:40:45 +0000 (16:40 +0000)
Package-Manager: portage-2.1.2-r10

sys-auth/thinkfinger/ChangeLog [new file with mode: 0644]
sys-auth/thinkfinger/Manifest [new file with mode: 0644]
sys-auth/thinkfinger/files/digest-thinkfinger-0.2.2 [new file with mode: 0644]
sys-auth/thinkfinger/metadata.xml [new file with mode: 0644]
sys-auth/thinkfinger/thinkfinger-0.2.2.ebuild [new file with mode: 0644]

diff --git a/sys-auth/thinkfinger/ChangeLog b/sys-auth/thinkfinger/ChangeLog
new file mode 100644 (file)
index 0000000..b3bd968
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for sys-auth/thinkfinger
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.1 2007/02/21 16:40:45 chainsaw Exp $
+
+*thinkfinger-0.2.2 (21 Feb 2007)
+
+  21 Feb 2007; Tony Vroon <chainsaw@gentoo.org> +metadata.xml,
+  +thinkfinger-0.2.2.ebuild:
+  Initial commit, ebuild by me but heavily inspired by the work of John
+  Schember <j5483@yahoo.com>. Closes bug #162297.
+
diff --git a/sys-auth/thinkfinger/Manifest b/sys-auth/thinkfinger/Manifest
new file mode 100644 (file)
index 0000000..20a7cbf
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST thinkfinger-0.2.2.tar.gz 362593 RMD160 1cebb0df186753c8faf0cf550968c7425f38a0e8 SHA1 374ddef8bbf8fc3c5f590bc60a96c3700f2200f0 SHA256 d3acf4f2e06bee4db6cce655938e8d59136dc212957305afdbf7d470f3a931d2
+EBUILD thinkfinger-0.2.2.ebuild 1422 RMD160 a1a4135693d6069c6c371aa818f1c3be8309e622 SHA1 6164ceacddb7beda33327fdb47d377fbcb28a2d4 SHA256 1bec484199c1599af042e26447b5adcc6ea6043b38b7736ffaa7db2ab92570fe
+MD5 1ec4d354074e6831ea201b1743141ecc thinkfinger-0.2.2.ebuild 1422
+RMD160 a1a4135693d6069c6c371aa818f1c3be8309e622 thinkfinger-0.2.2.ebuild 1422
+SHA256 1bec484199c1599af042e26447b5adcc6ea6043b38b7736ffaa7db2ab92570fe thinkfinger-0.2.2.ebuild 1422
+MISC ChangeLog 464 RMD160 eb0e8c96defe3e41b0817fa8e7db9dd57895f2d2 SHA1 074fa516b3f14d94299c9104580bb2c449217e4d SHA256 bf0806e4cf6f9fa8ad74eebf9ef95a33c1343e58bf9280d6b0928aa42cc05826
+MD5 78f0f609c83ee6753a96a0c2ea9a72a4 ChangeLog 464
+RMD160 eb0e8c96defe3e41b0817fa8e7db9dd57895f2d2 ChangeLog 464
+SHA256 bf0806e4cf6f9fa8ad74eebf9ef95a33c1343e58bf9280d6b0928aa42cc05826 ChangeLog 464
+MISC metadata.xml 310 RMD160 5b57282cd45b5ebfd0a5182cd665dbb684a7d25c SHA1 9f12cf187b3a67133f2ae900cf70fcc7f7a27b9a SHA256 c63ceb5c6294486637d1c424469d11db066aa906dc970e9be311c29a6563a3c6
+MD5 8f1e90704bb2c9032265622d1a1acc6b metadata.xml 310
+RMD160 5b57282cd45b5ebfd0a5182cd665dbb684a7d25c metadata.xml 310
+SHA256 c63ceb5c6294486637d1c424469d11db066aa906dc970e9be311c29a6563a3c6 metadata.xml 310
+MD5 9056760542ad0757275242180f61792e files/digest-thinkfinger-0.2.2 253
+RMD160 81519f790f60be1d066946d9e3d3c9f9e493e136 files/digest-thinkfinger-0.2.2 253
+SHA256 564948d49d0d8999c9ccb91248cad6580a951e64a5d05c71ea486092be3cb782 files/digest-thinkfinger-0.2.2 253
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF3HYVp5vW4rUFj5oRAjjEAJ0ZKkp9SzJ+Xjs57dNS6vbAh2jXIgCeJVz6
+qiMRMuJDpBDY1OvM9AvWPBA=
+=2k6+
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/thinkfinger/files/digest-thinkfinger-0.2.2 b/sys-auth/thinkfinger/files/digest-thinkfinger-0.2.2
new file mode 100644 (file)
index 0000000..be2ccd8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 82c3b74c369fc231379d48af9e8ff851 thinkfinger-0.2.2.tar.gz 362593
+RMD160 1cebb0df186753c8faf0cf550968c7425f38a0e8 thinkfinger-0.2.2.tar.gz 362593
+SHA256 d3acf4f2e06bee4db6cce655938e8d59136dc212957305afdbf7d470f3a931d2 thinkfinger-0.2.2.tar.gz 362593
diff --git a/sys-auth/thinkfinger/metadata.xml b/sys-auth/thinkfinger/metadata.xml
new file mode 100644 (file)
index 0000000..c20e135
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>no-herd</herd>
+  <maintainer>
+          <email>chainsaw@gentoo.org</email>
+          <name>Tony Vroon</name>
+  </maintainer>
+  <longdescription></longdescription>
+</pkgmetadata>
diff --git a/sys-auth/thinkfinger/thinkfinger-0.2.2.ebuild b/sys-auth/thinkfinger/thinkfinger-0.2.2.ebuild
new file mode 100644 (file)
index 0000000..dbd1447
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.2.2.ebuild,v 1.1 2007/02/21 16:40:45 chainsaw Exp $
+
+DESCRIPTION="Support for the UPEK/SGS Thomson Microelectronics fingerprint reader, often seen in Thinkpads"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://thinkfinger.sourceforge.net/"
+
+RDEPEND=">=dev-libs/libusb-0.1.12
+       pam? ( virtual/pam )"
+DEPEND="${RDEPEND}
+       sys-devel/libtool
+       >=dev-util/pkgconfig-0.9.0"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="pam"
+
+src_compile() {
+       econf \
+               $(use_enable pam) \
+               || die
+
+       emake || die "make failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die
+       keepdir /etc/pam_thinkfinger
+       dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+       elog "Use tf-tool --acquire to take a finger print"
+       elog "tf-tool will write the finger print file to /tmp/test.bir"
+       elog ""
+       if useq pam ; then
+               elog "To add a fingerprint to PAM, use tf-tool --add-user USERNAME"
+               elog ""
+               elog "Add the following to /etc/pam.d/system-auth after pam_env.so"
+               elog "auth     sufficient     pam_thinkfinger.so"
+               elog ""
+               elog "Your system-auth should look similar to:"
+               elog "auth     required     pam_env.so"
+               elog "auth     sufficient   pam_thinkfinger.so"
+               elog "auth     sufficient   pam_unix.so try_first_pass likeauth nullok"
+       fi
+}