summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/interfaces')
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb19
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service11
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb
new file mode 100644
index 000000000..0f3ac5c2f
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Lightweight SLP Server"
+DESCRIPTION = "Lightweight Unicast-only SLP Server"
+HOMEPAGE = "http://github.com/openbmc/slpd-lite"
+PR = "r1"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+SYSTEMD_SERVICE_${PN} += "slpd-lite.service"
+
+DEPENDS += "systemd"
+DEPENDS += "autoconf-archive-native"
+
+SRC_URI += "git://github.com/openbmc/slpd-lite"
+
+SRCREV = "70b8527104281ffd927c087480fbe1168a75fe93"
+
+S = "${WORKDIR}/git"
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service
new file mode 100644
index 000000000..02d593c19
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Lightweight SLP Server
+
+After=network.target
+
+[Service]
+ExecStart={sbindir}/slpd
+Restart=always
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}
OpenPOWER on IntegriCloud