git: 346afb2ccecc - main - security/rhonabwy: Update to 1.1.13

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:35:27 UTC
The branch main has been updated by sunpoet:

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

commit 346afb2ccecc86a4d9455f49558b3d980b16822f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:01:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:28:06 +0000

    security/rhonabwy: Update to 1.1.13
    
    Changes:        https://github.com/babelouest/rhonabwy/releases
---
 security/rhonabwy/Makefile               | 18 ++++++++++++++----
 security/rhonabwy/distinfo               |  6 +++---
 security/rhonabwy/files/patch-src-misc.c | 11 +++++++++++
 3 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/security/rhonabwy/Makefile b/security/rhonabwy/Makefile
index 8575a385536a..989d5958737e 100644
--- a/security/rhonabwy/Makefile
+++ b/security/rhonabwy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rhonabwy
-PORTVERSION=	1.1.12
+PORTVERSION=	1.1.13
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	jansson>=2.4:devel/jansson \
 		orcania>=2.3.3:devel/orcania \
-		ulfius>=2.7.14:www/ulfius \
+		ulfius>=2.7.15:www/ulfius \
 		yder>=1.4.20:devel/yder
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libgmp.so:math/gmp \
@@ -26,8 +26,18 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 USES=		cmake pathfix pkgconfig
 
-CMAKE_OFF=	BUILD_RHONABWY_DOCUMENTATION BUILD_RHONABWY_TESTING BUILD_RPM
-CMAKE_ON=	BUILD_RNBYC BUILD_STATIC INSTALL_HEADER SEARCH_ORCANIA_R SEARCH_YDER_R WITH_CURL WITH_ULFIUS
+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}
 
diff --git a/security/rhonabwy/distinfo b/security/rhonabwy/distinfo
index c6ed15dc47c2..e799b95cd77d 100644
--- a/security/rhonabwy/distinfo
+++ b/security/rhonabwy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695143235
-SHA256 (babelouest-rhonabwy-v1.1.12_GH0.tar.gz) = 99fddde30ff07d4da808d330ed494287373fec7f2fb6f60d2782619ecb5c88d5
-SIZE (babelouest-rhonabwy-v1.1.12_GH0.tar.gz) = 379199
+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-src-misc.c b/security/rhonabwy/files/patch-src-misc.c
new file mode 100644
index 000000000000..33a534992c41
--- /dev/null
+++ b/security/rhonabwy/files/patch-src-misc.c
@@ -0,0 +1,11 @@
+--- 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;