14983 Commits

Author SHA1 Message Date
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
Dongsu Park
aae75806b9 eclass: delete unnecessary eclasses needed by spidermonkey
Delete unnecessary eclasses pulled in by spidermonkey:

* mozconfig-v6.{52,60}.eclass
* mozcoreconf-v[4-6].eclass
* mozlinguas-v2.eclass
* nsplugins.eclass
2021-11-04 10:07:02 +01:00
Dongsu Park
04e48453f1 dev-lang/spidermonkey: delete unnecessary package 2021-11-04 10:07:02 +01:00
Jeremi Piotrowski
c03da37716 script/bootstrap: update openssl before stage3
Right now our bootstrap flow is different then gentoo's - we don't
update the seed when building stage1 and use a different ebuilds
snapshot for stage1 compared to stage2 and stage3. This is causing us
trouble now, because we introduced openssl-3, but seed/stage1 still
contains openssl-1.1. During `emerge -e @system` in stage3, some
packages that depend on openssl may build against the stage1 version,
which results in an error during depcleaning (they would need to be
rebuilt instead).  Stage3 is not extensible, so instead, explicitly
update openssl in stage2. This workaround can be removed as soon as we
release a seed with openssl-3.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-11-04 09:25:30 +01:00
Krzesimir Nowak
694dec7ff8 dev-libs/gmp: Sync with gentoo
It's from gentoo commit 5c888a952dc942822d48a87fae24d36146b9fa87.
2021-11-03 18:14:57 +01:00
Krzesimir Nowak
b81a34abde dev-libs/nettle: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-03 18:14:57 +01:00
Krzesimir Nowak
972fe28131 dev-libs/libgpg-error: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-03 18:14:57 +01:00
Krzesimir Nowak
f9d055810e dev-libs/libgcrypt: Sync with gentoo
It's from gentoo commit 3c0303bcf57b569ec658a668a7bcf210992cbb47.
2021-11-03 18:14:57 +01:00
Krzesimir Nowak
1e40323f7f app-crypt/argon2: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-03 18:14:56 +01:00
Krzesimir Nowak
d82ef916b0 dev-libs/popt: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-03 18:14:56 +01:00
Krzesimir Nowak
a5a372e444 dev-libs/json-c: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-03 18:14:56 +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
Dongsu Park
14b3353eaa scripts: install curl before baselayout
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.
2021-11-03 15:30:55 +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
cfadfebd5b dev-lang/yasm: update to 1.3.0-r1 to fix Github URL protocol
Github now rejects an unauthenticated Github URL `git://`, so we need to
replace git with https.
To do that, sync with Gentoo for dev-lang/yasm 1.3.0-r1 including fix
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0793e1ac0b7c7b3e8572443bbd33faf7ddc26813
2021-11-03 07:17:39 +01: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
43bb898cbc Revert "dev-lang/yasm: update to 1.3.0-r1 to fix Github URL protocol"
This reverts commit ea28ab385dfffa6b0cbd7267b557764e35f7b060.
2021-11-02 18:34:42 +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
6e0fd76493 Merge pull request #236 from flatcar-linux/dongsu/ncurses-6.2-20210619
*: update gptfdisk, readline, procps for ncurses 6.2_p20210619
2021-11-02 15:15:46 +01:00
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
d8a0045753 Merge pull request #233 from flatcar-linux/dongsu/wget-1.21.2
net-misc/wget: update to 1.21.2
2021-11-02 14:25:42 +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
Dongsu Park
cf88c5ca11 dev-lang/yasm: update to 1.3.0-r1 to fix Github URL protocol
Github now rejects an unauthenticated Github URL `git://`, so we need to
replace git with https.
To do that, sync with Gentoo for dev-lang/yasm 1.3.0-r1 including fix
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0793e1ac0b7c7b3e8572443bbd33faf7ddc26813
2021-11-02 08:25:35 +01:00
Flatcar Buildbot
4dfad63f67 Upgrade virtual Rust in main from 1.56.0 to 1.56.1 2021-11-01 13:19:50 +00: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
7d2a26a07b sys-process/procps: update to 3.3.17-r1
Now that ncurses 6.2_p20210619 dropped the USE flag 'unicode', it is
not possible to specify the flag in sys-process/procps.
We need to make the flag optional, by specifying '(+)'.

See also
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec71f8061aaa422b7eedfd090e09211736579372

Simply sync with Gentoo for 3.3.17-r1 that includes the fix.
2021-11-01 11:44:04 +01:00
Dongsu Park
7ca4e6f137 sys-apps/gptfdisk: update to 1.0.7-r2
Now that ncurses 6.2_p20210619 dropped the USE flag 'unicode', it is
not possible to specify the flag in sys-apps/gptfdisk.
We need to make the flag optional, by specifying '(+)'.

See also
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c4f07166bac4c87f7e290f049e7a1603025444

Simply sync with Gentoo for 1.0.7-r2 that includes the fix.
2021-11-01 11:40:54 +01:00
Dongsu Park
a06e7cbe30 sys-libs/readline: update to 8.1_p1-r1
Now that ncurses 6.2_p20210619 dropped the USE flag 'unicode', it is
not possible to specify the flag in sys-libs/readline.
We need to make the flag optional, by specifying '(+)'.

See also
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df194650455b53175ed2852547169875002b2292

Simply sync with Gentoo for readline 8.1_p1-r1 that has the fix.
2021-11-01 11:40:49 +01: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