Skip to contentSkip to conversation

odhcp6c: new package

PATCH New Alexander Clouter 2 participants 2 messages Jan 18, 2015 – Feb 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 odhcp6c: new package

--

  package/Config.in          |    1 +
  package/odhcp6c/Config.in  |    7 +++++++
  package/odhcp6c/odhcp6c.mk |   12 ++++++++++++
  3 files changed, 20 insertions(+)
package/Config.in +1 -0
index 266de13..b9805dc 100644
@@ -1123,6 +1123,7 @@ endif
  	source "package/noip/Config.in"
  	source "package/ntp/Config.in"
  	source "package/nuttcp/Config.in"
+	source "package/odhcp6c/Config.in"
  	source "package/odhcploc/Config.in"
  	source "package/olsr/Config.in"
  	source "package/openntpd/Config.in"
package/odhcp6c/Config.in new file +7 -0
new file mode 100644
index 0000000..8155f47
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ODHCP6C
+	bool "odhcp6c"
+	help
+	  odhcp6c is a minimal DHCPv6 and RA-client for use in embedded Linux systems
+	  especially routers.
+
+	  https://github.com/sbyx/odhcp6c
package/odhcp6c/odhcp6c.mk new file +12 -0
new file mode 100644
index 0000000..db963e0
@@ -0,0 +1,12 @@
+################################################################################
+#
+# odhcp6c
+#
+################################################################################
+
+ODHCP6C_VERSION = c42e34111e19bd435dc4b5bb3ba81224ea214314
+ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION))
+ODHCP6C_LICENSE = GPLv2
+ODHCP6C_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))
#1 lore raw

PATCH 1/1 odhcp6c: new package

Hi Alexander,

Thanks a lot for your contribution.
I just sent a second version to the list with the fixes mentioned below:

Quoted 29 lines · Alexander Clouter

--

 package/Config.in          |    1 +
 package/odhcp6c/Config.in  |    7 +++++++
 package/odhcp6c/odhcp6c.mk |   12 ++++++++++++
 3 files changed, 20 insertions(+)
package/Config.in +1 -0
index 266de13..b9805dc 100644
@@ -1123,6 +1123,7 @@ endif
        source "package/noip/Config.in"
        source "package/ntp/Config.in"
        source "package/nuttcp/Config.in"
+       source "package/odhcp6c/Config.in"
        source "package/odhcploc/Config.in"
        source "package/olsr/Config.in"
        source "package/openntpd/Config.in"
package/odhcp6c/Config.in new file +4 -0
new file mode 100644
index 0000000..8155f47
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ODHCP6C
+       bool "odhcp6c"
+       help
+         odhcp6c is a minimal DHCPv6 and RA-client for use in embedded
Quoted 1 line

Linux systems

This line should have been wrapped at 80 characters.

package/odhcp6c/Config.in line 7

Quoted 3 lines
package/odhcp6c/Config.in new file +3 -0
+         especially routers.
+
+         https://github.com/sbyx/odhcp6c

Since the package is expecting IPv6 headers in the toolchain, the
Config.in file should express this dependency.
See http://buildroot.uclibc.org/downloads/manual/manual.html#_literal_config_in_literal_file
for details on this topic.

Best regards,
Thomas