All of lore.kernel.org
 help / color / mirror / Atom feed
* lldpd recipe
@ 2013-02-06 21:15 Zhou, Jingting
  2013-02-11 20:04 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Zhou, Jingting @ 2013-02-06 21:15 UTC (permalink / raw)
  To: meta-arago@arago-project.org


[-- Attachment #1.1: Type: text/plain, Size: 91 bytes --]

Hey all, attached is the recipe for lldpd. Please take a look. Thanks~

Jingting Zhou


[-- Attachment #1.2: Type: text/html, Size: 1953 bytes --]

[-- Attachment #2: 0001-lldpd-recipe.patch --]
[-- Type: application/octet-stream, Size: 1974 bytes --]

From b431fc7ba21bce97c6ca4b94fe467864f373fcf3 Mon Sep 17 00:00:00 2001
From: Jingting Zhou <a0221004@ares-ubuntu>
Date: Wed, 6 Feb 2013 16:00:41 -0500
Subject: [PATCH] lldpd recipe

---
 .../recipes-connectivity/lldpd/lldpd_0.5.7.bb      |   38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100755 meta-arago-distro/recipes-connectivity/lldpd/lldpd_0.5.7.bb

diff --git a/meta-arago-distro/recipes-connectivity/lldpd/lldpd_0.5.7.bb b/meta-arago-distro/recipes-connectivity/lldpd/lldpd_0.5.7.bb
new file mode 100755
index 0000000..b7bef22
--- /dev/null
+++ b/meta-arago-distro/recipes-connectivity/lldpd/lldpd_0.5.7.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "LLDP (Link Layer Discovery Protocol) (a.k.a 802.1ab) is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). LLDPD is a lldp daemon for GNU/Linux and implements both reception and sending"
+HOMEPAGE = ""
+SECTION = ""
+LICENSE = ""
+LIC_FILES_CHKSUM = ""
+#DEPENDS = "libevent"
+DEPENDS = ""
+
+PR = "r1"
+PV = "0.5.7"
+LIC_FILES_CHKSUM = "file://Makefile.in;endline=14;md5=d4ae46cdd83c9deb588978d3275ff8ee"
+SRC_URI = "http://media.luffy.cx/files/lldpd/lldpd-${PV}.tar.gz"
+SRC_URI[md5sum] = "3db3a80fa6a384cd59e9d6a42ce7b630"
+SRC_URI[sha256sum] = "b8c3da19e91f8416aafb04eed57c540384a7dea1ff98e26b9bb2907c72e9a0e8"
+
+inherit autotools
+
+S = "${WORKDIR}/lldpd-${PV}"
+
+# This is needed only for code sourcery toolchain
+do_configure() {
+	oe_runconf ac_cv_cflags_gcc_option__fstack_protector=no
+}
+
+do_install () {
+   DESTDIR=${D} oe_runmake install
+}
+
+pkg_postinst() {
+        if [ "x$D" != "x" ]; then
+                exit 1
+        fi
+        addgroup _lldpd
+        adduser --system --home /var/lib/_lldpd --no-create-home --ingroup _lldpd --disabled-password -s /bin/false _lldpd
+        mkdir -p ${localstatedir}/share/empty
+}
+
+SECTION = "net" 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-11 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 21:15 lldpd recipe Zhou, Jingting
2013-02-11 20:04 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.