Date: Sun, 02 Oct 2011 03:45:02 -0500 From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161225: security/pam_fprint: Updates to the last git version Message-ID: <4e882498.a3cfe70a.7af1.0555@mx.google.com> Resent-Message-ID: <201110020850.p928o7iM037459@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161225 >Category: ports >Synopsis: security/pam_fprint: Updates to the last git version >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 02 08:50:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #9 r225739: Sat Sep 24 04:14:17 CDT 2011 lichray@compaq.yuetime:/usr/obj/home/lichray/devel/freebsd-stable/sys/HOUKAGO amd64 >Description: There's one more commit after version 0.2 on github. After that, the software discontinued. This version is adopted by Debian. >How-To-Repeat: >Fix: I don't know why aclocal is not called or being called in wrong order if I set USE_AUTOTOOLS= aclocal autoconf automake. If you know a better solution, please teach me how to fix the problem. --- pam_fprint-20080330.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/Makefile /usr/ports/security/pam_fprint/Makefile --- /usr/ports/security/pam_fprint.orig/Makefile 2010-03-28 01:43:27.000000000 -0500 +++ /usr/ports/security/pam_fprint/Makefile 2011-10-02 01:44:34.349842010 -0500 @@ -6,28 +6,35 @@ # PORTNAME= pam_fprint -PORTVERSION= 0.2 -PORTREVISION= 4 +PORTVERSION= 20080330 CATEGORIES= security -MASTER_SITES= SF/fprint/${PORTNAME}/v${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_DEBIAN} +MASTER_SITE_SUBDIR= pool/main/p/${PORTNAME:C/_/-/} +DISTNAME= ${PORTNAME:C/_/-/}_${PORTVERSION}+git.orig MAINTAINER= ports@FreeBSD.org COMMENT= PAM module offering finger print authentication using libfprint LIB_DEPENDS= fprint:${PORTSDIR}/security/libfprint +USE_AUTOTOOLS= autoconf automake +AUTOMAKE_ARGS= -a CONFIGURE_ENV+= FPRINT_CFLAGS=-I${LOCALBASE}/include GNU_CONFIGURE= yes -USE_BZIP2= yes USE_GNOME= pkgconfig +WRKSRC= ${WRKDIR} + PLIST_FILES+= bin/pam_fprint_enroll \ lib/pam_fprint.so SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +pre-configure: + cd ${WRKDIR} && aclocal + post-install: @${ECHO} @${ECHO} ========================================================================= diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/distinfo /usr/ports/security/pam_fprint/distinfo --- /usr/ports/security/pam_fprint.orig/distinfo 2011-07-03 09:03:22.000000000 -0500 +++ /usr/ports/security/pam_fprint/distinfo 2011-10-02 01:42:36.285161534 -0500 @@ -1,2 +1,2 @@ -SHA256 (pam_fprint-0.2.tar.bz2) = 57cba8a951d4127e5be4c3b2ced0c1c6fac0201a08c833f1644f0ea2e3fa8a72 -SIZE (pam_fprint-0.2.tar.bz2) = 72781 +SHA256 (pam-fprint_20080330+git.orig.tar.gz) = c8204f47f49d0d931bef8226c8d3c6b7c72c31e20bbf59039c4e2ec7660805f3 +SIZE (pam-fprint_20080330+git.orig.tar.gz) = 16000 diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/files/patch-src_Makefile.am /usr/ports/security/pam_fprint/files/patch-src_Makefile.am --- /usr/ports/security/pam_fprint.orig/files/patch-src_Makefile.am 1969-12-31 18:00:00.000000000 -0600 +++ /usr/ports/security/pam_fprint/files/patch-src_Makefile.am 2011-10-02 01:52:23.445026744 -0500 @@ -0,0 +1,11 @@ +--- src/Makefile.am~ 2009-01-08 15:31:21.000000000 -0600 ++++ src/Makefile.am 2011-10-02 01:51:52.845401986 -0500 +@@ -1,7 +1,6 @@ +-noinst_PROGRAMS = pamtest + bin_PROGRAMS = pam_fprint_enroll + pammod_PROGRAMS = pam_fprint.so +-pammoddir=/lib/security ++pammoddir=$(PREFIX)/lib + + pam_fprint_so_SOURCES = pam_fprint.c + pam_fprint_so_CFLAGS = -fPIC $(FPRINT_CFLAGS) diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/files/patch-src_Makefile.in /usr/ports/security/pam_fprint/files/patch-src_Makefile.in --- /usr/ports/security/pam_fprint.orig/files/patch-src_Makefile.in 2008-04-15 16:15:09.000000000 -0500 +++ /usr/ports/security/pam_fprint/files/patch-src_Makefile.in 1969-12-31 18:00:00.000000000 -0600 @@ -1,20 +0,0 @@ ---- src/Makefile.in.orig 2007-11-19 20:15:11.000000000 +0100 -+++ src/Makefile.in 2008-04-12 18:44:55.000000000 +0200 -@@ -30,7 +30,7 @@ - NORMAL_UNINSTALL = : - PRE_UNINSTALL = : - POST_UNINSTALL = : --noinst_PROGRAMS = pamtest$(EXEEXT) -+noinst_PROGRAMS = - bin_PROGRAMS = pam_fprint_enroll$(EXEEXT) - pammod_PROGRAMS = pam_fprint.so$(EXEEXT) - subdir = src -@@ -163,7 +163,7 @@ - target_alias = @target_alias@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ --pammoddir = /lib/security -+pammoddir = ${PREFIX}/lib - pam_fprint_so_SOURCES = pam_fprint.c - pam_fprint_so_CFLAGS = -fPIC $(FPRINT_CFLAGS) - pam_fprint_so_LDFLAGS = -shared diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/files/pkg-message.in /usr/ports/security/pam_fprint/files/pkg-message.in --- /usr/ports/security/pam_fprint.orig/files/pkg-message.in 2008-07-31 15:35:48.000000000 -0500 +++ /usr/ports/security/pam_fprint/files/pkg-message.in 2011-10-02 02:05:23.408986994 -0500 @@ -1,25 +1,3 @@ -In order to enroll new finger prints, you must have r/w access to the -usb device node(s) of your finger print reader (i.e., /dev/{ugen, usb*}) -(tested with UPEK finger print reader as found in Lenovo T61). - -It is recommended to use devfs.rules(5) and a dedicated group to manage -access to your finger print reader. - -You can use `usbdevs -v' to see if your sensor is accessible. - -Example configuration: -- /etc/rc.conf: -devfs_system_ruleset="localrules" - -- /etc/devfs.rules: -[localrules=10] -add path 'ugen0*' mode 0660 group operator -add path 'usb0*' mode 0660 group operator - -# /etc/rc.d/devfs restart - -Read `pam_fprint_enroll --help' to learn about enrolling fingers. - The security/fprint_demo port contains the graphical `fprint_demo' application that allows you to manage your finger prints in a comfortable way. diff -ruN --exclude=CVS /usr/ports/security/pam_fprint.orig/files/pkg-message.in~ /usr/ports/security/pam_fprint/files/pkg-message.in~ --- /usr/ports/security/pam_fprint.orig/files/pkg-message.in~ 1969-12-31 18:00:00.000000000 -0600 +++ /usr/ports/security/pam_fprint/files/pkg-message.in~ 2008-07-31 15:35:48.000000000 -0500 @@ -0,0 +1,35 @@ +In order to enroll new finger prints, you must have r/w access to the +usb device node(s) of your finger print reader (i.e., /dev/{ugen, usb*}) +(tested with UPEK finger print reader as found in Lenovo T61). + +It is recommended to use devfs.rules(5) and a dedicated group to manage +access to your finger print reader. + +You can use `usbdevs -v' to see if your sensor is accessible. + +Example configuration: +- /etc/rc.conf: +devfs_system_ruleset="localrules" + +- /etc/devfs.rules: +[localrules=10] +add path 'ugen0*' mode 0660 group operator +add path 'usb0*' mode 0660 group operator + +# /etc/rc.d/devfs restart + +Read `pam_fprint_enroll --help' to learn about enrolling fingers. + +The security/fprint_demo port contains the graphical `fprint_demo' +application that allows you to manage your finger prints in a comfortable +way. + +After enrolling fingerprints for your user(s), you can enable finger +print authentication by adding the following line to the corresponding +PAM configuration file(s) (see the PAM documentation and the pam_fprint +web site for more information). + +auth sufficient %%PREFIX%%/lib/pam_fprint.so + +/etc/pam.d/system is used for system-wide defaults, +/etc/pam.d/{gdm, kde} are used by the GDM/KDM login managers. --- pam_fprint-20080330.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e882498.a3cfe70a.7af1.0555>