public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-auth/thinkfinger: ChangeLog thinkfinger-0.3-r2.ebuild thinkfinger-0.3.ebuild thinkfinger-0.2.2-r1.ebuild thinkfinger-0.3-r1.ebuild
@ 2010-04-11 15:33 Tony Vroon (chainsaw)
  0 siblings, 0 replies; only message in thread
From: Tony Vroon (chainsaw) @ 2010-04-11 15:33 UTC (permalink / raw
  To: gentoo-commits

chainsaw    10/04/11 15:33:02

  Modified:             ChangeLog
  Added:                thinkfinger-0.3-r2.ebuild
  Removed:              thinkfinger-0.3.ebuild thinkfinger-0.2.2-r1.ebuild
                        thinkfinger-0.3-r1.ebuild
  Log:
  Revision bump by Víctor Enríquez Miguel. Patches from mephinet & Michael Weber close bug #298459. Patch from Michael Weber closes bug #309751.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  sys-auth/thinkfinger/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/thinkfinger/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/thinkfinger/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/thinkfinger/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	18 Feb 2009 15:37:38 -0000	1.7
+++ ChangeLog	11 Apr 2010 15:33:02 -0000	1.8
@@ -1,6 +1,15 @@
 # ChangeLog for sys-auth/thinkfinger
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.7 2009/02/18 15:37:38 chainsaw Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.8 2010/04/11 15:33:02 chainsaw Exp $
+
+*thinkfinger-0.3-r2 (11 Apr 2010)
+
+  11 Apr 2010; <chainsaw@gentoo.org> +files/0.3-send-sync-event.patch,
+  -thinkfinger-0.2.2-r1.ebuild, -thinkfinger-0.3.ebuild,
+  files/60-thinkfinger.rules, -thinkfinger-0.3-r1.ebuild,
+  +thinkfinger-0.3-r2.ebuild:
+  Revision bump by Víctor Enríquez Miguel. Patches from mephinet & Michael
+  Weber close bug #298459. Patch from Michael Weber closes bug #309751.
 
 *thinkfinger-0.3-r1 (18 Feb 2009)
 



1.1                  sys-auth/thinkfinger/thinkfinger-0.3-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r2.ebuild?rev=1.1&content-type=text/plain

Index: thinkfinger-0.3-r2.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r2.ebuild,v 1.1 2010/04/11 15:33:02 chainsaw Exp $

inherit pam linux-info eutils

DESCRIPTION="Support for the UPEK/SGS Thomson Microelectronics fingerprint reader, often seen in Thinkpads"
HOMEPAGE="http://thinkfinger.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug pam"

RDEPEND=">=dev-libs/libusb-0.1.12
	pam? ( virtual/pam )"
DEPEND="${RDEPEND}
	sys-devel/libtool
	>=dev-util/pkgconfig-0.9.0"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${PV}-direct_set_config_usb_hello.patch" || die
	epatch "${FILESDIR}/${PV}-carriagereturn.patch" || die
	epatch "${FILESDIR}/${PV}-send-sync-event.patch" || die
	epatch "${FILESDIR}/${PV}-tftoolgroup.patch" || die
}

pkg_preinst() {
	enewgroup fingerprint
}

pkg_setup() {
	if use pam ; then
		CONFIG_CHECK="~INPUT_UINPUT"
		ERROR_CFG="Your kernel needs uinput for the pam module to work"
		check_extra_config
	fi
}

src_compile() {
	econf \
		$(use_enable pam) \
		$(use_enable debug usb-debug) \
		"--with-securedir=$(getpam_mod_dir)" \
		|| die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" install || die
	keepdir /etc/pam_thinkfinger
	dodoc AUTHORS ChangeLog NEWS README
	insinto /etc/udev/rules.d/
	doins "${FILESDIR}/60-thinkfinger.rules"
}

pkg_postinst() {
	fowners root:fingerprint /etc/pam_thinkfinger
	fperms 710 /etc/pam_thinkfinger
	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 use 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"
		elog ""
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-11 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-11 15:33 [gentoo-commits] gentoo-x86 commit in sys-auth/thinkfinger: ChangeLog thinkfinger-0.3-r2.ebuild thinkfinger-0.3.ebuild thinkfinger-0.2.2-r1.ebuild thinkfinger-0.3-r1.ebuild Tony Vroon (chainsaw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox