aboutsummaryrefslogtreecommitdiff
path: root/security/iddawc
diff options
context:
space:
mode:
Diffstat (limited to 'security/iddawc')
-rw-r--r--security/iddawc/Makefile44
-rw-r--r--security/iddawc/distinfo3
-rw-r--r--security/iddawc/files/patch-src-iddawc.c29
-rw-r--r--security/iddawc/pkg-descr23
-rw-r--r--security/iddawc/pkg-plist37
5 files changed, 0 insertions, 136 deletions
diff --git a/security/iddawc/Makefile b/security/iddawc/Makefile
deleted file mode 100644
index 775eee3530cd..000000000000
--- a/security/iddawc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-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>
diff --git a/security/iddawc/distinfo b/security/iddawc/distinfo
deleted file mode 100644
index 1b99a83fccd6..000000000000
--- a/security/iddawc/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1686496690
-SHA256 (babelouest-iddawc-v1.1.8_GH0.tar.gz) = 1e075ffd64b26ab042b571473d4be6d6fcfc11f348b4833c79af52d70573dc59
-SIZE (babelouest-iddawc-v1.1.8_GH0.tar.gz) = 1463208
diff --git a/security/iddawc/files/patch-src-iddawc.c b/security/iddawc/files/patch-src-iddawc.c
deleted file mode 100644
index 8841b26e2c51..000000000000
--- a/security/iddawc/files/patch-src-iddawc.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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");
diff --git a/security/iddawc/pkg-descr b/security/iddawc/pkg-descr
deleted file mode 100644
index 01bcbdcd4420..000000000000
--- a/security/iddawc/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-Iddawc is a C library used to implement OAuth2/OIDC clients according to the
-OAuth2 RFC and the OpenID Connect Specs.
-
-It's based on Ulfius library for the HTTP requests and response management and
-Rhonabwy library for the JOSE management.
-
-Iddawc supports the following features:
-- Loading openid-configuration endpoints and parsing the results
-- Making auth requests using the given parameters (client_id, client_secret,
- redirect_uri, etc.) and parsing the result
-- Making token requests using the given parameters (code, client_id,
- client_secret, redirect_uri, etc.) and parsing the result
-- Making userinfo, token introspection, token revocation requests
-- Parse responses, validate id_token
-- Registering new clients using the register endpoint if any
-- Sending signed and or encrypted requests in the auth and token endpoints
-- Client TLS Authentication available
-- Making Pushed Auth Requests
-- Making Rich Auth Requests
-- Adding claims to requests
-- Sending DPoP proofs
-- JWT Secured Authorization Response Mode
-- End session and single-logout functionalities
diff --git a/security/iddawc/pkg-plist b/security/iddawc/pkg-plist
deleted file mode 100644
index b9afe21892ee..000000000000
--- a/security/iddawc/pkg-plist
+++ /dev/null
@@ -1,37 +0,0 @@
-bin/idwcc
-include/iddawc-cfg.h
-include/iddawc.h
-lib/libiddawc.a
-lib/libiddawc.so
-lib/libiddawc.so.1.1
-lib/libiddawc.so.%%PORTVERSION%%
-libdata/pkgconfig/libiddawc.pc
-share/idwcc/webapp/callback.html
-share/idwcc/webapp/css/bootstrap.css
-share/idwcc/webapp/css/bootstrap.css.map
-share/idwcc/webapp/css/bootstrap.min.css
-share/idwcc/webapp/css/bootstrap.min.css.map
-share/idwcc/webapp/css/fork-awesome.css
-share/idwcc/webapp/css/fork-awesome.min.css
-share/idwcc/webapp/css/fork-awesome.min.css.map
-share/idwcc/webapp/css/idwcc.css
-share/idwcc/webapp/css/v5-compat.css
-share/idwcc/webapp/css/v5-compat.min.css
-share/idwcc/webapp/css/v5-compat.min.css.map
-share/idwcc/webapp/fonts/forkawesome-webfont.eot
-share/idwcc/webapp/fonts/forkawesome-webfont.svg
-share/idwcc/webapp/fonts/forkawesome-webfont.ttf
-share/idwcc/webapp/fonts/forkawesome-webfont.woff
-share/idwcc/webapp/fonts/forkawesome-webfont.woff2
-share/idwcc/webapp/index.html
-share/idwcc/webapp/js/bootstrap.js
-share/idwcc/webapp/js/bootstrap.js.map
-share/idwcc/webapp/js/bootstrap.min.js
-share/idwcc/webapp/js/bootstrap.min.js.map
-share/idwcc/webapp/js/iddwc.js
-share/idwcc/webapp/js/jquery.js
-share/idwcc/webapp/js/jquery.min.js
-share/idwcc/webapp/js/popper.js
-share/idwcc/webapp/js/popper.min.js
-share/idwcc/webapp/js/qrcode.js
-share/man/man1/idwcc.1.gz