Commit Graph

2613 Commits

Author SHA1 Message Date
Krzesimir Nowak
3f024c766b *: Drop the use of mirror://kernel
The kernel mirror was dropped from the thirdpartymirrors file in
profiles, so it's use needs to be replaced with an address to
kernel.org.
2021-02-18 10:45:40 +01:00
Flatcar Buildbot
1218053903 Upgrade virtual Rust in main from 1.49.0 to 1.50.0 2021-02-16 07:41:03 +00:00
Krzesimir Nowak
619480efc3 eclass: Drop obsolete arch from xorg-2 and xorg-3
Initially I moved the eclass to overlay and modified them there to
avoid making customizations in portage-stable, but for some reason
portage cannot locate these eclasses when building packages from
portage-stable.

This change is to avoid masked packages and resulting fromt that build
failures like:

!!! All ebuilds that could satisfy "x11-misc/makedepend" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-misc/makedepend-1.0.5::portage-stable (masked by: invalid: DEPEND: USE flag 'ppc-aix' referenced in conditional 'ppc-aix?' is not in IUSE)

Hopefully these customizations will go away once we update the
eclasses and packages that inherit these eclasses.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
623dfce31b dev-util/catalyst: Move to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
0436a06b74 eclass: Sync git-r3.eclass with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
d19c6bbfad metadata: Add repo-name to layout.conf
This makes it easier to sync the profiles directory with Gentoo.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
8d93f4f236 profiles, scripts, licenses: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
a61e4c5332 app-admin/eselect: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
d8aa399ca4 dev-python/setuptools: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
a9e845b6ee eclass: Update distutils eclass
The updated app-portage/gentoolkit is using some function from
distutils-r1 that was not here before.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
5e957f27d9 sys-apps/gentoo-functions: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
5e783bfda0 app-portage/portage-utils: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
382e82516f app-portage/eix: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
bcc6ba856d dev-python/pyyaml: Import from Gentoo
It's a dependency for repoman.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
1a8c2a0c2d app-portage/repoman: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
8b07946f63 app-portage/gentoolkit-dev: Drop the deprecated package 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
38f201e4f0 app-portage/gentoolkit: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Sayan Chowdhury
ec3a7a8e82 net-nds/openldap: Sync with Gentoo upstream
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-02-12 10:11:42 +05:30
Mathieu Tortuyaux
7e86932a4a dev-perl/Parse-Yapp: sync from Gentoo 2021-02-09 14:33:33 +01:00
Mathieu Tortuyaux
64878ff54b sys-libs/liburing: import from gentoo 2021-02-09 14:33:15 +01:00
Mathieu Tortuyaux
5bd7d23098 dev-libs/icu: import from Gentoo
no changes, except Python8
2021-02-09 14:33:02 +01:00
Krzesimir Nowak
a498205fdc sys-apps/coreutils: Move to overlay 2021-02-04 18:38:12 +01:00
Dongsu Park
ee5f0f3033 net-dns/c-ares: update to 1.17.1
Update `net-dns/c-ares` to 1.17.1, to resolve security issue
[CVE-2020-8277](https://nvd.nist.gov/vuln/detail/CVE-2020-8277).
See also https://security.gentoo.org/glsa/202012-11.
2021-02-02 18:21:14 +01:00
Dongsu Park
b759beaea8 dev-libs/nss: delete nss
As `dev-libs/nss` is not used anywhere, let's simply remove nss.
The only ebuild that pulls in is `net-misc/curl`, but only if the USE
flag `nss` is enabled. As the `nss` flag is disabled for curl, we do
not need to keep `dev-libs/nss` at all.
2021-01-22 16:59:57 +01:00
Dongsu Park
7f89d06380 Merge pull request #140 from kinvolk/dongsu/dhcpcd-8.1.9
net-misc/dhcpcd: update to 8.1.9
2021-01-22 09:49:21 +01:00
Dongsu Park
311fdd6f25 net-misc/dhcpcd: update to 8.1.9
Update dhcpcd to 8.1.9 to address the following security issues:

* CVE-2019-11577
* CVE-2019-11766

Note, dhcpcd is not a standard tool of Flatcar, because by default
networking is configured via systemd-networkd. We update the package
just for potential use cases that still depend on dhcpcd. However,
in the long term, we should not ship dhcpcd in the production images.
2021-01-22 07:52:52 +01:00
Krzesimir Nowak
8aeedb1818 sys-libs/libnih: Drop unused package 2021-01-21 16:35:34 +01:00
Dongsu Park
274a9830d4 app-crypt/mit-krb5; update to 1.18.2-r2
Update mit-krb5 to 1.18.2-r2, to address the security issue
CVE-2020-28196.
See also https://security.gentoo.org/glsa/202011-17.
2021-01-19 16:52:49 +01:00
Dongsu Park
c9afc48e35 net-libs/nghttp2: add new package nghttp2
As `net-misc/curl` 7.74 pulls in `net-libs/nghttp2`, we need to add
a new package for that.
2021-01-18 09:24:54 +01:00
Dongsu Park
88a3416c13 profiles: add curl to MISC-FREE license group
Now that curl has its own license file, it should be also added to
`MISC-FREE` license group, just like Gentoo.
Simply sync `license_groups` with Gentoo.
2021-01-18 09:24:36 +01:00
Dongsu Park
399118dca6 licenses: add a new license curl
Now that curl >= 7.70 requires its own license file, we need to make
it included in the SDK, so that `/var/gentoo/repos/gentoo/licenses/curl`
can be available. Without that file, the image build step fails due to
a missing license file for curl.
2021-01-15 16:27:29 +01:00
Dongsu Park
2b2694a871 net-misc/curl: update to 7.74.0
We need to update net-misc/curl to 7.74.0, mainly to address the
following security issues:

* CVE-2020-8169
* CVE-2020-8231
* CVE-2020-8284
* CVE-2020-8285
* CVE-2020-8286
2021-01-15 16:21:19 +01:00
Flatcar Buildbot
d961e5519e Upgrade virtual Rust in main from 1.48.0 to 1.49.0 2021-01-05 08:00:51 +00:00
Dongsu Park
c0065d5e68 Merge pull request #135 from kinvolk/rust-1.48.0-main
Upgrade virtual Rust in main from 1.47.0 to 1.48.0
2020-12-17 12:40:37 +01:00
Dongsu Park
8b5f29caa1 Merge pull request #121 from kinvolk/dongsu/sqlite-gentoo
dev-db/sqlite: update to 3.33.0
2020-12-15 14:25:51 +01:00
Flatcar Buildbot
e281533d23 Upgrade virtual Rust in main from 1.47.0 to 1.48.0 2020-12-15 07:43:14 +00:00
Dongsu Park
978f39f90d virtual/jpeg: delete unnecessary package
Now that libjpeg-turbo was deleted, we can now delete virtual/jpeg.
2020-12-04 16:38:19 +01:00
Dongsu Park
1a7e2f51b1 media-libs/libjpeg-turbo: delete unnecessary package
Since qemu in Flatcar SDK does not need to pull in libjpeg-turbo, we can
delete it completely.
2020-12-04 16:37:03 +01:00
Dongsu Park
606d6b9ca1 Merge pull request #132 from kinvolk/dongsu/github-actions-pr-v3
.github: use create-pull-request@v3 to fix set-env issues
2020-12-01 12:03:03 +01:00
Dongsu Park
e48e61ce45 Merge pull request #131 from kinvolk/dongsu/dwarves-1.19
dev-util/dwarves: update to 1.19 for CONFIG_DEBUG_INFO_BTF
2020-12-01 11:27:24 +01:00
Dongsu Park
1babbbce12 .github: use create-pull-request@v3 to fix set-env issues
Github Actions for Rust started failing with following errors:

```
Error: Unable to process command '::set-env name=PULL_REQUEST_NUMBER::718' successfully.
Error: The `set-env` command is disabled. Please upgrade to using
Environment Files or opt into unsecure command execution by setting the
`ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For
more information see:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
```

It happens because we have used peter-evans/create-pull-request@v2,
which did not have a bug fix for the set-env issue.
The bug was fixed in create-pull-request
[v3.4.1](https://github.com/peter-evans/create-pull-request/releases/tag/v3.4.1).
So we just need to update the version to `v3`, which already includes
v3.4.1.
2020-12-01 11:14:44 +01:00
Dongsu Park
530d1e1791 Merge pull request #114 from kinvolk/rust-1.47.0-main
virtual: Upgrade Rust 1.46.0 to 1.47.0
2020-11-30 16:19:04 +01:00
Dongsu Park
706cc0eb21 dev-util/dwarves: update to 1.19 for CONFIG_DEBUG_INFO_BTF
It is already possible to enable kernel config `CONFIG_DEBUG_INFO_BTF`
using dwarves 1.18 included in the current Flatcar SDK, as long as its
arch is amd64.

However, Kernel build fails in case of arm64, when Kernel version is
>= 5.9 and dwarves version is <= 1.18, like the following:

```
+ pahole -J .tmp_vmlinux.btf
PAHOLE: Error: Found symbol of zero size when encoding btf
(sym: '__kvm_nvhe_arm64_ssbd_callback_required', cu: '../source/arch/arm64/kernel/cpu_errata.c').
PAHOLE: Error: Use '-j' or '--force' to ignore such symbols and force emit the btf.
../source/scripts/link-vmlinux.sh: line 141: 1929102 Segmentation fault
```

The bug was fixed via
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=2e719cca6672,
("btf_encoder: revamp how per-CPU variables are encoded").
The fix was first included in dwarves
[1.19](https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tag/?h=v1.19).
Thus we need to get dwarves 1.19 included in Flatcar SDK, so that the
next Alpha Kernels could have `CONFIG_DEBUG_INFO_BTF` enabled.
2020-11-30 14:54:16 +01:00
Thilo Fromm
0fe4212a73 net-dns/libidn2-2.3.0: EAPI7 -> EAPI6 to break glibc-2.32 toolchain dep loop
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-24 13:51:13 +01:00
Thilo Fromm
9f9be4551b virtual/awk,eclass: add awk-1.ebuild, update toolchain-funcs for glibc-2.32
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-24 13:51:13 +01:00
Thilo Fromm
2bebee3291 Merge pull request #127 from kinvolk/t-lo/update-to-gcc-9.3.0
dev-util,sys-devel,sys-libs,sys-kernel: update to gcc-9.3.0
2020-11-18 14:52:55 +01:00
Thilo Fromm
361ad25ee4 dev-util,sys-(devel|libs|kernel): modify gcc-9.3.0 updates, clean up
This commit introduces Flatcar specific modification
to the Gentoo recipes for updating to gcc-9.3.0 introduced
in the previous commit. The changes are required
in order to make things build with the Flatcar SDK.

The commit also removes old, stale, unused recipes.

The changes include:

dev-util/perf/perf-4.9.13.ebuild: fix binutils ebuild RDEPEND
dev-util/perf/perf-5.8.ebuild: remove python3_{8} compat; unmask arm64, amd64
sys-devel/binutils: remove old, stale versions
sys-devel/binutils/binutils-2.35.ebuild: backport to EAPI6 because our
                 outdated emerge does not handle BDEPEND dependencies correctly,
                 resulting in BDEPEND being pulled in as runtime deps.
                 Unmask for amd64 and arm64.
sys-devel/binutils/binutils-9999.ebuild: backport to EAPI6
net-dns/dnsmasq: remove old, stale versions
sys-devel/crossdev: remove old versions
sys-devel/gcc: remove old versions
sys-devel/gcc/gcc-9.3.0-r1.ebuild: use EAPI6 because of emerge
                 BDEPEND issue (see above)
sys-devel/libtool/libtool-2.4.6-r6.ebuild: use EAPI6 because of emerge
                 BDEPEND issue (see above)
sys-kernel/linux-headers: remove old versions
ys-kernel/linux-headers/linux-headers-5.8.ebuild: unmask for amd64, arm64

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-18 14:44:40 +01:00
Thilo Fromm
7e0f49e2fc dev-util,sys-(devel|libs|kernel): import recipes for update to gcc-9.3.0
This commit includes the necessary changes to upgrade the SDK
compiler to gcc-9.3.0. The changes include:

eclass: update toolchain.eclass to EAPI7
acct-(user|group): add dnsmasq user / group
net-dns/dnsmasq: update to dnsmasq-2.82
dev-util/perf: update to perf-5.8.ebuild
sys-devel/binutils: update to binutils-2.35.ebuild
sys-libs/binutils-libs: update to binutils-libs-2.35.ebuild
sys-devel/crossdev: update to crossdev-20200801.ebuild
sys-devel/gcc: update to gcc-9.3.0-r1.ebuild
sys-devel/libtool: update to libtool-2.4.6-r6.ebuild
sys-kernel/linux-headers: update to linux-headers-5.9.ebuild

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-18 14:03:42 +01:00
Dongsu Park
a901ea801d dev-util/dwarves: introduce new dev tool dwarves
To build Kernel with `CONFIG_DEBUG_INFO_BTF`, we need to get pahole, a
part of dwarves included in the Flatcar SDK.
So simply import `dev-util/dwarves` from upstream Gentoo.
2020-11-17 15:37:14 +01:00
Thilo Fromm
f7314c720b acct(group|user)/ntp: add NTP group and user
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-16 13:35:47 +01:00