added my Recipes
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 9413921d5af5e5e38541f97fee0f1aa40024a3ed Mon Sep 17 00:00:00 2001
|
||||
From: Chen Qi <Qi.Chen@windriver.com>
|
||||
Date: Tue, 20 Oct 2020 13:21:57 +0800
|
||||
Subject: [PATCH] isnsd.socket: use /run instead of /var/run
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
||||
---
|
||||
isnsd.socket | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/isnsd.socket b/isnsd.socket
|
||||
index 652cd46..7dfcf51 100644
|
||||
--- a/isnsd.socket
|
||||
+++ b/isnsd.socket
|
||||
@@ -1,5 +1,5 @@
|
||||
[Socket]
|
||||
-ListenStream=/var/run/isnsctl
|
||||
+ListenStream=/run/isnsctl
|
||||
PassCredentials=true
|
||||
|
||||
[Socket]
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
# Copyright (C) 2016 Joe MacDonald <joe_macdonald@mentor.com>
|
||||
# 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"
|
||||
Reference in New Issue
Block a user