From e017b74aec82f7563f57e7e6f26f0a12fc9d7fd3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 28 Jul 2023 12:53:52 +0200 Subject: [PATCH] sys-block/open-isns: Sync with Gentoo It's from Gentoo commit a63ac5d13575d554e23cdc94ca13d0eccbb6c8a3. --- .../sys-block/open-isns/Manifest | 1 + .../open-isns/open-isns-0.101.ebuild | 4 +- .../open-isns/open-isns-0.102.ebuild | 39 +++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.102.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-block/open-isns/Manifest b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/Manifest index 0f443cd4bd..63d6b52bcf 100644 --- a/sdk_container/src/third_party/portage-stable/sys-block/open-isns/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/Manifest @@ -1 +1,2 @@ DIST open-isns-0.101.tar.gz 301912 BLAKE2B 98c9c36640ee4d3796538a00e7ab2e4cfb057abc66a56d27ce2eb133d591ea87bcb0e4ffb31b6d72d8e8c806edffb65600c0ae7cd63c61058f36037e3db79214 SHA512 e5a392127b0d85f36e9e4aa963c0c502af8c5aea0aba6d12abb4425649969dcc20ba6e87a99083626d981438439b17b71a86320f816042d82ed5dbe7e7a63e77 +DIST open-isns-0.102.tar.gz 303210 BLAKE2B d6095f8a550faabd60475df4bce644dffa85187168d01616cc016003a5536663c68adc588e21fb6ab82937ac8d5a0ff46dde8c4c2664560f4b792b0324fb5856 SHA512 f5ae8af89b85565181c2f6def9834d9dab0a15d5d9b28721cce116c5580173ed9adba219e1ede48988cb57f047578db4ece458c4a7db598412c7583e56393d2b diff --git a/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.101.ebuild b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.101.ebuild index bab579725b..11a8d87f29 100644 --- a/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.101.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.101.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="debug ssl static" DEPEND=" diff --git a/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.102.ebuild b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.102.ebuild new file mode 100644 index 0000000000..5243324fdc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-block/open-isns/open-isns-0.102.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson systemd + +DESCRIPTION="iSNS server and client for Linux" +HOMEPAGE="https://github.com/open-iscsi/open-isns" +SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" +IUSE="ssl static" + +DEPEND=" + ssl? ( + dev-libs/openssl:= + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static both shared) + -Dslp=disabled + -Dsystemddir=$(systemd_get_utildir) + $(meson_feature ssl security) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + keepdir /var/lib/${PN/open-} +}