aboutsummaryrefslogtreecommitdiff
path: root/security/rhonabwy
diff options
context:
space:
mode:
Diffstat (limited to 'security/rhonabwy')
-rw-r--r--security/rhonabwy/Makefile50
-rw-r--r--security/rhonabwy/distinfo3
-rw-r--r--security/rhonabwy/files/patch-CMakeLists.txt20
-rw-r--r--security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake20
-rw-r--r--security/rhonabwy/files/patch-src-misc.c11
-rw-r--r--security/rhonabwy/pkg-descr16
-rw-r--r--security/rhonabwy/pkg-plist17
7 files changed, 0 insertions, 137 deletions
diff --git a/security/rhonabwy/Makefile b/security/rhonabwy/Makefile
deleted file mode 100644
index 989d5958737e..000000000000
--- a/security/rhonabwy/Makefile
+++ /dev/null
@@ -1,50 +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
-
-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