From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: Re: [ptxdist] [PATCHv6 1/1] opennhrp: add opennhrp to ptxdist
Date: Thu, 02 Apr 2015 15:24:11 +0200 [thread overview]
Message-ID: <551D42FB.1080507@pengutronix.de> (raw)
In-Reply-To: <1427979120-18924-1-git-send-email-oliver.graute@neuhaus.de>
[-- Attachment #1.1: Type: text/plain, Size: 3844 bytes --]
On 04/02/2015 02:52 PM, Oliver Graute wrote:
> This patch add OpenNHRP support to ptxdist
> OpenNHRP implements NBMA Next Hop Resolution Protocol (RFC 2332)
>
> Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
> ---
> rules/opennhrp.in | 9 ++++++++
> rules/opennhrp.make | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 71 insertions(+)
> create mode 100644 rules/opennhrp.in
> create mode 100644 rules/opennhrp.make
>
> diff --git a/rules/opennhrp.in b/rules/opennhrp.in
> new file mode 100644
> index 0000000..6554e9d
> --- /dev/null
> +++ b/rules/opennhrp.in
> @@ -0,0 +1,9 @@
> +## SECTION=networking
> +
> +config OPENNHRP
> + tristate
> + select C_ARES
> + prompt "opennhrp"
> + help
> + OpenNHRP implements NBMA Next Hop Resolution Protocol
> + (as defined in RFC 2332)
> diff --git a/rules/opennhrp.make b/rules/opennhrp.make
> new file mode 100644
> index 0000000..e91bd91
> --- /dev/null
> +++ b/rules/opennhrp.make
> @@ -0,0 +1,62 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <oliver.graute@neuhaus.de>
> +#
> +# 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_OPENNHRP) += opennhrp
> +
> +#
> +# Paths and names
> +#
> +OPENNHRP_VERSION := 0.14.1
> +OPENNHRP_MD5 := eb42ddb13e07ceb415b9ebb8eaca28ee
> +OPENNHRP := opennhrp-$(OPENNHRP_VERSION)
> +OPENNHRP_SUFFIX := tar.bz2
> +OPENNHRP_URL := $(call ptx/mirror, SF, opennhrp/$(OPENNHRP).$(OPENNHRP_SUFFIX))
> +OPENNHRP_SOURCE := $(SRCDIR)/$(OPENNHRP).$(OPENNHRP_SUFFIX)
> +OPENNHRP_DIR := $(BUILDDIR)/$(OPENNHRP)
> +OPENNHRP_LICENSE := MIT
> +
> +
Just one empty line here.
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +
Just one empty line here.
> +OPENNHRP_MAKE_OPT := \
> + CROSS_COMPILE=$(COMPILER_PREFIX)
ptxdist/.git/rebase-apply/patch:63: space before tab in indent.
CROSS_COMPILE=$(COMPILER_PREFIX)
> +
> +OPENNHRP_INSTALL_OPT := $(COMPILE_OPT)
^^^^^^^^^^^^^^
Please have a look at my dhcp-helper reply, for tested example of
MAKE_OPT + INSTALL_OPT.
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/opennhrp.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, opennhrp)
> + @$(call install_fixup, opennhrp,PRIORITY,optional)
> + @$(call install_fixup, opennhrp,SECTION,base)
> + @$(call install_fixup, opennhrp,AUTHOR,"<oliver.graute@neuhaus.de>")
> + @$(call install_fixup, opennhrp,DESCRIPTION,missing)
> +
> + @$(call install_copy, opennhrp, 0, 0, 0755, -, /usr/sbin/opennhrp)
> + @$(call install_copy, opennhrp, 0, 0, 0755, -, /usr/sbin/opennhrpctl)
> + @$(call install_alternative, opennhrp, 0, 0, 0644, /etc/opennhrp/opennhrp.conf)
> + @$(call install_alternative, opennhrp, 0, 0, 0755, /etc/opennhrp/racoon-ph1dead.sh)
> + @$(call install_alternative, opennhrp, 0, 0, 0755, /etc/opennhrp/racoon-ph1down.sh)
> +
> + @$(call install_finish, opennhrp)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
>
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2015-04-02 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-02 12:52 Oliver Graute
2015-04-02 13:24 ` Marc Kleine-Budde [this message]
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=551D42FB.1080507@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=oliver.graute@neuhaus.de \
--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