Skip to contentSkip to conversation

libndp: new package

PATCH New yegorslists at googlemail.com 2 participants 3 messages Mar 17, 2014 – Mar 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libndp: new package

From: Yegor Yefremov <[email protected]>

---
 package/Config.in        |    1 +
 package/libndp/Config.in |   10 ++++++++++
 package/libndp/libndp.mk |   15 +++++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 package/libndp/Config.in
 create mode 100644 package/libndp/libndp.mk
package/Config.in +1 -0
index 70e5a7f..f51a16f 100644
@@ -706,6 +706,7 @@ source "package/libmbus/Config.in"
 source "package/libmicrohttpd/Config.in"
 source "package/libmnl/Config.in"
 source "package/libmodbus/Config.in"
+source "package/libndp/Config.in"
 source "package/libnetfilter_acct/Config.in"
 source "package/libnetfilter_conntrack/Config.in"
 source "package/libnetfilter_cthelper/Config.in"
package/libndp/Config.in new file +10 -0
new file mode 100644
index 0000000..516ac05
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBNDP
+	bool "libndp"
+	depends on BR2_INET_IPV6
+	help
+	  This package contains a library which provides a wrapper
+	  for IPv6 Neighbor Discovery Protocol. It also provides a tool
+	  named ndptool for sending and receiving NDP messages.
+
+comment "libndp needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
package/libndp/libndp.mk new file +15 -0
new file mode 100644
index 0000000..af58c6e
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libndp
+#
+################################################################################
+
+LIBNDP_VERSION = v1.2
+LIBNDP_SITE = $(call github,jpirko,libndp,$(LIBNDP_VERSION))
+LIBNDP_LICENSE = LGPLv2.1
+LIBNDP_LICENSE_FILES = COPYING
+LIBNDP_AUTORECONF = YES
+LIBNDP_INSTALL_STAGING = YES
+LIBNDP_CONF_OPT = --disable-debug
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.7
#1 lore raw

PATCH 1/1 libndp: new package

Yegor,

package/libndp/Config.in line 8

Quoted 12 lines · yegorslists at googlemail.com

index 0000000..516ac05

package/libndp/Config.in new file +8 -0
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBNDP
+	bool "libndp"
+	depends on BR2_INET_IPV6
+	help
+	  This package contains a library which provides a wrapper
+	  for IPv6 Neighbor Discovery Protocol. It also provides a tool
+	  named ndptool for sending and receiving NDP messages.
+

Missing upstream URL.

Quoted 8 lines
package/libndp/Config.in new file +2 -0
+comment "libndp needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
package/libndp/libndp.mk new file +0 -0
new file mode 100644
index 0000000..af58c6e

package/libndp/libndp.mk line 9

Quoted 9 lines
package/libndp/libndp.mk new file +9 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libndp
+#
+################################################################################
+
+LIBNDP_VERSION = v1.2
+LIBNDP_SITE = $(call github,jpirko,libndp,$(LIBNDP_VERSION))
+LIBNDP_LICENSE = LGPLv2.1

The license is really LGPLv2.1+.

And also the package was building with uClibc, there was a missing #include <stdargh.h> (try building libndp with
http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-full.config
after removing the patch).

I've fixed those problems and committed. Can you send the stdarg.h patch upstream?

Thanks,

Thomas

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

PATCH 1/1 libndp: new package

Quoted 38 lines · Thomas Petazzoni

Yegor,

package/libndp/Config.in line 8

Quoted 12 lines · yegorslists at googlemail.com

index 0000000..516ac05

package/libndp/Config.in new file +8 -0
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBNDP
+     bool "libndp"
+     depends on BR2_INET_IPV6
+     help
+       This package contains a library which provides a wrapper
+       for IPv6 Neighbor Discovery Protocol. It also provides a tool
+       named ndptool for sending and receiving NDP messages.
+

Missing upstream URL.

Quoted 8 lines
package/libndp/Config.in new file +2 -0
+comment "libndp needs a toolchain w/ IPv6"
+     depends on !BR2_INET_IPV6
package/libndp/libndp.mk new file +0 -0
new file mode 100644
index 0000000..af58c6e

package/libndp/libndp.mk line 9

Quoted 9 lines
package/libndp/libndp.mk new file +9 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libndp
+#
+################################################################################
+
+LIBNDP_VERSION = v1.2
+LIBNDP_SITE = $(call github,jpirko,libndp,$(LIBNDP_VERSION))
+LIBNDP_LICENSE = LGPLv2.1

The license is really LGPLv2.1+.

Quoted 7 lines

And also the package was building with uClibc, there was a missing #include <stdargh.h> (try building libndp with
http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-full.config
after removing the patch).

I've fixed those problems and committed. Can you send the stdarg.h patch upstream?

Will do.

Yegor