diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-16 10:53:58 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-19 02:45:27 +0200 |
commit | 037be68e540c6b8781b13f210e67b1a8a95de298 (patch) | |
tree | 6a338ea07655ef493581341c1b4c46043995c7b8 /meta-oe/recipes-connectivity | |
parent | f1d7f500ac51057bb3337fa2945f5b0cbd93ec6a (diff) | |
download | meta-openembedded-037be68e540c6b8781b13f210e67b1a8a95de298.tar.gz |
bridge-utils: move to meta-networking and tweak
* Update HOMEPAGE
* Set SUMMARY instead of DESCRIPTION
* Move DEPENDS up towards the top
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
3 files changed, 0 insertions, 61 deletions
diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc deleted file mode 100644 index 3fc54ba99..000000000 --- a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | DESCRIPTION = "Tools for ethernet bridging." | ||
2 | HOMEPAGE = "http://bridge.sourceforge.net/" | ||
3 | SECTION = "console/network" | ||
4 | LICENSE = "GPLv2" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz" | ||
7 | |||
8 | inherit autotools | ||
9 | |||
10 | EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}" | ||
11 | |||
12 | do_install_append () { | ||
13 | mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN} | ||
14 | install -d ${D}/${datadir}/bridge-utils | ||
15 | install -d ${D}/${sysconfdir}/network/if-pre-up.d | ||
16 | install -d ${D}/${sysconfdir}/network/if-post-down.d | ||
17 | } | ||
18 | |||
19 | DEPENDS = "sysfsutils" | ||
20 | RRECOMMENDS_${PN} = "kernel-module-bridge" | ||
21 | |||
22 | pkg_postinst_${PN} () { | ||
23 | update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100 | ||
24 | } | ||
25 | |||
26 | pkg_prerm_${PN} () { | ||
27 | update-alternatives --remove brctl brctl.${PN} | ||
28 | } | ||
diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils/kernel-headers.patch b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils/kernel-headers.patch deleted file mode 100644 index de36f0598..000000000 --- a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils/kernel-headers.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | include missing kernel header | ||
2 | |||
3 | Fixes errors like | ||
4 | |||
5 | | /b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/re-64b/usr/include/linux/if_bridge.h:172:20: error: field 'ip6' has incomplete type | ||
6 | | In file included from ../libbridge/libbridge.h:24:0, | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Index: bridge-utils-1.5/libbridge/libbridge.h | ||
12 | =================================================================== | ||
13 | --- bridge-utils-1.5.orig/libbridge/libbridge.h 2011-03-28 17:52:54.000000000 -0700 | ||
14 | +++ bridge-utils-1.5/libbridge/libbridge.h 2013-03-04 21:16:25.781188309 -0800 | ||
15 | @@ -20,6 +20,7 @@ | ||
16 | #define _LIBBRIDGE_H | ||
17 | |||
18 | #include <sys/socket.h> | ||
19 | +#include <linux/in6.h> | ||
20 | #include <linux/if.h> | ||
21 | #include <linux/if_bridge.h> | ||
22 | |||
diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.5.bb b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.5.bb deleted file mode 100644 index 04f863b22..000000000 --- a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.5.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require bridge-utils.inc | ||
2 | |||
3 | SRC_URI += "file://kernel-headers.patch" | ||
4 | |||
5 | PARALLEL_MAKE = "" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37" | ||
8 | |||
9 | SRC_URI[md5sum] = "ec7b381160b340648dede58c31bb2238" | ||
10 | SRC_URI[sha256sum] = "42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688" | ||
11 | |||