19 Commits

Author SHA1 Message Date
Khem Raj a47c3a26f3 gnulib: Copy hidden files to staging area as well
newer gnulib-tool wrappers try to run a sibling Python
launcher file, .gnulib-tool.py, when Python 3 is available.
In current gnulib, that file is a real part of the tree,
and gnulib-tool will exec "$prog.py" in that mode

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-22 14:13:06 -07:00
Yi Zhao 3a696c4152 gnulib: upgrade 202401 -> 202601
License-Update: Remove statements that are not true any more since
                2021-06-04[1].

[1] https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=5e1283bb13d74c6619afb71c6a322c648a8cc91e

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:22 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Robert Yang 367d850a58 gnulib: Add do_deploy_archives back
The gnulib has sources, so we can't delete do_deploy_archives, the commit which
deleted it said:

"""
commit 32d2981427
Author: leimaohui <leimaohui@cn.fujitsu.com>
Date:   Fri Aug 3 16:32:33 2018 +0800

    Fix bug when inherit archiver.
"""

I tried the following build:
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[src] = "patched"
ARCHIVER_MODE[src] = "configured"
ARCHIVER_MODE[src] = "mirror"

The bug should be fixed during the past years.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 13:06:27 -08:00
Robert Yang 55a6d96e6a gnulib: 2018-12-18 -> 202401
Change version format to keep align with upstream branch name stable-${PV}.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:30 -08:00
Mingli Yu 37d158db78 gnulib: Update SRC_URI
Update the SRC_URI to fix the do_fetch warning.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Sanjay Chitroda 9edbe7033c gnulib: Update recipe name to 2018-12-18
As per gnulib_2018-03-07 recipe information,
SRCREV = "0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3"
This revision was committed on "2018-12-18".

There is a discrepancy between SRCREV and the recipe version.
Which reports "CVE-2018-17942" as unpatched.

To report "CVE-2018-17942" as patched,
We need to align a recipe name with SRCREV commit date.

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 10:12:51 -07:00
Khem Raj 6892fc010a gnulib: Do not use git operations to install the sources
git operations have started to fail with errors like

| fatal: unsafe repository ('/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/gnulib/2018-03-07.03-r0/git' is owned by someon
e else)
| To add an exception for this directory, call:
|
|       git config --global --add safe.directory /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/gnulib/2018-03-07.03-r0/git

This is after git has fixed a CVE in 2.35+ see [1]

[1] https://github.com/actions/checkout/issues/760

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:41 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Khem Raj af94fa02ca gnulib: Upgrade to 2018-03-07.03
Call check_git_config to setup git to function correctly
on some builders git might not be setup for user and email
address

Fixes:

Your branch is behind 'origin/master' by 584 commits, and can be
fast-forwarded.
  (use "git pull" to update your local branch)
Cloning into
'TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gnulib/2017-08-20.18-r0/image//usr/share/gnulib'...
done.

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 22:15:53 -08:00
Changqing Li e499d11f4e gnulib: Security fix for CVE-2018-17942
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-16 21:23:47 -07:00
leimaohui 32d2981427 Fix bug when inherit archiver.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Mark Asselstine d93df171be gnulib: use deltask instead of noexec
When building an image which included 'netcf' I saw the following
warning which is followed by a python backtrace:

  WARNING: cube-dom0-0.6-r0 do_rootfs: \
  Manifest .../manifest-x86_64_x86_64-nativesdk-gnulib.package_write_rpm \
  not found in genericx86_64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk \
  (variant '')?

>From this we find that the 'gnulib' package would fail the manifest
crosscheck for the 'package_write_rpm' task. By switching from
'noexec' to 'deltask' for this task (and its "siblings") we completely
remove the task and thus there is not crosscheck to fail.

NOTE that there is a pending merge which will change the backtrace for
a proper ERROR: [package_manager.py: Print offending package instead
of non-sense trace]

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:16 -07:00
Hongxu Jia 00197a9bdb gnulib: upgrade to 2017-08-20.18
Get version number by invoking:
...
$ ${S}/build-aux/git-version-gen --version
git-version-gen 2017-08-20.18
...

The gnulib 2017-08-20.18 fixed CVE-2017-7476.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:04 +02:00
Joe Slater 4ab4ed1021 gnulib: derive PV from SRCPV
Currently, PV is "git" and contains no version information.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 16:00:00 +01:00
Ioan-Adrian Ratiu bee16ff1fb gnulib: bump git revision
The revision currently used is quite ancient (beginning of 2014) and we
need bugfixes commited since then. Rather than backport patches it's
cleaner to uprev.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:38 +02:00
Andreas Müller 530bae1ff3 gnulib: add native extend
fontforge-native will require it

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-11-06 17:49:36 +01:00
Andreas Müller 2891b1654d gnulib: move meta-networking -> meta-oe
A more common place is required for gnulib because of other recipes (e.g
fontforge) will depend on it

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-11-06 17:49:35 +01:00