mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCHv2] ndisc6: added ndisc6 package to ptxdist
Date: Mon, 25 Jun 2018 11:36:07 +0200	[thread overview]
Message-ID: <20180625093607.GA14946@graute-opti> (raw)

Signed-off-by: Oliver Graute <oliver.graute@sagemcom.com>
---
 rules/ndisc6.in   |  7 +++++++
 rules/ndisc6.make | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 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..3f96c61
--- /dev/null
+++ b/rules/ndisc6.make
@@ -0,0 +1,58 @@
+# -*-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	:= GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+NDISC_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# 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)
+
+# vim: syntax=make

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2018-06-25 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25  9:36 Oliver Graute [this message]
2018-06-25 14:13 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180625093607.GA14946@graute-opti \
    --to=oliver.graute@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox