summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netcf
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2015-07-08 11:08:01 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2015-07-08 11:09:24 +0200
commitec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb (patch)
treebff0bd4240f00bbb21624c1df55583f61abaea25 /recipes-networking/netcf
downloadmeta-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.patch28
-rw-r--r--recipes-networking/netcf/netcf_git.bb27
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 @@
1From 285871a2db42727665a2ab7fc16fa2fb8fa830d3 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com>
3Date: Thu, 23 May 2013 17:39:35 +0800
4Subject: [PATCH] fix network driver check issue on opensuse
5
6Upstream-Status: Pending
7
8Signed-off-by: Ting Liu <b28495@freescale.com>
9---
10 configure.ac | 2 +-
11 1 files changed, 1 insertions(+), 1 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index 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--
271.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 @@
1SUMMARY = "netcf"
2DESCRIPTION = "netcf is a cross-platform network configuration library."
3HOMEPAGE = "https://fedorahosted.org/netcf/"
4SECTION = "console/tools"
5LICENSE = "LGPLv2.1"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
8
9SRCREV = "2b0d9ca226c13d7150382367f62b256bdb2db5ef"
10PR = "r1"
11PV = "0.2.2+git${SRCPV}"
12
13SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
14 file://0001-fix-network-driver-check-issue-on-opensuse.patch \
15"
16
17DEPENDS += "augeas libnl libxslt libxml2"
18
19S = "${WORKDIR}/git"
20
21inherit gettext autotools
22
23do_configure_prepend() {
24 cd ${S}
25 ./bootstrap
26}
27