Commit 353c8094 authored by Rene Ladan's avatar Rene Ladan
Browse files

security/iddawc: Remove expired port

2025-10-13 security/iddawc: Upstream repo archived on Nov 11, 2024
parent 349f4208
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4805,3 +4805,4 @@ games/xqf||2025-10-14|Has expired: Fails to build
games/galaxyhack||2025-10-14|Has expired: Fails to build with boost-1.85+
x11-fm/fsv2||2025-10-14|Has expired: does not configure: No fonts installed on the system
deskutils/gnome-shell-extension-openweather||2025-10-14|Has expired: Superseded by deskutils/gnome-shell-extension-simple-weather
security/iddawc||2025-10-14|Has expired: Upstream repo archived on Nov 11, 2024
+0 −1
Original line number Diff line number Diff line
@@ -234,7 +234,6 @@
    SUBDIR += hyperhotp
    SUBDIR += i2pd
    SUBDIR += iaikpkcs11wrapper
    SUBDIR += iddawc
    SUBDIR += idea
    SUBDIR += identify
    SUBDIR += imds-filterd

security/iddawc/Makefile

deleted100644 → 0
+0 −44
Original line number Diff line number Diff line
PORTNAME=	iddawc
PORTVERSION=	1.1.8
DISTVERSIONPREFIX=	v
CATEGORIES=	security

MAINTAINER=	ports@FreeBSD.org
COMMENT=	OAuth2/OIDC Client and Relying Party library
WWW=		https://babelouest.github.io/iddawc/ \
		https://github.com/babelouest/iddawc

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=	Upstream repo archived on Nov 11, 2024
EXPIRATION_DATE=2025-10-13

BUILD_DEPENDS=	jansson>=2.11:devel/jansson \
		orcania>=2.3.2:devel/orcania \
		rhonabwy>=1.1.10:security/rhonabwy \
		ulfius>=2.7.12:www/ulfius \
		yder>=1.4.14:devel/yder
LIB_DEPENDS=	libcurl.so:ftp/curl \
		libgnutls.so:security/gnutls \
		libjansson.so:devel/jansson \
		libmicrohttpd.so:www/libmicrohttpd \
		liborcania.so:devel/orcania \
		librhonabwy.so:security/rhonabwy \
		libulfius.so:www/ulfius \
		libyder.so:devel/yder

USES=		cmake pathfix

CMAKE_OFF=	BUILD_IDDAWC_DOCUMENTATION BUILD_IDDAWC_TESTING BUILD_RPM DOWNLOAD_DEPENDENCIES
CMAKE_ON=	BUILD_IDWCC BUILD_STATIC INSTALL_HEADER SEARCH_ORCANIA_I SEARCH_RHONABWY_I SEARCH_ULFIUS_I SEARCH_YDER_I

PLIST_SUB=	PORTVERSION=${PORTVERSION}

USE_GITHUB=	yes
GH_ACCOUNT=	babelouest

post-install:
	${INSTALL_DATA} ${INSTALL_WRKSRC}/libiddawc.a ${STAGEDIR}${PREFIX}/lib/libiddawc.a

.include <bsd.port.mk>

security/iddawc/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1686496690
SHA256 (babelouest-iddawc-v1.1.8_GH0.tar.gz) = 1e075ffd64b26ab042b571473d4be6d6fcfc11f348b4833c79af52d70573dc59
SIZE (babelouest-iddawc-v1.1.8_GH0.tar.gz) = 1463208
+0 −29
Original line number Diff line number Diff line
--- src/iddawc.c.orig	2022-12-17 21:23:54 UTC
+++ src/iddawc.c
@@ -4972,7 +4972,7 @@ int i_verify_id_token(struct _i_session * i_session) {
                 if (alg != GNUTLS_DIG_UNKNOWN) {
                   hash_data.data = (unsigned char*)i_session->access_token;
                   hash_data.size = (unsigned int)o_strlen(i_session->access_token);
-                  if (gnutls_fingerprint(alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
+                  if (gnutls_fingerprint((gnutls_digest_algorithm_t) alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
                     if (o_base64url_encode(hash, hash_len/2, hash_encoded, &hash_encoded_len)) {
                       if (o_strncmp((const char *)hash_encoded, json_string_value(json_object_get(i_session->id_token_payload, "at_hash")), hash_encoded_len) != 0) {
                         y_log_message(Y_LOG_LEVEL_DEBUG, "i_verify_id_token at - at_hash invalid");
@@ -5000,7 +5000,7 @@ int i_verify_id_token(struct _i_session * i_session) {
                 if (alg != GNUTLS_DIG_UNKNOWN) {
                   hash_data.data = (unsigned char*)i_session->code;
                   hash_data.size = (unsigned int)o_strlen(i_session->code);
-                  if (gnutls_fingerprint(alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
+                  if (gnutls_fingerprint((gnutls_digest_algorithm_t) alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
                     if (o_base64url_encode(hash, hash_len/2, hash_encoded, &hash_encoded_len)) {
                       if (o_strncmp((const char *)hash_encoded, json_string_value(json_object_get(i_session->id_token_payload, "c_hash")), hash_encoded_len) != 0) {
                         y_log_message(Y_LOG_LEVEL_DEBUG, "i_verify_id_token - c_hash invalid");
@@ -5028,7 +5028,7 @@ int i_verify_id_token(struct _i_session * i_session) {
                 if (alg != GNUTLS_DIG_UNKNOWN) {
                   hash_data.data = (unsigned char*)i_session->state;
                   hash_data.size = (unsigned int)o_strlen(i_session->state);
-                  if (gnutls_fingerprint(alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
+                  if (gnutls_fingerprint((gnutls_digest_algorithm_t) alg, &hash_data, hash, &hash_len) == GNUTLS_E_SUCCESS) {
                     if (o_base64url_encode(hash, hash_len/2, hash_encoded, &hash_encoded_len)) {
                       if (o_strncmp((const char *)hash_encoded, json_string_value(json_object_get(i_session->id_token_payload, "s_hash")), hash_encoded_len) != 0) {
                         y_log_message(Y_LOG_LEVEL_DEBUG, "i_verify_id_token - s_hash invalid");
Loading