diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:08:01 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:09:24 +0200 |
commit | ec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb (patch) | |
tree | bff0bd4240f00bbb21624c1df55583f61abaea25 /recipes-networking/netcf | |
download | meta-virtualization-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-networking/netcf')
-rw-r--r-- | recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch | 28 | ||||
-rw-r--r-- | recipes-networking/netcf/netcf_git.bb | 27 |
2 files changed, 55 insertions, 0 deletions
diff --git a/recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch b/recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch new file mode 100644 index 00000000..eef5b5cb --- /dev/null +++ b/recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 285871a2db42727665a2ab7fc16fa2fb8fa830d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ting Liu <b28495@freescale.com> | ||
3 | Date: Thu, 23 May 2013 17:39:35 +0800 | ||
4 | Subject: [PATCH] fix network driver check issue on opensuse | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Ting Liu <b28495@freescale.com> | ||
9 | --- | ||
10 | configure.ac | 2 +- | ||
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 3f30865..708eb28 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -77,7 +77,7 @@ fi | ||
18 | if test "x$with_driver" = "xcheck" && test -f /etc/ubuntu_version ; then | ||
19 | with_driver=debian | ||
20 | fi | ||
21 | -if test "x$with_driver" = "xcheck" && test -f /etc/suse-release ; then | ||
22 | +if test "x$with_driver" = "xcheck" && (test -f /etc/suse-release || test -f /etc/SuSE-release) ; then | ||
23 | with_driver=suse | ||
24 | fi | ||
25 | if test "x$with_driver" = "xcheck" ; then | ||
26 | -- | ||
27 | 1.7.3.4 | ||
28 | |||
diff --git a/recipes-networking/netcf/netcf_git.bb b/recipes-networking/netcf/netcf_git.bb new file mode 100644 index 00000000..d380e95e --- /dev/null +++ b/recipes-networking/netcf/netcf_git.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "netcf" | ||
2 | DESCRIPTION = "netcf is a cross-platform network configuration library." | ||
3 | HOMEPAGE = "https://fedorahosted.org/netcf/" | ||
4 | SECTION = "console/tools" | ||
5 | LICENSE = "LGPLv2.1" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff" | ||
8 | |||
9 | SRCREV = "2b0d9ca226c13d7150382367f62b256bdb2db5ef" | ||
10 | PR = "r1" | ||
11 | PV = "0.2.2+git${SRCPV}" | ||
12 | |||
13 | SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \ | ||
14 | file://0001-fix-network-driver-check-issue-on-opensuse.patch \ | ||
15 | " | ||
16 | |||
17 | DEPENDS += "augeas libnl libxslt libxml2" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit gettext autotools | ||
22 | |||
23 | do_configure_prepend() { | ||
24 | cd ${S} | ||
25 | ./bootstrap | ||
26 | } | ||
27 | |||