diff options
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/quagga/quagga.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index f5489c692..89b9f7a3c 100644 --- a/meta-networking/recipes-protocols/quagga/quagga.inc +++ b/meta-networking/recipes-protocols/quagga/quagga.inc | |||
@@ -5,7 +5,7 @@ Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD. \ | |||
5 | Quagga is a fork of GNU Zebra which was developed by Kunihiro \ | 5 | Quagga is a fork of GNU Zebra which was developed by Kunihiro \ |
6 | Ishiguro. The Quagga tree aims to build a more involved community \ | 6 | Ishiguro. The Quagga tree aims to build a more involved community \ |
7 | around Quagga than the current centralised model of GNU Zebra." | 7 | around Quagga than the current centralised model of GNU Zebra." |
8 | HOMEPAGE = "http://www.quagga.net/" | 8 | HOMEPAGE = "http://www.nongnu.org/quagga/" |
9 | SECTION = "network" | 9 | SECTION = "network" |
10 | LICENSE = "GPL-2.0 & LGPL-2.0" | 10 | LICENSE = "GPL-2.0 & LGPL-2.0" |
11 | DEPENDS = "readline ncurses perl-native" | 11 | DEPENDS = "readline ncurses perl-native" |
@@ -17,6 +17,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ | |||
17 | 17 | ||
18 | INC_PR = "r2" | 18 | INC_PR = "r2" |
19 | 19 | ||
20 | # the "ip" command from busybox is not sufficient (flush by protocol flushes all routes) | ||
21 | RDEPENDS_${PN} += "iproute2" | ||
22 | |||
20 | QUAGGASUBDIR = "" | 23 | QUAGGASUBDIR = "" |
21 | # ${QUAGGASUBDIR} is deal with old versions. Set to "/attic" for old | 24 | # ${QUAGGASUBDIR} is deal with old versions. Set to "/attic" for old |
22 | # versions and leave it empty for recent versions. | 25 | # versions and leave it empty for recent versions. |
@@ -128,11 +131,11 @@ pkg_postinst_${PN} () { | |||
128 | if [ "x$D" != "x" ] ; then | 131 | if [ "x$D" != "x" ] ; then |
129 | exit 1 | 132 | exit 1 |
130 | fi | 133 | fi |
131 | for f in bgpd babeld isisd ospfd ripngd zebra ripd ospf6d; do touch ${sysconfdir}/quagga/$f.conf; done | 134 | for f in bgpd vtysh babeld isisd ospfd ripngd zebra ripd ospf6d; do touch ${sysconfdir}/quagga/$f.conf; done |
132 | chown quagga:quaggavty ${sysconfdir}/quagga | 135 | chown quagga:quaggavty ${sysconfdir}/quagga |
133 | chown quagga:quagga ${sysconfdir}/quagga/*.conf | 136 | chown quagga:quagga ${sysconfdir}/quagga/*.conf |
134 | chmod 750 ${sysconfdir}/quagga | 137 | chmod 750 ${sysconfdir}/quagga |
135 | chown 640 ${sysconfdir}/quagga/*.conf | 138 | chmod 640 ${sysconfdir}/quagga/*.conf |
136 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 139 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then |
137 | ${sysconfdir}/init.d/populate-volatile.sh update | 140 | ${sysconfdir}/init.d/populate-volatile.sh update |
138 | fi | 141 | fi |