Commit Graph

7492 Commits

Author SHA1 Message Date
Dongsu Park
bd623c63e9 profiles: accept keywords for rsync 3.2.3-r5 2021-11-19 09:21:07 +01:00
Flatcar Buildbot
e7d74d8a45 app-emulation: Upgrade Containerd 1.5.7 to 1.5.8 2021-11-19 09:18:57 +01:00
Flatcar Buildbot
e277aa133a sys-kernel: Upgrade Kernel 5.10.78 to 5.10.80 2021-11-19 07:24:19 +00:00
Mathieu Tortuyaux
46edd14fad Merge pull request #1426 from flatcar-linux/tormath1/selinux
sec-policy/selinux-base-policy: add capability to unlabeled_t
2021-11-18 16:57:53 +01:00
Mathieu Tortuyaux
5c25c3835c sec-policy/selinux-base-policy: add capability to unlabeled_t
with this patch, we allow `unlabeled_t` to associate to tmpfs
filesystem.
It aims to solve the AVC we have with `torcx` with the
`torcx-generator`:
```
Nov 15 09:45:43 localhost audit[688]: AVC avc: denied { associate } for pid=688 comm="torcx-generator" name="docker" dev="tmpfs" ino=2 scontext=system_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystem permissive=0
```

It has been not been caught earlier because it occurs
when the system boots with `SELinux` in `enforcing` mode.

This denial was preventing torcx to finish correctly its setup and so
Docker was not able to start.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-18 16:56:55 +01:00
Flatcar Buildbot
b1f26fb9de app-misc: Upgrade ca-certificates 3.70 to 3.72 2021-11-17 16:03:23 +00:00
Dongsu Park
b65c369d0a .github: fix version delimiter of ca-certs workflow for main
Since every tag of the nss Github repo has `_` delimiters, we need to
first use `sort -t_` for sorting, then after that we need to replace `_`
with `.` by calling tr. Without that conversion, the input ebuild file
name will be wrong.
We fixed the issue in all other maintenance branches, but not in main.
Fix that also in main.
2021-11-17 16:25:41 +01:00
Dongsu Park
f561ec568c .github: add Github Actions for ca-certificates
Automatically update app-misc/ca-certificates , a derivative of
nss https://hg.mozilla.org/projects/nss . To make things easier,
we simply check for new releases on its Github mirror
https://github.com/nss-dev/nss . When the new latest tag is found,
simply bump the version of ca-certificates ebuild.
2021-11-16 15:30:13 +01:00
Krzesimir Nowak
e6897de5e4 sys-fs/btrfs-progs: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
ed3e805682 sys-fs/btrfs-progs: Add from gentoo
It's from gentoo commit 638e02f491a1e37f2af31523490f00f8a118419d.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
f6b8a1ab88 sys-fs/lvm2: Fix detection of systemd util directory
There usually exists a way to tell the configure script to use certain
path, so the script won't try to autodetect things. This is a case for
the systemd system unit directory, but apparently not for systemd util
directory. So for the system unit directory, we can forward the path
we received from systemd.eclass' `systemd_get_systemunitdir`, but for
the util directory, we need to hack the script with `sed`. The reason
for this is that autodetected directory will have the sysroot path
prepended twice. The systemd eclass has a workaround for this issue.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
2cc885be59 app-crypt/p11-kit: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
ce7cc55536 app-crypt/p11-kit: Add from gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
4cf37b6152 sys-auth/sssd: Set the conf dir path explicitly
Without passing the --with-systemdconfdir flag, the configure script
will query pkg-config for the directory itself. In the
cross-compilation setup that we have, this will result in a path
sysroot prepended to the path twice. systemd.eclass has a workaround
for this issue, but it does not provide an elegant getter of the
system configuration directory, thus we call `_systemd_get_dir`
ourselves.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
a4373a7c1b coreos-base/update_engine: Override path to glib-genmarshal
Normally we use pkg-config to query flags and libraries that are
needed to build things. These are specific to CHOST, and the build
system usually uses pkg-config on CHOST to get those flags and
libraries. But pkg-config is also used to query for the location of
the tools used during the build, and for those we need to use
pkg-config on CBUILD. But the build system is usually using the same
pkg-config for both flags and libs, and for build tools. Which works
fine for typical builds, but breaks for cross builds.

One of such build tools is glib-genmarshal. Fortunately the build
system allows us to override the detection results by passing
GLIB_GENMARSHAL="${some_path}" to the configure script. So do that.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
6c5f93d3ba dev-libs/dbus-glib: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
f942b28dca dev-libs/dbus-glib: Sync with gentoo 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
2172004803 sys-apps/systemd: Reimplement builddir_ functions
This is to avoid querying pkg-config for this information and
overriding the SYSROOT variable. These hacks seem to be broken with
the change of the pkgconfig implementation.

We know what will the path for the directory of the system units -
it's based on rootprefix that we pass to configure script. So use this
knowledge directly instead of getting it in a roundabout way from
pkg-config file.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
a1a8d57868 profiles: Drop dev-util/pkgconfig from package.use
The package is about to be replaced with dev-util/pkgconf.
2021-11-15 15:29:26 +01:00
Dongsu Park
b5ba085a8c Merge pull request #1411 from ArkaprabhaChakraborty/arkaprabha/upgrade-net-libs-rpcsvc-proto
Upgrade net-libs/rpcsvs-proto to 1.9.4
2021-11-15 10:24:46 +01:00
Dongsu Park
5c7eba1cca Merge pull request #1414 from aniruddha2000/aniruddha/update-accept-keyword-u-boot-tools
dev-embedded/u-boot-tools: Update to v2021.04_rc2 for arm64
2021-11-12 10:15:51 +01:00
Jeremi Piotrowski
39e7652a6d Merge pull request #1407 from flatcar-linux/jepio/arm64-sdk-keywords
profiles: add missing arm64 sdk keywords
2021-11-11 15:26:24 +01:00
Jeremi Piotrowski
25e996b555 profiles: add missing arm64 sdk keywords
The recent keyword cleanup removed two keywords that are necessary to
bootstrap an arm64 sdk: open-vmdk and virtual/cdrtools. Restore them.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-11-11 12:00:01 +01:00
Aniruddha Basak
c29a5a4a4f dev-embedded/u-boot-tools: Update to v2021.04_rc2 for arm64 2021-11-11 07:54:30 +00:00
Kai Lüke
194527c502 Merge pull request #1412 from flatcar-linux/kai/ignition-0.36.1
sys-apps/ignition: Update to v0.36.1
2021-11-10 20:33:36 +00:00
Krzesimir Nowak
c969e3d11e Merge pull request #1406 from flatcar-linux/krnowak/eapi-update
profiles: Changes related to package updates in portage-stable (getting rid of EAPI 3)
2021-11-10 17:58:39 +01:00
Kai Lueke
e7e53f7c32 sys-apps/ignition: Update to v0.36.1
This pulls in an update to the dataurl module and a rename to refer to
the flatcar-linux repository as name for the Go package.
2021-11-10 16:07:20 +01:00
Dongsu Park
1ff434429b Merge pull request #1410 from flatcar-linux/dongsu/use-flag-unicode
profiles: exclude unicode USE flag from app-editors/nano
2021-11-10 14:58:20 +01:00
ArkaprabhaChakraborty
a8a9084eb1 Upgrade net-libs/rpcsvs-proto to 1.9.4
Signed-off-by: ArkaprabhaChakraborty <chakrabortyarkaprabha998@gmail.com>
2021-11-10 12:36:55 +00:00
Dongsu Park
0d485ac2d7 profiles: exclude unicode USE flag from app-editors/nano
app-editors/nano with `USE=unicode` results in build failures in SDK
stage1, because ncurses >= 6.2_p20210619 which does not have the USE
flag at all.
To fix that, exclude the unicode USE flag from packages.use.force list,
which is defined in portage-stable. We can do that by setting the flag
in package.use.mask.
2021-11-10 11:01:53 +01:00
Sayan Chowdhury
1610899691 Merge pull request #1405 from flatcar-linux/linux-5.10.78-main
Upgrade Linux Kernel in main from 5.10.77 to 5.10.78
2021-11-10 14:26:33 +05:30
Aniruddha Basak
60878555ae coreos-base/coreos-init: Change commit hash for the lastest changes 2021-11-09 15:47:46 +00:00
Aniruddha Basak
770a3a48d4 app-admin/logrotate: Apply Flatcar modifications 2021-11-09 15:44:01 +00:00
Flatcar Buildbot
711c2f2cbd sys-kernel: Upgrade Kernel 5.10.77 to 5.10.78 2021-11-07 07:23:31 +00:00
Aniruddha Basak
49bcee9ae7 app-admin/logrotate: Sync with Gentoo upstream; updates to 3.18.1-r1 2021-11-06 07:07:05 +00:00
Krzesimir Nowak
92acd03aa2 profiles: Drop useless keyword for dev-lang/swig
The updated package is stable for arm64 too now.
2021-11-05 20:48:05 +01:00
Krzesimir Nowak
f03fe15be8 profiles: Update provided version of app-eselect/eselect-vi
Drop app-admin/eselect-vi too - there is no such package.
2021-11-05 20:47:13 +01:00
Dongsu Park
e0f030c4a0 Merge pull request #1399 from flatcar-linux/go-1.17.3-main
Upgrade Go in main from 1.17.2 to 1.17.3
2021-11-05 15:50:39 +01:00
Sayan Chowdhury
130c6e964f Merge pull request #1393 from flatcar-linux/linux-5.10.77-main
Upgrade Linux Kernel in main from 5.10.76 to 5.10.77
2021-11-05 16:44:34 +05:30
Flatcar Buildbot
ee642fdef6 dev-lang: Upgrade Go 1.17.2 to 1.17.3 2021-11-05 09:01:22 +00:00
Dongsu Park
2b2c1fcd9c Merge pull request #1384 from flatcar-linux/dongsu/delete-keywords
profiles: delete unnecessary accept_keywords
2021-11-05 09:50:50 +01:00
Krzesimir Nowak
0f2270e2b6 Merge pull request #1397 from flatcar-linux/krnowak/update-veritysetup-usage
sys-kernel/bootengine: Stop using deprecated actions in veritysetup
2021-11-04 17:46:35 +01:00
Krzesimir Nowak
0af0c91405 Merge pull request #1396 from flatcar-linux/krnowak/update-cryptsetup-deps
dev-libs/libgpg-error: Remove obsolete package
2021-11-04 12:11:52 +01:00
Krzesimir Nowak
430dba3f38 sys-apps/baselayout: Add sgx group
Systemd during the initrd stage was complaining about the missing
group, which resulted in ignoring some of the udev rules. Let's
placate it by adding sgx to baselayout, so the group is available
during the initrd stage too.

Pulls in https://github.com/flatcar-linux/baselayout/pull/20.
2021-11-04 12:07:37 +01:00
Krzesimir Nowak
827385b8bc sys-kernel/bootengine: Stop using deprecated actions in veritysetup
The "create" action became "open", and "remove" became "close". Also
reorder the parameters accordingly (it's a bit different for "open" vs
"create"). Also put the options before specifying the action.

Pulls in https://github.com/flatcar-linux/bootengine/pull/31.
2021-11-04 12:04:25 +01:00
Krzesimir Nowak
a3231aa995 dev-libs/libgpg-error: Remove obsolete package
We have a newer copy in portage-stable, which is being picked up
during build.
2021-11-03 18:12:18 +01:00
Dongsu Park
3ac7f1b357 profiles: delete unnecessary arm64 accept_keywords
Clean up unnecessary ebuilds from arm64 accept_keywords like below:

app-arch/bzip2 1.0.6-r12 is already stable.
app-crypt/mit-krb5 1.19.2 is already stable.
app-emulation/open-vmdk 1.0 is not needed by arm64.
app-eselect/eselect-rust is already stable.
dev-lang/perl 5.34.0-r2 is already stable.
dev-libs/ding-libs 0.4.0 is not needed by arm64.
dev-libs/elfutils 0.177 is already stable.
dev-libs/libpcre2 10.34 is already stable.
dev-libs/libpcre 8.44 is already stable.
dev-libs/libintl-perl 1.280.0 is already stable.
dev-util/meson 0.57.2 is already stable.
dev-util/re2c 2.0.3 is already stable.
net-analyzer/tcpdump 4.9.3 is already stable.
net-dns/bind-tools 9.16.6 is already stable.
net-dns/dnsmasq 2.85 is already stable.
net-firewall/ebtables 2.0.11-r3 is already stable.
net-libs/libmicrohttpd: move to base.
net-libs/libnfnetlink 1.0.1 is already stable.
net-libs/libnftnl 1.2.0-r1 is already stable.
net-nds/openldap 2.4.57 is already stable.
sys-apps/checkpolicy is already enabled in base.
sys-fs/btrfs-progs 4.10.2 is not needed by arm64.
sys-libs/binutils-libs 2.36.1-r2 is already stable.
virtual/perl-File-Path 2.130.0 is already stable.
virtual/cdrtools is not needed by arm64.

Add the following ebuilds to arm64 accept_keywords like below:

app-misc/jq 1.6-r3: move from base
cross-aarch64-cros-linux-gnu/gcc 9.3.0-r1: move from base
net-misc/curl 7.79.1: move from base
sec-policy/selinux-base 2.20200818-r2: move from base
sec-policy/selinux-base-policy 2.20200818-r2: move from base
sec-policy/selinux-unconfined 2.20200818-r2: move from base
sec-policy/selinux-virt 2.20200818-r2: move from base
sys-apps/checkpolicy 3.1: move from base
sys-apps/kexec-tools 2.0.17-r1 is needed by arm64
sys-firmware/edk2-ovmf 201905: move from base
sys-process/tini 0.18.0: move from base
2021-11-03 18:11:33 +01:00
Dongsu Park
543f8eb314 profiles: delete unnecessary base accept_keywords
Clean up unnecessary ebuilds from base accept_keywords like below.
Sort alphabetically.

app-crypt/efitools: move to sdk
app-misc/jq: move to arm64
cross-aarch64-cros-linux-gnu/gcc: move 9.3.0-r1 to arm64
dev-lang/spidermonkey is not needed any more.
dev-libs/protobuf 3.5.2 is already stable.
dev-libs/elfutils: specify explicit version 0.178
dev-python/boto: specify explicit keywords ~amd64, ~arm64.
dev-util/dwarves: specify explicit version 1.19
dev-util/perf 5.8 is already stable.
net-misc/curl: move 7.79.1 to arm64
net-nds/rpcbind: specify explicit keywords ~amd64, ~arm64.
net-libs/libnftnl 1.2.0-r1 is already stable.
net-libs/libmicrohttpd: move from arm64, specify explicit keywords.
sec-policy/selinux-base: move to arm64.
sec-policy/selinux-base-policy: move to arm64.
sec-policy/selinux-unconfined: move to arm64.
sec-policy/selinux-virt: move to arm64.
sys-apps/checkpolicy: move to arm64.
sys-apps/gptfdisk 1.0.7 is already stable.
sys-apps/iproute2 5.8.0 is already stable.
sys-apps/kexec-tools 2.0.17-r1 is already stable.
sys-auth/google-oslogin 20200910.00 is already stable.
sys-kernel/dracut 053-r1 is already stable.
sys-boot/gnu-efi 3.0.3 is already stable.
sys-firmware/edk2-ovmf: move to arm64
sys-fs/dosfstools: specify explicit keywords ~amd64, ~arm64.
sys-process/tini: move to arm64
sys-libs/libselinux: already configured in arm64
sys-libs/libsepol: already configured in arm64
2021-11-03 18:11:33 +01:00
Dongsu Park
ae2cf75cc5 profiles: delete unnecessary sdk accept_keywords
Delete dev-perl/Parse-Yapp, as 1.210.0 is already stable.
Move app-crypt/efitools from base to sdk.
2021-11-03 18:11:33 +01:00
Dongsu Park
624583efc4 profiles: delete unnecessary packages from systemd feature
Delete net-libs/libmicrohttpd, as 0.9.52 is already stable.
Delete virtual/udev, as 217 is already stable.
2021-11-03 18:11:33 +01:00
Dongsu Park
2eece26053 profiles: delete unnecessary spidermonkey from package.use
Delete unnecessary package spidermonkey from package.use.
2021-11-03 18:11:33 +01:00
Dongsu Park
d58c9dc799 coreos-devel/sdk-depends: delete autoconf 2.1 for spidermonkey
Now that we delete spidermonkey from portage-stable completely, we can
delete autoconf 2.1 as well.
2021-11-03 18:11:33 +01:00
Dongsu Park
5c1af6f015 Merge pull request #1394 from flatcar-linux/dongsu/github-https
*: *: use https instead of git for Github URLs (take 2)
2021-11-03 17:45:55 +01:00
Dongsu Park
e5790650a1 profiles: add ssl USE flag to make libcurl fetch from https://
Now that Github rejects access to an unauthenticated URL with `git://`,
we have to make git and libcurl work with `https://`. However, during
the SDK stage2, curl is not explicitly installed, but just inherited
from the stage1. As a result, curl is built without the `ssl` USE flag.
So installation of baselayout fails with:

```
git fetch https://github.com/flatcar-linux/baselayout.git --prune +HEAD:refs/git-r3/HEAD

fatal: unable to access 'https://github.com/flatcar-linux/baselayout.git/':
Protocol "https" not supported or disabled in libcurl
```

To resolve the issue, we need to install curl with `BOOTSTRAP_USE=ssl`
before trying to install baselayout.

Also we need to set `CURL_SSL=openssl` as required by curl.
Using a USE_EXPAND variable `curl_ssl_openssl` in `BOOTSTRAP_USE`, we
can specify the correct `CURL_SSL` variable in curl.
2021-11-03 17:44:53 +01:00
Mathieu Tortuyaux
6ca8235abe Merge pull request #1389 from flatcar-linux/tormath1/openssl-fips
`dev-libs/openssl`: enable `fips` support
2021-11-03 12:15:27 +01:00
Flatcar Buildbot
bcf4fe6c2e sys-kernel: Upgrade Kernel 5.10.76 to 5.10.77 2021-11-03 07:23:42 +00:00
Dongsu Park
20ef77de27 profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64 2021-11-03 07:16:50 +01:00
Dongsu Park
0a6e5d41f3 *: use https instead of git for Github URLs
Replace `git://` with `https://` for GITHUB URLs, because Github now
rejects an unauthenticated git access.

* app-admin/locksmith
* app-admin/mayday
* app-admin/sdnotify-proxy
* app-admin/toolbox
* app-admin/updateservicectl
* app-arch/torcx
* app-crypt/go-tspi
* app-emulation/acbuild
* app-emulation/actool
* coreos-base/afterburn
* coreos-base/coreos-cloudinit
* coreos-base/coreos-init
* coreos-base/emerge-gitclone
* coreos-base/nova-agent-watcher
* coreos-base/update-ssh-keys
* coreos-base/update_engine
* coreos-devel/fero-client
* coreos-devel/mantle
* sys-apps/baselayout
* sys-apps/ignition
* sys-apps/seismograph
* sys-boot/grub
* sys-boot/shim
* sys-kernel/bootengine
* sys-libs/nss-usrfiles

See also
https://github.blog/2021-09-01-improving-git-protocol-security-github/.
2021-11-03 07:16:37 +01:00
Dongsu Park
90bc60e15a Revert "*: use https instead of git for Github URLs"
This reverts commit c2c0d33ed7b3481ee9ce54fb4a1618d41c5eee53.
2021-11-02 18:31:17 +01:00
Dongsu Park
09be16c283 Revert "profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64"
This reverts commit b79b2bb0afedefbab9381473f994d2c7375f11a0.
2021-11-02 18:31:17 +01:00
Mathieu Tortuyaux
61b1e97237 profiles/base: enable fips for dev-libs/openssl
enabling `fips` support will compile `fips.so` provider for user who
wants to use `fips` as OpenSSL provider.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:28:10 +01:00
Mathieu Tortuyaux
b3a9d297ee dev-libs/openssl: apply flatcar changes
- drop `pkg_postint`
- create `/etc/ssl` with systemd-tmpfiles

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:25:55 +01:00
Mathieu Tortuyaux
ca192320b3 dev-libs/openssl: sync with upstream
it basically brings this commit: 895d71e3d1

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:24:35 +01:00
Sayan Chowdhury
10316541c9 Merge pull request #1379 from flatcar-linux/linux-5.10.76-main
Upgrade Linux Kernel in main from 5.10.75 to 5.10.76
2021-11-02 20:39:14 +05:30
Dongsu Park
95c2a8fe10 Merge pull request #1383 from flatcar-linux/dongsu/ncurses-6.2-20210619
sys-libs/ncurses: update to 6.2_p20210619
2021-11-02 15:15:35 +01:00
Dongsu Park
1f8a64c14c Merge pull request #1381 from flatcar-linux/dongsu/wget-1.21.2
profiles: accept keywords for wget 1.21.2.
2021-11-02 14:24:41 +01:00
Dongsu Park
6e3c5a85d6 profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64 2021-11-02 08:36:05 +01:00
Dongsu Park
68bc2f4d3c *: use https instead of git for Github URLs
Replace `git://` with `https://` for GITHUB URLs, because Github now
rejects an unauthenticated git access.

* app-admin/locksmith
* app-admin/mayday
* app-admin/sdnotify-proxy
* app-admin/toolbox
* app-admin/updateservicectl
* app-arch/torcx
* app-crypt/go-tspi
* app-emulation/acbuild
* app-emulation/actool
* coreos-base/afterburn
* coreos-base/coreos-cloudinit
* coreos-base/coreos-init
* coreos-base/emerge-gitclone
* coreos-base/nova-agent-watcher
* coreos-base/update-ssh-keys
* coreos-base/update_engine
* coreos-devel/fero-client
* coreos-devel/mantle
* sys-apps/baselayout
* sys-apps/ignition
* sys-apps/seismograph
* sys-boot/grub
* sys-boot/shim
* sys-kernel/bootengine
* sys-libs/nss-usrfiles

See also
https://github.blog/2021-09-01-improving-git-protocol-security-github/.
2021-11-02 08:27:25 +01:00
Flatcar Buildbot
03f98ebe38 dev-lang: Upgrade dev-lang/rust 1.56.0 to 1.56.1 2021-11-01 13:19:18 +00:00
Dongsu Park
d2e91b9a3d app-emulation/qemu: unicode(+) for sys-libs/ncurses
Now that sys-libs/ncurses 6.2_p20210619 dropped the USE flag 'unicode',
it is not possible to specify the flag in app-emulation/qemu.
Make the unicode flag optional, by specifying '(+)'.

See also https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ea02f40f21d21e584fe45c9d1c8cfb57f5acc6
2021-11-01 11:25:34 +01:00
Dongsu Park
fcf60d15ef profiles: delete unnecessary keywords for ncurses
Since ncurses 6.2_p20210619 does not have the USE flag `unicode`,
we should clean up from profiles.
2021-11-01 09:40:08 +01:00
Dongsu Park
b41edc4cf1 sys-libs/ncurses: Apply Flatcar patches
Add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.

Also allow writes to /dev/ptmx, which sometimes causes the sandbox
to fail Jenkins builds.

Based on 9a6728f5f5d63626e4a806664c0c031e913fd758 and
380aa9c60af1e68911a479747d12b5fddaf2b1a2 .
2021-11-01 09:40:08 +01:00
Dongsu Park
da0f8fde32 sys-libs/ncurses: update to 6.2_p20210619
Update sys-libs/ncurses to 6.2_p20210619, mainly to address
CVE-2021-39537.
2021-11-01 09:40:08 +01:00
Jeremi Piotrowski
2497549aa9 Update sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-29 12:43:04 +02:00
Jeremi Piotrowski
62a5205559 sec-policy/selinux-base: add missing BDEPEND=python[xml]
selinux-base requires python to generate xml files, but the dependency
is implicit (through policycoreutils). Flatcar made that dependency
conditional on USE=python in policycoreutils so that we don't include
python in our images, but this causes selinux-base to fail depending on
ordering in the bootstrap process.

Fix that failure by addin an explicit dependency.
2021-10-29 07:55:42 +00:00
Jeremi Piotrowski
3e548aca7e Revert "sec-policy/selinux-base: force sequential build in src_configure"
This is not the cause for the build failure - a missing build time
dependency is.

This reverts commit ee3a8514ebd144f081b679225b332ef13b010e26.
2021-10-29 07:54:25 +00:00
Dongsu Park
f6b3e2d375 sys-kernel/coreos-firmware: bump cxgb4 firmware version to 1.26.2.0
Since linux-firmware 20211027 has a new cxgb4 firmware version 1.26.2.0,
we have to bump CXGB_VERSION, to avoid build failures.
2021-10-28 12:39:27 +02:00
Dongsu Park
61fde6cbed profiles: accept keywords for wget 1.21.2.
Accept both keywords ~amd64 and ~arm64, mainly to address
CVE-2021-31879.
2021-10-28 10:19:38 +02:00
Flatcar Buildbot
ff345e0697 sys-kernel: Upgrade Kernel 5.10.75 to 5.10.76 2021-10-28 07:35:14 +00:00
Flatcar Buildbot
9fa19b06ac sys-kernel: Upgrade Linux Firmware 20210919 to 20211027 2021-10-28 07:11:13 +00:00
Jeremi Piotrowski
1507a314b4 Merge pull request #1372 from flatcar-linux/jepio/selinux-base-sequential
sec-policy/selinux-base: force sequential build in src_configure.
2021-10-27 20:22:54 +02:00
Dongsu Park
89a86a1bf1 Merge pull request #1373 from flatcar-linux/docker-20.10.10-main
Upgrade Docker in main from 20.10.9 to 20.10.10
2021-10-27 14:45:14 +02:00
Jeremi Piotrowski
986a4f6a2a sec-policy/selinux-base: force sequential build in src_configure
The build has been failing occasionally, due to some kind of race condition.
The last lines of log output look like this:

   Updating policy/booleans.conf and policy/modules.conf
   python3 -t -t -E -W error support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
   support/sedoctool.py exiting for: Error while parsing xml
   make: *** [Makefile:415: conf.intermediate] Error 1
    * ERROR: sec-policy/selinux-base-2.20200818-r2::coreos failed (configure phase):
    *   emake failed

Try to fix this by forcing a sequential build.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-10-27 10:54:00 +02:00
Flatcar Buildbot
d95a5d9826 app-emulation: Upgrade Docker 20.10.9 to 20.10.10 2021-10-27 07:47:22 +00:00
Dongsu Park
37b3325d0b dev-lang/rust: adjust ebuild for Rust 1.56.0
To fix build failures, adjust ebuild file for Rust 1.56.0,
syncing with Gentoo.

Gentoo ref: d4e208e91591026acece35da8445b27fa20d3d5f
2021-10-26 14:24:29 +02:00
Flatcar Buildbot
da6611987c dev-lang: Upgrade dev-lang/rust 1.55.0 to 1.56.0 2021-10-26 12:07:39 +00:00
Dongsu Park
4aa1a282d9 .github: update accept_keywords also for virtual/rust
PR https://github.com/flatcar-linux/coreos-overlay/pull/432 started
to replace `dev-lang/rust` in accept_keywords with its new version.
However, its corresponding `virtual/rust` has never been updated.
That issue had been hidden until
4463efcfd4
started adding `virtual/rust` to accept_keywords.
Unlike `dev-lang/rust`, keywords for `virtual/rust` stayed with old
versions. As a result, subsequent Github Actions PRs for rust become
all invalid, so build failures.

Fix the issue by replacing versions of `virtual/rust` with new versions.
Also try to match with version specifiers, not only `=` but also `>=`,
'<=', '~'.
2021-10-26 11:53:08 +02:00
Dongsu Park
739e98dc59 Merge pull request #1366 from aniruddha2000/aniruddha/remove-nmap-accept-keywords
Remove nmap keyword from arm64/package.accept_keywords
2021-10-25 17:27:00 +02:00
Dongsu Park
666787c9ee Merge pull request #1367 from aniruddha2000/aniruddha/update-cryptsetup-accept-keywords
Update accept keyword for cryptsetup 2.4.1
2021-10-25 17:26:44 +02:00
Aniruddha Basak
ec9c9714c0 Update accept keyword for cryptsetup 2.4.1 2021-10-25 07:06:19 +00:00
Sayan Chowdhury
5d0669763a Merge pull request #1363 from flatcar-linux/linux-5.10.75-main
Upgrade Linux Kernel in main from 5.10.74 to 5.10.75
2021-10-23 09:55:10 +05:30
Aniruddha Basak
da44b7c24d Remove nmap keyword from arm64/package.accept_keywords 2021-10-22 14:44:44 +00:00
Sayan Chowdhury
59a8112b65 Merge pull request #1365 from flatcar-linux/sayan/skip-tcsd-for-tpm2-v249
app-crypt/trousers: Skip tscd.service for TPM2 devices (using ConditionSecurity)
2021-10-22 16:26:24 +05:30
Sayan Chowdhury
33107d2047 Merge pull request #1364 from flatcar-linux/sayan/skip-tcsd-for-tpm2
app-crypt/trousers: Skip tscd.service for TPM2 devices
2021-10-22 16:21:14 +05:30
Sayan Chowdhury
0f2fde9beb app-crypt/trousers: Skip tscd.service for TPM2 devices
trousers supports TPM 1.2, and fails for TPM 2. This commits
skips the tcsd service if TPM 2 is detected.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-22 12:28:24 +05:30
Mathieu Tortuyaux
6adcc5ab44 coreos-base/update_engine: remove -Werror flag
with the OpenSSLv3 upgrade, `update_engine` is not fully compatible yet.
See the associated issue for more details.

Let's keep the deprecated SHA functions in the meantime to run the
build.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
1d608a8560 app-crypt/sbsigntools: add patch to support opensslv3
See also: https://groups.io/g/sbsigntools/topic/patch_fix_openssl_3_0_issue/85903418?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,85903418,previd=1632756467394580924,nextid=1591489833755102589&previd=1632756467394580924&nextid=1591489833755102589

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
a6ad4cfba8 profiles/base: disable bindist useflag for openssh
there is an ongoing conversation about bindist patches for openssl:
https://marc.info/?l=gentoo-dev&m=163216172229772&w=2

Let's keep an eye on it.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
33d129daf9 profiles/coreos/base: add dev-libs/openssl-3.0.0
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
c83934f12e dev-libs/openssl: apply flatcar changes
- drop `pkg_postint`
- create `/etc/ssl` with systemd-tmpfiles

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00