aboutsummaryrefslogtreecommitdiff
path: root/security/libfprint
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2008-04-15 21:14:17 +0000
committerSimon Barner <barner@FreeBSD.org>2008-04-15 21:14:17 +0000
commit0d3f3d0c946e6bce28bc3fe068f50a453f649793 (patch)
tree8944c1360449614dcf2a7f2dddd84abdc8eced11 /security/libfprint
parent52dacc229dce957210a6e425c88e362f58f79293 (diff)
downloadports-0d3f3d0c946e6bce28bc3fe068f50a453f649793.tar.gz
ports-0d3f3d0c946e6bce28bc3fe068f50a453f649793.zip
Notes
Diffstat (limited to 'security/libfprint')
-rw-r--r--security/libfprint/Makefile32
-rw-r--r--security/libfprint/distinfo3
-rw-r--r--security/libfprint/files/patch-Makefile.in11
-rw-r--r--security/libfprint/files/patch-libfprint_imgdev.c11
-rw-r--r--security/libfprint/pkg-descr5
-rw-r--r--security/libfprint/pkg-plist6
6 files changed, 68 insertions, 0 deletions
diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile
new file mode 100644
index 000000000000..cf1fc16da8ff
--- /dev/null
+++ b/security/libfprint/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: libfprint
+# Date created: April 12 2008
+# Whom: barner
+#
+# $FreeBSD$
+#
+
+PORTNAME= libfprint
+PORTVERSION= 0.0.6
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= fprint
+
+MAINTAINER= barner@FreeBSD.org
+COMMENT= Library for fingerprint reader devices
+
+LIB_DEPENDS+= Magick:${PORTSDIR}/graphics/ImageMagick \
+ usb:${PORTSDIR}/devel/libusb
+
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+USE_LDCONFIG= yes
+USE_OPENSSL= yes
+USE_GNOME= glib20 pkgconfig
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ENV+= CRYPTO_CFLAGS=-I${OPENSSLINC} \
+ CRYPTO_LIBS=-lcrypto \
+ CFLAGS="${CFLAGS} -DHAVE_MEMMEM"
+
+.include <bsd.port.post.mk>
diff --git a/security/libfprint/distinfo b/security/libfprint/distinfo
new file mode 100644
index 000000000000..49e11d52c553
--- /dev/null
+++ b/security/libfprint/distinfo
@@ -0,0 +1,3 @@
+MD5 (libfprint-0.0.6.tar.bz2) = 4f47b46021b186488b60aaa97f90fe43
+SHA256 (libfprint-0.0.6.tar.bz2) = 5d16fadaecb432ab52ca97a59301dc8ca83cac75f3b57145266b562a1ebcc5dd
+SIZE (libfprint-0.0.6.tar.bz2) = 431957
diff --git a/security/libfprint/files/patch-Makefile.in b/security/libfprint/files/patch-Makefile.in
new file mode 100644
index 000000000000..d7f2e5abbda2
--- /dev/null
+++ b/security/libfprint/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2008-04-12 20:04:30.000000000 +0200
++++ Makefile.in 2008-04-12 20:04:59.000000000 +0200
+@@ -209,7 +209,7 @@
+ EXTRA_DIST = THANKS TODO HACKING libfprint.pc.in
+ DISTCLEANFILES = ChangeLog libfprint.pc
+ SUBDIRS = libfprint doc $(am__append_1)
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = ${PREFIX}/libdata/pkgconfig
+ pkgconfig_DATA = libfprint.pc
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/security/libfprint/files/patch-libfprint_imgdev.c b/security/libfprint/files/patch-libfprint_imgdev.c
new file mode 100644
index 000000000000..eade6e1c4ccc
--- /dev/null
+++ b/security/libfprint/files/patch-libfprint_imgdev.c
@@ -0,0 +1,11 @@
+--- libfprint/imgdev.c.orig 2008-04-12 14:37:10.000000000 +0200
++++ libfprint/imgdev.c 2008-04-12 14:40:17.000000000 +0200
+@@ -175,7 +175,7 @@
+
+ if (img == NULL) {
+ fp_err("capture succeeded but no image returned?");
+- return -ENODATA;
++ return -ENOMSG;
+ }
+
+ if (!unconditional && imgdrv->await_finger_off) {
diff --git a/security/libfprint/pkg-descr b/security/libfprint/pkg-descr
new file mode 100644
index 000000000000..5d0f41b2c00c
--- /dev/null
+++ b/security/libfprint/pkg-descr
@@ -0,0 +1,5 @@
+libfprint is an open source software library designed to make it easy for
+application developers to add support for consumer fingerprint readers to
+their software.
+
+WWW: http://www.reactivated.net/fprint/wiki/Libfprint
diff --git a/security/libfprint/pkg-plist b/security/libfprint/pkg-plist
new file mode 100644
index 000000000000..7ef0b42fb5b4
--- /dev/null
+++ b/security/libfprint/pkg-plist
@@ -0,0 +1,6 @@
+include/libfprint/fprint.h
+lib/libfprint.a
+lib/libfprint.la
+lib/libfprint.so
+lib/libfprint.so.0
+libdata/pkgconfig/libfprint.pc