[oe] [meta-networking][PATCH V2] netcf: upgrade to latest 0.2.8
Khem Raj
raj.khem at gmail.com
Wed Aug 23 14:36:16 UTC 2017
On Tue, Aug 22, 2017 at 10:57 PM, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> Fix compile failure while gnulib upgraded to 2017-08-20.18
> ...
> | In file included from ../../../git/gnulib/lib/printf-args.h:41:0,
> | from ../../../git/gnulib/lib/printf-parse.h:29,
> | from ../../../git/gnulib/lib/printf-parse.c:36:
> | ./wchar.h:571:6: error: #if with no expression
> | # if
> ...
>
> Update HOMEPAGE, SRC_URI since the formers are obsolete.
>
> Update SRCREV, although version not change, but the former
> was two years ago.
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
> .../recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
> rename meta-networking/recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} (88%)
>
> diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> similarity index 88%
> rename from meta-networking/recipes-support/netcf/netcf_git.bb
> rename to meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> index a7a5000..0b53add 100644
> --- a/meta-networking/recipes-support/netcf/netcf_git.bb
> +++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> @@ -1,15 +1,15 @@
> SUMMARY = "netcf"
> DESCRIPTION = "netcf is a cross-platform network configuration library."
> -HOMEPAGE = "https://fedorahosted.org/netcf/"
> +HOMEPAGE = "https://pagure.io/netcf"
> SECTION = "libs"
> LICENSE = "LGPLv2.1"
>
> -LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
>
> -SRCREV = "9158278ad35b46ce9a49b2e887483c6d8c287994"
> +SRCREV = "2c5d4255857531bc09d91dcd02e86545f29004d4"
> PV = "0.2.8+git${SRCPV}"
you can change it to
PV .= "+git${SRCPV}"
>
> -SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
> +SRC_URI = "git://pagure.io/netcf.git;protocol=https \
> "
>
> DEPENDS += "augeas libnl libxslt libxml2 gnulib"
> @@ -23,6 +23,8 @@ EXTRA_OECONF_append_class-target = " --with-driver=redhat"
> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
>
> +EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
> +
> do_configure_prepend() {
> currdir=`pwd`
> cd ${S}
> --
> 2.8.1
>
More information about the Openembedded-devel
mailing list