From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <54EB400D.7020602@pengutronix.de> Date: Mon, 23 Feb 2015 15:58:21 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: <1424702973-17420-1-git-send-email-oliver.graute@neuhaus.de> In-Reply-To: <1424702973-17420-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [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: , Content-Type: multipart/mixed; boundary="===============1253383570==" 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) --===============1253383570== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U9N5gQTxHs378FWrKHP6qamEKLLenB7bH" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --U9N5gQTxHs378FWrKHP6qamEKLLenB7bH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/23/2015 03:49 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 | 7 +++++++ > rules/opennhrp.make | 53 +++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 2 files changed, 60 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..52b269a > --- /dev/null > +++ b/rules/opennhrp.in > @@ -0,0 +1,7 @@ > +## SECTION=3Dnetworking > + > +config OPENNHRP > + tristate > + prompt "opennhrp" > + help > + OpenNHRP implements NBMA Next Hop Resolution Protocol (as defined in= RFC 2332) ^^ Please indent with one tab followed by two spaces, please respect the 80 column limit. > 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 Germa= ny, Oliver Graute One space before your name should be enough. > +# > +# 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)) > +OPENNHRP_SOURCE :=3D $(SRCDIR)/$(OPENNHRP).$(OPENNHRP_SUFFIX) > +OPENNHRP_DIR :=3D $(BUILDDIR)/$(OPENNHRP) > +OPENNHRP_LICENSE :=3D MIT > + > + > +OPENNHRP_CONF_ENV :=3D $(CROSS_ENV) Is this a autoconf package? > +# --------------------------------------------------------------------= -------- > +# 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= =2Econf) > + @$(call install_copy, opennhrp, 0, 0, 0755, -, /etc/opennhrp/racoon-p= h1dead.sh) > + @$(call install_copy, opennhrp, 0, 0, 0755, -, /etc/opennhrp/racoon-p= h1down.sh) Please use install_alternative for the files in /etc > + > + @$(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 | --U9N5gQTxHs378FWrKHP6qamEKLLenB7bH 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 iQIcBAEBCgAGBQJU60ATAAoJECte4hHFiupUxtsP/igze8u3eVMnyJhID3BUXYn2 G7Q4X+EYsd91Vh4vd7rcAVGQ/DLUflGg7Lv8L+WhiI1lSMRc/kgAatjUnNKm20X1 autQ1PE9uwSk+LybmBB8RwpzIgGyn88z3DjDPSlWQ9EpXOexfZW5YY0Q1KUKDyqY AzdGqH/JfLg9Czlo/keqbHn2O3wo+0uHQS94Co9aOhdI9UFbmksK08W+RGoypPDl EJtOVSJ0INTu+UHupUVjgepUXbPT9eqpzEA05ynnX/eYyf6lq0E6jHbGrU23HiD0 27Jq+5zazkQIGi2zcgoJjIDYy067ns5FKbhnSzqaa9xWIXAnW1MyARL1s1QHNexX 2zbGgkUpNsDlKk3ztZVrlvkCLAAJzorX6w2UphiDqS+LgyGkTyyAjQ0VDI6wNgFq Upz8KBMKpHDeiyxMmuB0so0WiO/MKZ0j5NKm/gVX5XckE3Jn0rFdTMxVknNhR1yO WoQJZF7iw8q4tSTi2id/4KwIVZgLF4TkuVrapol2euh5DqDOV808265mWJJFcZrh qQmNRHh6ufB6grF234dTQ3sIfsWHi04tUDzIRVfbad50Nv0eMtdTyXwmJQpQ6hi1 dF+b4NSUaHGDHZy1kOrV/OrYPSJTWZD/f0A38khOe5BYWb2eufwcW3adF6SNeSlZ 1DOs8CCNhMOx49/HVhbt =kHRM -----END PGP SIGNATURE----- --U9N5gQTxHs378FWrKHP6qamEKLLenB7bH-- --===============1253383570== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1253383570==--