sys-block/open-isns: Sync with Gentoo

It's from Gentoo commit 1e08f65f2123eec7a46da26d71c68dfdf060d32e.
This commit is contained in:
Flatcar Buildbot 2025-03-17 07:11:34 +00:00 committed by Krzesimir Nowak
parent c4d0b924e6
commit 1d6180e151
2 changed files with 44 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST open-isns-0.101.tar.gz 301912 BLAKE2B 98c9c36640ee4d3796538a00e7ab2e4cfb057abc66a56d27ce2eb133d591ea87bcb0e4ffb31b6d72d8e8c806edffb65600c0ae7cd63c61058f36037e3db79214 SHA512 e5a392127b0d85f36e9e4aa963c0c502af8c5aea0aba6d12abb4425649969dcc20ba6e87a99083626d981438439b17b71a86320f816042d82ed5dbe7e7a63e77
DIST open-isns-0.102.tar.gz 303210 BLAKE2B d6095f8a550faabd60475df4bce644dffa85187168d01616cc016003a5536663c68adc588e21fb6ab82937ac8d5a0ff46dde8c4c2664560f4b792b0324fb5856 SHA512 f5ae8af89b85565181c2f6def9834d9dab0a15d5d9b28721cce116c5580173ed9adba219e1ede48988cb57f047578db4ece458c4a7db598412c7583e56393d2b
DIST open-isns-0.103.tar.gz 254988 BLAKE2B cd6db63992328c815af218bd4ae1ff2a19e49c5a1d3c686167b96130f5b7bde8d861e8be6399c5668077c68ff54e61226b743704147d0da97e0b227c821660b1 SHA512 219dd4f7e0a8459f5acaf2036fc737b90604cdcfe78b5492d50e4826744923afe35c9c331b3e39aa7c9bb5ebb2c378c464dced204d51da46e2b7474c6ca94057

View File

@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# The tests assume they can look at ../server.conf
BUILD_DIR="${S}"/builddir
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 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="ssl static"
# Tests can't connect
RESTRICT="test"
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-}
}