From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <551D42FB.1080507@pengutronix.de> Date: Thu, 02 Apr 2015 15:24:11 +0200 From: Marc Kleine-Budde MIME-Version: 1.0 References: <1427979120-18924-1-git-send-email-oliver.graute@neuhaus.de> In-Reply-To: <1427979120-18924-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [ptxdist] [PATCHv6 1/1] 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: , Content-Type: multipart/mixed; boundary="===============2115407200==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============2115407200== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wXOR8W4pnAn9l32cGPW9UPlLn7E37Vqug" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wXOR8W4pnAn9l32cGPW9UPlLn7E37Vqug Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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) >=20 > Signed-off-by: Oliver Graute > --- > 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 >=20 > 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=3Dnetworking > + > +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 Germa= ny, Oliver Graute > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license condit= ions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_OPENNHRP) +=3D opennhrp > + > +# > +# Paths and names > +# > +OPENNHRP_VERSION :=3D 0.14.1 > +OPENNHRP_MD5 :=3D eb42ddb13e07ceb415b9ebb8eaca28ee > +OPENNHRP :=3D opennhrp-$(OPENNHRP_VERSION) > +OPENNHRP_SUFFIX :=3D tar.bz2 > +OPENNHRP_URL :=3D $(call ptx/mirror, SF, opennhrp/$(OPENNHRP).$(OPENN= HRP_SUFFIX)) > +OPENNHRP_SOURCE :=3D $(SRCDIR)/$(OPENNHRP).$(OPENNHRP_SUFFIX) > +OPENNHRP_DIR :=3D $(BUILDDIR)/$(OPENNHRP) > +OPENNHRP_LICENSE :=3D MIT > + > + Just one empty line here. > +# --------------------------------------------------------------------= -------- > +# Prepare > +# --------------------------------------------------------------------= -------- > + > + Just one empty line here. > +OPENNHRP_MAKE_OPT :=3D \ > + CROSS_COMPILE=3D$(COMPILER_PREFIX) ptxdist/.git/rebase-apply/patch:63: space before tab in indent. CROSS_COMPILE=3D$(COMPILER_PREFIX) > + > +OPENNHRP_INSTALL_OPT :=3D $(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,"") > + @$(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/open= nhrp.conf) > + @$(call install_alternative, opennhrp, 0, 0, 0755, /etc/opennhrp/raco= on-ph1dead.sh) > + @$(call install_alternative, opennhrp, 0, 0, 0755, /etc/opennhrp/raco= on-ph1down.sh) > + > + @$(call install_finish, opennhrp) > + > + @$(call touch) > + > +# vim: syntax=3Dmake >=20 Marc --=20 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 | --wXOR8W4pnAn9l32cGPW9UPlLn7E37Vqug Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJVHUMDAAoJECte4hHFiupUJcgQAI7zdrkwQYZN5RTzeNUW8wQ9 QdCj0HdCkB4GrMs2zaYziALG96OjjfR0llsyCppyVqjtNuQMlxoiEpaS7p7SmE2s tpZ3EQ+pLlXyNxgj2LobvPRQCQVm02VpUw7pfBxeNftykQaiYDGK6Z1eZOMYeOPs ZysA055/CB9ANHMaVUDHFFyYAg1FDreZymHd2gGkakMmXnjfuH4WDGJW2ZIQANNf V1pWMczpSoEguwv2smoZO7BnxWPLG9vJCMJyxqb7BQZMeBAT8OlxcG8YYSXwD1wh Y4dJDe3LT08j926hvE9D6K1fsbD/CuP4BO3d6eKSgrvUY7Q2B4msDz7qOk7ZepeZ ByQqf+xyTjLgLBIAHWhTkYC2j6HZyhZWdmyBpLnIiUPHPX1liNGAdWPyDJzdA7Br gKUF7IBurMXfw+6zErzaXg5otznqRj9LdaMzaCgSLK3tfiezGYGNpMhR2qlt7Ao6 r4EE26HGApoAZy6Kl8WcwiYiswIxDNVJ91ZFQPttkeKewdo2IRADVyO8qXFlzon4 sb8fMZggb8zb39icAINzzvjkdIs/AS0vkP/tbRQgXjWouxRddAQkD1msIX6BusYS axy0ikMpJsV61eveXl53lfpwhY0qTswFaDJNwrSV/ef3fnTZ8odZ7KSYYKYLrFwy AdHh6kG6/F7iVojXUwRL =TJEq -----END PGP SIGNATURE----- --wXOR8W4pnAn9l32cGPW9UPlLn7E37Vqug-- --===============2115407200== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2115407200==--