summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2008-04-15 21:15:40 +0000
committerSimon Barner <barner@FreeBSD.org>2008-04-15 21:15:40 +0000
commit9d891d2bd539c4efa176418b5847e5ce119b4bfc (patch)
tree60684984c6ffada5f1cb235b7a5040ebf8917fb9
parentAdd pam_fprint 0.2, PAM module offering finger print authentication (diff)
Add fprint_demo 0.4, demo and test application for libfprint.
Notes
Notes: svn path=/head/; revision=211321
-rw-r--r--security/Makefile1
-rw-r--r--security/fprint_demo/Makefile40
-rw-r--r--security/fprint_demo/distinfo3
-rw-r--r--security/fprint_demo/pkg-descr5
-rw-r--r--security/fprint_demo/pkg-message16
5 files changed, 65 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 23b0755012bb..1b5605a19538 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -139,6 +139,7 @@
SUBDIR += fpc-hash
SUBDIR += fpc-openssl
SUBDIR += fpm
+ SUBDIR += fprint_demo
SUBDIR += fragroute
SUBDIR += fragrouter
SUBDIR += freebsd-update
diff --git a/security/fprint_demo/Makefile b/security/fprint_demo/Makefile
new file mode 100644
index 000000000000..ebcb695d5127
--- /dev/null
+++ b/security/fprint_demo/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: fprint_demo
+# Date created: April 12 2008
+# Whom: barner
+#
+# $FreeBSD$
+#
+
+PORTNAME= fprint_demo
+PORTVERSION= 0.4
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= fprint
+
+MAINTAINER= barner@FreeBSD.org
+COMMENT= Demo and test application for libfprint
+
+LIB_DEPENDS= fprint:${PORTSDIR}/security/libfprint
+
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+USE_GNOME= atk glib20 gtk20 pango pkgconfig
+
+PLIST_FILES+= bin/fprint_demo
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ENV+= CRYPTO_CFLAGS=-I${OPENSSLINC} \
+ CRYPTO_LIBS=-lcrypto \
+ CFLAGS="${CFLAGS} -DHAVE_MEMMEM"
+
+post-install:
+ @${ECHO}
+ @${ECHO} =========================================================================
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} =========================================================================
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/security/fprint_demo/distinfo b/security/fprint_demo/distinfo
new file mode 100644
index 000000000000..668e4543b378
--- /dev/null
+++ b/security/fprint_demo/distinfo
@@ -0,0 +1,3 @@
+MD5 (fprint_demo-0.4.tar.bz2) = 32e663a938e19801bdd17105d5c4d310
+SHA256 (fprint_demo-0.4.tar.bz2) = f071c0f3ae37365803c074fb5a544fb8cfa9fdd4ca9be9efe0488889ccb41267
+SIZE (fprint_demo-0.4.tar.bz2) = 75986
diff --git a/security/fprint_demo/pkg-descr b/security/fprint_demo/pkg-descr
new file mode 100644
index 000000000000..771b658494d0
--- /dev/null
+++ b/security/fprint_demo/pkg-descr
@@ -0,0 +1,5 @@
+fprint_demo is a simple GTK+ application to demonstrate and
+test libfprint's capabilities. It can be used to enroll new finger prints
+as well as verify and delete existing data sets.
+
+WWW: http://www.reactivated.net/fprint/wiki/Fprint_demo
diff --git a/security/fprint_demo/pkg-message b/security/fprint_demo/pkg-message
new file mode 100644
index 000000000000..14cbc92b49aa
--- /dev/null
+++ b/security/fprint_demo/pkg-message
@@ -0,0 +1,16 @@
+In order to enroll new finger prints, you must have r/w access to the
+usb device node(s) of your finger print reader (e.g. /dev/ugen*)
+(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.
+
+Example configuration:
+- /etc/rc.conf:
+devfs_system_ruleset="localrules"
+
+- /etc/devfs.rules:
+[localrules=10]
+add path 'ugen0*' mode 0660 group operator
+
+# /etc/rc.d/devfs restart