osiris-compile: openssl-compile
portmap-compile: tcp_wrappers-compile
postgresql-compile: zlib-compile
+quagga-compile: readline-compile ncurses-compile
rsync-compile: popt-compile
screen-compile: ncurses-compile
siproxd-compile: libosip2-compile
OSPFv3, BGP-4, and BGP-4+
http://www.quagga.net/
-
config BR2_PACKAGE_QUAGGA_BGPD
depends BR2_PACKAGE_QUAGGA
- prompt "...-bgpd - BGPv4, BGPv4\+, BGPv4\- routing engine"
+ prompt "...-bgpd - BGPv4, BGPv4+, BGPv4- routing engine"
tristate
default m if CONFIG_DEVEL
help
- A BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
+ 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
- An OSPFv2 routing engine for use with Quagga routing software.
+ An OSPFv2 (IPv4) routing engine for use with Quagga routing software.
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
- An OSPFv3 routing engine for use with Quagga routing software.
+ An OSPFv3 (IPv6) routing engine for use with Quagga routing software.
config BR2_PACKAGE_QUAGGA_RIPD
depends BR2_PACKAGE_QUAGGA
tristate
default m if CONFIG_DEVEL
help
- A RIP routing engine for use with Quagga routing software.
+ A RIP (IPv4) routing engine for use with Quagga routing software.
-config BR2_PACKAGE_QUAGGA_RIPD
+config BR2_PACKAGE_QUAGGA_RIPNGD
depends BR2_PACKAGE_QUAGGA
prompt "...-ripngd - RIPNG routing engine"
tristate
default m if CONFIG_DEVEL
help
- A RIPNG routing engine for use with Quagga routing software.
+ A RIPNG (IPv6) routing engine for use with Quagga routing software.
-config BR2_PACKAGE_QUAGGA_ZEBRA
+config BR2_PACKAGE_QUAGGA_VTYSH
depends BR2_PACKAGE_QUAGGA
- prompt "...-zebra - Routing manager"
+ select BR2_PACKAGE_LIBREADLINE
+ select BR2_PACKAGE_LIBNCURSES
+ prompt "...-vtysh - integrated shell for Quagga routing software"
tristate
default m if CONFIG_DEVEL
help
- A routing manager for use with associated Quagga components.
+ vtysh lets you interact with all the Quagga routing daemons
+ at once in an integrated shell.
endmenu
include $(TOPDIR)/rules.mk
PKG_NAME:=quagga
-PKG_VERSION:=0.98.3
+PKG_VERSION:=0.98.4
PKG_RELEASE:=1
-PKG_MD5SUM:=68be5e911e4d604c0f5959338263356e
+PKG_MD5SUM:=c68e409931449afc5730289d3105f502
PKG_SOURCE_URL:=http://www.quagga.net/download/ \
http://www.de.quagga.net/download/ \
$(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)))
$(eval $(call PKG_template,QUAGGA_RIPNGD,quagga-ripngd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,QUAGGA_ZEBRA,quagga-zebra,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,QUAGGA_VTYSH,quagga-vtysh,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
+ LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
- --localstatedir=/var \
+ --localstatedir=/var/run/quagga \
--mandir=/usr/share/man \
--sbindir=/usr/sbin \
- --sysconfdir=/etc \
+ --sysconfdir=/etc/quagga \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
--enable-shared \
--disable-static \
--enable-ipv6 \
- --disable-vtysh \
+ --enable-vtysh \
--enable-user=quagga \
--enable-group=quagga \
- --sysconfdir=/etc/quagga \
);
touch $@
$(IPKG_QUAGGA):
install -d -m0755 $(IDIR_QUAGGA)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libzebra.so.* $(IDIR_QUAGGA)/usr/lib/
+ install -d -m0755 $(IDIR_QUAGGA)/usr/sbin
+ cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/zebra $(IDIR_QUAGGA)/usr/sbin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/watchquagga $(IDIR_QUAGGA)/usr/sbin/
+ # avoid /etc being set to 0750
+ install -d -m0755 $(IDIR_QUAGGA)/etc/quagga/
+ chmod 0750 $(IDIR_QUAGGA)/etc/quagga/
+ install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
+ install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
+ ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
$(RSTRIP) $(IDIR_QUAGGA)
$(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)
$(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_QUAGGA_OSPF6D):
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/ospf6d $(IDIR_QUAGGA_OSPF6D)/usr/sbin/
$(RSTRIP) $(IDIR_QUAGGA_OSPF6D)
$(IPKG_BUILD) $(IDIR_QUAGGA_OSPF6D) $(PACKAGE_DIR)
$(RSTRIP) $(IDIR_QUAGGA_RIPNGD)
$(IPKG_BUILD) $(IDIR_QUAGGA_RIPNGD) $(PACKAGE_DIR)
-$(IPKG_QUAGGA_ZEBRA):
- install -d -m0755 $(IDIR_QUAGGA_ZEBRA)/usr/sbin
- cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/zebra $(IDIR_QUAGGA_ZEBRA)/usr/sbin/
- $(RSTRIP) $(IDIR_QUAGGA_ZEBRA)
- $(IPKG_BUILD) $(IDIR_QUAGGA_ZEBRA) $(PACKAGE_DIR)
-
+$(IPKG_QUAGGA_VTYSH):
+ install -d -m0755 $(IDIR_QUAGGA_VTYSH)/usr/bin
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/vtysh $(IDIR_QUAGGA_VTYSH)/usr/bin/
+ $(RSTRIP) $(IDIR_QUAGGA_VTYSH)
+ $(IPKG_BUILD) $(IDIR_QUAGGA_VTYSH) $(PACKAGE_DIR)
Section: net
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
Source: buildroot internal
-Description: A BGPv4, BGPv4\+, BGPv4\- routing engine for use
- with Quagga routing software
+Depends: quagga
+Description: A BGPv4, BGPv4+, BGPv4- routing engine for use with Quagga
+ routing software
Section: net
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
Source: buildroot internal
-Depends: libospf
-Description: An OSPFv3 routing engine for use
- with Quagga routing software
+Depends: quagga
+Description: An OSPFv3 routing engine for use with Quagga
+ routing software
Section: net
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
Source: buildroot internal
-Depends: libospf
-Description: An OSPFv2 routing engine for use
- with Quagga routing software
+Depends: quagga
+Description: An OSPFv2 routing engine for use with Quagga
+ routing software
Section: net
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
Source: buildroot internal
-Description: A RIP routing engine for use
- with Quagga routing software
+Depends: quagga
+Description: A RIP routing engine for use with Quagga
+ routing software
Section: net
Maintainer: Johannes 5 Joemann <joemann@beefree.free.de>
Source: buildroot internal
-Description: A RIPNG routing engine for use
- with Quagga routing software
+Depends: quagga
+Description: A RIPNG routing engine for use with Quagga
+ routing software
---- quagga-0.98.2/configure.orig Thu Feb 3 17:39:29 2005
-+++ quagga-0.98.2/configure Sat Feb 12 06:47:14 2005
-@@ -12491,72 +12491,6 @@
+--- quagga-0.98.4/configure.orig Mon Jun 27 19:05:31 2005
++++ quagga-0.98.4/configure Mon Jul 11 20:32:07 2005
+@@ -12623,69 +12623,6 @@
-echo "$as_me:$LINENO: checking for broken CMSG_FIRSTHDR" >&5
-echo $ECHO_N "checking for broken CMSG_FIRSTHDR... $ECHO_C" >&6
-if test "$cross_compiling" = yes; then
-- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
--See \`config.log' for more details." >&5
--echo "$as_me: error: cannot run test program while cross compiling
--See \`config.log' for more details." >&2;}
-- { (exit 1); exit 1; }; }
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
echo "$as_me:$LINENO: checking route read method check" >&5
echo $ECHO_N "checking route read method check... $ECHO_C" >&6
if test "${zebra_rtread+set}" = set; then
-@@ -12654,10 +12588,7 @@
+@@ -12783,10 +12720,7 @@
if test "${zebra_ipforward_path+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else