git: bfd293b46bdf - main - security/libu2f-host: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 02 Sep 2025 20:05:32 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bfd293b46bdf66b271ec5fb6db6dc7c192615829

commit bfd293b46bdf66b271ec5fb6db6dc7c192615829
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-09-02 20:05:27 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-09-02 20:05:27 +0000

    security/libu2f-host: Remove expired port
    
    2025-05-31 security/libu2f-host: 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
---
 MOVED                                              |  1 +
 security/Makefile                                  |  1 -
 security/libu2f-host/Makefile                      | 37 ----------------------
 security/libu2f-host/distinfo                      |  3 --
 .../libu2f-host/files/patch-u2f-host-u2fmisc.c     | 29 -----------------
 security/libu2f-host/pkg-descr                     |  3 --
 security/libu2f-host/pkg-plist                     | 24 --------------
 7 files changed, 1 insertion(+), 97 deletions(-)

diff --git a/MOVED b/MOVED
index b33f67a062df..4de9d47724cf 100644
--- a/MOVED
+++ b/MOVED
@@ -4762,3 +4762,4 @@ www/p5-Interchange6||2025-09-02|Has expired: Depends on expired security/p5-Data
 security/p5-Dancer-Plugin-Passphrase||2025-09-02|Has expired: Depends on expired security/p5-Data-Entropy
 security/p5-Dancer2-Plugin-Passphrase||2025-09-02|Has expired: Depends on expired security/p5-Data-Entropy
 security/p5-Data-Entropy||2025-09-02|Has expired: The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use
+security/libu2f-host||2025-09-02|Has expired: 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
diff --git a/security/Makefile b/security/Makefile
index 68d8592bfe07..31a8eae02cf9 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -331,7 +331,6 @@
     SUBDIR += libtasn1
     SUBDIR += libtatsu
     SUBDIR += libtomcrypt
-    SUBDIR += libu2f-host
     SUBDIR += libwhisker
     SUBDIR += libxcrypt
     SUBDIR += libyubikey
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