* [ptxdist] [PATCH] ndisc6: added ndisc6 package to ptxdist
@ 2018-06-22 12:16 Oliver Graute
2018-06-22 13:50 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Graute @ 2018-06-22 12:16 UTC (permalink / raw)
To: ptxdist
NDisc6 is a small collection of useful tools for IPv6 networking.
Signed-off-by: Oliver Graute <oliver.graute@sagemcom.com>
---
rules/ndisc6.in | 7 +++++
rules/ndisc6.make | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
create mode 100644 rules/ndisc6.in
create mode 100644 rules/ndisc6.make
diff --git a/rules/ndisc6.in b/rules/ndisc6.in
new file mode 100644
index 0000000..5a6682b
--- /dev/null
+++ b/rules/ndisc6.in
@@ -0,0 +1,7 @@
+## SECTION=networking
+
+config NDISC6
+ tristate
+ prompt "ndisc6"
+ help
+ NDisc6 is a small collection of useful tools for IPv6 networking
diff --git a/rules/ndisc6.make b/rules/ndisc6.make
new file mode 100644
index 0000000..9b61a79
--- /dev/null
+++ b/rules/ndisc6.make
@@ -0,0 +1,85 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 Sagemcom Dr. Neuhaus GmbH, Hamburg Germany, Oliver Graute <oliver.graute@sagemcom.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NDISC6) += ndisc6
+
+#
+# Paths and names
+#
+NDISC6_VERSION := 1.0.3
+NDISC6_MD5 := 21afdaa3a5a5c1ce50eb7f2b7d795989
+NDISC6 := ndisc6-$(NDISC6_VERSION)
+NDISC6_SUFFIX := tar.bz2
+NDISC6_URL := https://www.remlab.net/files/ndisc6/ndisc6-$(NDISC6_VERSION).$(NDISC6_SUFFIX)
+NDISC6_SOURCE := $(SRCDIR)/$(NDISC6).$(NDISC6_SUFFIX)
+NDISC6_DIR := $(BUILDDIR)/$(NDISC6)
+NDISC6_LICENSE := GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+NDISC6_CONF_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ndisc6.compile:
+ @$(call targetinfo)
+ @$(call world/compile, NDISC6)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/ndisc6.install:
+# @$(call targetinfo)
+# @$(call world/install, NDISC6)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ndisc6.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, ndisc6)
+ @$(call install_fixup, ndisc6,PRIORITY,optional)
+ @$(call install_fixup, ndisc6,SECTION,base)
+ @$(call install_fixup, ndisc6,AUTHOR,"oliver.graute@sagemcom.com")
+ @$(call install_fixup, ndisc6,DESCRIPTION,missing)
+
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/ndisc6, /usr/bin/ndisc6)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/rdisc6, /usr/bin/rdisc6)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tcpspray6, /usr/bin/tcpspray6)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tcptraceroute6, /usr/bin/tcptraceroute6)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tracert6, /usr/bin/tracert6)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/addr2name, /usr/bin/addr2name)
+ @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/rdnssd/rdnssd, /usr/bin/rdnssd)
+
+ @$(call install_finish, ndisc6)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/ndisc6.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, NDISC6)
+
+# vim: syntax=make
--
1.9.1
--
i. A. Oliver GRAUTE
Software Entwicklung Dipl.-Inform. (Uni)
Sagemcom Dr. Neuhaus GmbH
Papenreye 65, 22453 Hamburg GERMANY
Phone: +49 (0) 40 55304-3045
Fax: +49 (0) 40 55304-180
oliver.graute@sagemcom.com
www.neuhaus.de / www.sagemcom.com
Geschäftsführer: André Karnatz, Patrick Sevian
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg / HRB 133678
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] ndisc6: added ndisc6 package to ptxdist
2018-06-22 12:16 [ptxdist] [PATCH] ndisc6: added ndisc6 package to ptxdist Oliver Graute
@ 2018-06-22 13:50 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2018-06-22 13:50 UTC (permalink / raw)
To: ptxdist
On Fri, Jun 22, 2018 at 02:16:54PM +0200, Oliver Graute wrote:
> NDisc6 is a small collection of useful tools for IPv6 networking.
>
> Signed-off-by: Oliver Graute <oliver.graute@sagemcom.com>
> ---
> rules/ndisc6.in | 7 +++++
> rules/ndisc6.make | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 92 insertions(+)
> create mode 100644 rules/ndisc6.in
> create mode 100644 rules/ndisc6.make
>
> diff --git a/rules/ndisc6.in b/rules/ndisc6.in
> new file mode 100644
> index 0000000..5a6682b
> --- /dev/null
> +++ b/rules/ndisc6.in
> @@ -0,0 +1,7 @@
> +## SECTION=networking
> +
> +config NDISC6
> + tristate
> + prompt "ndisc6"
> + help
> + NDisc6 is a small collection of useful tools for IPv6 networking
> diff --git a/rules/ndisc6.make b/rules/ndisc6.make
> new file mode 100644
> index 0000000..9b61a79
> --- /dev/null
> +++ b/rules/ndisc6.make
> @@ -0,0 +1,85 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 Sagemcom Dr. Neuhaus GmbH, Hamburg Germany, Oliver Graute <oliver.graute@sagemcom.com>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_NDISC6) += ndisc6
> +
> +#
> +# Paths and names
> +#
> +NDISC6_VERSION := 1.0.3
> +NDISC6_MD5 := 21afdaa3a5a5c1ce50eb7f2b7d795989
> +NDISC6 := ndisc6-$(NDISC6_VERSION)
> +NDISC6_SUFFIX := tar.bz2
> +NDISC6_URL := https://www.remlab.net/files/ndisc6/ndisc6-$(NDISC6_VERSION).$(NDISC6_SUFFIX)
> +NDISC6_SOURCE := $(SRCDIR)/$(NDISC6).$(NDISC6_SUFFIX)
> +NDISC6_DIR := $(BUILDDIR)/$(NDISC6)
> +NDISC6_LICENSE := GPLv2
GPL-2.0-only
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +NDISC6_CONF_ENV := $(CROSS_ENV)
This is the default.
Explicitly specify the NDISC6_CONF_TOOL
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/ndisc6.compile:
> + @$(call targetinfo)
> + @$(call world/compile, NDISC6)
> + @$(call touch)
This is the default. Remove.
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/ndisc6.install:
> +# @$(call targetinfo)
> +# @$(call world/install, NDISC6)
> +# @$(call touch)
Remove.
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/ndisc6.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, ndisc6)
> + @$(call install_fixup, ndisc6,PRIORITY,optional)
> + @$(call install_fixup, ndisc6,SECTION,base)
> + @$(call install_fixup, ndisc6,AUTHOR,"oliver.graute@sagemcom.com")
> + @$(call install_fixup, ndisc6,DESCRIPTION,missing)
> +
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/ndisc6, /usr/bin/ndisc6)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/rdisc6, /usr/bin/rdisc6)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tcpspray6, /usr/bin/tcpspray6)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tcptraceroute6, /usr/bin/tcptraceroute6)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/tracert6, /usr/bin/tracert6)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/src/addr2name, /usr/bin/addr2name)
> + @$(call install_copy, ndisc6, 0, 0, 0755, $(NDISC6_DIR)/rdnssd/rdnssd, /usr/bin/rdnssd)
> +
> + @$(call install_finish, ndisc6)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/ndisc6.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, NDISC6)
Remove.
Michael
> +
> +# vim: syntax=make
> --
> 1.9.1
>
>
> --
> i. A. Oliver GRAUTE
> Software Entwicklung Dipl.-Inform. (Uni)
>
> Sagemcom Dr. Neuhaus GmbH
> Papenreye 65, 22453 Hamburg GERMANY
> Phone: +49 (0) 40 55304-3045
> Fax: +49 (0) 40 55304-180
> oliver.graute@sagemcom.com
>
> www.neuhaus.de / www.sagemcom.com
> Geschäftsführer: André Karnatz, Patrick Sevian
> Sitz der Gesellschaft: Hamburg
> Amtsgericht Hamburg / HRB 133678
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-22 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 12:16 [ptxdist] [PATCH] ndisc6: added ndisc6 package to ptxdist Oliver Graute
2018-06-22 13:50 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox