All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libndp: new package
@ 2014-03-17 10:57 yegorslists at googlemail.com
  2014-03-29 10:35 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: yegorslists at googlemail.com @ 2014-03-17 10:57 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 70e5a7f..f51a16f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libndp/Config.in b/package/libndp/Config.in
new file mode 100644
index 0000000..516ac05
--- /dev/null
+++ b/package/libndp/Config.in
@@ -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
diff --git a/package/libndp/libndp.mk b/package/libndp/libndp.mk
new file mode 100644
index 0000000..af58c6e
--- /dev/null
+++ b/package/libndp/libndp.mk
@@ -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))
-- 
1.7.7

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

* [Buildroot] [PATCH] libndp: new package
  2014-03-17 10:57 [Buildroot] [PATCH] libndp: new package yegorslists at googlemail.com
@ 2014-03-29 10:35 ` Thomas Petazzoni
  2014-03-29 10:43   ` Yegor Yefremov
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-03-29 10:35 UTC (permalink / raw)
  To: buildroot

Yegor,

On Mon, 17 Mar 2014 11:57:07 +0100, yegorslists at googlemail.com wrote:
> index 0000000..516ac05
> --- /dev/null
> +++ b/package/libndp/Config.in
> @@ -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.

> +comment "libndp needs a toolchain w/ IPv6"
> +	depends on !BR2_INET_IPV6
> diff --git a/package/libndp/libndp.mk b/package/libndp/libndp.mk
> new file mode 100644
> index 0000000..af58c6e
> --- /dev/null
> +++ b/package/libndp/libndp.mk
> @@ -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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] libndp: new package
  2014-03-29 10:35 ` Thomas Petazzoni
@ 2014-03-29 10:43   ` Yegor Yefremov
  0 siblings, 0 replies; 3+ messages in thread
From: Yegor Yefremov @ 2014-03-29 10:43 UTC (permalink / raw)
  To: buildroot

On Sat, Mar 29, 2014 at 11:35 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Yegor,
>
> On Mon, 17 Mar 2014 11:57:07 +0100, yegorslists at googlemail.com wrote:
>> index 0000000..516ac05
>> --- /dev/null
>> +++ b/package/libndp/Config.in
>> @@ -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.
>
>> +comment "libndp needs a toolchain w/ IPv6"
>> +     depends on !BR2_INET_IPV6
>> diff --git a/package/libndp/libndp.mk b/package/libndp/libndp.mk
>> new file mode 100644
>> index 0000000..af58c6e
>> --- /dev/null
>> +++ b/package/libndp/libndp.mk
>> @@ -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?

Will do.

Yegor

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

end of thread, other threads:[~2014-03-29 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-17 10:57 [Buildroot] [PATCH] libndp: new package yegorslists at googlemail.com
2014-03-29 10:35 ` Thomas Petazzoni
2014-03-29 10:43   ` Yegor Yefremov

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.