From a425730207884a65ff1ca14f8eee22ca21155196 Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 13 Sep 2022 18:17:09 +0800 Subject: open-isns: upgrade 0.101 -> 0.102 Changelog: ========= Enable meson for building open-isns, deprecating autoconf/make (though the current build system still works) Add a package config file for libisns, so other software can find it Fix some compiler warnings and spelling errors Make IPv6 default socket type Fix isnsadm parsing of some arguments Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-support/open-isns/open-isns_0.101.bb | 40 ---------------------- .../recipes-support/open-isns/open-isns_0.102.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-networking/recipes-support/open-isns/open-isns_0.101.bb create mode 100644 meta-networking/recipes-support/open-isns/open-isns_0.102.bb diff --git a/meta-networking/recipes-support/open-isns/open-isns_0.101.bb b/meta-networking/recipes-support/open-isns/open-isns_0.101.bb deleted file mode 100644 index f2a084d635..0000000000 --- a/meta-networking/recipes-support/open-isns/open-isns_0.101.bb +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (C) 2016 Joe MacDonald -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "iSNS daemon and utility programs" -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/" -LICENSE = "GPL-2.0-or-later & 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 \ - file://0001-isnsd.socket-use-run-instead-of-var-run.patch \ - " - -SRCREV = "0d86dc31fae2e2d77a082ccea5aba95426b40c3c" - -S = "${WORKDIR}/git" - -inherit systemd autotools-brokensep 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 - - 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 -} - -FILES:${PN} += "${libdir} ${systemd_unitdir}" - -INITSCRIPT_NAME = "openisns" diff --git a/meta-networking/recipes-support/open-isns/open-isns_0.102.bb b/meta-networking/recipes-support/open-isns/open-isns_0.102.bb new file mode 100644 index 0000000000..24c520901d --- /dev/null +++ b/meta-networking/recipes-support/open-isns/open-isns_0.102.bb @@ -0,0 +1,40 @@ +# Copyright (C) 2016 Joe MacDonald +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "iSNS daemon and utility programs" +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/" +LICENSE = "GPL-2.0-or-later & 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 \ + file://0001-isnsd.socket-use-run-instead-of-var-run.patch \ + " + +SRCREV = "c0e6d9fedc5a7041260de477fe1a8455fa074113" + +S = "${WORKDIR}/git" + +inherit systemd autotools-brokensep 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 + + 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 +} + +FILES:${PN} += "${libdir} ${systemd_unitdir}" + +INITSCRIPT_NAME = "openisns" -- cgit v1.2.3-54-g00ecf