23028 Commits

Author SHA1 Message Date
Sayan Chowdhury
9ea89fe87f Merge pull request #1436 from flatcar-linux/sayan/mandate-changelog-entry
changelog: Add placeholder directory to add the changelogs
2021-11-24 22:53:45 +05:30
Sayan Chowdhury
38b1b51b46
Merge pull request #180 from flatcar-linux/sayan/mandate-changelog-entry
changelog: Add placeholder directory to add the changelogs
2021-11-24 22:53:26 +05:30
Sayan Chowdhury
d5fad356fb Merge pull request #250 from flatcar-linux/sayan/mandate-changelog-entry
changelog: Add placeholder directory to add the changelogs
2021-11-24 22:51:02 +05:30
Sayan Chowdhury
14b91f57e6 changelog: Add placeholder directory to add the changelogs
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-11-24 22:50:19 +05:30
Sayan Chowdhury
663fee4c68
changelog: Add placeholder directory to add the changelogs
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-11-24 22:50:02 +05:30
Sayan Chowdhury
025273dd18 changelog: Add placeholder directory to add the changelogs
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-11-24 22:49:48 +05:30
Vincent Batts
5c21980ff3
Merge pull request #182 from flatcar-linux/tormath1/cpe
build_library/set_release: add CPE_NAME - v2.3
2021-11-24 09:51:44 -05:00
Mathieu Tortuyaux
dc0f93015b
build_library/set_release: add CPE_NAME - v2.3
Flatcar is in the NIST CPE dictionary. Let's programmatically build the
`CPE_NAME` in the build process in order to be scanned.

`CPE_NAME` is part of `/etc/os-release` with the following manual entry:

```
CPE_NAME=
  A CPE name for the operating system, in URI binding syntax, following the Common Platform Enumeration Specification[2] as proposed by the NIST.
  This field is optional. Example: "CPE_NAME="cpe:/o:fedoraproject:fedora:17""
...
[^2]: Common Platform Enumeration Specification
           http://scap.nist.gov/specifications/cpe/
```

Which indicates that the current version of CPE is 2.3.

Closes: https://github.com/flatcar-linux/Flatcar/issues/536

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-23 18:22:16 +01:00
Dongsu Park
8ec91fc7c8 Merge pull request #1408 from ArkaprabhaChakraborty/arkaprabha/upgrade-net-libs-libmicrohttpd
Upgrade net-libs/libmicrohttpd to 0.9.73
2021-11-23 15:28:38 +01:00
Dongsu Park
c62bdbf1d4 Merge pull request #243 from ArkaprabhaChakraborty/arkaprabha/update-net-libs-libmicrohttpd
Upgrade net-libs/libmicrohttpd to 0.9.73
2021-11-23 15:28:31 +01:00
Kai Lüke
aff7df952a Merge pull request #1442 from flatcar-linux/kai/logrotate-fix
app-admin/logrotate: Correct downstream changes to take effect
2021-11-23 14:20:14 +01:00
Kai Lueke
e860093fe1 app-admin/logrotate: Correct downstream changes to take effect
By accident the upstream files from the example folder got used,
instead of the downstream files that were added in the files/ folder.
Also, the configuration file didn't get installed.

Use the right paths to install the downstream files.
2021-11-23 10:50:25 +01:00
Mathieu Tortuyaux
e86eadcdeb
Merge pull request #181 from flatcar-linux/tormath1/arm-em-server
kola/packet: override EM region for ARM64 server
2021-11-22 19:59:30 +01:00
Mathieu Tortuyaux
c746ab2333
kola/packet: override EM region for ARM64 server
Equinix Metal ARM server are not yet hourly available in the default `sv15` region
so we override the `PACKET_REGION` to `Dallas` since it's available in this region.
We do not override `PACKET_REGION` for both board on top level because we need to keep proximity
for PXE booting.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-22 19:43:27 +01:00
ArkaprabhaChakraborty
4032d3a5e5 Remove net-libs/libmicrohttpd from package.accept_keywords 2021-11-21 15:09:15 +00:00
ArkaprabhaChakraborty
d7d1a79cd7 Upgrade net-libs/libmicrohttpd to 0.9.73
Signed-off-by: ArkaprabhaChakraborty <chakrabortyarkaprabha998@gmail.com>
2021-11-21 13:39:52 +00:00
Dongsu Park
d68272f5e6 Merge pull request #1431 from flatcar-linux/dongsu/rsync-3.2.3-r5
profiles: accept keywords for rsync 3.2.3-r5
2021-11-19 17:41:44 +01:00
Dongsu Park
eef37ccc04 Merge pull request #249 from flatcar-linux/dongsu/rsync-3.2.3-r5
net-misc/rsync: update to 3.2.3-r5
2021-11-19 17:41:34 +01:00
Dongsu Park
4739a90732 Merge pull request #1435 from flatcar-linux/linux-5.10.80-main
Upgrade Linux Kernel in main from 5.10.78 to 5.10.80
2021-11-19 17:38:25 +01:00
Dongsu Park
755e675fca Merge pull request #1430 from flatcar-linux/docker-20.10.11-main
Upgrade Docker in main from 20.10.10 to 20.10.11
2021-11-19 17:33:06 +01:00
Mathieu Tortuyaux
218b96730b app-emulation/docker-cli: use ${PV} for CLI version
Upstream isn't updating the file regularly, so use ${PV}.

Closes: https://bugs.gentoo.org/815658
Closes: https://github.com/gentoo/gentoo/pull/22457
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: William Hubbs <williamh@gentoo.org>
2021-11-19 17:23:20 +01:00
Flatcar Buildbot
494c12850f app-emulation: Upgrade Docker 20.10.10 to 20.10.11 2021-11-19 17:23:19 +01:00
Dongsu Park
1492c1b19f Merge pull request #1429 from flatcar-linux/containerd-1.5.8-main
Upgrade Containerd in main from 1.5.7 to 1.5.8
2021-11-19 17:11:25 +01:00
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
Dongsu Park
e3d44a3cc8 net-misc/rsync: update to 3.2.3-r5
Mainly to address CVE-2020-14387 .
2021-11-18 14:17:06 +01:00
Dongsu Park
c7acab5ccc Merge pull request #1427 from flatcar-linux/cacerts-3.72-main
Upgrade ca-certificates in main from 3.70 to 3.72
2021-11-18 13:31:06 +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
3377a02796 Merge pull request #1425 from flatcar-linux/dongsu/github-actions-cacerts-versiondelim
.github: fix version delimiter of ca-certs workflow for main
2021-11-17 16:58:11 +01: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
e7e8b822ac Merge pull request #1420 from flatcar-linux/dongsu/github-actions-ca-certs
.github: add Github Actions for ca-certificates
2021-11-17 15:33:33 +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
6a7ec0a99f Merge pull request #227 from flatcar-linux/krnowak/pkg-config-update
Sync pkg-config implementation with gentoo
2021-11-15 15:30:21 +01:00
Krzesimir Nowak
3adddf1792 Merge pull request #1357 from flatcar-linux/krnowak/pkg-config-update
Adapt to new pkg-config implementation
2021-11-15 15:30:21 +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
Krzesimir Nowak
d35d4b7534 sys-fs/btrfs-progs: Move to overlay
We will need to patch the configure script to override the udev rules
directory.
2021-11-15 15:28:11 +01:00
Krzesimir Nowak
58e3b78944 eclass/udev: Revert some changes
We still have old EAPIs around, so keep supporting them.
2021-11-15 15:28:11 +01:00