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@gentoo.org>
This commit is contained in:
Petr Vaněk
2025-06-09 13:58:12 +02:00
parent 42dc9cb402
commit bca98fa9af
2 changed files with 49 additions and 0 deletions

View File

@@ -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

View File

@@ -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/.
}