Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1783 from flatcar-linux/krnowak/pkg-updates-2020
Browse files Browse the repository at this point in the history
Profile cleanups for package updates, 2020 edition
  • Loading branch information
krnowak authored Apr 4, 2022
2 parents 7f35d3c + a65300c commit 04bc4b5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
12 changes: 10 additions & 2 deletions coreos/config/env/net-dns/bind-tools
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# Work around failing OpenSSL feature detection.
EXTRA_ECONF="--without-ecdsa"
# Work around lame function attribute checks when cross-compiling.
# Linker emits a bunch of irrelevant warnings and that trips configure
# script up into thinking that those attributes are not
# supported. Upstream bind-tools already fixed that by being smarter
# and grepping for -Wattributes instead, but we are not yet packaging
# it. We also know that constructor and destructor attributes are
# supported - they are available since at least gcc 3.4.

EXTRA_ECONF+=" ax_cv_have_func_attribute_constructor=yes"
EXTRA_ECONF+=" ax_cv_have_func_attribute_destructor=yes"
4 changes: 1 addition & 3 deletions profiles/coreos/arm64/package.accept_keywords
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
=dev-util/checkbashisms-2.21.4 ~arm64

=net-dns/c-ares-1.17.2 ~arm64
=net-firewall/conntrack-tools-1.4.5 ~arm64
=net-libs/libnetfilter_conntrack-1.0.8 ~arm64
=net-firewall/conntrack-tools-1.4.6-r1 ~arm64
=net-libs/libnetfilter_cthelper-1.0.0-r1 ~arm64
=net-libs/libnetfilter_cttimeout-1.0.0-r1 ~arm64
=net-libs/libnetfilter_queue-1.0.3 ~arm64
=net-misc/curl-7.79.1 ~arm64

=perl-core/File-Path-2.130.0 ~arm64
Expand Down
4 changes: 0 additions & 4 deletions profiles/coreos/base/package.accept_keywords
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
=dev-lang/rust-1.59.0 ~amd64 ~arm64
=virtual/rust-1.59.0 ~amd64 ~arm64

=dev-libs/elfutils-0.178 ~amd64

=dev-libs/libgcrypt-1.9.4 ~amd64 ~arm64

# needed for arm64 sdk
Expand All @@ -35,8 +33,6 @@

=sys-fs/cryptsetup-2.4.1-r1 ~amd64 ~arm64

=sys-fs/multipath-tools-0.8.5 ~amd64 ~arm64

=sys-libs/libseccomp-2.5.0 ~amd64 ~arm64

# We need 2.3.2, but it still marked as unstable on arm64. Can't
Expand Down
9 changes: 9 additions & 0 deletions profiles/coreos/base/package.use
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,12 @@ sys-apps/util-linux -su
# Enable kerberos support for NFS
net-fs/nfs-utils kerberos nfsv41 nfsv4 junction ldap libmount nfsdcld uuid
net-libs/libtirpc kerberos

# Disable enabled-by-default support for 16-bit characters, we didn't
# need it before, so we don't need it now.
dev-libs/libpcre2 -pcre16

# Disable extra stuff for tcpdump, there was no explanation why it was
# enabled by upstream. Samba was enabled to make some tests pass. But
# smi and ssl, no clue.
net-analyzer/tcpdump -ssl -smi -samba
4 changes: 0 additions & 4 deletions profiles/coreos/targets/generic/package.use
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dev-libs/dbus-glib tools
dev-libs/elfutils -utils
dev-libs/openssl pkcs11
dev-util/perf -doc -demangle -tui -ncurses -perl -python
net-analyzer/tcpdump -chroot
net-misc/dhcp -server
net-misc/ntp caps
sys-apps/smartmontools -daemon -update-drivedb -systemd
Expand All @@ -32,8 +31,5 @@ app-shells/bash -net vanilla
# needed by docker
sys-libs/libseccomp static-libs

# bind-tools' configure script breaks when cross-compiling with seccomp enabled
net-dns/bind-tools -seccomp

# Gentoo's new hardened profile disables PIC, but open-vm-tools needs it
app-emulation/open-vm-tools pic

0 comments on commit 04bc4b5

Please sign in to comment.