Commit bfd293b4 authored by Rene Ladan's avatar Rene Ladan
Browse files

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
parent 64d859ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -331,7 +331,6 @@
    SUBDIR += libtasn1
    SUBDIR += libtatsu
    SUBDIR += libtomcrypt
    SUBDIR += libu2f-host
    SUBDIR += libwhisker
    SUBDIR += libxcrypt
    SUBDIR += libyubikey

security/libu2f-host/Makefile

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
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>

security/libu2f-host/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
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
+0 −29
Original line number Diff line number Diff line
--- 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);
Loading