From nobody Fri Sep 22 03:23:31 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsHfW61ZNz4vPLM; Fri, 22 Sep 2023 03:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsHfW4lFYz3Fph; Fri, 22 Sep 2023 03:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695353011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZuIrfQQq/L6He8uLqPwis1AATbpbNnQA/Zhp6cUY/kY=; b=GRxMwFsUaw4mmg71DDVSvZogfGycqe0DXUqYgCAeYBYlpOBjwhYKOFAyOSSZgIucmO9W+p bWO/LDFIwDqt7g7RtR21Jf/Tc02Gd/xvalk6Vg5GwuoJeTRfUn9t+GNhwQ6OPFMPjOilr9 5RbU1414DMXa23L1L1WuBKBU5xb0SA6q35EBg4+RkTK4KvTjFjcqaWHJ+ZS2lyIOQrTSwe 1v3hBD9c6boyP/L84HcPF0bRMAMNO5mzFeNCXSInov9l8csIDlI25KxztQMt/NENgaHLHn OULIt4uB04TZWoI9hZVPngHA5xIsijz4hrWrHZlBPGnjx67PJ2a0DziBAptYVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695353011; a=rsa-sha256; cv=none; b=iuFsrdaeQHBigcctO3BmcQjXfaKmUapJNnrjl35ECH6MG7RJhOX5ZzLMUl0wanV2g3j2p+ rkTqKbophZ+QvG5Lpqz999+zwf9PXQMg6IQLGHYC4qkXJx5hwZKBGaF+IyBpsuuNgh6UvY yeIbo66z61w+sUjuEiqv0hJCwWoUI3IKRqoyU+x+aiKo8wHMqZHa3QdMsjUCRZoNd4QRBQ ijIpE/Ykh1OPhteT/KVbcku12iE3RGXsMovUvodYlKGZ/4H1eVHGog7wFFuCX6Fo7yBTxY oLwhod5jOGY3P8Irl88U3YwdWwy1epbD8+srFoBm4JsJMCMDBGbGt8olwrjYpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695353011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZuIrfQQq/L6He8uLqPwis1AATbpbNnQA/Zhp6cUY/kY=; b=O6Im1WR1WUQpr+FUAx06m7+GteDCYx809iSxS2UrPAUdD2XDi7I6qzCrQJHIz96Fe7z/SV zsllJ1aK/VWFTxZ0Upg4VgJ4PG7EabjqKRKExCzYmgpHLFEzi5g649B9mdglN+IONkaZyo WLcUoqW1bRRaLvr9Ptkbd8zYmVs9RYLrg7bg+9xBmO5fh7UDMMc1r8KKqtoGyhXyu7hbwB YgazjvEw2w0hey5/DgGZMvxxs0XbCVc4ITK4lUsKfWQeGZiE3ZeamAv7wUEP9wux2Id8sT dEbo8KXIJeUJ0NF2hmsbeGl+Ux/lMqM3LOVcpMAxNRhUiFO0CwO7t3Wr+7p22g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsHfW3nYfz14qH; Fri, 22 Sep 2023 03:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38M3NVYK090875; Fri, 22 Sep 2023 03:23:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38M3NViX090872; Fri, 22 Sep 2023 03:23:31 GMT (envelope-from git) Date: Fri, 22 Sep 2023 03:23:31 GMT Message-Id: <202309220323.38M3NViX090872@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 13b3a5bbeb69 - main - security/rhonabwy: Update to 1.1.12 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 13b3a5bbeb69bcdf48e688a4a6a164735cf5e285 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=13b3a5bbeb69bcdf48e688a4a6a164735cf5e285 commit 13b3a5bbeb69bcdf48e688a4a6a164735cf5e285 Author: Po-Chuan Hsieh AuthorDate: 2023-09-22 03:17:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-22 03:17:14 +0000 security/rhonabwy: Update to 1.1.12 Changes: https://github.com/babelouest/rhonabwy/releases --- security/rhonabwy/Makefile | 10 +++++----- security/rhonabwy/distinfo | 6 +++--- security/rhonabwy/files/patch-CMakeLists.txt | 26 +++++++++++++++----------- security/rhonabwy/pkg-plist | 8 ++++++++ 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/security/rhonabwy/Makefile b/security/rhonabwy/Makefile index 3889a27c5580..8575a385536a 100644 --- a/security/rhonabwy/Makefile +++ b/security/rhonabwy/Makefile @@ -1,5 +1,5 @@ PORTNAME= rhonabwy -PORTVERSION= 1.1.11 +PORTVERSION= 1.1.12 DISTVERSIONPREFIX= v CATEGORIES= security @@ -12,9 +12,9 @@ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= jansson>=2.4:devel/jansson \ - orcania>=2.3.2:devel/orcania \ - ulfius>=2.7.13:www/ulfius \ - yder>=1.4.19:devel/yder + orcania>=2.3.3:devel/orcania \ + ulfius>=2.7.14:www/ulfius \ + yder>=1.4.20:devel/yder LIB_DEPENDS= libcurl.so:ftp/curl \ libgmp.so:math/gmp \ libgnutls.so:security/gnutls \ @@ -26,7 +26,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ USES= cmake pathfix pkgconfig -CMAKE_OFF= BUILD_RHONABWY_DOCUMENTATION BUILD_RHONABWY_TESTING BUILD_RPM DOWNLOAD_DEPENDENCIES +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 PLIST_SUB= PORTVERSION=${PORTVERSION} diff --git a/security/rhonabwy/distinfo b/security/rhonabwy/distinfo index 3dd3da607a9e..c6ed15dc47c2 100644 --- a/security/rhonabwy/distinfo +++ b/security/rhonabwy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686496692 -SHA256 (babelouest-rhonabwy-v1.1.11_GH0.tar.gz) = 78021d176615a48477927eae9cad404760d345c70b62b86e5620eb9f80969d2e -SIZE (babelouest-rhonabwy-v1.1.11_GH0.tar.gz) = 382916 +TIMESTAMP = 1695143235 +SHA256 (babelouest-rhonabwy-v1.1.12_GH0.tar.gz) = 99fddde30ff07d4da808d330ed494287373fec7f2fb6f60d2782619ecb5c88d5 +SIZE (babelouest-rhonabwy-v1.1.12_GH0.tar.gz) = 379199 diff --git a/security/rhonabwy/files/patch-CMakeLists.txt b/security/rhonabwy/files/patch-CMakeLists.txt index d5037798ade4..8c0c339955dc 100644 --- a/security/rhonabwy/files/patch-CMakeLists.txt +++ b/security/rhonabwy/files/patch-CMakeLists.txt @@ -1,16 +1,20 @@ ---- CMakeLists.txt.orig 2023-02-08 14:06:47 UTC +--- CMakeLists.txt.orig 2023-09-16 21:43:59 UTC +++ CMakeLists.txt -@@ -167,11 +167,11 @@ endif () - - add_library(rhonabwy SHARED ${LIB_SRC}) +@@ -179,7 +179,7 @@ target_include_directories(rhonabwy + PUBLIC "$" + PUBLIC "$" + PUBLIC "$") +-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 -- COMPILE_OPTIONS "-Wextra;-Wconversion" -+ COMPILE_OPTIONS "-Wextra;-Wconversion;-Wno-sign-conversion;-Wno-unknown-warning-option" PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h" VERSION "${LIBRARY_VERSION}" - SOVERSION "${LIBRARY_SOVERSION}") --target_link_libraries(rhonabwy ${LIBS}) -+target_link_libraries(rhonabwy ${LIBS} -L${CMAKE_INSTALL_PREFIX}/lib -lgmp) +@@ -232,7 +232,7 @@ option(BUILD_RNBYC "Build rnbyc application." ON) - set(SEARCH_ORCANIA OFF CACHE BOOL "Force to false") # Avoid to search and download orcania during yder search and download - set(SEARCH_ORCANIA_U OFF CACHE BOOL "Force to false") # Avoid to search and download orcania during ulfius search and download + 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/pkg-plist b/security/rhonabwy/pkg-plist index b32f616755a0..f673bf0d6b80 100644 --- a/security/rhonabwy/pkg-plist +++ b/security/rhonabwy/pkg-plist @@ -1,6 +1,14 @@ 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