split off libospf from quagga-ospf(6)d
SVN-Revision: 1490
This commit is contained in:
parent
b9fc72aa92
commit
2062ba52c0
5 changed files with 26 additions and 4 deletions
|
@ -21,9 +21,18 @@ config BR2_PACKAGE_QUAGGA_BGPD
|
||||||
A BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
|
A BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
|
||||||
software.
|
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
|
config BR2_PACKAGE_QUAGGA_OSPFD
|
||||||
depends BR2_PACKAGE_QUAGGA
|
depends BR2_PACKAGE_QUAGGA
|
||||||
prompt "...-ospfd - OSPFv2 routing engine"
|
prompt "...-ospfd - OSPFv2 routing engine"
|
||||||
|
select BR2_PACKAGE_LIBOSPF
|
||||||
tristate
|
tristate
|
||||||
default m if CONFIG_DEVEL
|
default m if CONFIG_DEVEL
|
||||||
help
|
help
|
||||||
|
@ -32,6 +41,7 @@ config BR2_PACKAGE_QUAGGA_OSPFD
|
||||||
config BR2_PACKAGE_QUAGGA_OSPF6D
|
config BR2_PACKAGE_QUAGGA_OSPF6D
|
||||||
depends BR2_PACKAGE_QUAGGA
|
depends BR2_PACKAGE_QUAGGA
|
||||||
prompt "...-ospf6d - OSPFv3 routing engine"
|
prompt "...-ospf6d - OSPFv3 routing engine"
|
||||||
|
select BR2_PACKAGE_LIBOSPF
|
||||||
tristate
|
tristate
|
||||||
default m if CONFIG_DEVEL
|
default m if CONFIG_DEVEL
|
||||||
help
|
help
|
||||||
|
|
|
@ -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,quagga,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||||
$(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,$(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_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_OSPF6D,quagga-ospf6d,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||||
$(eval $(call PKG_template,QUAGGA_RIPD,quagga-ripd,$(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)
|
$(RSTRIP) $(IDIR_QUAGGA_BGPD)
|
||||||
$(IPKG_BUILD) $(IDIR_QUAGGA_BGPD) $(PACKAGE_DIR)
|
$(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):
|
$(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
|
install -d -m0755 $(IDIR_QUAGGA_OSPFD)/usr/sbin
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPFD)/usr/sbin/
|
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPFD)/usr/sbin/
|
||||||
$(RSTRIP) $(IDIR_QUAGGA_OSPFD)
|
$(RSTRIP) $(IDIR_QUAGGA_OSPFD)
|
||||||
$(IPKG_BUILD) $(IDIR_QUAGGA_OSPFD) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_QUAGGA_OSPFD) $(PACKAGE_DIR)
|
||||||
|
|
||||||
$(IPKG_QUAGGA_OSPF6D):
|
$(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
|
install -d -m0755 $(IDIR_QUAGGA_OSPF6D)/usr/sbin
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPF6D)/usr/sbin/
|
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPF6D)/usr/sbin/
|
||||||
$(RSTRIP) $(IDIR_QUAGGA_OSPF6D)
|
$(RSTRIP) $(IDIR_QUAGGA_OSPF6D)
|
||||||
|
|
7
openwrt/package/quagga/ipkg/libospf.control
Normal file
7
openwrt/package/quagga/ipkg/libospf.control
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Package: libospf
|
||||||
|
Priority: optional
|
||||||
|
Section: net
|
||||||
|
Maintainer: Felix Fietkau <openwrt@nbd.name>
|
||||||
|
Source: buildroot internal
|
||||||
|
Description: OSPF support library
|
||||||
|
for Quagga routing software
|
|
@ -3,5 +3,6 @@ Priority: optional
|
||||||
Section: net
|
Section: net
|
||||||
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
|
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
|
||||||
Source: buildroot internal
|
Source: buildroot internal
|
||||||
|
Depends: libospf
|
||||||
Description: An OSPFv3 routing engine for use
|
Description: An OSPFv3 routing engine for use
|
||||||
with Quagga routing software
|
with Quagga routing software
|
||||||
|
|
|
@ -3,5 +3,6 @@ Priority: optional
|
||||||
Section: net
|
Section: net
|
||||||
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
|
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
|
||||||
Source: buildroot internal
|
Source: buildroot internal
|
||||||
|
Depends: libospf
|
||||||
Description: An OSPFv2 routing engine for use
|
Description: An OSPFv2 routing engine for use
|
||||||
with Quagga routing software
|
with Quagga routing software
|
||||||
|
|
Loading…
Reference in a new issue