git: a99ac363428f - main - security/rhonabwy: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 01 Nov 2025 11:11:43 UTC
The branch main has been updated by rene:

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

commit a99ac363428f30b68a021f34459100ff67df82f1
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-11-01 11:11:38 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-11-01 11:11:38 +0000

    security/rhonabwy: Remove expired port
    
    2025-10-31 security/rhonabwy: Upstream repository has been archived on Nov 11, 2024
---
 MOVED                                              |  1 +
 security/Makefile                                  |  1 -
 security/rhonabwy/Makefile                         | 53 ----------------------
 security/rhonabwy/distinfo                         |  3 --
 security/rhonabwy/files/patch-CMakeLists.txt       | 20 --------
 .../files/patch-cmake-modules-FindNettle.cmake     | 20 --------
 security/rhonabwy/files/patch-src-misc.c           | 11 -----
 security/rhonabwy/pkg-descr                        | 16 -------
 security/rhonabwy/pkg-plist                        | 17 -------
 9 files changed, 1 insertion(+), 141 deletions(-)

diff --git a/MOVED b/MOVED
index 29d2375c323e..94000046df31 100644
--- a/MOVED
+++ b/MOVED
@@ -4844,3 +4844,4 @@ cad/impact||2025-11-01|Has expired: Does not work as intended
 emulators/citra-qt5||2025-11-01|Has expired: project has been discontinued and build fails with FFmpeg >7
 emulators/citra||2025-11-01|Has expired: project has been discontinued and build fails with FFmpeg >7
 games/renpy||2025-11-01|Has expired: Uses deprecated version of python
+security/rhonabwy||2025-11-01|Has expired: Upstream repository has been archived on Nov 11, 2024
diff --git a/security/Makefile b/security/Makefile
index 692b93ffd050..b057302f2c66 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1119,7 +1119,6 @@
     SUBDIR += rekor
     SUBDIR += reop
     SUBDIR += rhash
-    SUBDIR += rhonabwy
     SUBDIR += ridl
     SUBDIR += rifiuti2
     SUBDIR += rkhunter
diff --git a/security/rhonabwy/Makefile b/security/rhonabwy/Makefile
deleted file mode 100644
index 0b4c67410b55..000000000000
--- a/security/rhonabwy/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-PORTNAME=	rhonabwy
-PORTVERSION=	1.1.13
-DISTVERSIONPREFIX=	v
-CATEGORIES=	security
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Javascript Object Signing and Encryption (JOSE) library
-WWW=		https://babelouest.github.io/rhonabwy/ \
-		https://github.com/babelouest/rhonabwy
-
-LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Upstream repository has been archived on Nov 11, 2024
-EXPIRATION_DATE=2025-10-31
-
-BUILD_DEPENDS=	jansson>=2.4:devel/jansson \
-		orcania>=2.3.3:devel/orcania \
-		ulfius>=2.7.15:www/ulfius \
-		yder>=1.4.20:devel/yder
-LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libgmp.so:math/gmp \
-		libgnutls.so:security/gnutls \
-		libjansson.so:devel/jansson \
-		libnettle.so:security/nettle \
-		liborcania.so:devel/orcania \
-		libulfius.so:www/ulfius \
-		libyder.so:devel/yder
-
-USES=		cmake pathfix pkgconfig
-
-CMAKE_OFF=	BUILD_DEB \
-		BUILD_RHONABWY_DOCUMENTATION \
-		BUILD_RHONABWY_TESTING \
-		BUILD_RPM \
-		BUILD_TGZ
-CMAKE_ON=	BUILD_RNBYC \
-		BUILD_STATIC \
-		INSTALL_HEADER \
-		SEARCH_ORCANIA_R \
-		SEARCH_YDER_R \
-		WITH_CURL \
-		WITH_ULFIUS
-
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	babelouest
-
-post-install:
-	${INSTALL_DATA} ${INSTALL_WRKSRC}/librhonabwy.a ${STAGEDIR}${PREFIX}/lib/
-
-.include <bsd.port.mk>
diff --git a/security/rhonabwy/distinfo b/security/rhonabwy/distinfo
deleted file mode 100644
index e799b95cd77d..000000000000
--- a/security/rhonabwy/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1700759722
-SHA256 (babelouest-rhonabwy-v1.1.13_GH0.tar.gz) = b23c996d0dff87945e0073c73bb6103c999781eb527da4d62301abb795715af0
-SIZE (babelouest-rhonabwy-v1.1.13_GH0.tar.gz) = 381462
diff --git a/security/rhonabwy/files/patch-CMakeLists.txt b/security/rhonabwy/files/patch-CMakeLists.txt
deleted file mode 100644
index 8c0c339955dc..000000000000
--- a/security/rhonabwy/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt.orig	2023-09-16 21:43:59 UTC
-+++ CMakeLists.txt
-@@ -179,7 +179,7 @@ target_include_directories(rhonabwy
-     PUBLIC "$<BUILD_INTERFACE:${INC_DIR}>"
-     PUBLIC "$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>"
-     PUBLIC "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS})
-+target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS} -L${CMAKE_INSTALL_PREFIX}/lib -lgmp -lhogweed)
- set_target_properties(rhonabwy PROPERTIES
-         PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h"
-         VERSION "${LIBRARY_VERSION}"
-@@ -232,7 +232,7 @@ option(BUILD_RNBYC "Build rnbyc application." ON)
- 
- if (BUILD_RNBYC)
-     add_executable(rnbyc ${RNBYC_DIR}/rnbyc.c ${INC_DIR}/rhonabwy.h ${PROJECT_BINARY_DIR}/rhonabwy-cfg.h)
--    set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion")
-+    set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion;-Wno-sign-conversion;-Wno-unknown-warning-option")
-     add_dependencies(rnbyc rhonabwy)
-     target_link_libraries(rnbyc rhonabwy ${RHONABWY_LIBS} Yder::Yder Orcania::Orcania)
-     install(TARGETS rnbyc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake b/security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake
deleted file mode 100644
index 33c156878dea..000000000000
--- a/security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
---- cmake-modules/FindNettle.cmake.orig	2022-07-08 18:30:56 UTC
-+++ cmake-modules/FindNettle.cmake
-@@ -40,12 +40,16 @@ find_library(NETTLE_LIBRARY
-         NAMES nettle libnettle
-         HINTS ${PC_NETTLE_LIBDIR} ${PC_NETTLE_LIBRARY_DIRS})
- 
-+find_library(HOGWEED_LIBRARY
-+        NAMES hogweed libhogweed
-+        HINTS ${PC_NETTLE_LIBDIR} ${PC_NETTLE_LIBRARY_DIRS})
-+
- include(FindPackageHandleStandardArgs)
- find_package_handle_standard_args(Nettle
-         REQUIRED_VARS NETTLE_LIBRARY NETTLE_INCLUDE_DIR)
- 
- if (NETTLE_FOUND)
--    set(NETTLE_LIBRARIES ${NETTLE_LIBRARY})
-+    set(NETTLE_LIBRARIES ${NETTLE_LIBRARY} ${HOGWEED_LIBRARY})
-     set(NETTLE_INCLUDE_DIRS ${NETTLE_INCLUDE_DIR})
- endif ()
- 
diff --git a/security/rhonabwy/files/patch-src-misc.c b/security/rhonabwy/files/patch-src-misc.c
deleted file mode 100644
index 33a534992c41..000000000000
--- a/security/rhonabwy/files/patch-src-misc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/misc.c.orig	2023-11-14 16:38:17 UTC
-+++ src/misc.c
-@@ -195,7 +195,7 @@ int _r_get_http_content(const char * url, int x5u_flag
-           break;
-         }
-       }
--      if ((res = curl_easy_perform(curl)) != CURLE_OK) {
-+      if ((res = (int) curl_easy_perform(curl)) != CURLE_OK) {
-         if (res == CURLE_WRITE_ERROR && datum->size > R_MAX_BODY_SIZE) {
-           y_log_message(Y_LOG_LEVEL_ERROR, "_r_get_http_content - Error remote content exceeded size limit of %zu bytes", R_MAX_BODY_SIZE);
-           ret = RHN_ERROR_PARAM;
diff --git a/security/rhonabwy/pkg-descr b/security/rhonabwy/pkg-descr
deleted file mode 100644
index a7ad8e249010..000000000000
--- a/security/rhonabwy/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-Rhonabwy library is made to manage JWK, JWKS, JWS, JWE and JWT according to
-their respective RFCs:
-- JSON Web Keys (JWK) and JSON Web Keys Set (JWKS)
-- JSON Web Signatures (JWS)
-- JSON Web Encryption (JWE)
-- JSON Web Token (JWT)
-
-Rhonabwy is based on the following libraries and actively uses them:
-- GnuTLS for the cryptographic functions
-- Jansson for the JSON manipulation
-- Yder for the logs
-- Libcurl when it requires to retrieve keys from an URL
-
-When relevant, a function can accept or return GnuTLS or Jansson data. But if
-you're not using those in your application and prefer raw data, you can use the
-more agnostic functions.
diff --git a/security/rhonabwy/pkg-plist b/security/rhonabwy/pkg-plist
deleted file mode 100644
index f673bf0d6b80..000000000000
--- a/security/rhonabwy/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/rnbyc
-include/rhonabwy-cfg.h
-include/rhonabwy.h
-lib/cmake/Rhonabwy/FindGnuTLS.cmake
-lib/cmake/Rhonabwy/FindJansson.cmake
-lib/cmake/Rhonabwy/FindMHD.cmake
-lib/cmake/Rhonabwy/FindNettle.cmake
-lib/cmake/Rhonabwy/RhonabwyConfig.cmake
-lib/cmake/Rhonabwy/RhonabwyConfigVersion.cmake
-lib/cmake/Rhonabwy/RhonabwyTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/Rhonabwy/RhonabwyTargets.cmake
-lib/librhonabwy.a
-lib/librhonabwy.so
-lib/librhonabwy.so.1.1
-lib/librhonabwy.so.%%PORTVERSION%%
-libdata/pkgconfig/librhonabwy.pc
-share/man/man1/rnbyc.1.gz