diff options
author | barner <barner@FreeBSD.org> | 2008-04-16 05:14:17 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2008-04-16 05:14:17 +0800 |
commit | 1c7304922533fa2b7aa31b830122ba005c27009b (patch) | |
tree | 5597d7c6ad8ca5a60a3651707cc7800cefffad9c /security | |
parent | 1940a616dd6cceb40bd41a7fc06945ccbf975f9d (diff) | |
download | freebsd-ports-gnome-1c7304922533fa2b7aa31b830122ba005c27009b.tar.gz freebsd-ports-gnome-1c7304922533fa2b7aa31b830122ba005c27009b.tar.zst freebsd-ports-gnome-1c7304922533fa2b7aa31b830122ba005c27009b.zip |
Add libfprint 0.0.6, library for fingerprint reader devices.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libfprint/Makefile | 32 | ||||
-rw-r--r-- | security/libfprint/distinfo | 3 | ||||
-rw-r--r-- | security/libfprint/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | security/libfprint/files/patch-libfprint_imgdev.c | 11 | ||||
-rw-r--r-- | security/libfprint/pkg-descr | 5 | ||||
-rw-r--r-- | security/libfprint/pkg-plist | 6 |
7 files changed, 69 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 8cdd01ccb334..49dbd71a3cc9 100644 --- a/security/Makefile +++ b/security/Makefile @@ -236,6 +236,7 @@ SUBDIR += libassuan SUBDIR += libbf SUBDIR += libecc + SUBDIR += libfprint SUBDIR += libfwbuilder SUBDIR += libgcrypt SUBDIR += libgnomesu 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 |