From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YPuKV-0002UC-FP for ptxdist@pengutronix.de; Mon, 23 Feb 2015 15:49:52 +0100 Received: by mail-wi0-f169.google.com with SMTP id em10so20223136wid.0 for ; Mon, 23 Feb 2015 06:49:45 -0800 (PST) From: Oliver Graute Date: Mon, 23 Feb 2015 15:49:33 +0100 Message-Id: <1424702973-17420-1-git-send-email-oliver.graute@neuhaus.de> Subject: [ptxdist] [PATCHv2] OpenNHRP: add opennhrp to ptxdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute This patch add OpenNHRP support to ptxdist OpenNHRP implements NBMA Next Hop Resolution Protocol (RFC 2332) Signed-off-by: Oliver Graute --- rules/opennhrp.in | 7 +++++++ rules/opennhrp.make | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 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..52b269a --- /dev/null +++ b/rules/opennhrp.in @@ -0,0 +1,7 @@ +## SECTION=networking + +config OPENNHRP + tristate + 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..1b228d5 --- /dev/null +++ b/rules/opennhrp.make @@ -0,0 +1,53 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute +# +# 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)) +OPENNHRP_SOURCE := $(SRCDIR)/$(OPENNHRP).$(OPENNHRP_SUFFIX) +OPENNHRP_DIR := $(BUILDDIR)/$(OPENNHRP) +OPENNHRP_LICENSE := MIT + + +OPENNHRP_CONF_ENV := $(CROSS_ENV) +# ---------------------------------------------------------------------------- +# 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,"") + @$(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_copy, opennhrp, 0, 0, 0644, -, /etc/opennhrp/opennhrp.conf) + @$(call install_copy, opennhrp, 0, 0, 0755, -, /etc/opennhrp/racoon-ph1dead.sh) + @$(call install_copy, opennhrp, 0, 0, 0755, -, /etc/opennhrp/racoon-ph1down.sh) + + @$(call install_finish, opennhrp) + + @$(call touch) + +# vim: syntax=make -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de