From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YdJfQ-0002sA-KV for ptxdist@pengutronix.de; Wed, 01 Apr 2015 16:30:53 +0200 Received: by wiaa2 with SMTP id a2so68873701wia.0 for ; Wed, 01 Apr 2015 07:30:47 -0700 (PDT) From: Oliver Graute Date: Wed, 1 Apr 2015 16:30:43 +0200 Message-Id: <1427898644-7511-1-git-send-email-oliver.graute@neuhaus.de> Subject: [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: , 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 Quagga is a routing software suite 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 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=networking + +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. + 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 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_QUAGGA) += quagga + +# +# Paths and names +# +QUAGGA_VERSION := 0.99.23 +QUAGGA_MD5 := d17145e62b6ea14f0f13bb63f59e5166 +QUAGGA := quagga-$(QUAGGA_VERSION) +QUAGGA_SUFFIX := tar.gz +QUAGGA_URL := http://download.savannah.gnu.org/releases/quagga/$(QUAGGA).$(QUAGGA_SUFFIX) +QUAGGA_SOURCE := $(SRCDIR)/$(QUAGGA).$(QUAGGA_SUFFIX) +QUAGGA_DIR := $(BUILDDIR)/$(QUAGGA) +QUAGGA_LICENSE := GPLv2 + + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +QUAGGA_CONF_ENV := $(CROSS_ENV) + +# +# autoconf +# +QUAGGA_CONF_TOOL := 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=make -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de