sys-block/open-isns: Sync with Gentoo

It's from Gentoo commit b53b10c3a0690326ea560654c78dd2b90ab20f9c.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-02 07:29:28 +00:00 committed by Krzesimir Nowak
parent 2f1715b6c6
commit 4659973b43
4 changed files with 0 additions and 124 deletions

View File

@ -1,3 +1 @@
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

@ -1,30 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -33,6 +33,7 @@ else
SOLIB_VERSION_OPTS =
endif
+AR = @AR@
CC = @CC@
CPPFLAGS= @CPPFLAGS@
CFLAGS = @CFLAGS@ -I. -Iinclude -I$(srcdir) -I$(srcdir)/include
@@ -161,7 +162,7 @@ solib-message.o: message.c
ifeq ($(BUILD_STATIC),1)
$(LIB): $(LIBOBJS)
- ar cr $@ $(LIBOBJS)
+ $(AR) cr $@ $(LIBOBJS)
else
$(LIB):
endif
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ AC_CONFIG_AUX_DIR([aclocal])
AC_CONFIG_HEADER(config.h)
+AM_PROG_AR
AC_PROG_CC
AC_CANONICAL_HOST
AC_C_BIGENDIAN

View File

@ -1,53 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic
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="debug ssl static"
DEPEND="
ssl? (
dev-libs/openssl:0=
)
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-0.100-respect-AR.patch"
)
src_prepare() {
default
eautoreconf
touch aclocal/ar-lib || die #775389
}
src_configure() {
use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI
append-lfs-flags
local myeconfargs=(
--without-slp
$(use_with ssl security)
$(use_enable !static shared)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
emake DESTDIR="${D}" install_hdrs
emake DESTDIR="${D}" install_lib
keepdir /var/lib/${PN/open-}
if ! use static ; then
find "${ED}" -type f -name "*.a" -delete || die
fi
}

View File

@ -1,39 +0,0 @@
# Copyright 1999-2025 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 ~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-}
}