From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1286490-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 028641382C5 for <garchives@archives.gentoo.org>; Wed, 26 May 2021 12:37:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0955DE1467; Wed, 26 May 2021 12:37:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD564E1467 for <gentoo-commits@lists.gentoo.org>; Wed, 26 May 2021 12:37:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04A66340E84 for <gentoo-commits@lists.gentoo.org>; Wed, 26 May 2021 12:37:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 926137A8 for <gentoo-commits@lists.gentoo.org>; Wed, 26 May 2021 12:37:22 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1622032496.a6491cbd55ee320a821c1f91aa08dda83071e1df.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libyang/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libyang/Manifest net-libs/libyang/libyang-1.0.236.ebuild X-VCS-Directories: net-libs/libyang/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a6491cbd55ee320a821c1f91aa08dda83071e1df X-VCS-Branch: master Date: Wed, 26 May 2021 12:37:22 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f5418ce-0c20-469e-b380-934f5f379d65 X-Archives-Hash: 8dcc8b4eb6ba3a130c482e5ea13445a8 commit: a6491cbd55ee320a821c1f91aa08dda83071e1df Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Mon May 24 13:22:38 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 26 12:34:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6491cbd net-libs/libyang: Seurity bump to 1.0.236 * Note that upstream didn't make a proper release, but has tagged version 1.0.236 in the commit, so let's just fetch the tarball using commit id Bug: https://bugs.gentoo.org/791373 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/20966 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libyang/Manifest | 1 + net-libs/libyang/libyang-1.0.236.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 9bbc2ce5cfe..77f5413251a 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,4 @@ DIST libyang-1.0.215.tar.gz 1666478 BLAKE2B 66fc53458caf43e8473905ce9294efb9a49f0c73206a4c5ef96f7b79e72fff9429aa4245fdb29a7d2b4a23460d771d30a9397ca4d2ce76379675dc4a9f6427fd SHA512 042e7be3a658340eebb5aaf819169a516af5489c366c026b599d673b623811b01a5cc7b2fce0fe39c5deb5cce5b1e0e6dfc4eb85a331fb3203d415011e6d2dad DIST libyang-1.0.225.tar.gz 1667054 BLAKE2B eb1bfd555d72aceba7da7ade1a55985caad9d3cc904c5504978c298ef9e08a6848c810d1b62b1fa7076a9f30638b6080a3546c07892d3e8980eb1db337dc4deb SHA512 3366df8c2869454b6da456010ca62b538876cba16fa84e1ed9053acca6d7756c15329c0fb8a62477a1887d6c00cce8449f29954b2d2b0e556d81baa11dc9776d +DIST libyang-1.0.236.tar.gz 1669013 BLAKE2B c977c4abd2466e88519e91483d876bf0b9397b32bcca017eaa948d638a70d3275cdec36070bad8925c87e3a6756df924ed043a14ecb6d23de8b63992f8607e58 SHA512 7e8be96bc87ea5c906d90e09f4fbae0ed96718894d3fbc784172cdc68e9e2c034fc8a114bc1389fb74ef32dfb65e447acff24b82967af1530ffba94cd204e6e9 DIST libyang-2.0.0.tar.gz 1016366 BLAKE2B 5a69083937d5b6102e48bbb742d1ba5562a78d434d0646758160f70c5fe3b42fb651c3e4421758a41f21bde6f00ba112f5b2cd49561e36afb5160641edf2ff0f SHA512 6226ae2b51eae07d866097248c1583006acc2f3b8f120ab7302a9bd2854ece6a067eff54553102ebafd759e1f2984076e2e6553fa01fc830d69496504353be5d diff --git a/net-libs/libyang/libyang-1.0.236.ebuild b/net-libs/libyang/libyang-1.0.236.ebuild new file mode 100644 index 00000000000..085fbab6896 --- /dev/null +++ b/net-libs/libyang/libyang-1.0.236.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +MY_COMMIT="587a1e973ea6463e4dd3c935b6f97da909f8ac24" +DESCRIPTION="YANG data modeling language library" +HOMEPAGE="https://github.com/CESNET/libyang" +SRC_URI="https://github.com/CESNET/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + doc? ( app-doc/doxygen[dot] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_BUILD_TESTS=$(usex test) + -DENABLE_LYD_PRIV=yes + -DGEN_LANGUAGE_BINDINGS=no + ) + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + + multilib_is_native_abi && use doc && cmake_src_compile doc +} + +multilib_src_install_all() { + use doc && dodoc -r doc/. +}