From f59e9fde116c85e8ddaa42c328b8cbb5d5924add Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Tue, 20 Oct 2026 07:34:04 +1300 Subject: [PATCH] open-isns: upgrade 0.102 -> 0.103 Upstream removed previously-deprecated Makefile/autoconf build system. Changelog: https://github.com/open-iscsi/open-isns/releases/tag/v0.103 Signed-off-by: Khem Raj --- .../{open-isns_0.102.bb => open-isns_0.103.bb} | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) rename meta-networking/recipes-support/open-isns/{open-isns_0.102.bb => open-isns_0.103.bb} (71%) diff --git a/meta-networking/recipes-support/open-isns/open-isns_0.102.bb b/meta-networking/recipes-support/open-isns/open-isns_0.103.bb similarity index 71% rename from meta-networking/recipes-support/open-isns/open-isns_0.102.bb rename to meta-networking/recipes-support/open-isns/open-isns_0.103.bb index f51887e020..b89c58db78 100644 --- a/meta-networking/recipes-support/open-isns/open-isns_0.102.bb +++ b/meta-networking/recipes-support/open-isns/open-isns_0.103.bb @@ -6,29 +6,25 @@ DESCRIPTION = "This is a partial implementation of RFC4171, the Internet \ Storage Name Service (iSNS). The distribution includes the iSNS server, \ supporting persisten storage of registrations, isnsadm, a command line \ utility for managing nodes, and isnsdd, a corresponding discovery daemon." -HOMEPAGE = "http://github.com/gonzoleeman/open-isns/" +HOMEPAGE = "https://github.com/open-iscsi/open-isns/" LICENSE = "GPL-2.0-or-later AND LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" SECTION = "net" DEPENDS = "openssl" -SRC_URI = "git://github.com/open-iscsi/open-isns;branch=master;protocol=https \ +SRC_URI = "git://github.com/open-iscsi/open-isns;branch=master;protocol=https;tag=v${PV} \ file://0001-isnsd.socket-use-run-instead-of-var-run.patch \ - " + " -SRCREV = "c0e6d9fedc5a7041260de477fe1a8455fa074113" +SRCREV = "3e053e2a2c83293db7167f336940fec51f32fed7" -inherit systemd autotools-brokensep update-rc.d +inherit meson systemd update-rc.d -EXTRA_OECONF = " --prefix=${prefix} --enable-shared" -EXTRA_OEMAKE += "SYSTEMDDIR=${D}${systemd_unitdir}/system" - -do_install:append () { - oe_runmake INCDIR=${D}${includedir}/libisns/ install_hdrs - oe_runmake LIBDIR=${D}${libdir} install_lib +EXTRA_OEMESON = "-Dsystemddir=${systemd_unitdir} -Drundir=${runtimedir} -Dsecurity=enabled" +do_install:append() { install -D -m 755 ${S}/etc/openisns.init ${D}${sysconfdir}/init.d/openisns sed -i 's|daemon isnsd|start-stop-daemon --start --quiet --oknodo --exec ${sbindir}/isnsd --|' \ ${D}${sysconfdir}/init.d/openisns