commit: bca98fa9af4ca148f728b729dc0d83725b8ff970 Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Mon Jun 9 11:58:12 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Mon Jun 9 14:07:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca98fa9
net-libs/libnetconf2: add 3.7.1 This version passes all tests with both sets of LTO related flags from bug 877449, therefore filter-lto is dropped. Bug: https://bugs.gentoo.org/877449 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> net-libs/libnetconf2/Manifest | 1 + net-libs/libnetconf2/libnetconf2-3.7.1.ebuild | 48 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index 7fa76c4e83d1..588c702ca3ac 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -1 +1,2 @@ DIST libnetconf2-3.5.5.tar.gz 454685 BLAKE2B 04e32fff3e97c07beddeb447d25608b942e71317009c71b6b50fc32f29cc7d796a5df050e2afd4dce8a1a5ad69c8d636db33911d2016ff5e278178e1814dfab6 SHA512 8de6ef5ca31581bdc17f3711175392bc328dbc7560dc491bbdf8d1742b390b01781e750ac40cff504b32a610b9eff978334bd0e0b02b0622439fed34af119398 +DIST libnetconf2-3.7.1.tar.gz 458269 BLAKE2B 9e5c982bd98c751bf632e0c64a445dff6b2171cc4c88a882dbeecf586e8e9f3f520110f74970334d9006d78ea93c751b71a8f796b1b55fa6791dc7386c6f4abd SHA512 8e02c69b83cc43ce23a3fc550c9bf74472ec51cd43f897e457bcbc422dd44b34647d6b1b35039e40d0efb2c1c0550b3005f03482fedb560f1d8b765a8f684876 diff --git a/net-libs/libnetconf2/libnetconf2-3.7.1.ebuild b/net-libs/libnetconf2/libnetconf2-3.7.1.ebuild new file mode 100644 index 000000000000..28d536a11700 --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-3.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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() { + 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/. +}
