On 04/01/2015 04:28 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 > --- > rules/opennhrp.in | 8 ++++++++ > rules/opennhrp.make | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 64 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..bc5f72b > --- /dev/null > +++ b/rules/opennhrp.in > @@ -0,0 +1,8 @@ > +## SECTION=networking > + > +config OPENNHRP > + tristate > + prompt "opennhrp" > + help > + OpenNHRP implements NBMA Next Hop Resolution Protocol > + (as defined in RFC 2332) dependency problem: nhrp/nhrp_address.c:17:18: fatal error: ares.h: No such file or directory #include ^ compilation terminated. > diff --git a/rules/opennhrp.make b/rules/opennhrp.make > new file mode 100644 > index 0000000..789ccc9 > --- /dev/null > +++ b/rules/opennhrp.make > @@ -0,0 +1,56 @@ > +# -*-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) The download fails: Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2015-04-02 10:47:53 ERROR 404: Not Found. > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +OPENNHRP_COMPILE_OPT := \ > + CROSS_COMPILE=$(COMPILER_PREFIX) Please use _MAKE_OPT, as COMPILE_OPT is obsolete, sorry my fault. Please add a _INSTALL_OPT, too, otherweise everything gets recompiled with the host compiler. See dhcp-helper review for more details. 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 |