summaryrefslogtreecommitdiff
path: root/security/libu2f-host
diff options
context:
space:
mode:
Diffstat (limited to 'security/libu2f-host')
-rw-r--r--security/libu2f-host/Makefile37
-rw-r--r--security/libu2f-host/distinfo3
-rw-r--r--security/libu2f-host/files/patch-u2f-host-u2fmisc.c29
-rw-r--r--security/libu2f-host/pkg-descr3
-rw-r--r--security/libu2f-host/pkg-plist24
5 files changed, 0 insertions, 96 deletions
diff --git a/security/libu2f-host/Makefile b/security/libu2f-host/Makefile
deleted file mode 100644
index 19795061d2a8..000000000000
--- a/security/libu2f-host/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PORTNAME= libu2f-host
-PORTVERSION= 1.1.10
-DISTVERSIONPREFIX= ${PORTNAME}-
-PORTREVISION= 2
-CATEGORIES= security devel
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Yubico Universal 2nd Factor (U2F) Host C Library
-WWW= https://developers.yubico.com/libu2f-host/
-
-LICENSE= LGPL21+ GPLv3+
-LICENSE_COMB= multi
-
-DEPRECATED= This project is deprecated and is no longer being maintained. libfido2 is a new project with support for U2F and FIDO2. Use security/libfido2 instead
-EXPIRATION_DATE=2025-05-31
-
-BUILD_DEPENDS= gengetopt:devel/gengetopt \
- gtk-doc>0:textproc/gtk-doc \
- help2man:misc/help2man
-LIB_DEPENDS= libhidapi.so:comms/hidapi \
- libjson-c.so:devel/json-c
-RUN_DEPENDS= ${LOCALBASE}/etc/devd/u2f.conf:security/u2f-devd
-
-USES= autoreconf pkgconfig gmake libtool
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS= -enable-gtk-doc
-INSTALL_TARGET= install-strip
-
-USE_GITHUB= yes
-GH_ACCOUNT= Yubico
-
-OPTIONS_DEFINE= DOCS
-OPTIONS_SUB= yes
-
-.include <bsd.port.mk>
diff --git a/security/libu2f-host/distinfo b/security/libu2f-host/distinfo
deleted file mode 100644
index 424c6964723c..000000000000
--- a/security/libu2f-host/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1559205280
-SHA256 (Yubico-libu2f-host-libu2f-host-1.1.10_GH0.tar.gz) = 45937c6c04349f865d9f047d3a68cc50ea24e9085d18ac2c7d31fa38eb749303
-SIZE (Yubico-libu2f-host-libu2f-host-1.1.10_GH0.tar.gz) = 145840
diff --git a/security/libu2f-host/files/patch-u2f-host-u2fmisc.c b/security/libu2f-host/files/patch-u2f-host-u2fmisc.c
deleted file mode 100644
index 686fd3a0377b..000000000000
--- a/security/libu2f-host/files/patch-u2f-host-u2fmisc.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- u2f-host/u2fmisc.c.orig 2019-05-15 11:54:11 UTC
-+++ u2f-host/u2fmisc.c
-@@ -30,7 +30,7 @@
- #define u2fh_json_object_object_get(obj, key, value) json_object_object_get_ex(obj, key, &value)
- #else
- typedef int json_bool;
--#define u2fh_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE
-+#define u2fh_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? 0 : 1
- #endif
-
- static void
-@@ -114,7 +114,7 @@ prepare_origin (const char *jsonstr, unsigned char *p)
- if (debug)
- fprintf (stderr, "JSON: %s\n", json_object_to_json_string (jo));
-
-- if (u2fh_json_object_object_get (jo, "appId", k) == FALSE)
-+ if (u2fh_json_object_object_get (jo, "appId", k) == 0)
- return U2FH_JSON_ERROR;
-
- app_id = json_object_get_string (k);
-@@ -390,7 +390,7 @@ get_fixed_json_data (const char *jsonstr, const char *
- if (debug)
- fprintf (stderr, "JSON: %s\n", json_object_to_json_string (jo));
-
-- if (u2fh_json_object_object_get (jo, key, k) == FALSE)
-+ if (u2fh_json_object_object_get (jo, key, k) == 0)
- return U2FH_JSON_ERROR;
-
- urlb64 = json_object_get_string (k);
diff --git a/security/libu2f-host/pkg-descr b/security/libu2f-host/pkg-descr
deleted file mode 100644
index 77126da87be0..000000000000
--- a/security/libu2f-host/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Libu2f-host provides a C library and command-line tool that implements the
-host-side of the U2F protocol. There are APIs to talk to a U2F device and
-perform the U2F Register and U2F Authenticate operations.
diff --git a/security/libu2f-host/pkg-plist b/security/libu2f-host/pkg-plist
deleted file mode 100644
index 9485c17eaf73..000000000000
--- a/security/libu2f-host/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-bin/u2f-host
-include/u2f-host/u2f-host-types.h
-include/u2f-host/u2f-host-version.h
-include/u2f-host/u2f-host.h
-lib/libu2f-host.a
-lib/libu2f-host.so
-lib/libu2f-host.so.0
-lib/libu2f-host.so.0.1.10
-libdata/pkgconfig/u2f-host.pc
-share/man/man1/u2f-host.1.gz
-%%DOCS%%share/gtk-doc/html/u2f-host/home.png
-%%DOCS%%share/gtk-doc/html/u2f-host/index.html
-%%DOCS%%share/gtk-doc/html/u2f-host/intro.html
-%%DOCS%%share/gtk-doc/html/u2f-host/left-insensitive.png
-%%DOCS%%share/gtk-doc/html/u2f-host/left.png
-%%DOCS%%share/gtk-doc/html/u2f-host/right-insensitive.png
-%%DOCS%%share/gtk-doc/html/u2f-host/right.png
-%%DOCS%%share/gtk-doc/html/u2f-host/style.css
-%%DOCS%%share/gtk-doc/html/u2f-host/u2f-host-u2f-host-types.html
-%%DOCS%%share/gtk-doc/html/u2f-host/u2f-host-u2f-host-version.html
-%%DOCS%%share/gtk-doc/html/u2f-host/u2f-host-u2f-host.html
-%%DOCS%%share/gtk-doc/html/u2f-host/u2f-host.devhelp2
-%%DOCS%%share/gtk-doc/html/u2f-host/up-insensitive.png
-%%DOCS%%share/gtk-doc/html/u2f-host/up.png