diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-08-17 17:51:35 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-05 13:34:11 -0400 |
commit | 215740db679714c686df05a96137107054d4582e (patch) | |
tree | ceff8ea691e15adc1f1149f98b5f4e34e1f9100e /meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb | |
parent | 13434cb5f04213b34d6ab116ba557c627794c9fe (diff) | |
download | meta-openembedded-215740db679714c686df05a96137107054d4582e.tar.gz |
ifenslave: upgrade to 2.7
The current version of ifenslave is 2.6_1.1.0 actually, then update to
2.7 and change the version to 2.7 too.
* update to SRC_URI to the debian git repo
* the license is changed from GPLv2 to GPLv3
* the program is rewrote with shell script
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb')
-rw-r--r-- | meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb b/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb new file mode 100644 index 0000000000..7473b0dafa --- /dev/null +++ b/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Configure network interfaces for parallel routing" | ||
2 | HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding" | ||
3 | SECTION = "net" | ||
4 | |||
5 | LICENSE = "GPLv3" | ||
6 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=6807ba81c0744ab50d735c94628c3f64" | ||
7 | |||
8 | SRCREV = "400c490d52acb31f1064e1bf4fc9fcaf3791888f" | ||
9 | SRC_URI = "git://anonscm.debian.org/collab-maint/ifenslave.git" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}${sbindir} | ||
15 | install -m 0755 ${S}/ifenslave ${D}${sbindir}/ | ||
16 | |||
17 | install -m 0755 -D ${S}/debian/ifenslave.if-pre-up ${D}${sysconfdir}/network/if-pre-up.d/ifenslave | ||
18 | install -m 0755 -D ${S}/debian/ifenslave.if-post-down ${D}${sysconfdir}/network/if-post-down.d/ifenslave | ||
19 | install -m 0755 -D ${S}/debian/ifenslave.if-up ${D}${sysconfdir}/network/if-up.d/ifenslave | ||
20 | } | ||