Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put the rest of system packages under automation #931

Merged
merged 30 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e017b74
sys-block/open-isns: Sync with Gentoo
krnowak Jul 28, 2023
f2a8dbd
sys-block/parted: Sync with Gentoo
krnowak Jul 28, 2023
84a31d2
sys-block/thin-provisioning-tools: Sync with Gentoo
krnowak Jul 28, 2023
2c240f5
sys-fs/cryptsetup: Sync with Gentoo
krnowak Jul 28, 2023
9e6a609
sys-fs/dosfstools: Sync with Gentoo
krnowak Jul 28, 2023
a2eb825
sys-fs/lsscsi: Sync with Gentoo
krnowak Jul 28, 2023
d53eb39
sys-fs/mtools: Sync with Gentoo
krnowak Jul 28, 2023
f8f35be
sys-fs/quota: Sync with Gentoo
krnowak Jul 28, 2023
f16b7f0
sys-fs/xfsprogs: Sync with Gentoo
krnowak Jul 28, 2023
d6bb4e8
sys-libs/gdbm: Sync with Gentoo
krnowak Jul 28, 2023
13e73e3
sys-process/lsof: Sync with Gentoo
krnowak Jul 28, 2023
b790e39
sys-process/procps: Sync with Gentoo
krnowak Jul 28, 2023
55c3d75
sys-process/psmisc: Sync with Gentoo
krnowak Jul 28, 2023
6f8dab8
virtual/acl: Sync with Gentoo
krnowak Jul 28, 2023
d005a95
virtual/dev-manager: Sync with Gentoo
krnowak Jul 28, 2023
76fa52c
virtual/editor: Sync with Gentoo
krnowak Jul 28, 2023
1f3bd51
virtual/libusb: Sync with Gentoo
krnowak Jul 28, 2023
cc099fc
virtual/man: Sync with Gentoo
krnowak Jul 28, 2023
dfbd4ad
virtual/openssh: Add from Gentoo
krnowak Jul 28, 2023
7d7b97b
virtual/package-manager: Sync with Gentoo
krnowak Jul 28, 2023
af6b3f5
virtual/service-manager: Sync with Gentoo
krnowak Jul 28, 2023
6044c55
virtual/ssh: Sync with Gentoo
krnowak Jul 28, 2023
d7e6072
overlay profiles: Drop accept keywords for sys-fs/cryptsetup
Jun 15, 2023
c9d3976
.github: Add more packages to package automation
Jun 15, 2023
198288b
.github: Add missing entry
Jun 15, 2023
7f90d55
eclass/mount-boot: Sync with Gentoo
krnowak Jul 28, 2023
9d56315
eclass/toolchain-autoconf: Sync with Gentoo
krnowak Jul 28, 2023
61d07a3
.github: Add eclasses to automation
Jun 15, 2023
e9ebbb9
overlay coreos/user-patches: Add a patch for sys-fs/xfsprogs
krnowak Aug 4, 2023
fcecb26
changelog: Add an entry
krnowak Aug 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/portage-stable-packages-list
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ eclass/llvm.eclass
eclass/ltprune.eclass
eclass/meson-multilib.eclass
eclass/meson.eclass
eclass/mount-boot.eclass
eclass/multibuild.eclass
eclass/multilib-build.eclass
eclass/multilib-minimal.eclass
Expand All @@ -295,6 +296,7 @@ eclass/savedconfig.eclass
eclass/strip-linguas.eclass
eclass/systemd.eclass
eclass/tmpfiles.eclass
eclass/toolchain-autoconf.eclass
eclass/toolchain-funcs.eclass
eclass/toolchain.eclass
eclass/udev.eclass
Expand All @@ -304,6 +306,7 @@ eclass/user-info.eclass
# eclass/usr-ldscript.eclass
eclass/vcs-clean.eclass
eclass/verify-sig.eclass
eclass/versionator.eclass
eclass/vim-doc.eclass
eclass/vim-plugin.eclass
eclass/virtualx.eclass
Expand Down Expand Up @@ -400,6 +403,10 @@ sys-apps/usbutils
sys-apps/util-linux
sys-apps/which

sys-block/open-isns
sys-block/parted
sys-block/thin-provisioning-tools

sys-devel/autoconf
sys-devel/autoconf-archive
sys-devel/autoconf-wrapper
Expand All @@ -426,15 +433,23 @@ sys-firmware/ipxe
sys-firmware/seabios-bin
sys-firmware/sgabios

sys-fs/cryptsetup
sys-fs/dosfstools
sys-fs/e2fsprogs
sys-fs/lsscsi
sys-fs/mtools
sys-fs/multipath-tools
sys-fs/quota
sys-fs/xfsprogs

sys-kernel/linux-headers

sys-libs/binutils-libs
sys-libs/gdbm
sys-libs/ldb
sys-libs/libcap
sys-libs/libcap-ng
sys-libs/libnvme
sys-libs/libseccomp
sys-libs/ncurses
sys-libs/readline
Expand All @@ -443,12 +458,22 @@ sys-libs/tdb
sys-libs/tevent
sys-libs/zlib

sys-process/lsof
sys-process/procps
sys-process/psmisc
sys-process/tini

virtual/acl
virtual/dev-manager
virtual/editor
virtual/libc
virtual/libcrypt
virtual/libelf
virtual/libusb
virtual/man
virtual/openssh
virtual/os-headers
virtual/package-manager
virtual/perl-Carp
virtual/perl-Exporter
virtual/perl-ExtUtils-MakeMaker
Expand All @@ -457,6 +482,8 @@ virtual/perl-File-Temp
virtual/perl-Getopt-Long
virtual/perl-IO
virtual/pkgconfig
virtual/service-manager
virtual/ssh

x11-base/xorg-proto

Expand Down
8 changes: 8 additions & 0 deletions changelog/updates/2023-08-04-sys-packages-sys-apps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- open-isns ([0.102](https://github.com/open-iscsi/open-isns/blob/v0.102/ChangeLog))
- parted ([3.6](https://git.savannah.gnu.org/gitweb/?p=parted.git;a=blob;f=NEWS;h=52bb11697039f70e55120c571750f9ee761a75aa;hb=3b5f327b213d21e9adb9ba933c78dd898fee5b1d))
- cryptsetup ([2.6.1](https://gitlab.com/cryptsetup/cryptsetup/-/blob/v2.6.1/docs/v2.6.1-ReleaseNotes) (includes [2.6.0](https://gitlab.com/cryptsetup/cryptsetup/-/blob/v2.6.0/docs/v2.6.0-ReleaseNotes) and [2.5.0](https://gitlab.com/cryptsetup/cryptsetup/-/blob/v2.5.0/docs/v2.5.0-ReleaseNotes)))
- quota ([4.09](https://sourceforge.net/p/linuxquota/code/ci/87d2fd7635e4bca54fa2a00b8d5b073ba9ca521b/tree/Changelog))
- xfsprogs ([6.3.0](https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?h=v6.3.0))
- gdbm ([1.23](https://lists.gnu.org/archive/html/info-gnu/2022-02/msg00004.html))
- lsof ([4.98.0](https://github.com/lsof-org/lsof/blob/4.98.0/00DIST#L5471))
- psmisc ([23.6](https://gitlab.com/psmisc/psmisc/-/blob/v23.6/ChangeLog))
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 8969baced4cecd973f3077feba72c82c7fca34a0 Mon Sep 17 00:00:00 2001
From: Krzesimir Nowak <knowak@microsoft.com>
Date: Fri, 4 Aug 2023 11:49:18 +0200
Subject: [PATCH] libfrog: Fix cross-compilation issue with randbytes

randbytes.c was mostly split off from crc32.c and, like crc32.c, is
used for selftests, which are run on the build host. As such it should
not include platform_defs.h which in turn includes urcu.h from
userspace-rcu library, because the build host might not have the
library installed.
---
libfrog/randbytes.c | 1 -
libfrog/randbytes.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libfrog/randbytes.c b/libfrog/randbytes.c
index f22da0d3..2023b601 100644
--- a/libfrog/randbytes.c
+++ b/libfrog/randbytes.c
@@ -6,7 +6,6 @@
*
* This is the buffer of random bytes used for self tests.
*/
-#include "platform_defs.h"
#include "libfrog/randbytes.h"

/* 4096 random bytes */
diff --git a/libfrog/randbytes.h b/libfrog/randbytes.h
index 00fd7c4c..fddea9c7 100644
--- a/libfrog/randbytes.h
+++ b/libfrog/randbytes.h
@@ -6,6 +6,8 @@
#ifndef __LIBFROG_RANDBYTES_H__
#define __LIBFROG_RANDBYTES_H__

+#include <stdint.h>
+
extern uint8_t randbytes_test_buf[];

#endif /* __LIBFROG_RANDBYTES_H__ */
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop `0001-libfrog-Fix-cross-compilation-issue-with-randbytes.patch` when upstream or Gentoo includes it.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
# Keep versions on both arches in sync.
=sys-firmware/edk2-aarch64-18.02 **

# FIPS support is still being tested.
=sys-fs/cryptsetup-2.4.3-r1 ~amd64 ~arm64

# Keep versions on both arches in sync.
=sys-fs/multipath-tools-0.9.5 ~amd64
=sys-libs/libselinux-3.1-r3 ~arm64
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: mount-boot.eclass
Expand All @@ -13,13 +13,11 @@
# function tries to ensure that it's mounted in rw mode, exiting with an
# error if it can't. It does nothing if /boot isn't a separate partition.

case ${EAPI:-0} in
case ${EAPI} in
6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

EXPORT_FUNCTIONS pkg_pretend pkg_preinst pkg_postinst pkg_prerm pkg_postrm

# @FUNCTION: mount-boot_is_disabled
# @INTERNAL
# @DESCRIPTION:
Expand Down Expand Up @@ -111,3 +109,5 @@ mount-boot_pkg_prerm() {
mount-boot_pkg_postinst() { :; }

mount-boot_pkg_postrm() { :; }

EXPORT_FUNCTIONS pkg_pretend pkg_preinst pkg_postinst pkg_prerm pkg_postrm
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: toolchain-autoconf.eclass
# @MAINTAINER:
# <base-system@gentoo.org>
# @SUPPORTED_EAPIS: 6 7
# @SUPPORTED_EAPIS: 7 8
# @BLURB: Common code for sys-devel/autoconf ebuilds
# @DESCRIPTION:
# This eclass contains the common phase functions migrated from
# sys-devel/autoconf eblits.

case ${EAPI:-0} in
[0-5])
die "${ECLASS} is banned in EAPI ${EAPI:-0}"
;;
[6-7])
;;
*)
die "Unknown EAPI ${EAPI:-0}"
;;
case ${EAPI} in
7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

if [[ -z ${_TOOLCHAIN_AUTOCONF_ECLASS} ]]; then
_TOOLCHAIN_AUTOCONF_ECLASS=1

EXPORT_FUNCTIONS src_prepare src_configure src_install
# @ECLASS_VARIABLE: TC_AUTOCONF_BREAK_INFOS
# @DESCRIPTION:
# Enables slotting logic on the installed info pages. This includes
# mangling the pages in order to include a version number. Empty by
# default, and only exists for old ebuild revisions to use. Do not set
# in new ebuilds. Set to a non-empty value to enable.
# @DEPRECATED: none
: "${TC_AUTOCONF_BREAK_INFOS:=}"

# @ECLASS_VARIABLE: TC_AUTOCONF_INFOPATH
# @DESCRIPTION:
# Where to install info files if not slotting.
TC_AUTOCONF_INFOPATH="${EPREFIX}/usr/share/autoconf-${PV}/info"

toolchain-autoconf_src_prepare() {
find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} + || die
Expand All @@ -33,7 +40,15 @@ toolchain-autoconf_src_prepare() {
toolchain-autoconf_src_configure() {
# Disable Emacs in the build system since it is in a separate package.
export EMACS=no
econf --program-suffix="-${PV}" || die
local myconf=(
--program-suffix="-${PV}"
)
if [[ -z "${TC_AUTOCONF_BREAK_INFOS}" && "${SLOT}" != 0 ]]; then
myconf+=(
--infodir="${TC_AUTOCONF_INFOPATH}"
)
fi
econf "${myconf[@]}" || die
# econf updates config.{sub,guess} which forces the manpages
# to be regenerated which we dont want to do #146621
touch man/*.1
Expand Down Expand Up @@ -72,8 +87,27 @@ slot_info_pages() {

toolchain-autoconf_src_install() {
default
slot_info_pages
if [[ -n "${TC_AUTOCONF_BREAK_INFOS}" ]]; then
slot_info_pages
else
rm -f dir || die

local major="$(ver_cut 1)"
local minor="$(ver_cut 2)"
local idx="$((99999-(major*1000+minor)))"
newenvd - "06autoconf${idx}" <<-EOF
INFOPATH="${TC_AUTOCONF_INFOPATH}"
EOF

pushd "${D}/${TC_AUTOCONF_INFOPATH}" >/dev/null || die
for f in *.info*; do
# Install convenience aliases for versioned Autoconf pages.
ln -s "$f" "${f/./-${PV}.}" || die
done
popd >/dev/null || die
fi
}

_TOOLCHAIN_AUTOCONF_ECLASS=1
fi

EXPORT_FUNCTIONS src_prepare src_configure src_install
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST open-isns-0.101.tar.gz 301912 BLAKE2B 98c9c36640ee4d3796538a00e7ab2e4cfb057abc66a56d27ce2eb133d591ea87bcb0e4ffb31b6d72d8e8c806edffb65600c0ae7cd63c61058f36037e3db79214 SHA512 e5a392127b0d85f36e9e4aa963c0c502af8c5aea0aba6d12abb4425649969dcc20ba6e87a99083626d981438439b17b71a86320f816042d82ed5dbe7e7a63e77
DIST open-isns-0.102.tar.gz 303210 BLAKE2B d6095f8a550faabd60475df4bce644dffa85187168d01616cc016003a5536663c68adc588e21fb6ab82937ac8d5a0ff46dde8c4c2664560f4b792b0324fb5856 SHA512 f5ae8af89b85565181c2f6def9834d9dab0a15d5d9b28721cce116c5580173ed9adba219e1ede48988cb57f047578db4ece458c4a7db598412c7583e56393d2b
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -11,7 +11,7 @@ SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="debug ssl static"

DEPEND="
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson systemd

DESCRIPTION="iSNS server and client for Linux"
HOMEPAGE="https://github.com/open-iscsi/open-isns"
SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="ssl static"

DEPEND="
ssl? (
dev-libs/openssl:=
)
"
RDEPEND="${DEPEND}"

src_configure() {
local emesonargs=(
-Ddefault_library=$(usex static both shared)
-Dslp=disabled
-Dsystemddir=$(systemd_get_utildir)
$(meson_feature ssl security)
)

meson_src_configure
}

src_install() {
meson_src_install

keepdir /var/lib/${PN/open-}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST parted-3.4.tar.xz 1860300 BLAKE2B c724d3d1490c62d440b9e5dc359fef7ff623bc77ae5f867d8905245cb279ec391fa07a1a774488ad3bf7a2c477007264d7bab2635a544be8f94dc706a654a711 SHA512 e69bd1b610778e980d4595d04892f2ea1faf4ae9bfc98cd62abfc70066423f08ddaa396f9461c7beb1330d023232274606b6b26091a0458aeedd0f3f57536690
DIST parted-3.4.tar.xz.sig 508 BLAKE2B 112ad0158b1100bd9150a7c87e8f93e67d42870b82a17d4d0aa8bb5e46306f837f3f99feabaf301f8cd640c299174e5f5acf152dd1f20ea2b7ace73d57d31f14 SHA512 6b11812267e66470ba2908ee1cc78b232b0bc2519787f5a17b92cd5f8ba904b1a836833f19c5244b23d4c7810437eeb26fbbd68fac819391b342709682345472
DIST parted-3.6.tar.xz 1896164 BLAKE2B 99b6d096e4db05144c98e9f0a9a97c647aa911ee5df031244b03d5223f709d43d9302cef12dd4b2f97f42ec476510561b7f8b3b1ef7cb09d0a7c4d512e7a6739 SHA512 034a44b25718acba175212019d24f092972a791c5bd1d921ae91e17478657a77c5c5dd0c832bed7968c3a07ec6c65c0785acfac2f90c1ca5e1692f3c141693ef
DIST parted-3.6.tar.xz.sig 508 BLAKE2B 92fbf624cfeb474e36d43954ecf6c42cf86557b99c7cd477c648bdeefb3ca2b40c51c320b20ea91075276d9ccc1da4219cd843b2916157c564c92a34a35ec55f SHA512 7c845026937b29fb49085ef9e3354226b73a1c3b5f9082d440d9a8ac13d76b1d07dae0bc10d8c974d4e57bc582f38c0a908e80718dd1ff1adfad3b04699c672c
Loading