From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 953B915800A for ; Sat, 12 Apr 2025 20:59:54 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7F7F934306A for ; Sat, 12 Apr 2025 20:59:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 573591104BB; Sat, 12 Apr 2025 20:59:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 4C99E1104BB for ; Sat, 12 Apr 2025 20:59:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02707343075 for ; Sat, 12 Apr 2025 20:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 580CE2807 for ; Sat, 12 Apr 2025 20:59:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1744491475.cf4ec72f2d89c1ddd488ed36c55d74cb1bc3ed9a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnetconf2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libnetconf2/Manifest net-libs/libnetconf2/libnetconf2-3.5.5.ebuild X-VCS-Directories: net-libs/libnetconf2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cf4ec72f2d89c1ddd488ed36c55d74cb1bc3ed9a X-VCS-Branch: master Date: Sat, 12 Apr 2025 20:59:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6637f25b-0fa3-4ee5-9925-60cc5915e6a3 X-Archives-Hash: e850bc104e9042bb02b9bb6fb0e37442 commit: cf4ec72f2d89c1ddd488ed36c55d74cb1bc3ed9a Author: NHOrus yahoo com> AuthorDate: Sun Mar 23 11:01:52 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 12 20:57:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4ec72f net-libs/libnetconf2: add 3.5.5 Fixes CMake4 problem Closes: https://bugs.gentoo.org/951902 Signed-off-by: NHOrus yahoo.com> Signed-off-by: Sam James gentoo.org> net-libs/libnetconf2/Manifest | 1 + net-libs/libnetconf2/libnetconf2-3.5.5.ebuild | 57 +++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index a62e46dfc71e..9c12d331d9a3 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -1 +1,2 @@ DIST libnetconf2-2.1.31.tar.gz 323423 BLAKE2B 8a6a3e4e7eaf94ce2afba688555956159fb48ad83e802f187acc222dc3e3c62ab718758dfaa39abc81417895098c75cb0ee490ac64412634e88cef7389556ecb SHA512 f174aee332aa775308d8fbd7aff450af9531c94dfe76279a87acd3554f07957c468a1ef2d2c2c6a63748f87920790616426839cb9c3e0c50ec2c88c98273d8aa +DIST libnetconf2-3.5.5.tar.gz 454685 BLAKE2B 04e32fff3e97c07beddeb447d25608b942e71317009c71b6b50fc32f29cc7d796a5df050e2afd4dce8a1a5ad69c8d636db33911d2016ff5e278178e1814dfab6 SHA512 8de6ef5ca31581bdc17f3711175392bc328dbc7560dc491bbdf8d1742b390b01781e750ac40cff504b32a610b9eff978334bd0e0b02b0622439fed34af119398 diff --git a/net-libs/libnetconf2/libnetconf2-3.5.5.ebuild b/net-libs/libnetconf2/libnetconf2-3.5.5.ebuild new file mode 100644 index 000000000000..8a0097eae2b5 --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-3.5.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="C library for building NETCONF servers and clients" +HOMEPAGE="https://github.com/CESNET/libnetconf2" +SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + >=net-libs/libyang-2.0.194 + net-libs/libssh:0=[server] + virtual/libcrypt:=" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen[dot] )" + +src_configure() { + # fails tests, but only with LTO. + # [ ERROR ] --- 0 != 0xffffffffffffffff + # [ LINE ] --- /var/tmp/portage/net-libs/libnetconf2-2.1.31/work/libnetconf2-2.1.31/tests/client/test_client_ssh.c:716: error: Failure! + # [ FAILED ] test_nc_client_ssh_ch_add_bind_listen + # + # https://bugs.gentoo.org/877449 + # https://github.com/CESNET/libnetconf2/issues/471 + filter-lto + + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + -DENABLE_VALGRIND_TESTS=OFF + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r doc/. +}