Skip to contentSkip to conversation

Added lldpad (LLDP Agent Daemon) package.

PATCH New Laurent Charpentier 2 participants 3 messages Jan 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added lldpad (LLDP Agent Daemon) package.

The lldpad package comes with utilities to manage an LLDP interface with support for reading and configuring TLVs. TLVs and interfaces are individual controlled allowing flexible configuration for TX only, RX only, or TX/RX modes per TLV.

http://open-lldp.org/

---
 package/Config.in                                  |  1 +
 .../open-lldp/0001-lldpad-vdptool-getline.patch    | 10 +++++++++
 package/open-lldp/Config.in                        | 11 +++++++++
 package/open-lldp/open-lldp.hash                   |  2 ++
 package/open-lldp/open-lldp.mk                     | 26 ++++++++++++++++++++++
 5 files changed, 50 insertions(+)
 create mode 100644 package/open-lldp/0001-lldpad-vdptool-getline.patch
 create mode 100644 package/open-lldp/Config.in
 create mode 100644 package/open-lldp/open-lldp.hash
 create mode 100644 package/open-lldp/open-lldp.mk
package/Config.in +1 -0
index 01f4095be5..37e1e753e3 100644
@@ -1760,6 +1760,7 @@ endif
 	source "package/odhcp6c/Config.in"
 	source "package/odhcploc/Config.in"
 	source "package/olsr/Config.in"
+	source "package/open-lldp/Config.in"
 	source "package/open-plc-utils/Config.in"
 	source "package/openntpd/Config.in"
 	source "package/openobex/Config.in"
package/open-lldp/0001-lldpad-vdptool-getline.patch new file +10 -0
new file mode 100644
index 0000000000..ac2e62ff16
@@ -0,0 +1,10 @@
+--- open-lldp-036e314/vdptool.c 2015-08-24 19:31:59.000000000 +0200
++++ open-lldp-036e314_patched/vdptool.c 2018-01-10 10:16:24.096431555 +0100
+@@ -36,6 +36,7 @@
+  * set and query VSI profile settings.
+  */
+
++#define _GNU_SOURCE
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
package/open-lldp/Config.in new file +11 -0
new file mode 100644
index 0000000000..84b24702c7
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_OPEN_LLDP
+        bool "open-lldp"
+        select BR2_PACKAGE_LIBCONFIG
+        select BR2_PACKAGE_LIBNL
+        select BR2_PACKAGE_LIBTOOL
+        select BR2_PACKAGE_READLINE
+        help
+	  This package contains the Linux user space daemon and configuration
+	  tool for Intel LLDP Agent with Enhanced Ethernet support for the
+	  Data Center.
+
package/open-lldp/open-lldp.hash new file +2 -0
new file mode 100644
index 0000000000..6fef5b2999
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 217124f24ac57d3191ab33c53fccf5d7319e83f9029610be3c3cb71392480a2a  open-lldp-036e314.tar.gz
package/open-lldp/open-lldp.mk new file +26 -0
new file mode 100644
index 0000000000..5a69595b4f
@@ -0,0 +1,26 @@
+################################################################################
+#
+# open-lldp
+#
+################################################################################
+
+OPEN_LLDP_VERSION = 036e314
+OPEN_LLDP_SITE = git://open-lldp.org/open-lldp.git
+OPEN_LLDP_SITE_METHOD = git
+OPEN_LLDP_DEPENDENCIES = libconfig host-pkgconf libtool
+OPEN_LLDP_LICENSE = GPL-2.0
+OPEN_LLDP_LICENSE_FILES = README
+
+OPEN_LLDP_AUTORECONF = YES
+OPEN_LLDP_INSTALL_STAGING = YES
+
+OPEN_LLDP_CONF_OPTS = \
+        --disable-static
+
+define OPEN_LLDP_BOOTSTRAP
+        (cd $(@D) && ./bootstrap.sh)
+endef
+
+OPEN_LLDP_PRE_CONFIGURE_HOOKS += OPEN_LLDP_BOOTSTRAP
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.3
#1 lore raw

PATCH 1/1 open-lldp: new package

The lldpad package comes with utilities to manage an LLDP interface with support for reading and configuring TLVs. TLVs and interfaces are individual controlled allowing flexible configuration for TX only, RX only, or TX/RX modes per TLV.

http://open-lldp.org/

---
 package/Config.in                                  |  1 +
 .../open-lldp/0001-lldpad-vdptool-getline.patch    | 10 +++++++++
 package/open-lldp/Config.in                        | 11 +++++++++
 package/open-lldp/open-lldp.hash                   |  2 ++
 package/open-lldp/open-lldp.mk                     | 26 ++++++++++++++++++++++
 5 files changed, 50 insertions(+)
 create mode 100644 package/open-lldp/0001-lldpad-vdptool-getline.patch
 create mode 100644 package/open-lldp/Config.in
 create mode 100644 package/open-lldp/open-lldp.hash
 create mode 100644 package/open-lldp/open-lldp.mk
package/Config.in +1 -0
index 01f4095be5..37e1e753e3 100644
@@ -1760,6 +1760,7 @@ endif
 	source "package/odhcp6c/Config.in"
 	source "package/odhcploc/Config.in"
 	source "package/olsr/Config.in"
+	source "package/open-lldp/Config.in"
 	source "package/open-plc-utils/Config.in"
 	source "package/openntpd/Config.in"
 	source "package/openobex/Config.in"
package/open-lldp/0001-lldpad-vdptool-getline.patch new file +10 -0
new file mode 100644
index 0000000000..ac2e62ff16
@@ -0,0 +1,10 @@
+--- open-lldp-036e314/vdptool.c 2015-08-24 19:31:59.000000000 +0200
++++ open-lldp-036e314_patched/vdptool.c 2018-01-10 10:16:24.096431555 +0100
+@@ -36,6 +36,7 @@
+  * set and query VSI profile settings.
+  */
+
++#define _GNU_SOURCE
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
package/open-lldp/Config.in new file +11 -0
new file mode 100644
index 0000000000..84b24702c7
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_OPEN_LLDP
+        bool "open-lldp"
+        select BR2_PACKAGE_LIBCONFIG
+        select BR2_PACKAGE_LIBNL
+        select BR2_PACKAGE_LIBTOOL
+        select BR2_PACKAGE_READLINE
+        help
+	  This package contains the Linux user space daemon and configuration
+	  tool for Intel LLDP Agent with Enhanced Ethernet support for the
+	  Data Center.
+
package/open-lldp/open-lldp.hash new file +2 -0
new file mode 100644
index 0000000000..6fef5b2999
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 217124f24ac57d3191ab33c53fccf5d7319e83f9029610be3c3cb71392480a2a  open-lldp-036e314.tar.gz
package/open-lldp/open-lldp.mk new file +26 -0
new file mode 100644
index 0000000000..5a69595b4f
@@ -0,0 +1,26 @@
+################################################################################
+#
+# open-lldp
+#
+################################################################################
+
+OPEN_LLDP_VERSION = 036e314
+OPEN_LLDP_SITE = git://open-lldp.org/open-lldp.git
+OPEN_LLDP_SITE_METHOD = git
+OPEN_LLDP_DEPENDENCIES = libconfig host-pkgconf libtool
+OPEN_LLDP_LICENSE = GPL-2.0
+OPEN_LLDP_LICENSE_FILES = README
+
+OPEN_LLDP_AUTORECONF = YES
+OPEN_LLDP_INSTALL_STAGING = YES
+
+OPEN_LLDP_CONF_OPTS = \
+        --disable-static
+
+define OPEN_LLDP_BOOTSTRAP
+        (cd $(@D) && ./bootstrap.sh)
+endef
+
+OPEN_LLDP_PRE_CONFIGURE_HOOKS += OPEN_LLDP_BOOTSTRAP
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.3
#2 lore raw

PATCH 1/1 open-lldp: new package

Hello,

Quoted 8 lines · Laurent Charpentier

The lldpad package comes with utilities to manage an LLDP interface with support for reading and configuring TLVs. TLVs and interfaces are individual controlled allowing flexible configuration for TX only, RX only, or TX/RX modes per TLV.

http://open-lldp.org/

Thanks for this new version, but you only fixed the commit title, and none of the other review comments that I made. Did you miss them perhaps?

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com