description Collection of Routing daemons for OSPF BGP and RIP
long_description 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. \
This port installs the binaries, but does not include startup \
items, it should be considered experimental.
homepage http://www.quagga.net/
checksums md5 350fb150be526cdfc4d2b093cb4d69a7 \
sha1 2ba554a41671988257e51cf1cb5cb25015fb942f \
rmd160 c4930bc2ef23b469e8d56f25c97edacff292b93a
patchfiles quagga-patch1.diff \
depends_lib port:readline
configure.args --localstatedir=${prefix}/var/run/quagga \
--sysconfdir=${prefix}/etc/quagga \
--mandir=${prefix}/share/man \
add_users quagga group=quagga realname=Quagga home=${prefix}/var/quagga
xinstall -o quagga -g quagga -m 755 -d \
${destroot}${prefix}/var/run/quagga ${destroot}${prefix}/etc/quagga \
${destroot}${prefix}/var/quagga/logs
# Make sure initial conf files are present and setup correctly
foreach f { bgpd.conf ospf6d.conf ospfd.conf ripd.conf ripngd.conf zebra.conf } {
if {![file exists ${prefix}/etc/quagga/${f}]} {
file copy ${prefix}/etc/quagga/${f}.sample \
${prefix}/etc/quagga/${f}
ui_msg "******************************************************"
ui_msg "* The routing protocol daemons are in ${prefix}/sbin"
ui_msg "* bgpd ospfd ospf6d ripd ripng isisd zebra"
ui_msg "* These have not been well tested on Mac OS X (yet)"
ui_msg "* The man files for the above are in section 8"
ui_msg "* The sample configs in ${prefix}/etc/quagga"
ui_msg "* sudo cp <daemon>.conf.sample <daemon>.conf"