From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <551D0C71.7040402@pengutronix.de> Date: Thu, 02 Apr 2015 11:31:29 +0200 From: Marc Kleine-Budde MIME-Version: 1.0 References: <1427898644-7511-1-git-send-email-oliver.graute@neuhaus.de> In-Reply-To: <1427898644-7511-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [ptxdist] [PATCHv1 1/1] quagga: this patch adds quagga support 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="===============0900050684==" 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) --===============0900050684== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="09Tvu5A4G92CTO4R6oXf1Qk5wtrdXWVxT" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --09Tvu5A4G92CTO4R6oXf1Qk5wtrdXWVxT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/01/2015 04:30 PM, Oliver Graute wrote: > Quagga is a routing software suite builds here. Please fix: - remove default CONF_ENV - remove default stages: compile, install - the install_alternative for the config files is a good idea, however /etc/*.sample is probably not used by quagga. Please provide a set of config files as /etc/* (without .sample) in this patch. I'm not sure if this a sensible option, beacuse quagga probsably supports a lot of routing deamon which need different files. > Signed-off-by: Oliver Graute > --- > rules/quagga.in | 12 ++++++++ > rules/quagga.make | 84 +++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 2 files changed, 96 insertions(+) > create mode 100644 rules/quagga.in > create mode 100644 rules/quagga.make >=20 > diff --git a/rules/quagga.in b/rules/quagga.in > new file mode 100644 > index 0000000..fe84454 > --- /dev/null > +++ b/rules/quagga.in > @@ -0,0 +1,12 @@ > +## SECTION=3Dnetworking > + > +config QUAGGA > + tristate > + prompt "quagga" > + help > + Quagga Routing Suite. Quagga is a routing software suite, providing= > + implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 > + for Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD= =2E > + Quagga is a fork of GNU Zebra which was developed by Kunihiro > + Ishiguro. The Quagga tree aims to build a more involved community > + around Quagga than the current centralised model of GNU Zebra. > diff --git a/rules/quagga.make b/rules/quagga.make > new file mode 100644 > index 0000000..0665d66 > --- /dev/null > +++ b/rules/quagga.make > @@ -0,0 +1,84 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2015 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_QUAGGA) +=3D quagga > + > +# > +# Paths and names > +# > +QUAGGA_VERSION :=3D 0.99.23 > +QUAGGA_MD5 :=3D d17145e62b6ea14f0f13bb63f59e5166 > +QUAGGA :=3D quagga-$(QUAGGA_VERSION) > +QUAGGA_SUFFIX :=3D tar.gz > +QUAGGA_URL :=3D http://download.savannah.gnu.org/releases/quagga/$(QU= AGGA).$(QUAGGA_SUFFIX) > +QUAGGA_SOURCE :=3D $(SRCDIR)/$(QUAGGA).$(QUAGGA_SUFFIX) > +QUAGGA_DIR :=3D $(BUILDDIR)/$(QUAGGA) > +QUAGGA_LICENSE :=3D GPLv2 > + > + > +# --------------------------------------------------------------------= -------- > +# Prepare > +# --------------------------------------------------------------------= -------- > + > +QUAGGA_CONF_ENV :=3D $(CROSS_ENV) > + > +# > +# autoconf > +# > +QUAGGA_CONF_TOOL :=3D autoconf > + > +# --------------------------------------------------------------------= -------- > +# Compile > +# --------------------------------------------------------------------= -------- > + > +$(STATEDIR)/quagga.compile: > + @$(call targetinfo) > + @$(call world/compile, QUAGGA) > + @$(call touch) > + > +# --------------------------------------------------------------------= -------- > +# Install > +# --------------------------------------------------------------------= -------- > + > +$(STATEDIR)/quagga.install: > + @$(call targetinfo) > + @$(call world/install, QUAGGA) > + @$(call touch) > + > +# --------------------------------------------------------------------= -------- > +# Target-Install > +# --------------------------------------------------------------------= -------- > + > +$(STATEDIR)/quagga.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, quagga) > + @$(call install_fixup, quagga,PRIORITY,optional) > + @$(call install_fixup, quagga,SECTION,base) > + @$(call install_fixup, quagga,AUTHOR,"") > + @$(call install_fixup, quagga,DESCRIPTION,missing) > + > + @$(call install_lib, quagga, 0, 0, 0644, libzebra) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ripd) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/zebra) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospfd) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospfclient) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospf6d) > + @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/watchquagga) > + @$(call install_copy, quagga, 0, 0, 0644, -, /etc/ripd.conf.sample) > + @$(call install_copy, quagga, 0, 0, 0644, -, /etc/zebra.conf.sample) > + @$(call install_finish, quagga) > + > + @$(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 | --09Tvu5A4G92CTO4R6oXf1Qk5wtrdXWVxT 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 iQIcBAEBCgAGBQJVHQx0AAoJECte4hHFiupUrbQQAJMSTpdO4rimdm7zMGhU+DfH HZ/p6+VKzcc6nDqBGaZIJdoy4dIGAGlxsba2ZPMkdhZKOohpmmpGjIcg6Rlj4rUT vgR20X7O1O2Pwc6tqLDR5hD4Vg5J04Xb59wWvAoxFoernRYsZnStfwc9tF6Fa06f CCEXbzQn1ObQqxW7J5YK1DkheAfhHunW/UOM6KxMDTm9ANotoyH+w7TXH1HKiGPS yKLZprmFTXX/Asyd7jmn99uVGVPmKwLtlUIkQCcHM9duBht9yeV1aoM1mbLxYVCM J0LZtpX+b6vwZN0US8t1AQr3UzrDi+mdTCICjsoGeAwThIcX9+0p8n4yHMhFKRzM NSUc5SsRz7COwGaNj1TNqtsAOlVwHeVREdknzCWMSEeSPE+8oyZ9KbVZyHfgCg8g VUeBfGGmoVpSM/xwkU6evxYEXNbtzX1xFDNaKYmnjJWw4+875dHpQOapdwNRRcXZ BJdPlO5DBmoEDTiWBTSjHpMOPapo1wl2lGUhi1i+/NBBct11xTHJBzs3Oc9Q6sfr k2XxClUYAJTEtQfoy9+yh4bxx43k0NbD7KO3eByxKmi6v6w873EkNa6B0AJpONqf SxhdZ+/IVYq5293Lw3IQQr1DNCQZ2s1Y5PWlUCiSql0+mtLYKfUvB1mMXyKu7gHi dG8iLY2apMIDs8Ydsmcr =snxb -----END PGP SIGNATURE----- --09Tvu5A4G92CTO4R6oXf1Qk5wtrdXWVxT-- --===============0900050684== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0900050684==--