summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-08-15 22:04:22 +0000
committermarino <marino@FreeBSD.org>2014-08-15 22:04:22 +0000
commit2ed1fdbe08a5e0b81b57356b8159f83ef0476b83 (patch)
tree6b6c458f2d4e75483dba7556f833541c7b4feeef
parentdb21f43f0f6132ef1d22b298417b7be7c24502b9 (diff)
downloadFreeBSD-ports-2ed1fdbe08a5e0b81b57356b8159f83ef0476b83.zip
FreeBSD-ports-2ed1fdbe08a5e0b81b57356b8159f83ef0476b83.tar.gz
security/libfprint: Upgrade version 0.4.0 => 0.5.1
PR: 188854 Submitted by: Martin Birgmeier Approved by: maintainer (lichray)
-rw-r--r--security/libfprint/Makefile6
-rw-r--r--security/libfprint/distinfo4
-rw-r--r--security/libfprint/files/patch-libfprint-drivers-vfs301.c11
-rw-r--r--security/libfprint/files/patch-libfprint-drivers-vfs301_proto.c11
-rw-r--r--security/libfprint/files/patch-libfprint-drivers-vfs301_proto.h11
5 files changed, 38 insertions, 5 deletions
diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile
index 89c05e5..49420d9 100644
--- a/security/libfprint/Makefile
+++ b/security/libfprint/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libfprint
-PORTVERSION= 0.4.0
-PORTREVISION= 5
+PORTVERSION= 0.5.1
CATEGORIES= security
MASTER_SITES= http://people.freedesktop.org/~hadess/
@@ -14,10 +13,11 @@ LIB_DEPENDS= libMagickCore-6.Q*.so:${PORTSDIR}/graphics/ImageMagick \
libnss3.so:${PORTSDIR}/security/nss
GNU_CONFIGURE= yes
-USES= libtool pathfix pkgconfig tar:bzip2
+USES= libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_GNOME= glib20
+INSTALL_TARGET= install-strip
CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
CPPFLAGS+= -DHAVE_MEMMEM
diff --git a/security/libfprint/distinfo b/security/libfprint/distinfo
index 504d13a..830dae8 100644
--- a/security/libfprint/distinfo
+++ b/security/libfprint/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libfprint-0.4.0.tar.bz2) = 318d5c3910e37a71a1b2b27fe676726ec14cafafe2f86ecbe3b1412cbe2a2132
-SIZE (libfprint-0.4.0.tar.bz2) = 476262
+SHA256 (libfprint-0.5.1.tar.xz) = 6d12563b91888b84b71eee6d2e113d8e9e9940c6a28a0915656b6f86b9568fb3
+SIZE (libfprint-0.5.1.tar.xz) = 494020
diff --git a/security/libfprint/files/patch-libfprint-drivers-vfs301.c b/security/libfprint/files/patch-libfprint-drivers-vfs301.c
new file mode 100644
index 0000000..a394da5
--- /dev/null
+++ b/security/libfprint/files/patch-libfprint-drivers-vfs301.c
@@ -0,0 +1,11 @@
+--- ./libfprint/drivers/vfs301.c.ORIG 2013-06-26 14:13:00.000000000 +0200
++++ ./libfprint/drivers/vfs301.c 2014-04-21 11:09:12.000000000 +0200
+@@ -27,7 +27,7 @@
+ #include <stdio.h>
+ #include <assert.h>
+ #include <stdlib.h>
+-#include <libusb-1.0/libusb.h>
++#include <libusb.h>
+
+ #include "vfs301_proto.h"
+ #include <unistd.h>
diff --git a/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.c b/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.c
new file mode 100644
index 0000000..9bb38dd
--- /dev/null
+++ b/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.c
@@ -0,0 +1,11 @@
+--- ./libfprint/drivers/vfs301_proto.c.ORIG 2013-06-26 14:13:00.000000000 +0200
++++ ./libfprint/drivers/vfs301_proto.c 2014-04-21 11:09:19.000000000 +0200
+@@ -33,7 +33,7 @@
+ #include <stdio.h>
+ #include <assert.h>
+ #include <stdlib.h>
+-#include <libusb-1.0/libusb.h>
++#include <libusb.h>
+
+ #include "vfs301_proto.h"
+ #include "vfs301_proto_fragments.h"
diff --git a/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.h b/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.h
new file mode 100644
index 0000000..7aeb0fa
--- /dev/null
+++ b/security/libfprint/files/patch-libfprint-drivers-vfs301_proto.h
@@ -0,0 +1,11 @@
+--- ./libfprint/drivers/vfs301_proto.h.ORIG 2013-06-26 14:13:00.000000000 +0200
++++ ./libfprint/drivers/vfs301_proto.h 2014-04-21 11:09:27.000000000 +0200
+@@ -18,7 +18,7 @@
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+-#include <libusb-1.0/libusb.h>
++#include <libusb.h>
+
+ enum {
+ VFS301_DEFAULT_WAIT_TIMEOUT = 300,
OpenPOWER on IntegriCloud