From 1effd49d777af7f70c55e46a159b3016c8751820 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 17 Jul 2005 22:14:32 +0000 Subject: split off libospf from quagga-ospf(6)d git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/quagga/Config.in | 10 ++++++++++ package/quagga/Makefile | 11 +++++++---- package/quagga/ipkg/libospf.control | 7 +++++++ package/quagga/ipkg/quagga-ospf6d.control | 1 + package/quagga/ipkg/quagga-ospfd.control | 1 + 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 package/quagga/ipkg/libospf.control (limited to 'package/quagga') diff --git a/package/quagga/Config.in b/package/quagga/Config.in index df13bb844..87233d110 100644 --- a/package/quagga/Config.in +++ b/package/quagga/Config.in @@ -21,9 +21,18 @@ config BR2_PACKAGE_QUAGGA_BGPD A BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing software. +config BR2_PACKAGE_LIBOSPF + depends BR2_PACKAGE_QUAGGA + prompt "libospf - OSPF support library" + tristate + default m if CONFIG_DEVEL + help + An OSPFv2 routing engine for use with Quagga routing software. + config BR2_PACKAGE_QUAGGA_OSPFD depends BR2_PACKAGE_QUAGGA prompt "...-ospfd - OSPFv2 routing engine" + select BR2_PACKAGE_LIBOSPF tristate default m if CONFIG_DEVEL help @@ -32,6 +41,7 @@ config BR2_PACKAGE_QUAGGA_OSPFD config BR2_PACKAGE_QUAGGA_OSPF6D depends BR2_PACKAGE_QUAGGA prompt "...-ospf6d - OSPFv3 routing engine" + select BR2_PACKAGE_LIBOSPF tristate default m if CONFIG_DEVEL help diff --git a/package/quagga/Makefile b/package/quagga/Makefile index 6fdc38f1d..fca54ecb9 100644 --- a/package/quagga/Makefile +++ b/package/quagga/Makefile @@ -21,6 +21,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,QUAGGA,quagga,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,LIBOSPF,libospf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,QUAGGA_OSPFD,quagga-ospfd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,QUAGGA_OSPF6D,quagga-ospf6d,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,QUAGGA_RIPD,quagga-ripd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) @@ -81,17 +82,19 @@ $(IPKG_QUAGGA_BGPD): $(RSTRIP) $(IDIR_QUAGGA_BGPD) $(IPKG_BUILD) $(IDIR_QUAGGA_BGPD) $(PACKAGE_DIR) +$(IPKG_LIBOSPF): + install -d -m0755 $(IDIR_LIBOSPF)/usr/lib + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_LIBOSPF)/usr/lib/ + $(RSTRIP) $(IDIR_LIBOSPF) + $(IPKG_BUILD) $(IDIR_LIBOSPF) $(PACKAGE_DIR) + $(IPKG_QUAGGA_OSPFD): - install -d -m0755 $(IDIR_QUAGGA_OSPFD)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_QUAGGA_OSPFD)/usr/lib/ install -d -m0755 $(IDIR_QUAGGA_OSPFD)/usr/sbin cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPFD)/usr/sbin/ $(RSTRIP) $(IDIR_QUAGGA_OSPFD) $(IPKG_BUILD) $(IDIR_QUAGGA_OSPFD) $(PACKAGE_DIR) $(IPKG_QUAGGA_OSPF6D): - install -d -m0755 $(IDIR_QUAGGA_OSPF6D)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_QUAGGA_OSPF6D)/usr/lib/ install -d -m0755 $(IDIR_QUAGGA_OSPF6D)/usr/sbin cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPF6D)/usr/sbin/ $(RSTRIP) $(IDIR_QUAGGA_OSPF6D) diff --git a/package/quagga/ipkg/libospf.control b/package/quagga/ipkg/libospf.control new file mode 100644 index 000000000..56d1a6d7b --- /dev/null +++ b/package/quagga/ipkg/libospf.control @@ -0,0 +1,7 @@ +Package: libospf +Priority: optional +Section: net +Maintainer: Felix Fietkau +Source: buildroot internal +Description: OSPF support library + for Quagga routing software diff --git a/package/quagga/ipkg/quagga-ospf6d.control b/package/quagga/ipkg/quagga-ospf6d.control index 2345ef127..6d20fd889 100644 --- a/package/quagga/ipkg/quagga-ospf6d.control +++ b/package/quagga/ipkg/quagga-ospf6d.control @@ -3,5 +3,6 @@ Priority: optional Section: net Maintainer: Johannes 5 Joemann Source: buildroot internal +Depends: libospf Description: An OSPFv3 routing engine for use with Quagga routing software diff --git a/package/quagga/ipkg/quagga-ospfd.control b/package/quagga/ipkg/quagga-ospfd.control index eeab13acb..be9ca20a0 100644 --- a/package/quagga/ipkg/quagga-ospfd.control +++ b/package/quagga/ipkg/quagga-ospfd.control @@ -3,5 +3,6 @@ Priority: optional Section: net Maintainer: Johannes 5 Joemann Source: buildroot internal +Depends: libospf Description: An OSPFv2 routing engine for use with Quagga routing software -- cgit v1.2.3