From c719fdcee603a5a706a45d10cb598762d56a727d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Sep 2021 20:21:45 +0100 Subject: gentoo resync : 25.09.2021 --- sys-apps/Manifest.gz | Bin 48477 -> 48496 bytes sys-apps/attr/Manifest | 4 +- sys-apps/attr/attr-2.5.1.ebuild | 2 +- sys-apps/attr/attr-9999.ebuild | 2 +- sys-apps/baselayout/Manifest | 2 +- sys-apps/baselayout/baselayout-9999.ebuild | 11 +- sys-apps/busybox/Manifest | 4 +- sys-apps/busybox/busybox-1.34.0-r1.ebuild | 352 +++++++++++++++++++++ sys-apps/busybox/busybox-1.34.0.ebuild | 352 --------------------- sys-apps/busybox/busybox-9999.ebuild | 2 +- sys-apps/coreutils/Manifest | 2 + sys-apps/coreutils/coreutils-9.0.ebuild | 220 +++++++++++++ sys-apps/dbus/Manifest | 2 +- sys-apps/dbus/dbus-1.12.20-r3.ebuild | 1 + sys-apps/diffutils/Manifest | 2 +- sys-apps/diffutils/diffutils-3.8.ebuild | 2 +- sys-apps/ethtool/Manifest | 2 +- sys-apps/ethtool/ethtool-5.10.ebuild | 2 +- sys-apps/flatpak/Manifest | 4 + sys-apps/flatpak/flatpak-1.10.3.ebuild | 101 ++++++ sys-apps/flatpak/flatpak-1.11.3.ebuild | 101 ++++++ sys-apps/gentoo-systemd-integration/Manifest | 6 +- .../gentoo-systemd-integration-8.ebuild | 10 + .../gentoo-systemd-integration-9.ebuild | 12 +- .../gentoo-systemd-integration-9999.ebuild | 12 +- sys-apps/gradm/Manifest | 2 +- sys-apps/gradm/metadata.xml | 6 +- sys-apps/grep/Manifest | 2 +- sys-apps/grep/grep-3.7.ebuild | 2 +- sys-apps/hdparm/Manifest | 2 +- sys-apps/hdparm/hdparm-9.62.ebuild | 2 +- sys-apps/hwids/Manifest | 2 +- sys-apps/hwids/hwids-20210613-r1.ebuild | 2 +- sys-apps/hwinfo/Manifest | 4 +- sys-apps/hwinfo/hwinfo-21.74.ebuild | 2 +- sys-apps/hwinfo/hwinfo-21.76.ebuild | 4 +- sys-apps/logwatch/Manifest | 2 +- sys-apps/logwatch/logwatch-7.5.6.ebuild | 2 +- sys-apps/memtest86-bin/Manifest | 2 +- sys-apps/memtest86-bin/memtest86-bin-9.2.ebuild | 8 + sys-apps/minijail/Manifest | 4 +- sys-apps/minijail/minijail-17.ebuild | 77 +++++ sys-apps/minijail/minijail-9.ebuild | 72 ----- sys-apps/moreutils/Manifest | 2 + sys-apps/moreutils/moreutils-0.66.ebuild | 73 +++++ sys-apps/openrc/Manifest | 4 +- sys-apps/openrc/openrc-0.44.4.ebuild | 164 ---------- sys-apps/openrc/openrc-0.44.5.ebuild | 164 ++++++++++ sys-apps/pciutils/Manifest | 2 +- sys-apps/pciutils/pciutils-3.7.0-r1.ebuild | 2 +- sys-apps/pkgcore/Manifest | 2 +- sys-apps/pkgcore/pkgcore-0.12.7.ebuild | 2 +- sys-apps/portage/Manifest | 4 +- sys-apps/portage/portage-3.0.18.ebuild | 2 +- sys-apps/portage/portage-3.0.19.ebuild | 2 +- sys-apps/rng-tools/Manifest | 2 +- sys-apps/rng-tools/rng-tools-6.14-r1.ebuild | 2 +- sys-apps/sdparm/Manifest | 2 +- sys-apps/sdparm/sdparm-1.12.ebuild | 2 +- sys-apps/selinux-python/Manifest | 3 +- .../selinux-python-3.2-optional-networkx.patch | 271 ++++++++++++++++ .../selinux-python/selinux-python-3.2-r1.ebuild | 115 +++++++ sys-apps/selinux-python/selinux-python-3.2.ebuild | 111 ------- sys-apps/sg3_utils/Manifest | 2 +- sys-apps/sg3_utils/sg3_utils-1.46-r1.ebuild | 2 +- sys-apps/shadow/Manifest | 2 +- sys-apps/shadow/shadow-4.9-r2.ebuild | 2 +- sys-apps/systemd-tmpfiles/Manifest | 2 +- .../systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild | 2 +- sys-apps/systemd/Manifest | 4 +- sys-apps/systemd/systemd-249.4-r4.ebuild | 2 +- sys-apps/systemd/systemd-9999.ebuild | 2 +- sys-apps/sysvinit/Manifest | 2 + sys-apps/sysvinit/sysvinit-3.00.ebuild | 144 +++++++++ sys-apps/texinfo/Manifest | 2 +- sys-apps/texinfo/texinfo-6.8.ebuild | 2 +- sys-apps/tuned/Manifest | 2 + sys-apps/tuned/tuned-2.16.0.ebuild | 63 ++++ sys-apps/usbutils/Manifest | 4 +- sys-apps/usbutils/usbutils-013-r1.ebuild | 2 +- sys-apps/usbutils/usbutils-014.ebuild | 2 +- sys-apps/util-linux/Manifest | 2 +- sys-apps/util-linux/util-linux-2.37.2-r1.ebuild | 2 +- sys-apps/xdg-desktop-portal/Manifest | 2 + .../xdg-desktop-portal-1.10.1.ebuild | 42 +++ 85 files changed, 1847 insertions(+), 782 deletions(-) create mode 100644 sys-apps/busybox/busybox-1.34.0-r1.ebuild delete mode 100644 sys-apps/busybox/busybox-1.34.0.ebuild create mode 100644 sys-apps/coreutils/coreutils-9.0.ebuild create mode 100644 sys-apps/flatpak/flatpak-1.10.3.ebuild create mode 100644 sys-apps/flatpak/flatpak-1.11.3.ebuild create mode 100644 sys-apps/minijail/minijail-17.ebuild delete mode 100644 sys-apps/minijail/minijail-9.ebuild create mode 100644 sys-apps/moreutils/moreutils-0.66.ebuild delete mode 100644 sys-apps/openrc/openrc-0.44.4.ebuild create mode 100644 sys-apps/openrc/openrc-0.44.5.ebuild create mode 100644 sys-apps/selinux-python/files/selinux-python-3.2-optional-networkx.patch create mode 100644 sys-apps/selinux-python/selinux-python-3.2-r1.ebuild delete mode 100644 sys-apps/selinux-python/selinux-python-3.2.ebuild create mode 100644 sys-apps/sysvinit/sysvinit-3.00.ebuild create mode 100644 sys-apps/tuned/tuned-2.16.0.ebuild create mode 100644 sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.10.1.ebuild (limited to 'sys-apps') diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz index 27edde702b23..89084a1e95f8 100644 Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest index 606433c981af..c967f58fef32 100644 --- a/sys-apps/attr/Manifest +++ b/sys-apps/attr/Manifest @@ -1,5 +1,5 @@ AUX xattr-shim.h 253 BLAKE2B 2e9a549f208b7eab0871daeebafd1ef9924102e60f68353a04f3c26cda5df6c7bedf592df5c3d6f3163a6c7b7c9785c69111fe2e7f3d061bf64dcdcdf92e183a SHA512 cd8af81c90da01d2f7716d2fd5f9f6a81cfc36aa35b4d03cb04651cac0494def88a81bf8b862a3aeabf45e940ab1488aa49c97001ec09e0df289a7c4552802f8 DIST attr-2.5.1.tar.gz 465714 BLAKE2B 05928f8274b0b4beee31b329c8459436c5b9019ebd2f937667b7beb8df7a455c48742a90d9c4faca5c0b38c9c3812043d3d66f9587108d3424c6184fef494b56 SHA512 8b4c043d61f8f3e0cd098e701181069f51117b85fd6ba18bfe9af77d894ea671232377d4793ffc822e9259ceee6ac71d75732eb93b2830c6cb5d0d918ba2d21b -EBUILD attr-2.5.1.ebuild 2468 BLAKE2B 288f532b6b14be26f9bb2a0c0dd2076c0894fd50a424a11744aa142934bb2246c614a38a29c1bcded98b52fb7cf107eb3889181cd7a2e71fef23f57fe8e5098b SHA512 0c3d996b35bdb7ca12c29c14002ff9cc3b3c2dfdef46b1198b2fd212e4fe065da7a22086c5caef790ea0d866e9fae7dce66478ae372ec19462ba2639061637b1 -EBUILD attr-9999.ebuild 2476 BLAKE2B e5531eae4407b8ea7aa21a00a8eac0c63fb2f2f3745030b8acc20780c896660c67e470ff562940f55f6074b641b812be9aa455c0c6e6a7b4353fb82bc3ff044d SHA512 9fadedfc67e6f03d1ebcbb0b8bbf64a47cfcea0f8a1d4e7c3e42c1ad4de2bccf2309775eff8d473892867339da0afea98d88d009a31ece6ce809c8b3a29a82de +EBUILD attr-2.5.1.ebuild 2465 BLAKE2B 27d47d5398fec70e74c119678080d8b5c9e94cf1dadc4838441bda1ab5b0026df97514718fa487926c9a030ecfe2d2b9566c21cbfb6c68e522024ccb39a934c3 SHA512 70a39e833f3454c130d8a687e90b89bb0826cb1121d361aaf6fd4b4f7e9ef3182af69d8393eb1e4f4351c77ba5b68ba1271ac1ab84f3a3d2514e462c1887c452 +EBUILD attr-9999.ebuild 2473 BLAKE2B d17b6f61f4f04ca41574c84a13880f6ecab28eda8d1134a81058031b2c00a3459ac72b6446341c5aa3dd240787de64707a80689707fd48805453b135fb581365 SHA512 85a5ed5575c0cd46c47c37aaac94af0c3b4a6fa37d7306a53ad688d67b0a7b6b0ab26b5b25607ce82d457d7cfe6467c4cfd151532f722a8dbba2954d7dbfa49f MISC metadata.xml 337 BLAKE2B c04cc7c99b3d9d39870605354acd4f0a4b03d47e79228f444e915ce17abd2eb075418919dc3272903fdd524f56588ef194d7cdbd43f2b040c4f6a9d5fa2eebee SHA512 e9ba5573c84dd1b2cdce5b74e53b731c1ba4b3e72bca569f3febc77e431b96982cd83a71720e021ba23e8d6fd23f9dbea43a6c8d94b2b6ce1b3d26fda038d6de diff --git a/sys-apps/attr/attr-2.5.1.ebuild b/sys-apps/attr/attr-2.5.1.ebuild index c7b952aa2a8f..03afe6d30c16 100644 --- a/sys-apps/attr/attr-2.5.1.ebuild +++ b/sys-apps/attr/attr-2.5.1.ebuild @@ -39,7 +39,7 @@ src_configure() { # Remove -flto* from flags as this breaks binaries (bug #644048) filter-flags -flto* append-ldflags "-Wl,--no-gc-sections" #700116 - tc-ld-disable-gold #644048 + tc-ld-force-bfd #644048 append-lfs-flags #760857 multilib-minimal_src_configure } diff --git a/sys-apps/attr/attr-9999.ebuild b/sys-apps/attr/attr-9999.ebuild index ba5fdd791fcf..6b4cccd9af31 100644 --- a/sys-apps/attr/attr-9999.ebuild +++ b/sys-apps/attr/attr-9999.ebuild @@ -39,7 +39,7 @@ src_configure() { # Remove -flto* from flags as this breaks binaries (bug #644048) filter-flags -flto* append-ldflags "-Wl,--no-gc-sections" #700116 - tc-ld-disable-gold #644048 + tc-ld-force-bfd #644048 append-lfs-flags #760857 multilib-minimal_src_configure } diff --git a/sys-apps/baselayout/Manifest b/sys-apps/baselayout/Manifest index 1e3e17dcf5f0..345262162b8a 100644 --- a/sys-apps/baselayout/Manifest +++ b/sys-apps/baselayout/Manifest @@ -3,5 +3,5 @@ EBUILD baselayout-2.7-r1.ebuild 10197 BLAKE2B 5e5f767f37bdf286cd77d21512a855e1e2 EBUILD baselayout-2.7-r2.ebuild 10184 BLAKE2B febfaf2d2a646358c20e12039cd3b224a2fbcf5c12b566e8b33927fa5549b3f0d5b76392bf36cdefe7b14f84bf89b5caff5004ce54b862d238d5928d69526e87 SHA512 a5a45b479dfeac5212291d3d8053c822d06a45d8f82d24f8937b15bd3bf5fd6953ec3520121df243cea2cea52ea8d56894d27b03a272c85ca21ff52190551d8b EBUILD baselayout-2.7-r3.ebuild 11291 BLAKE2B f2794d10f18c74e358ce1e6fc1a9c3e29b7ab7b0cb0d656a53f990781707b29b9e173b96044c9c9e9c8d35b7b020624ad8e9d1bec1cd6b72f287e8c8759dc1cb SHA512 3eaec1f7a1bfd85dd26ad62b3756a7460e890cc893c6967aded70d85df722865664235924c6cbdb7d9be3572e94d059cf1df6a2b240a1e9923b3533ac68906eb EBUILD baselayout-2.7.ebuild 10024 BLAKE2B 490416f9367b1236ac8879b273acc2920f77f1fb23edba5bc825358270f434e0facb8f2794baebce5841b2be2ee3a4da5fffa026585555902e582ff36ab37bd3 SHA512 6a629e68f58d23f8d9653bccca3ad6d52610bd87ab73c5d6b12c9b6e9762f34f2deb452d689c99ea4d66f1c4dbe88e13991f1b2ea900720fd8c8d92067aaca71 -EBUILD baselayout-9999.ebuild 11291 BLAKE2B f2794d10f18c74e358ce1e6fc1a9c3e29b7ab7b0cb0d656a53f990781707b29b9e173b96044c9c9e9c8d35b7b020624ad8e9d1bec1cd6b72f287e8c8759dc1cb SHA512 3eaec1f7a1bfd85dd26ad62b3756a7460e890cc893c6967aded70d85df722865664235924c6cbdb7d9be3572e94d059cf1df6a2b240a1e9923b3533ac68906eb +EBUILD baselayout-9999.ebuild 10942 BLAKE2B 74c1d6bf2c6d3eb516fc0fad25dc9b8262a132dba25d02ec7df43a977586d1c118b3e5f0e1c97fdf5f8d11424ce76984e8bcdcff270af834456c3d6147205520 SHA512 589915bc9fe7b7a93e393b0f1ac5a978436c6c56b2415373f198992bc87f4d3d78faf4a2b3fd857a78be2fdf54b0d11e020e38bbbb6d125f7d11bd0a52a6d72a MISC metadata.xml 383 BLAKE2B 58d0d7a9d2b0e355ca13061b798db482b1894cb805e4c7f70d9b64f301f34aa784ec56783cb670e3c35a69ad383feb3c29d0b8f8164e5e05e24908127759a4aa SHA512 49775deed8635ddd8492a86887c85043e2a16ec46508c08c9eb669eee0aa29db1974c20a338fa09703bfc73fbff29c56d043b2749c0e7046347eb8186da59193 diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild index c83d1da82dc4..84c0a536ea3c 100644 --- a/sys-apps/baselayout/baselayout-9999.ebuild +++ b/sys-apps/baselayout/baselayout-9999.ebuild @@ -215,8 +215,7 @@ src_prepare() { if use prefix; then hprefixify -e "/EUID/s,0,${EUID}," -q '"' etc/profile hprefixify etc/{env.d/50baselayout,shells} share.Linux/passwd - echo PATH=/usr/bin:/bin >> etc/env.d/99host - echo ROOTPATH=/usr/sbin:/sbin:/usr/bin:/bin >> etc/env.d/99host + echo PATH=/usr/sbin:/sbin:/usr/bin:/bin >> etc/env.d/99host fi # don't want symlinked directories in PATH on systems with usr-merge @@ -242,9 +241,6 @@ src_prepare() { ldpaths+=":${EPREFIX}/usr/local/${libdir}" done echo "LDPATH='${ldpaths#:}'" >> etc/env.d/50baselayout - - # rc-scripts version for testing of features that *should* be present - echo "Gentoo Base System release ${PV}" > etc/gentoo-release } src_install() { @@ -258,11 +254,6 @@ src_install() { # need the makefile in pkg_preinst insinto /usr/share/${PN} doins Makefile - - # This is needed for https://bugs.gentoo.org/732142 - dodir /usr/lib - mv "${ED}"/etc/os-release "${ED}"/usr/lib || die - dosym ../usr/lib/os-release /etc/os-release } pkg_postinst() { diff --git a/sys-apps/busybox/Manifest b/sys-apps/busybox/Manifest index 9bc240882258..920908f38d54 100644 --- a/sys-apps/busybox/Manifest +++ b/sys-apps/busybox/Manifest @@ -19,6 +19,6 @@ DIST busybox-1.34.0.tar.bz2 2476120 BLAKE2B ea8b06c08ce0abf0fc2742a3231417d169aa EBUILD busybox-1.32.1-r1.ebuild 9640 BLAKE2B 1bf881647d58a197e690e068b81aa2522fdbecf69784862b1842d54ea1caedff7fa4d6bec8b69388bd8fbddfdd76d48d36b07b7147ebf7f5368df3219efb135e SHA512 c163d435a5bac776c519a539f1760134973314434e75c84dd9f427ea0a7c5fd9c41216db61444c97931b86a6cb6ae17fdc1f0d1c5f36118fc5006c89a3599b7d EBUILD busybox-1.33.1-r2.ebuild 10005 BLAKE2B bf17f1295130d647c44763e379034ec4adbbdba2af58f058d0e9f451b9acc0a95b309e2cb93ea18387a68df039c5e41c32c3ea59ed035fc64fb0ced5918e9b9d SHA512 163b156852b7afdacbd96f7f38967e746c64056d11c31a0139cb62263839d2302cd3dd21665fc11afb74916c8a079756e44900d6f0d24487232dfa9e2d7590d3 EBUILD busybox-1.33.1.ebuild 9648 BLAKE2B 59715aafaca840cdac5b941fb5ad66619510b5cffc2fd252c2b1c8068638449c6ea7bff34f7262e64728b39c663185483db6ee74cedea07c669f6a4528ec4741 SHA512 c1b22a7535b4441ed47e53cac5a27dda04a6b58bdc8eaa96de558ae88cb4e2d10d720473284e569d3a93a53f14214566401bf7766c4fa5fe2a4d46a3a3803406 -EBUILD busybox-1.34.0.ebuild 10064 BLAKE2B 1e6993193f0f2ef6676bed65c61b3f37ac2ef7dc77687bbc0622eb654b53b23603a1b3dccb08d6f2cc3ec292050819601b3ea86e73b0cd525eeec1b3bf61374c SHA512 a213c11aa37edd0ae41baf1ed984ab25adb75b0dba3be4a27d7ee58f29b8dc3cb4a698ff02bfe1b2c3e02aeebe78823af41f3eb53a5e5de63d280af8c53cfbff -EBUILD busybox-9999.ebuild 10005 BLAKE2B bf17f1295130d647c44763e379034ec4adbbdba2af58f058d0e9f451b9acc0a95b309e2cb93ea18387a68df039c5e41c32c3ea59ed035fc64fb0ced5918e9b9d SHA512 163b156852b7afdacbd96f7f38967e746c64056d11c31a0139cb62263839d2302cd3dd21665fc11afb74916c8a079756e44900d6f0d24487232dfa9e2d7590d3 +EBUILD busybox-1.34.0-r1.ebuild 10066 BLAKE2B 0ce22356fe9f89eb981f8ca5cbebeb0788d01e8cda35d16b095a73289af51a6c8b9a0044c3c1cb634cbc1b81675daf0123fae11335e0c3295d9ae7f4e60be2d6 SHA512 bae923303ad1e40817714d59559033d1003822e7c40caa7b1396bf6958fe176422229f9cc97f0b03b8c30ff706048cda983471294045e38654763cf96960bb8a +EBUILD busybox-9999.ebuild 10007 BLAKE2B 6f5cb54181c37e4806a7e2d9ece07e58e40e80e253274f7cfb09ea1a4fa30f73ac9e0e0cdd74929366720eda0defb84ca1b874fc7669156634bfc28e67bac4ca SHA512 cf235b3a29336f5fe97bbeb3afe9e441ae6b1199b2ad369dd550007ceda6298afc71cf5a1fcfba1d4eace6e44a8161b83cd2d00869dbdd581d2da351f99cb153 MISC metadata.xml 873 BLAKE2B d9c3725e1c3587d497894761d9eda08b670522d5c1a5518ea879cb5c9f222519005d28a36d6dea0b34d4bf4a2352e54aa151177f98ac730ce5b83e87ae4d35a2 SHA512 4c74f718046b41fbcf0111c797d6cdfa1f647914bfa5ff9aaedd6844ba1367722f225ed8ac17717d7b44c5ddc3b450e130da46cc0f6e21501b66cfd267a8f9ad diff --git a/sys-apps/busybox/busybox-1.34.0-r1.ebuild b/sys-apps/busybox/busybox-1.34.0-r1.ebuild new file mode 100644 index 000000000000..731b645a8e40 --- /dev/null +++ b/sys-apps/busybox/busybox-1.34.0-r1.ebuild @@ -0,0 +1,352 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# See `man savedconfig.eclass` for info on how to use USE=savedconfig. + +EAPI=7 + +inherit flag-o-matic savedconfig toolchain-funcs + +DESCRIPTION="Utilities for rescue and embedded systems" +HOMEPAGE="https://www.busybox.net/" +if [[ ${PV} == "9999" ]] ; then + MY_P=${P} + EGIT_REPO_URI="https://git.busybox.net/busybox" + inherit git-r3 +else + MY_P=${PN}-${PV/_/-} + SRC_URI="https://www.busybox.net/downloads/${MY_P}.tar.bz2" + # Unkeyworded for now for testing as 'unstable' upstream + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-2" # GPL-2 only +SLOT="0" +IUSE="debug ipv6 livecd make-symlinks math mdev pam selinux sep-usr static syslog systemd" +REQUIRED_USE="pam? ( !static )" +RESTRICT="test" + +# TODO: Could make pkgconfig conditional on selinux? bug #782829 +COMMON_DEPEND="!static? ( selinux? ( sys-libs/libselinux ) ) + pam? ( sys-libs/pam ) + virtual/libcrypt:=" +DEPEND="${COMMON_DEPEND} + static? ( + virtual/libcrypt[static-libs] + selinux? ( sys-libs/libselinux[static-libs(+)] ) + ) + >=sys-kernel/linux-headers-2.6.39" +BDEPEND="virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + mdev? ( !::g' \ + Makefile.flags || die + #sed -i '/bbsh/s:^//::' include/applets.h + sed -i '/^#error Aborting compilation./d' applets/applets.c || die + use elibc_glibc && sed -i 's:-Wl,--gc-sections::' Makefile + sed -i \ + -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \ + -e "/^AR\>/s:=.*:= $(tc-getAR):" \ + -e "/^CC\>/s:=.*:= $(tc-getCC):" \ + -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ + -e "/^PKG_CONFIG\>/s:=.*:= $(tc-getPKG_CONFIG):" \ + Makefile || die + sed -i \ + -e 's:-static-libgcc::' \ + Makefile.flags || die +} + +src_configure() { + # check for a busybox config before making one of our own. + # if one exist lets return and use it. + + restore_config .config + if [ -f .config ]; then + yes "" | emake -j1 -s oldconfig >/dev/null + return 0 + else + ewarn "Could not locate user configfile, so we will save a default one" + fi + + # setup the config file + emake -j1 -s allyesconfig >/dev/null + # nommu forces a bunch of things off which we want on #387555 + busybox_config_option n NOMMU + sed -i '/^#/d' .config + yes "" | emake -j1 -s oldconfig >/dev/null + + # now turn off stuff we really don't want + busybox_config_option n DMALLOC + busybox_config_option n FEATURE_2_4_MODULES #607548 + busybox_config_option n FEATURE_SUID_CONFIG + busybox_config_option n BUILD_AT_ONCE + busybox_config_option n BUILD_LIBBUSYBOX + busybox_config_option n FEATURE_CLEAN_UP + busybox_config_option n MONOTONIC_SYSCALL + busybox_config_option n USE_PORTABLE_CODE + busybox_config_option n WERROR + # triming the BSS size may be dangerous + busybox_config_option n FEATURE_USE_BSS_TAIL + + # These cause trouble with musl. + if use elibc_musl; then + busybox_config_option n FEATURE_UTMP + busybox_config_option n EXTRA_COMPAT + busybox_config_option n FEATURE_VI_REGEX_SEARCH + fi + + # Disable standalone shell mode when using make-symlinks, else Busybox calls its + # applets by default without looking up in PATH. + # This also enables users to disable a builtin by deleting the corresponding symlink. + if use make-symlinks; then + busybox_config_option n FEATURE_PREFER_APPLETS + busybox_config_option n FEATURE_SH_STANDALONE + fi + + # If these are not set and we are using a uclibc/busybox setup + # all calls to system() will fail. + busybox_config_option y ASH + busybox_config_option y SH_IS_ASH + busybox_config_option n HUSH + busybox_config_option n SH_IS_HUSH + + busybox_config_option '"/run"' PID_FILE_PATH + busybox_config_option '"/run/ifstate"' IFUPDOWN_IFSTATE_PATH + + # disable ipv6 applets + if ! use ipv6; then + busybox_config_option n FEATURE_IPV6 + busybox_config_option n TRACEROUTE6 + busybox_config_option n PING6 + busybox_config_option n UDHCPC6 + fi + + busybox_config_option pam PAM + busybox_config_option static STATIC + busybox_config_option syslog {K,SYS}LOGD LOGGER + busybox_config_option systemd FEATURE_SYSTEMD + busybox_config_option math FEATURE_AWK_LIBM + + # disable features that uClibc doesn't (yet?) provide. + if use elibc_uclibc; then + busybox_config_option n FEATURE_SYNC_FANCY #567598 + busybox_config_option n NSENTER + fi + + # all the debug options are compiler related, so punt them + busybox_config_option n DEBUG_SANITIZE + busybox_config_option n DEBUG + busybox_config_option y NO_DEBUG_LIB + busybox_config_option n DMALLOC + busybox_config_option n EFENCE + busybox_config_option $(usex debug y n) TFTP_DEBUG + + busybox_config_option selinux SELINUX + + # this opt only controls mounting with /dev/null +} + +src_compile() { + unset KBUILD_OUTPUT #88088 + export SKIP_STRIP=y + + emake V=1 busybox + + # bug #701512 + emake V=1 doc +} + +src_install() { + unset KBUILD_OUTPUT #88088 + save_config .config + + into / + dodir /bin + if use sep-usr ; then + # install /ginit to take care of mounting stuff + exeinto / + newexe busybox_unstripped ginit + dosym /ginit /bin/bb + dosym bb /bin/busybox + else + newbin busybox_unstripped busybox + dosym busybox /bin/bb + fi + if use mdev ; then + dodir /$(get_libdir)/mdev/ + use make-symlinks || dosym /bin/bb /sbin/mdev + cp "${S}"/examples/mdev_fat.conf "${ED}"/etc/mdev.conf + + exeinto /$(get_libdir)/mdev/ + doexe "${FILESDIR}"/mdev/* + + newinitd "${FILESDIR}"/mdev.initd mdev + fi + if use livecd ; then + dosym busybox /bin/vi + fi + + # add busybox daemon's, bug #444718 + if busybox_config_enabled FEATURE_NTPD_SERVER; then + newconfd "${FILESDIR}/ntpd.confd" "busybox-ntpd" + newinitd "${FILESDIR}/ntpd.initd" "busybox-ntpd" + fi + if busybox_config_enabled SYSLOGD; then + newconfd "${FILESDIR}/syslogd.confd" "busybox-syslogd" + newinitd "${FILESDIR}/syslogd.initd" "busybox-syslogd" + fi + if busybox_config_enabled KLOGD; then + newconfd "${FILESDIR}/klogd.confd" "busybox-klogd" + newinitd "${FILESDIR}/klogd.initd" "busybox-klogd" + fi + if busybox_config_enabled WATCHDOG; then + newconfd "${FILESDIR}/watchdog.confd" "busybox-watchdog" + newinitd "${FILESDIR}/watchdog.initd" "busybox-watchdog" + fi + if busybox_config_enabled UDHCPC; then + local path=$(busybox_config_enabled UDHCPC_DEFAULT_SCRIPT) + exeinto "${path%/*}" + newexe examples/udhcp/simple.script "${path##*/}" + fi + if busybox_config_enabled UDHCPD; then + insinto /etc + doins examples/udhcp/udhcpd.conf + fi + + # bundle up the symlink files for use later + emake DESTDIR="${ED}" install + rm _install/bin/busybox + # for compatibility, provide /usr/bin/env + mkdir -p _install/usr/bin + ln -s /bin/env _install/usr/bin/env + tar cf busybox-links.tar -C _install . || : #;die + insinto /usr/share/${PN} + use make-symlinks && doins busybox-links.tar + + dodoc AUTHORS README TODO + + cd docs || die + doman busybox.1 + docinto txt + dodoc *.txt + docinto pod + dodoc *.pod + docinto html + dodoc *.html + + cd ../examples || die + docinto examples + dodoc inittab depmod.pl *.conf *.script undeb unrpm +} + +pkg_preinst() { + if use make-symlinks && [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == "yes" ]] && [[ -z "${ROOT}" ]] ; then + ewarn "setting USE=make-symlinks and emerging to / is very dangerous." + ewarn "it WILL overwrite lots of system programs like: ls bash awk grep (bug 60805 for full list)." + ewarn "If you are creating a binary only and not merging this is probably ok." + ewarn "set env VERY_BRAVE_OR_VERY_DUMB=yes if this is really what you want." + die "silly options will destroy your system" + fi + + if use make-symlinks ; then + mv "${ED}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die + fi +} + +pkg_postinst() { + savedconfig_pkg_postinst + + if use make-symlinks ; then + cd "${T}" || die + mkdir _install + tar xf busybox-links.tar -C _install || die + echo n | cp -ivpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed" + fi + + if use sep-usr ; then + elog "In order to use the sep-usr support, you have to update your" + elog "kernel command line. Add the option:" + elog " init=/ginit" + elog "To launch a different init than /sbin/init, use:" + elog " init=/ginit /sbin/yourinit" + elog "To get a rescue shell, you may boot with:" + elog " init=/ginit bb" + fi +} diff --git a/sys-apps/busybox/busybox-1.34.0.ebuild b/sys-apps/busybox/busybox-1.34.0.ebuild deleted file mode 100644 index 7b556bbba975..000000000000 --- a/sys-apps/busybox/busybox-1.34.0.ebuild +++ /dev/null @@ -1,352 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# See `man savedconfig.eclass` for info on how to use USE=savedconfig. - -EAPI=7 - -inherit flag-o-matic savedconfig toolchain-funcs - -DESCRIPTION="Utilities for rescue and embedded systems" -HOMEPAGE="https://www.busybox.net/" -if [[ ${PV} == "9999" ]] ; then - MY_P=${P} - EGIT_REPO_URI="https://git.busybox.net/busybox" - inherit git-r3 -else - MY_P=${PN}-${PV/_/-} - SRC_URI="https://www.busybox.net/downloads/${MY_P}.tar.bz2" - # Unkeyworded for now for testing as 'unstable' upstream - #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="GPL-2" # GPL-2 only -SLOT="0" -IUSE="debug ipv6 livecd make-symlinks math mdev pam selinux sep-usr static syslog systemd" -REQUIRED_USE="pam? ( !static )" -RESTRICT="test" - -# TODO: Could make pkgconfig conditional on selinux? bug #782829 -COMMON_DEPEND="!static? ( selinux? ( sys-libs/libselinux ) ) - pam? ( sys-libs/pam ) - virtual/libcrypt:=" -DEPEND="${COMMON_DEPEND} - static? ( - virtual/libcrypt[static-libs] - selinux? ( sys-libs/libselinux[static-libs(+)] ) - ) - >=sys-kernel/linux-headers-2.6.39" -BDEPEND="virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - mdev? ( !::g' \ - Makefile.flags || die - #sed -i '/bbsh/s:^//::' include/applets.h - sed -i '/^#error Aborting compilation./d' applets/applets.c || die - use elibc_glibc && sed -i 's:-Wl,--gc-sections::' Makefile - sed -i \ - -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \ - -e "/^AR\>/s:=.*:= $(tc-getAR):" \ - -e "/^CC\>/s:=.*:= $(tc-getCC):" \ - -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ - -e "/^PKG_CONFIG\>/s:=.*:= $(tc-getPKG_CONFIG):" \ - Makefile || die - sed -i \ - -e 's:-static-libgcc::' \ - Makefile.flags || die -} - -src_configure() { - # check for a busybox config before making one of our own. - # if one exist lets return and use it. - - restore_config .config - if [ -f .config ]; then - yes "" | emake -j1 -s oldconfig >/dev/null - return 0 - else - ewarn "Could not locate user configfile, so we will save a default one" - fi - - # setup the config file - emake -j1 -s allyesconfig >/dev/null - # nommu forces a bunch of things off which we want on #387555 - busybox_config_option n NOMMU - sed -i '/^#/d' .config - yes "" | emake -j1 -s oldconfig >/dev/null - - # now turn off stuff we really don't want - busybox_config_option n DMALLOC - busybox_config_option n FEATURE_2_4_MODULES #607548 - busybox_config_option n FEATURE_SUID_CONFIG - busybox_config_option n BUILD_AT_ONCE - busybox_config_option n BUILD_LIBBUSYBOX - busybox_config_option n FEATURE_CLEAN_UP - busybox_config_option n MONOTONIC_SYSCALL - busybox_config_option n USE_PORTABLE_CODE - busybox_config_option n WERROR - # triming the BSS size may be dangerous - busybox_config_option n FEATURE_USE_BSS_TAIL - - # These cause trouble with musl. - if use elibc_musl; then - busybox_config_option n FEATURE_UTMP - busybox_config_option n EXTRA_COMPAT - busybox_config_option n FEATURE_VI_REGEX_SEARCH - fi - - # Disable standalone shell mode when using make-symlinks, else Busybox calls its - # applets by default without looking up in PATH. - # This also enables users to disable a builtin by deleting the corresponding symlink. - if use make-symlinks; then - busybox_config_option n FEATURE_PREFER_APPLETS - busybox_config_option n FEATURE_SH_STANDALONE - fi - - # If these are not set and we are using a uclibc/busybox setup - # all calls to system() will fail. - busybox_config_option y ASH - busybox_config_option y SH_IS_ASH - busybox_config_option n HUSH - busybox_config_option n SH_IS_HUSH - - busybox_config_option '"/run"' PID_FILE_PATH - busybox_config_option '"/run/ifstate"' IFUPDOWN_IFSTATE_PATH - - # disable ipv6 applets - if ! use ipv6; then - busybox_config_option n FEATURE_IPV6 - busybox_config_option n TRACEROUTE6 - busybox_config_option n PING6 - busybox_config_option n UDHCPC6 - fi - - busybox_config_option pam PAM - busybox_config_option static STATIC - busybox_config_option syslog {K,SYS}LOGD LOGGER - busybox_config_option systemd FEATURE_SYSTEMD - busybox_config_option math FEATURE_AWK_LIBM - - # disable features that uClibc doesn't (yet?) provide. - if use elibc_uclibc; then - busybox_config_option n FEATURE_SYNC_FANCY #567598 - busybox_config_option n NSENTER - fi - - # all the debug options are compiler related, so punt them - busybox_config_option n DEBUG_SANITIZE - busybox_config_option n DEBUG - busybox_config_option y NO_DEBUG_LIB - busybox_config_option n DMALLOC - busybox_config_option n EFENCE - busybox_config_option $(usex debug y n) TFTP_DEBUG - - busybox_config_option selinux SELINUX - - # this opt only controls mounting with /dev/null -} - -src_compile() { - unset KBUILD_OUTPUT #88088 - export SKIP_STRIP=y - - emake V=1 busybox - - # bug #701512 - emake V=1 doc -} - -src_install() { - unset KBUILD_OUTPUT #88088 - save_config .config - - into / - dodir /bin - if use sep-usr ; then - # install /ginit to take care of mounting stuff - exeinto / - newexe busybox_unstripped ginit - dosym /ginit /bin/bb - dosym bb /bin/busybox - else - newbin busybox_unstripped busybox - dosym busybox /bin/bb - fi - if use mdev ; then - dodir /$(get_libdir)/mdev/ - use make-symlinks || dosym /bin/bb /sbin/mdev - cp "${S}"/examples/mdev_fat.conf "${ED}"/etc/mdev.conf - - exeinto /$(get_libdir)/mdev/ - doexe "${FILESDIR}"/mdev/* - - newinitd "${FILESDIR}"/mdev.initd mdev - fi - if use livecd ; then - dosym busybox /bin/vi - fi - - # add busybox daemon's, bug #444718 - if busybox_config_enabled FEATURE_NTPD_SERVER; then - newconfd "${FILESDIR}/ntpd.confd" "busybox-ntpd" - newinitd "${FILESDIR}/ntpd.initd" "busybox-ntpd" - fi - if busybox_config_enabled SYSLOGD; then - newconfd "${FILESDIR}/syslogd.confd" "busybox-syslogd" - newinitd "${FILESDIR}/syslogd.initd" "busybox-syslogd" - fi - if busybox_config_enabled KLOGD; then - newconfd "${FILESDIR}/klogd.confd" "busybox-klogd" - newinitd "${FILESDIR}/klogd.initd" "busybox-klogd" - fi - if busybox_config_enabled WATCHDOG; then - newconfd "${FILESDIR}/watchdog.confd" "busybox-watchdog" - newinitd "${FILESDIR}/watchdog.initd" "busybox-watchdog" - fi - if busybox_config_enabled UDHCPC; then - local path=$(busybox_config_enabled UDHCPC_DEFAULT_SCRIPT) - exeinto "${path%/*}" - newexe examples/udhcp/simple.script "${path##*/}" - fi - if busybox_config_enabled UDHCPD; then - insinto /etc - doins examples/udhcp/udhcpd.conf - fi - - # bundle up the symlink files for use later - emake DESTDIR="${ED}" install - rm _install/bin/busybox - # for compatibility, provide /usr/bin/env - mkdir -p _install/usr/bin - ln -s /bin/env _install/usr/bin/env - tar cf busybox-links.tar -C _install . || : #;die - insinto /usr/share/${PN} - use make-symlinks && doins busybox-links.tar - - dodoc AUTHORS README TODO - - cd docs || die - doman busybox.1 - docinto txt - dodoc *.txt - docinto pod - dodoc *.pod - docinto html - dodoc *.html - - cd ../examples || die - docinto examples - dodoc inittab depmod.pl *.conf *.script undeb unrpm -} - -pkg_preinst() { - if use make-symlinks && [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == "yes" ]] && [[ -z "${ROOT}" ]] ; then - ewarn "setting USE=make-symlinks and emerging to / is very dangerous." - ewarn "it WILL overwrite lots of system programs like: ls bash awk grep (bug 60805 for full list)." - ewarn "If you are creating a binary only and not merging this is probably ok." - ewarn "set env VERY_BRAVE_OR_VERY_DUMB=yes if this is really what you want." - die "silly options will destroy your system" - fi - - if use make-symlinks ; then - mv "${ED}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die - fi -} - -pkg_postinst() { - savedconfig_pkg_postinst - - if use make-symlinks ; then - cd "${T}" || die - mkdir _install - tar xf busybox-links.tar -C _install || die - false | cp -vpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed" - fi - - if use sep-usr ; then - elog "In order to use the sep-usr support, you have to update your" - elog "kernel command line. Add the option:" - elog " init=/ginit" - elog "To launch a different init than /sbin/init, use:" - elog " init=/ginit /sbin/yourinit" - elog "To get a rescue shell, you may boot with:" - elog " init=/ginit bb" - fi -} diff --git a/sys-apps/busybox/busybox-9999.ebuild b/sys-apps/busybox/busybox-9999.ebuild index 8297592e5309..46cfa6711249 100644 --- a/sys-apps/busybox/busybox-9999.ebuild +++ b/sys-apps/busybox/busybox-9999.ebuild @@ -336,7 +336,7 @@ pkg_postinst() { cd "${T}" || die mkdir _install tar xf busybox-links.tar -C _install || die - false | cp -vpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed" + echo n | cp -ivpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed" fi if use sep-usr ; then diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index 7e227002f06f..8999b776e326 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -2,5 +2,7 @@ AUX coreutils-8.32-ls-restore-8.31-behavior.patch 2824 BLAKE2B 7df44f4e330225a42 AUX coreutils-8.32-sandbox-env-test.patch 1958 BLAKE2B 570f62115f0853abb35290174ad6dd3157be16a28c527b37d1c58b421538a6238e93317689e6cd35b7dc5a0f480a4322c432986697a9e0af60019650eae92c0a SHA512 fd3573cf5a4b4fbba132d0fac5ad6eb4af5aa548a8c0c747653e47acfb97c01e31d7430db543df47d9a2680792d2583de70e1f1d49b2feb75887e9f8638527b7 DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B a41511ce39ac570cb14b7f12d125eebef92217469a9490808719fa0665f5e5c0adb96fbd02c4bac4d280d1502295669575790a81dbc01afe2ca3a9d384cbefb0 SHA512 b1e1933637de4581d5f8c6ede4e80a012435d13f0cf5550a76ab5bbe9441e3c15ce19ef3f78a7ea3b8368d5e9a3bb17c1207c471d26171b59786f38adeba0454 DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515 SHA512 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145 +DIST coreutils-9.0.tar.xz 5612752 BLAKE2B 59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac SHA512 9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03 EBUILD coreutils-8.32-r1.ebuild 5952 BLAKE2B f36627a733cc12af6662232d75938deb476470daa22084be267487a38d0ae42d32ff79c17f42dda25f8d8a7d95fb5b5f8a487de0bec45f364249bd25bceeeec8 SHA512 ec173a036db1b88010acfa13b301370ac80c7da2f1e29ee4b9c8c36e64ed60d98c5c9c111d0f14d93bf3c34b517fe47a98b3c30d3ccf0e17dcedbeec17d93908 +EBUILD coreutils-9.0.ebuild 5904 BLAKE2B b4e36bdb7300dc1dd33e180543d239813980cfcede24e201ed7f4c57dfe4af15bc1da7b37c0000b655980e7163f266ffb7716f68735230a589b092b38cf83299 SHA512 85b98a9e7ccf84d97b4f6a3d9d4f8a649a1179e2bbc71a7e4374610ce1c08f09d19ef4100c056aaf8ac7907954d02ff1da2a653f64f3c67ae792c0b204e037b9 MISC metadata.xml 959 BLAKE2B 7db7eff5a6e1c45c37e20d66e299b44b7a8334b20f970eac2bb7dbf0f8e149784bb19f28c0baa228bdbfbfe0335793080a99aee7f92a9976864ae53a35fc0ac8 SHA512 c69fdd7a27b7980c6e537387a510cfab65d0b252492576ffae3caac930bd2efad29edb604f654c194cc0a485894c8fbd3a5dc63e44359c95fc62fd055066b595 diff --git a/sys-apps/coreutils/coreutils-9.0.ebuild b/sys-apps/coreutils/coreutils-9.0.ebuild new file mode 100644 index 000000000000..0f0aec04b0bd --- /dev/null +++ b/sys-apps/coreutils/coreutils-9.0.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit flag-o-matic python-any-r1 toolchain-funcs + +PATCH="${PN}-8.30-patches-01" +DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)" +HOMEPAGE="https://www.gnu.org/software/coreutils/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz + !vanilla? ( + mirror://gentoo/${PATCH}.tar.xz + https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz + )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test vanilla xattr" +RESTRICT="!test? ( test )" + +LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) + caps? ( sys-libs/libcap ) + gmp? ( dev-libs/gmp:=[static-libs] ) + xattr? ( sys-apps/attr[static-libs] )" +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} ) + selinux? ( sys-libs/libselinux ) + nls? ( virtual/libintl )" +DEPEND=" + ${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +BDEPEND=" + app-arch/xz-utils + test? ( + dev-lang/perl + dev-perl/Expect + dev-util/strace + ${PYTHON_DEPS} + ) +" +RDEPEND+=" + hostname? ( !sys-apps/net-tools[hostname] ) + kill? ( + !sys-apps/util-linux[kill] + !sys-process/procps[kill] + ) + !app-misc/realpath + ! "${ww}" + #!${EPREFIX}/bin/sh + exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P ${w}) "\$@" + EOF + chmod a+rx "${ww}" || die + done + } + mkwrap mount umount + + addwrite /dev/full + #export RUN_EXPENSIVE_TESTS="yes" + #export FETISH_GROUPS="portage wheel" + env PATH="${T}/mount-wrappers:${PATH}" \ + emake -j1 -k check +} + +src_install() { + default + + insinto /etc + newins src/dircolors.hin DIR_COLORS + + if use split-usr ; then + cd "${ED}"/usr/bin || die + dodir /bin + + # Move critical binaries into /bin (required by FHS) + local fhs="cat chgrp chmod chown cp date dd df echo false ln ls + mkdir mknod mv pwd rm rmdir stty sync true uname" + mv ${fhs} ../../bin/ || die "Could not move FHS bins!" + + if use hostname ; then + mv hostname ../../bin/ || die + fi + + if use kill ; then + mv kill ../../bin/ || die + fi + + # Move critical binaries into /bin (common scripts) + # (Why are these required for booting?) + local com="basename chroot cut dir dirname du env expr head mkfifo + mktemp readlink seq sleep sort tail touch tr tty vdir wc yes" + mv ${com} ../../bin/ || die "Could not move common bins!" + + # Create a symlink for uname in /usr/bin/ since autotools require it. + # (Other than uname, we need to figure out why we are + # creating symlinks for these in /usr/bin instead of leaving + # the files there in the first place...) + local x + for x in ${com} uname ; do + dosym ../../bin/${x} /usr/bin/${x} + done + fi +} + +pkg_postinst() { + ewarn "Make sure you run 'hash -r' in your active shells." + ewarn "You should also re-source your shell settings for LS_COLORS" + ewarn " changes, such as: source /etc/profile" +} diff --git a/sys-apps/dbus/Manifest b/sys-apps/dbus/Manifest index 0d2e854937ef..78f7da60ed57 100644 --- a/sys-apps/dbus/Manifest +++ b/sys-apps/dbus/Manifest @@ -3,5 +3,5 @@ AUX dbus-daemon-optional.patch 2701 BLAKE2B 28054bf147ffc29d893017dd9b8a6c9b3a03 AUX dbus-enable-elogind.patch 2801 BLAKE2B c9ef41ff7b31af6cbaf28ca16974fb62aa0f2492f1c6970b41216758768d1139d2ce9aabbb3aff952d625b0decd1e8c2b25f79bb0a13c146aa9453dd4f7b5c5a SHA512 84c5eacc9c305ce1fa9f7a50407b7e836a20c679273cef06004ff57665c27818d2c33e0cfa9ea91ae89c50da4f7b9a92077e607f0f17b9300892d16e881a7d9a AUX dbus.initd.in 841 BLAKE2B 7df68814224e066e6356ec30215cf76507c4c1d0b0fed7e97339cba680f7a6f4628b71ca5660f9bc2c0efde75b9a083c08b121d186fd7900b3dea0443a7c0760 SHA512 6bc5bf619369448a221e4eb7c5af421b7610d9488f0409cf1847539b94bc2554238a8e53a60432d7ef60f9b812a3efb0b2ae2ca2544b6ed77b845ec0f5ba1a21 DIST dbus-1.12.20.tar.gz 2095511 BLAKE2B b467526e7e0281db7b8c7c178469fe006dab29ccb1ea197c02495bd297e8de766230b68ed86c4a7e05dbe09ca30ce941a15e0bf8030fe0df66c04febf0534b3b SHA512 0964683bc6859374cc94e42e1ec0cdb542cca67971c205fcba4352500b6c0891665b0718e7d85eb060c81cb82e3346c313892bc02384da300ddd306c7eef0056 -EBUILD dbus-1.12.20-r3.ebuild 7511 BLAKE2B fb635cde5bff471c414893397f0cbca0b133db05ed5c3b695e9db6174d077c5026badd65504d25717d44e3c2e0e492f69122168390d225704f82a4880f005cd6 SHA512 5149a2da231f9729d1454f671cc3e11a40c3b6240ff4e3f0b0d75ad6df74defcebfe40acd2e398843386b9517459aeefbd6e3faad7863263f35abe1992480c19 +EBUILD dbus-1.12.20-r3.ebuild 7568 BLAKE2B 74ddb495c2782539877849500922f4114ef9310c4434c20460657e9d7fa0a497e93d867cce7bf2e4bb1323396854c4c9d5b22966f5d4c90d68e98c8a252699f0 SHA512 5f1efe03ee490aef500474f4efa3e0c5aef3615a6aa9c0fed0093c46892c9e05f46b7bfcbb6c61fe06c6edb651527c931a745e674ae2e85a91f72cc1238ff1ca MISC metadata.xml 596 BLAKE2B 6d21d91c952bb0fb0ac067a95e02555c2d7cf532c4327bae062ca902b5d4eb88d6be5e71715ed9f61c11db90e32888104d19b67c4be6258d41208b6157033331 SHA512 759367dfe6da3be576a5d6d641f64c93b799594d00fc304a94bb9a48b3bf3f02c6ad9285f21b83b4360f6c2c30b342644314af8089ae99157241c1e99abdfb34 diff --git a/sys-apps/dbus/dbus-1.12.20-r3.ebuild b/sys-apps/dbus/dbus-1.12.20-r3.ebuild index f175a20c1aeb..d108b73feed6 100644 --- a/sys-apps/dbus/dbus-1.12.20-r3.ebuild +++ b/sys-apps/dbus/dbus-1.12.20-r3.ebuild @@ -135,6 +135,7 @@ multilib_src_configure() { --with-system-pid-file="${EPREFIX}${rundir}"/dbus.pid --with-system-socket="${EPREFIX}${rundir}"/dbus/system_bus_socket --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --with-systemduserunitdir="$(systemd_get_userunitdir)" --with-dbus-user=messagebus $(use_with X x) ) diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest index e8b956d04131..73d6e4b142a4 100644 --- a/sys-apps/diffutils/Manifest +++ b/sys-apps/diffutils/Manifest @@ -1,5 +1,5 @@ DIST diffutils-3.7.tar.xz 1448828 BLAKE2B d9f115e0ec9b2499545a3bef4e469fb7786d4a95e0a1c8459c885c53e8b1dc797027979e42c53c2a7df4e1e224942bd9ce5214813977af2bcc67f0698ea0c647 SHA512 7b12cf8aea1b9844773748f72272d9c6a38adae9c3c3a8c62048f91fb56c60b76035fa5f51665dceaf2cfbf1d1f4a3efdcc24bf47a5a16ff4350543314b12c9c DIST diffutils-3.8.tar.xz 1585120 BLAKE2B 573abbfba55c62ba30d2084ca68860e9681cfe92648407f7fb04e1aaed2e4719e2fb5a29cf25bd125d762f4dfd52f85ee91f2ec19b099365bada7fe27a0394af SHA512 279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c EBUILD diffutils-3.7-r1.ebuild 1179 BLAKE2B aa0c831588bceba6c855b67d53b51fe853b94659c70f63e829540b46e61be3a87fa2dc3889f81640a819ff4ed1a0db2a8d2903b707f27f59bf5b839916271209 SHA512 3a4287c690502ea4890850726d42ae937f726821a712435eb749e1ef82ef40ab415739dc3981872c541a2007596b22319aea7909e1dabee721c3f076d733599c -EBUILD diffutils-3.8.ebuild 1066 BLAKE2B 67b841b404ed4995825069002dd1fb2dbebe9da636dff8416746e78ce90f41ea91efb87934036598cedf51659f10f052e16e5901bb3607232172a2db5b847f2a SHA512 9fe76cb8f5e2a69a11aebde04a8dc2c7271c9f705523be7c7b969b98e5aa8f938200a5ce26596d847cb378ce3a4677c0d3d72a703e8c4dce25df1891fdc2cb42 +EBUILD diffutils-3.8.ebuild 1063 BLAKE2B c0167b52a89b9759bfebb49015878446725c6048562f71da507605f061adb1073cea39e99e3a1797872353a1838ad6676a67edd9b22c4f15138e2da7b55fc2fe SHA512 e1990119180ca326638aea4afecfd48ab42c5f37a0a007fac97fdc7b6e243c53887ba423757f65587c01636836237cca514f037be68d3bb981bc8e5a54ffe011 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/diffutils/diffutils-3.8.ebuild b/sys-apps/diffutils/diffutils-3.8.ebuild index 6f7a87fd228a..4c2d48e864e6 100644 --- a/sys-apps/diffutils/diffutils-3.8.ebuild +++ b/sys-apps/diffutils/diffutils-3.8.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/diffutils/${P}.tar.xz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="nls static" BDEPEND="nls? ( sys-devel/gettext )" diff --git a/sys-apps/ethtool/Manifest b/sys-apps/ethtool/Manifest index 248976f7c830..d7af245a48df 100644 --- a/sys-apps/ethtool/Manifest +++ b/sys-apps/ethtool/Manifest @@ -1,7 +1,7 @@ DIST ethtool-5.10.tar.xz 310536 BLAKE2B acc91ff2f7cf233a5a7bc85e32fbcf78e3923b240ab3e3300fa11d42769b664b1b5740ad6577daf4ef1b1054432e2323429ee63774af5e0210c1ec1c7d6aa4ac SHA512 128ecc0445ec44e231d95158a71cea2c03f059314f1a844cfb2f424970bd68608fb73b8dc5e8905b88ad0da2b65a8884a626be78d6d25f770ce043c6c87580a6 DIST ethtool-5.13.tar.xz 318204 BLAKE2B 5e693368ce56fa155c5d371bc650e5fb7e8e1c8fd30982b45a674da63119e54f005484bea68c7b85e8d070efbf7aa15e92637e7a3b8b2010b4022851154a6809 SHA512 44426653aabd20707d2e597707113f4d30d12696b4f32c0ab0450af0dccece1b6a11e529a22d1299204f63c9e71ae41a1495d3d36b8f630f1734a72694d779be DIST ethtool-5.14.tar.xz 318536 BLAKE2B 09b5c9c8103635e33b22e55caff3b0f3751bf14d48de63e025587814c6b0d7e80962cd8ed27b6be7ae35a5a9d5decd0a9127a69a7cbbd52e2218bb3fc9e9b176 SHA512 880c4b6d5f83c25cabc6101222a5abf5f7e5e6501165ba5cdb420da242c351d7c32c1cffacfa1bcf0c4655434d89c64d39f0809af0d38f626a0a78f92ec68f87 -EBUILD ethtool-5.10.ebuild 584 BLAKE2B 60f911d7aeda794812f546fabb92eede1e079091882bc6e6263c12f0695b667065d1677314c84566978a89d7662786db45ddcc436c9603c35083ce169c563f4a SHA512 acb3529e9b7ed1e22d9ce910f7ad39121f4e5fb340b90edbfb58c046c8d3fe95e665b692f279bdbd210c34bba4cf04bcb5c67a3c60744d651b3b1affd49c7d9d +EBUILD ethtool-5.10.ebuild 583 BLAKE2B bbce36771a7b34b2b62b533a36df3d4039b913ac36e34cbd63fc5a28e7d717cb8449d65c1cc0cd80353f55ad3380eea3fa9d9f2cfacbc574b172bcff7f7e8910 SHA512 79631f2df71aa0c831e92578dac932d49f1fa9b946b9450d7f61d8fdf14dda1a218e79bb51ffc1ebe9534505c68ddaa9d547c7c8b6c2d271c1ddc34130e5fddc EBUILD ethtool-5.13.ebuild 598 BLAKE2B 31042341fe0493ba59c2feb21148535e5274acb673e039ceba4d119d28417af0964147c522174086c55da7d3aa9885118ed685de5014e26a6f3636758c3ce12d SHA512 d219a369422e72561a14985674b6faa17f77be2669ff8690858fd05d9aab2c380a6d851fff50ef0bd813057b2e7824a79ce151f8aafc46f04f58c4139e3527e9 EBUILD ethtool-5.14.ebuild 598 BLAKE2B 31042341fe0493ba59c2feb21148535e5274acb673e039ceba4d119d28417af0964147c522174086c55da7d3aa9885118ed685de5014e26a6f3636758c3ce12d SHA512 d219a369422e72561a14985674b6faa17f77be2669ff8690858fd05d9aab2c380a6d851fff50ef0bd813057b2e7824a79ce151f8aafc46f04f58c4139e3527e9 MISC metadata.xml 993 BLAKE2B 92777546a5d0d904b319409448ce71991ddd4b89941888b19d2cb093b9f3227361fac1ef39535524a5bcb7b1cfd91c90fb4557d5501b46d44df64e647fb7d3aa SHA512 696f633f299189a01bc9ff309faac585a849323e0d471e1ddb7631bc917c83220844bae7ba1568a181b08029f4109bb2cf0c3063cee5f0d91705a04abe353793 diff --git a/sys-apps/ethtool/ethtool-5.10.ebuild b/sys-apps/ethtool/ethtool-5.10.ebuild index 220991148470..46d33549c122 100644 --- a/sys-apps/ethtool/ethtool-5.10.ebuild +++ b/sys-apps/ethtool/ethtool-5.10.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="+netlink" BDEPEND="app-arch/xz-utils" diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest index bf653b625aeb..039b41c54689 100644 --- a/sys-apps/flatpak/Manifest +++ b/sys-apps/flatpak/Manifest @@ -1,7 +1,11 @@ DIST flatpak-1.10.0.tar.xz 1504300 BLAKE2B 213fb5449b075250cbec9f43ea5b02afae809b8e58d3be0afd39a70d78431f7efc7912462ce46061a53aa4dc2ef8f5e9504cdaffe4b39d2f53292736442ceb3d SHA512 8eaabd66cbd26f5288fb72cddcd195ea4702243e9f5ceff425836b5f305e2b7a4172e67d30cc0e74ad97937c007e8f4ab81080a7ada3f528d05f74845c923aeb DIST flatpak-1.10.2.tar.xz 1507856 BLAKE2B b19b04d536b43a7bbb7f479e495538137402ff46bee3be5d180d12983c4e69b8726628bb69aea64917163a4722a34987b631a073c94083cae50d79dd7d74db20 SHA512 c932b9aa2803aa5b453917174bf282d82924aca7341d72555e2557fc588ccefa0eaf32b956f75752c17cd8f73b687d4a688ebd64df36680b80b5ff5750468597 +DIST flatpak-1.10.3.tar.xz 1507484 BLAKE2B 862d42db1395b8542bee0c9502392fe617d9dc17d002f70c95a168a23aaf31ae9ab8cbb72b63234fab95f3ed2e165362ebdfc4f0694152a1740aa2643dfece1d SHA512 ff51383d4ead0f39926125eec706e5a4d38a739874a9d499adf432cfa05685643cfa411f7a247c8512ec10af8440deda0be06f4cc0808e8ba80941b07e49b633 DIST flatpak-1.11.1.tar.xz 1534700 BLAKE2B 811ac946fe6616d201ffc621881b396b6787ce435bdceb34c9fa3e162f20eba966d88695bcd6e3716b1f949976ac628a085249785c4e39989be5139cd89fdfaf SHA512 0121b4fcf159311c7480d1be29cd169a39ae61fcea9532f25b266b585038a07a930ff418a9c5b9645aab2510de78ad32c8ae8556991c8d2d7c08ab1e3cc819d1 +DIST flatpak-1.11.3.tar.xz 1544504 BLAKE2B 7a2f8e2dbbddf3e0afb355b98d3995f1276c7ff1b27ef873a3f262f8b34024c191d61c1dca33d58f50e19c18b2557b7de61a732f188470f4cfa751e5f3b64479 SHA512 5f0f6e42c8aec80fda348782742075dfaabf00c516c610e08f89a053a818011d52d5a459887d6f7490b1cc58899544e7ceb300e86cce8da55f24e1c53ee9dd17 EBUILD flatpak-1.10.0.ebuild 2343 BLAKE2B ac0c0593efb4dd67708f92eb67b3d8967822e7052cea13bde89620b8548a9952e933a851a47dc4898994ad9c001088b4997730c7e32d4a104634a71567eecb99 SHA512 318b49b5bdd1ff3c0a84b3c23e1c27161a57a5a8e9e27cb483b28da4f2acc8f1566ce89c6c3bd9ffef44bb8b0478520f4a55a4095c0e6f85639f248a7a08fa5c EBUILD flatpak-1.10.2.ebuild 2343 BLAKE2B ac0c0593efb4dd67708f92eb67b3d8967822e7052cea13bde89620b8548a9952e933a851a47dc4898994ad9c001088b4997730c7e32d4a104634a71567eecb99 SHA512 318b49b5bdd1ff3c0a84b3c23e1c27161a57a5a8e9e27cb483b28da4f2acc8f1566ce89c6c3bd9ffef44bb8b0478520f4a55a4095c0e6f85639f248a7a08fa5c +EBUILD flatpak-1.10.3.ebuild 2351 BLAKE2B 95c29f8d377f935d0bd73262fad8c5c045abc78c0bdaa05672b27085a3ec2018f4411101dc004d093ff8ab717a57731110d7345718a5c4af2d0034ce58758466 SHA512 b60ef6b60442dd48ef3e4bfd01b4b4c8f527fa40f47711ac7d26a622eae1bfe8ce1fd2084a0ca29d3798d0e64bf683098158d214b566fc555e7f7c48e7558a0e EBUILD flatpak-1.11.1.ebuild 2351 BLAKE2B 95c29f8d377f935d0bd73262fad8c5c045abc78c0bdaa05672b27085a3ec2018f4411101dc004d093ff8ab717a57731110d7345718a5c4af2d0034ce58758466 SHA512 b60ef6b60442dd48ef3e4bfd01b4b4c8f527fa40f47711ac7d26a622eae1bfe8ce1fd2084a0ca29d3798d0e64bf683098158d214b566fc555e7f7c48e7558a0e +EBUILD flatpak-1.11.3.ebuild 2351 BLAKE2B 95c29f8d377f935d0bd73262fad8c5c045abc78c0bdaa05672b27085a3ec2018f4411101dc004d093ff8ab717a57731110d7345718a5c4af2d0034ce58758466 SHA512 b60ef6b60442dd48ef3e4bfd01b4b4c8f527fa40f47711ac7d26a622eae1bfe8ce1fd2084a0ca29d3798d0e64bf683098158d214b566fc555e7f7c48e7558a0e MISC metadata.xml 325 BLAKE2B a8ca5c0feaab721a66653a8d5e084d2bba127d75faa0975a4dac7d4d7395801fc69bed88bf13663826188696ee5e25e18afc1b0d5161d27e15f36b9c88487146 SHA512 2736f22e733f2214b80c46b3280f90103e21c3211bea129614bcf372f05803b5d5148d34406e8aa332f7b21090e8aaa698bb1a25d767ccea21d3977f0894f464 diff --git a/sys-apps/flatpak/flatpak-1.10.3.ebuild b/sys-apps/flatpak/flatpak-1.10.3.ebuild new file mode 100644 index 000000000000..a931e50425ab --- /dev/null +++ b/sys-apps/flatpak/flatpak-1.10.3.ebuild @@ -0,0 +1,101 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8,9} ) + +inherit autotools linux-info python-any-r1 + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" +DESCRIPTION="Linux application sandboxing and distribution framework" +HOMEPAGE="https://flatpak.org/" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc gtk kde introspection policykit seccomp systemd" +RESTRICT+=" test" + +RDEPEND=" + acct-group/flatpak + acct-user/flatpak + >=app-arch/libarchive-2.8:= + app-arch/zstd:= + >=app-crypt/gpgme-1.1.8:= + >=dev-libs/appstream-glib-0.5.10:= + >=dev-libs/glib-2.56:2= + >=dev-libs/libxml2-2.4:= + dev-libs/json-glib:= + dev-libs/libassuan:= + >=dev-util/ostree-2020.8:=[gpg(+)] + || ( + dev-util/ostree[curl] + dev-util/ostree[soup] + ) + >=gnome-base/dconf-0.26:= + >=net-libs/libsoup-2.4:= + sys-apps/bubblewrap + sys-apps/dbus + >=sys-fs/fuse-2.9.9:0= + sys-apps/xdg-dbus-proxy + x11-apps/xauth + x11-libs/gdk-pixbuf:2= + x11-libs/libXau:= + policykit? ( >=sys-auth/polkit-0.98:= ) + seccomp? ( sys-libs/libseccomp:= ) + systemd? ( sys-apps/systemd:= ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/automake-1.13.4 + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig + dev-util/gdbus-codegen + sys-devel/bison + introspection? ( >=dev-libs/gobject-introspection-1.40 ) + doc? ( + >=dev-util/gtk-doc-1.20 + dev-libs/libxslt + ) + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') +" + +PDEPEND=" + gtk? ( sys-apps/xdg-desktop-portal-gtk ) + kde? ( kde-plasma/xdg-desktop-portal-kde ) +" + +python_check_deps() { + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]" +} + +pkg_setup() { + local CONFIG_CHECK="~USER_NS" + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + # This line fails because locales are in /usr/lib/locale/locale-archive. + sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die +} + +src_configure() { + local myeconfargs=( + --enable-sandboxed-triggers + --enable-xauth + --localstatedir="${EPREFIX}"/var + --with-system-bubblewrap + --with-system-dbus-proxy + $(use_enable doc documentation) + $(use_enable doc gtk-doc) + $(use_enable introspection) + $(use_enable policykit system-helper) + $(use_enable seccomp) + $(use_with systemd) + ) + + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/flatpak/flatpak-1.11.3.ebuild b/sys-apps/flatpak/flatpak-1.11.3.ebuild new file mode 100644 index 000000000000..a931e50425ab --- /dev/null +++ b/sys-apps/flatpak/flatpak-1.11.3.ebuild @@ -0,0 +1,101 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8,9} ) + +inherit autotools linux-info python-any-r1 + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" +DESCRIPTION="Linux application sandboxing and distribution framework" +HOMEPAGE="https://flatpak.org/" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc gtk kde introspection policykit seccomp systemd" +RESTRICT+=" test" + +RDEPEND=" + acct-group/flatpak + acct-user/flatpak + >=app-arch/libarchive-2.8:= + app-arch/zstd:= + >=app-crypt/gpgme-1.1.8:= + >=dev-libs/appstream-glib-0.5.10:= + >=dev-libs/glib-2.56:2= + >=dev-libs/libxml2-2.4:= + dev-libs/json-glib:= + dev-libs/libassuan:= + >=dev-util/ostree-2020.8:=[gpg(+)] + || ( + dev-util/ostree[curl] + dev-util/ostree[soup] + ) + >=gnome-base/dconf-0.26:= + >=net-libs/libsoup-2.4:= + sys-apps/bubblewrap + sys-apps/dbus + >=sys-fs/fuse-2.9.9:0= + sys-apps/xdg-dbus-proxy + x11-apps/xauth + x11-libs/gdk-pixbuf:2= + x11-libs/libXau:= + policykit? ( >=sys-auth/polkit-0.98:= ) + seccomp? ( sys-libs/libseccomp:= ) + systemd? ( sys-apps/systemd:= ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/automake-1.13.4 + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig + dev-util/gdbus-codegen + sys-devel/bison + introspection? ( >=dev-libs/gobject-introspection-1.40 ) + doc? ( + >=dev-util/gtk-doc-1.20 + dev-libs/libxslt + ) + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') +" + +PDEPEND=" + gtk? ( sys-apps/xdg-desktop-portal-gtk ) + kde? ( kde-plasma/xdg-desktop-portal-kde ) +" + +python_check_deps() { + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]" +} + +pkg_setup() { + local CONFIG_CHECK="~USER_NS" + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + # This line fails because locales are in /usr/lib/locale/locale-archive. + sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die +} + +src_configure() { + local myeconfargs=( + --enable-sandboxed-triggers + --enable-xauth + --localstatedir="${EPREFIX}"/var + --with-system-bubblewrap + --with-system-dbus-proxy + $(use_enable doc documentation) + $(use_enable doc gtk-doc) + $(use_enable introspection) + $(use_enable policykit system-helper) + $(use_enable seccomp) + $(use_with systemd) + ) + + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/gentoo-systemd-integration/Manifest b/sys-apps/gentoo-systemd-integration/Manifest index baa0bb398df6..64bd8fe32d3c 100644 --- a/sys-apps/gentoo-systemd-integration/Manifest +++ b/sys-apps/gentoo-systemd-integration/Manifest @@ -2,7 +2,7 @@ DIST gentoo-systemd-integration-7.tar.gz 64243 BLAKE2B 389c6627af6eca9b4a0854d35 DIST gentoo-systemd-integration-8.tar.bz2 53734 BLAKE2B 711f1f6603fa40e81fe32809a32f61486ab068b1f636502ac36d58e4c204b5f0d46f51a6624f134a457f246b520614213cf45cc5397de769b315e01e32720bcf SHA512 373892ca9ae8845673f9ddad74e0be0b71af944e109adf0d2ce8e54a9c24ffff5e90cfa92e74b7abc1e7d7b1598404258b90b549697bde28a1025a2d974e991f DIST gentoo-systemd-integration-9.tar.gz 65696 BLAKE2B 7d2105e37ff53d48e312b78a971f16124df1d3a1f99ae37eb757e4be31663eee15ba1a9fb31ef31250c79f902f7a00e1de84030f3fb67e41ab2243d58deabcb6 SHA512 e4810e74c713793f1e5aca7f025780c32e8f0fe404bf74b65263bfaeff1ae1398551fdff7de37a4050f0e48d5e0b90525217f5b3caa18111ab1981f57f41fc18 EBUILD gentoo-systemd-integration-7.ebuild 794 BLAKE2B 7f33bc671174599f5a855a93522f7888f2a818a2a45f47742ed61f05f05708b976ee566625df20cfd422dd6f9f9ba4ebd21fcefd51e9bbb2059d48b542e795cc SHA512 fdef060281bf6c98ac0236a6e111bf8f36746fe80c335b4b2fec453502f903effd7ff261593a60a836beb1e333812102061165c9e1f86a340c9bf3db3729bf1c -EBUILD gentoo-systemd-integration-8.ebuild 744 BLAKE2B ad9f6eee053dd9663fd6d104c7aa113f47d2d8b2317468c7c882ef3755e13ac6ef0e11778b490ee673dfad673550953c6dcee77de8f4baa8a04508443e404776 SHA512 0a60649afd8d29a3f3921911296a377788a22de14147cccd0a7cb1621b1aed7711148e69aee4e24a5020fd35ddbdc29afd740608c0e975337770cb04a8fea027 -EBUILD gentoo-systemd-integration-9.ebuild 734 BLAKE2B b7ce0ec95d313c57c99bae945d588833afbfc15a3e84632ac5296ca388bc2166b4f47321eb672ef725bdb3810297514d333250cceda63bd51ab287718e0bed2f SHA512 1ce8e63fe403aa3fb0c70c7ee1acf5670dc347075b780b277eb515b1bf6446e9dfddaab02d24583ef786f2f51be2ddebf3e5e2bca5420a8416f17d429233cc16 -EBUILD gentoo-systemd-integration-9999.ebuild 734 BLAKE2B b7ce0ec95d313c57c99bae945d588833afbfc15a3e84632ac5296ca388bc2166b4f47321eb672ef725bdb3810297514d333250cceda63bd51ab287718e0bed2f SHA512 1ce8e63fe403aa3fb0c70c7ee1acf5670dc347075b780b277eb515b1bf6446e9dfddaab02d24583ef786f2f51be2ddebf3e5e2bca5420a8416f17d429233cc16 +EBUILD gentoo-systemd-integration-8.ebuild 959 BLAKE2B 7dd60424f23e74b82e59177529ed287033261331717b9ae266636cda173c2335d29ed7c49320427fdad5d0a3a0da3b0bdab32ceea4be40e47af44e0c479fcb24 SHA512 8d266198855d341d64db22ca0c721f48afe66d1a82d1de7bfc3164cfc00beb80a163dcf5c0593a7176fd4614097e96590620297200ce11dbbada4edc64eddf8e +EBUILD gentoo-systemd-integration-9.ebuild 949 BLAKE2B 5b069394c6337d9cdad48839c2c27b1d455bae43f9f64f090a0a3514d240bd2a7e06fc1990e440a5a13fa5c9ed02271e6fa8bd3da866e6c52f2811f5936f8c53 SHA512 f1506897008d24f8c6229480ccfd25947b4db655eab9c5d25aef9ebea380ab1e195163f921aadec366f94a1b36254749642664228591ac1f5179708a85e4c478 +EBUILD gentoo-systemd-integration-9999.ebuild 949 BLAKE2B 5b069394c6337d9cdad48839c2c27b1d455bae43f9f64f090a0a3514d240bd2a7e06fc1990e440a5a13fa5c9ed02271e6fa8bd3da866e6c52f2811f5936f8c53 SHA512 f1506897008d24f8c6229480ccfd25947b4db655eab9c5d25aef9ebea380ab1e195163f921aadec366f94a1b36254749642664228591ac1f5179708a85e4c478 MISC metadata.xml 380 BLAKE2B c85bcefccc2876a63a0b0348c42099812d371f2893971cd3ed76726bb1c305c6d17a30814743b9db8f91f96448ea241be723bd9deb11d627ee0c3b38643f8a42 SHA512 d72a532ad36554a12da2dad9645e939f79fe67ad969850f702bfb2691e80fda2c3c7a99e5f7be992a2b0b78aac4a09aa56d04ee914d1c98f131ef29e10a91dcc diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-8.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-8.ebuild index d6fa26516aad..c5acec8fc6de 100644 --- a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-8.ebuild +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-8.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit systemd + if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-systemd-integration.git" inherit autotools git-r3 @@ -30,3 +32,11 @@ src_prepare() { default [[ ${PV} != 9999 ]] || eautoreconf } + +src_configure() { + local myconf=( + --with-systemdsystemgeneratordir="$(systemd_get_systemgeneratordir)" + --with-systemdsystempresetdir="$(systemd_get_systempresetdir)" + ) + econf "${myconf[@]}" +} diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9.ebuild index 7983540e7260..0d5b07883d97 100644 --- a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9.ebuild +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit systemd + if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-systemd-integration.git" inherit autotools git-r3 @@ -28,3 +30,11 @@ src_prepare() { default [[ ${PV} != 9999 ]] || eautoreconf } + +src_configure() { + local myconf=( + --with-systemdsystemgeneratordir="$(systemd_get_systemgeneratordir)" + --with-systemdsystempresetdir="$(systemd_get_systempresetdir)" + ) + econf "${myconf[@]}" +} diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild index 7983540e7260..0d5b07883d97 100644 --- a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit systemd + if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-systemd-integration.git" inherit autotools git-r3 @@ -28,3 +30,11 @@ src_prepare() { default [[ ${PV} != 9999 ]] || eautoreconf } + +src_configure() { + local myconf=( + --with-systemdsystemgeneratordir="$(systemd_get_systemgeneratordir)" + --with-systemdsystempresetdir="$(systemd_get_systempresetdir)" + ) + econf "${myconf[@]}" +} diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index a8f16426ff9d..099a33d9e794 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -9,4 +9,4 @@ EBUILD gradm-3.1.201607172312.ebuild 1079 BLAKE2B c4dc23c49a67e287c7bb5d7f200f5a EBUILD gradm-3.1.201608131257.ebuild 1081 BLAKE2B d5801d4236212c6ed59a95ca6a341bf73c98862b5097329bb2797b3fdbd73a9e8ee5f240be28076516761b6002a65b5d394d3db9603067330c627550ddb4272c SHA512 f0b7fe6ed9de901c69ff515d92f6c4889ca1b3dfb22b7b2a397015392059eb9d0e1c0b4ff2e737f34d4cf44c9e3a6340cc089a2e1501197a64e80b8565a7e7dd EBUILD gradm-3.1.201708012022.ebuild 1081 BLAKE2B d5801d4236212c6ed59a95ca6a341bf73c98862b5097329bb2797b3fdbd73a9e8ee5f240be28076516761b6002a65b5d394d3db9603067330c627550ddb4272c SHA512 f0b7fe6ed9de901c69ff515d92f6c4889ca1b3dfb22b7b2a397015392059eb9d0e1c0b4ff2e737f34d4cf44c9e3a6340cc089a2e1501197a64e80b8565a7e7dd EBUILD gradm-3.1.201903191516.ebuild 1045 BLAKE2B 435bfad4428c4d083695e4d20475f70a499ad5409ec7fbe1200234dcef7e99af16f703cccb839342f416fe3cfe3dc5967d12f3eedd9e18c59766a089f4795d40 SHA512 0b61da8dcd907a0b4b06e24826903e0eccde2fa37074e01f5caeaa42294db555e874dc19c21d6fa121341c02b90f99b40da851687c356981057ec1dae4d31ac4 -MISC metadata.xml 364 BLAKE2B eeb95b7d41e5b45591bb8ce1514cc3302fa4ca9f6c2f3b461cce09ef979d63f17f0e80378d905d89fb55979f19e9c8f10524294d64389ddb40404c74aac79623 SHA512 21f9858b9b75136e2348a4f9822051c7180442e29d0b5f3b4352d90ef45e043bfbfb33456f32bbe69d8e31d3fc6f1935789b8f58cd3e6de2a568fd279b9764a7 +MISC metadata.xml 252 BLAKE2B 77d0ee5309919adedac9caf60e48d1feea156ab00e03740fc83282b32e3424e66a9e49c3736b6e186143373653d99cb43baca8a876b9601720583693af3d43f7 SHA512 0638df454dd637421d42dd06154095824d66a1e08c5160ab406bfa45dd414d3330a5181a1d0127bee99eb56c125832b68b4ea1c1ee8da54e4929a1748070f435 diff --git a/sys-apps/gradm/metadata.xml b/sys-apps/gradm/metadata.xml index 8754f15c5ffe..3e45e0f6b901 100644 --- a/sys-apps/gradm/metadata.xml +++ b/sys-apps/gradm/metadata.xml @@ -1,11 +1,7 @@ - - blueness@gentoo.org - Anthony G. Basile - - + hardened@gentoo.org Gentoo Hardened diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest index 83a624ab659b..2b22ccbc8a29 100644 --- a/sys-apps/grep/Manifest +++ b/sys-apps/grep/Manifest @@ -5,5 +5,5 @@ DIST grep-3.7.tar.xz 1641196 BLAKE2B acf03b1fe8065dac48d686de070bab9ecddae65c97f EBUILD grep-3.4.ebuild 1497 BLAKE2B 0636337bf9ffff4e59273390408831eaa1f3eabea247712850e0e622bf415869e293dde7c6829a78654fab88efe1b2657ba738e08e75d252ccae37f4b2d95bc2 SHA512 f9964eefb816efd635f992566777385a86c2c429c1d2bbee8117057f88f8c8072d46a1fe0c55e52924bb7feeb8376351ec19aa307ba2d928c139a3b73fcb3c53 EBUILD grep-3.5.ebuild 1783 BLAKE2B 6e1d754fe158ba0a919db4e2f1a9f365450067dfdac4072621a8f5a2ded5dc2d63c06e1741ca6939ecb40042718c76c42a0a8bbc9b37ffbad38f6c0a66feea68 SHA512 b9b92a7572712a2127bae0763cc7df70db86a5b2bafa9a7665d575d4e4b96f05889bf0473b579cebf38e2372852338be14d71c3ba336cd9010c74c3debd54e14 EBUILD grep-3.6.ebuild 1760 BLAKE2B b642c2ecb17b684a16d4c4a89c03880e93b044d2b1b13c49cb0ecba1995119d88d7e413531bebc725575b4efbbaad4a4ece9281656b7b41e147e3d68268e939e SHA512 7adc72cb0669c752c84dfb8583b458c9359c70e550c225ababec1999a8e39622f18c1ac3ad2492da9bce629e99af0ac789669ceb0649559cd9f80744d6b75088 -EBUILD grep-3.7.ebuild 1756 BLAKE2B 8842ee851be30c8517be3272bae881af052c21c73ae65ab3b21e2175fb28e6e04f66fdbfdf3cc4e09c264796880abdc5187b87dd8452c5488dc5e032ceb1c4a1 SHA512 bb28b8c5ff2405dc166bdb3779661ce74b83d419602eca6aadceb85000444f940633897bf56e3f5ab59f5020f1faaf91a6b4acf44c982aa51667d336fac6f746 +EBUILD grep-3.7.ebuild 1754 BLAKE2B 667424ffc0bd07fdecf195aba0070d2683614f8e2ebacdbdd5942c4db1fb810ac8bfa5fc8cfb0e46e30d3405040319735d1a0fb6fc7c79d6de45f7c46acc92ea SHA512 04ddee94adb751f3d74769df29d537c2870f03bc9b4cc2f70aaa14b99191a70d09e2563e43d744cf52ef1ca77aa4a8ba6de62ca5104b4bee0fcfe3849bbba6b7 MISC metadata.xml 335 BLAKE2B 9348d579c8858b0764c9e6edc144183686945cac2a68eead6e5ad83d364d293292ec6ef97bf87ea5c146048757d080e157bf9edf101177a8854d77305d8a9dae SHA512 3ea8b4569cfadab59ecabcf13c25941f9ad0db6c15b0625760339224aa4c82dc99b102c59c858de20d3ab9399db38f47e23d1b360ff86cfba6ede73b548ea7ff diff --git a/sys-apps/grep/grep-3.7.ebuild b/sys-apps/grep/grep-3.7.ebuild index 21ff7c888c81..d2ffe6dd9fd6 100644 --- a/sys-apps/grep/grep-3.7.ebuild +++ b/sys-apps/grep/grep-3.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="nls pcre static" # We lack dev-libs/libsigsegv[static-libs] for now diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index 9d55288a9a06..eb0384f44995 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -2,5 +2,5 @@ AUX hdparm-9.60-build.patch 1153 BLAKE2B c3eb037e0576a066fe2a2c6e00406dcfd3e99e2 AUX hdparm-conf.d.3 872 BLAKE2B 15376fc6f37624e6a57c97b11101b190512db4493e4f7f0c1d9e3ba6fe77e013d4044197751696988c5ac7c96e38e9737bc3bd2e270274c94db85228d5c2eb98 SHA512 968c6b9d26a71bf724728c259d35a499a644496875eac255dcac3cb4a7e5cadb677a4f6e5e0f8bbd7e1826b6fb77cb39af15b11d1e59b3e9daf9ba442b9e6f02 AUX hdparm-init-8 1360 BLAKE2B 779329470a9980621d6d25e44ecb9a830565f3501fa51a10d78f1134214b9a8e5cc88148e9d7536ade6af2b88aee9a1e2e40b8c8b38cd2c409d23b1ad673cf7d SHA512 0417168cf540d2385c5edc4e199c9c2318f97c397d4bbb8b0ac6d4dcadf153564a51a9a5da172442c75a670f79fdec84da5db777a1400cf3c8d8cf6a7066fcc8 DIST hdparm-9.62.tar.gz 139976 BLAKE2B 83ea59e35eeec7fa2a9e2f9f4b7a9a0d44cd4366d95e529c08bf38b04f6d78862bfefdfb905d4fceadbb81453ee92a60aa55db8d4c0bd164ec67181b46f197bf SHA512 ac6c4d285d081ecd8c7b231192a5a0fc268d934eeeb59794ae9a9db01ecbdd0afa0cade6ed42a1fd26ad543c52a3b380ac4f1b679992d167becb4ed6251fd369 -EBUILD hdparm-9.62.ebuild 981 BLAKE2B e772c9056b19a13745f85a5f1da505c48b07c613c0100ad1ba38e145dd9da8812ff6c803d87e475a876fdf15c3cf5ee29026d079a407ca49c5d1591f42970dd1 SHA512 535236bceab117a401cec1298986c7a3dfa1a6d246c1c35aa7d5e807716233b9543927317d9c1f70cf12cb0064880ffaef571f993f11d3ff416af567ff96e6ff +EBUILD hdparm-9.62.ebuild 980 BLAKE2B efb0726d73386d05a2ec18b14736b6f25592f8688c03be87840ec0c83f963ad7282ce42a7944da425e12f7c1e77f9771372bdea942854c932ce2d3ddc1391b74 SHA512 975faa5c62117f10feab032e416601e075e65ab6c44b828eefb9fe7465c6475c3593e4c0ca70c171198b7f0aeb922b7ac1c010b3fcb05498a6f5cf424ca8617b MISC metadata.xml 327 BLAKE2B 9cd0640be1e5123d4bfa4c7de8fd6b9bf20cfe3a238d6e271ad979efe74540708e55b9af9b134092c2db90e68550e479f8a1cf2b5a3cee5bd7e2f0bc7f719960 SHA512 2d7160e374e48c59585903e354ae7d910cdb43916fc3285d076a0e77437a864b595f1713ad05fd9146aa43a6d0b36597a76e2a096ef27129a3727e899e27caab diff --git a/sys-apps/hdparm/hdparm-9.62.ebuild b/sys-apps/hdparm/hdparm-9.62.ebuild index 404b9f4a2dd3..55ee7b72540d 100644 --- a/sys-apps/hdparm/hdparm-9.62.ebuild +++ b/sys-apps/hdparm/hdparm-9.62.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" LICENSE="BSD GPL-2" # GPL-2 only SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="static" PATCHES=( diff --git a/sys-apps/hwids/Manifest b/sys-apps/hwids/Manifest index 80b6622286ee..673d772f66f8 100644 --- a/sys-apps/hwids/Manifest +++ b/sys-apps/hwids/Manifest @@ -1,6 +1,6 @@ DIST hwids-20201207.tar.gz 3749352 BLAKE2B a968e6daf5686c4f73d9d900fbe80a5b3844c006102ed8801f88e378dc43c1bb66aaeced42bc2703a9c8ad624a1a7167bba485b1bf0c0d0e6043920e015c9177 SHA512 ec638edd1bbf00bd66e9baa50e3b9c9a5004a96a359e6bea306f1509c69bb3c7ede3569174007ab8bde11d49300da452b06be96136cde6bd2d84a76cff9251c2 DIST hwids-20210613.tar.gz 3867741 BLAKE2B 64c4b0a83058a2052f7b132241008a3cc75452e93a9a57a9159c357c23fd09ee256abc2b94e700b5d8e8bd4e231ae12932d2c2f32fb03853207739cb3387047d SHA512 4568f6b8c0ca80ec772bd2785d4dc169d1d13a721472a15399158d9a7f31abbe414c5c8cfdf1a3b81cce4e33742a4b6e005e97e3e907643d0afdc8e953624fea EBUILD hwids-20201207.ebuild 1671 BLAKE2B c7740e0c4a2b694af30d91f420052ee16c4fac29e6e632ca6d9cbfc9803b774c0c53e7ed8447d30f567e48215bf6cf5323d48cb74041465db14b0f67d603393b SHA512 c8fe09cb6e4523afca06a06fc271414062d89248fd56ae729dcdf513c34c3c9834cb64369a359d97df0b80f369b44b7fb711530b42666dfadbfeeb29147ee674 -EBUILD hwids-20210613-r1.ebuild 1820 BLAKE2B eb942518c31ac71fd8d7eb2ae8abde03122e9d9602ceb187ae6186aa3b85e31e576ea7be7a59b19b7d5cb16490a008f76408770ad0bcc554016d72d0de078a66 SHA512 2d558c49ac5124434c927496faf480dac9cef2f93fce4e338c9fd43a240c37f91cbe928781f676bb6ed2691dd9c26551854e79e0628f35ec2f033722b6916fcc +EBUILD hwids-20210613-r1.ebuild 1812 BLAKE2B f81e6e1eeeefbf33fa23caa13b2be3aeb65ca27e937f42b9f549f67c6a735d3660a6b500c034970c53caa8fe69a6e0a48d042a591c5f6cef678727bf5b29bcd4 SHA512 fb676007968823fa172fb931218355cb56a77825f1468cd4c6fff4dd078d9b7d2fbdc8ce913a1e519dfdf866339c0feaeb1210514cde3e7355369c3aa8c89c9d EBUILD hwids-99999999.ebuild 1867 BLAKE2B baf5245fdaa4bc338b5548e9c99cca5ea3441cf237c4c1bb9ce26b8bdd0eaf24f45182a6e6e959385d334102994878e438c712c2eb037b613c8a75c16439b753 SHA512 0c24ad14a699b5e43d3f1856b051222a57313229524271cb137fcf334496ce95b29afda445e6df7142aedab9f8dfe30843394000904d0ca8007d77b2c163ca07 MISC metadata.xml 688 BLAKE2B ed9af9131f4c007d87fc53131f1359c7f9f52d5a1786bb5b2f5c52742bc7ca14a851efd913749ca9dc922264571faa832c570e4cf593691d50e381eb61784fe8 SHA512 de901bae177f28c7887ef474c7fcc440fc4450c00af4edc66813a33983ac090163d8a466b86fd79bb61a9a124bd084bc03e005040b3efe70a4e2864112c6278c diff --git a/sys-apps/hwids/hwids-20210613-r1.ebuild b/sys-apps/hwids/hwids-20210613-r1.ebuild index 2f0cac8f8f52..b549c583317e 100644 --- a/sys-apps/hwids/hwids-20210613-r1.ebuild +++ b/sys-apps/hwids/hwids-20210613-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 99999999 ]]; then EGIT_REPO_URI="https://github.com/gentoo/hwids.git" else SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" fi LICENSE="|| ( GPL-2 BSD ) public-domain" diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest index 7389dce844d9..52fbf7bc8c37 100644 --- a/sys-apps/hwinfo/Manifest +++ b/sys-apps/hwinfo/Manifest @@ -1,5 +1,5 @@ DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181 SHA512 1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988 DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388 SHA512 990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224 -EBUILD hwinfo-21.74.ebuild 1546 BLAKE2B c9dfb7a7d72ba0e2d64bd2d1073decdf1c84a011d8e1924bda302b31f4f837d3566b2c43fcfac34205a13597dbaf81262d5f746e06f705a93ed2e58f29e241cc SHA512 26e7c91ad4cb94548e82dbf3d64c0441a2ead9f2006423cb625655832dabe4248b68bf34fbe1109ddf03a6a2385f7f097085a93e0397fab36f7252a25ee60d11 -EBUILD hwinfo-21.76.ebuild 1549 BLAKE2B a99c8e0c59f645fe5dd982913071326303305bc34299dd62ab36d6e126c3397da18e73d565bf6ccfa25fc9373b27d2f8c23b034b245a07190fa8907df8deb361 SHA512 65f5c677c51035ab83b35724f39872a0bdc0e4368e710f26000c48c892973f58ccdb1246201ffbbcf4a710d1c536f1cb248423c79e48b917678dd98b4225003c +EBUILD hwinfo-21.74.ebuild 1537 BLAKE2B 9940931b974e902a855baa9bb36ccc71980bedfa1205c8c78d9d1e68aaf46164b9a60d693b83dc763a5f227cb9a25f81f04d46ae1a60d3e0f24ba21f5376d280 SHA512 e95bc7124e3e84f714ac43573edfb35e52d96683a44100de95c99129ea97fc50aec7bcbfc5de0f4d7c4a952a9a006bc30ebd7623a04e50ff27409ed9e1e60f83 +EBUILD hwinfo-21.76.ebuild 1537 BLAKE2B 9940931b974e902a855baa9bb36ccc71980bedfa1205c8c78d9d1e68aaf46164b9a60d693b83dc763a5f227cb9a25f81f04d46ae1a60d3e0f24ba21f5376d280 SHA512 e95bc7124e3e84f714ac43573edfb35e52d96683a44100de95c99129ea97fc50aec7bcbfc5de0f4d7c4a952a9a006bc30ebd7623a04e50ff27409ed9e1e60f83 MISC metadata.xml 335 BLAKE2B 038b3d0d2c3215e9c141823f3578880ecb43da74b991cce36793a6af5b3549603ad1fa95c1bbe477126c3b84f6493099400d8914d94cdbe1c557b0166c0ca43b SHA512 e24489f0c20cc1cd356f7059c4a2a8d02b2f39fcb43df0d685977ce6e1593c134420daf6d940f96f08fd0d19026618d89946e6ff0a24f449be5d5c8910b10581 diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild b/sys-apps/hwinfo/hwinfo-21.74.ebuild index 344dcb48ecc4..f1d008f78694 100644 --- a/sys-apps/hwinfo/hwinfo-21.74.ebuild +++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib rpm toolchain-funcs +inherit rpm toolchain-funcs DESCRIPTION="Hardware detection tool used in SuSE Linux" HOMEPAGE="https://www.opensuse.org/" diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild b/sys-apps/hwinfo/hwinfo-21.76.ebuild index b4051eb59a5d..f1d008f78694 100644 --- a/sys-apps/hwinfo/hwinfo-21.76.ebuild +++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib rpm toolchain-funcs +inherit rpm toolchain-funcs DESCRIPTION="Hardware detection tool used in SuSE Linux" HOMEPAGE="https://www.opensuse.org/" @@ -13,7 +13,7 @@ SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND=" diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest index d50e5a71036f..0275af76ab22 100644 --- a/sys-apps/logwatch/Manifest +++ b/sys-apps/logwatch/Manifest @@ -3,6 +3,6 @@ AUX logwatch.tmpfile 39 BLAKE2B 9b1df0ad28bdc16373e71eedb05e8962bf4eda5d564ba8e2 DIST logwatch-7.5.5.tar.gz 474167 BLAKE2B 3e4183ea6dad4f415987870c555391d2a9496b4d4d894f1c06336876077b2a72e06b4e3f8d272aeb65aa5ea14f5f4d17a6f461ae54b2e50f073fef58a27a5241 SHA512 71df4d69d7e580b21dc0a0f813201822a161ada68a19c6d3f0df9c8576f22c8d43ebe90643d6184e91ee1c6628de9501896a9444ff7ad6af6fe17eba5d3573f2 DIST logwatch-7.5.6.tar.gz 484873 BLAKE2B 18a10f7baade4650c836ad402fcb92096923e0a8b6890352916e3b514bf85fe5b5070c0a47059c68fd84624407006107332f75a5ce3164a25cfa05f28f2ec882 SHA512 fb490f5bc1bf469309ee9caa1e040d71b4332d7fb64f94865a9b5fe707a92cb10c207022ce5e279709bf3412605f67f7da11303d91aa078f680c598398aab2ab EBUILD logwatch-7.5.5.ebuild 2431 BLAKE2B ae8fff1ed90832f1ff9296ca8b3c6c3a97a16d9ba9268b988bc38b7f2426bb146b1b76c41c5f41c82a0dfa4cdfe7b227f6ca08a19870fc50d804ecbb03988f54 SHA512 d79ae36bd32a98bae350145687f23ef442aeb82a8706f41cb77e56ee5ccfddf996ea457bfcc4aae1ba11498f6d95c210859e511fd610017d270718db288215cf -EBUILD logwatch-7.5.6.ebuild 2415 BLAKE2B d7b09f48984aa41720414149595d064fd5ba32976c17c4e418842c8fa5188db25706fee4ec1eea449205726450df7b14f0661998b8572d943c9ecd650b6dabff SHA512 05e02fc59141bb441513622c69d5f7e3374e9730e61407e382f3cbc0cd806572fdbc8a2a6dfb6b76af46a74fdbad5c9dff50136054a1fe08a32c8424f7c81cd0 +EBUILD logwatch-7.5.6.ebuild 2413 BLAKE2B d7330f56897ed9eeee4d87aa7eb291df1a86bae04e053da59e9fd7ba2789ea507aa4d179ca31007a782fdfe7f619539a5997785264658737662ede2ec61c81ac SHA512 31af2cc5553324a32d8d67385b4026c32ef54f4797bef80b1a4f451f7690946d0cb40ef91682a16ac412f79e14759aa212cf01be9b6397b40eff159cc966d117 EBUILD logwatch-9999.ebuild 2420 BLAKE2B 5876966303c0c8c809b49a14278f2196747b21c32bdfd7aee74418ec8309b3a2eb6f7fe28c89cd1cffaafb7b371d4837b5ee32fdd44226d98b3a9bd3b1e0ff1a SHA512 7bb4bc9a0e4e463185f7080fd8144d0f42f036fc354f55aaf25025ef722e6ad5921c942bface3571465b308bf7ed892c8623224bc991651c4144833d63cbdc4e MISC metadata.xml 329 BLAKE2B ae6bfb6282dd2f5ddc01959eb57e894cc12a69de5fea771439d9b2a95110754fd7c35db97ee238865cfb81333800dcdcfb42654d12572e16cde12c7212a505c5 SHA512 a523f269535d7e0272f2d66b903319197f52477dbf40b32729eff93b5788f9c8b8756a4750128f894b4ab0d05b9effbac5d350e5ae2ab68474ef4fa39022710a diff --git a/sys-apps/logwatch/logwatch-7.5.6.ebuild b/sys-apps/logwatch/logwatch-7.5.6.ebuild index 49235fad6c97..26298e21a69b 100644 --- a/sys-apps/logwatch/logwatch-7.5.6.ebuild +++ b/sys-apps/logwatch/logwatch-7.5.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86" fi DESCRIPTION="Analyzes and Reports on system logs" diff --git a/sys-apps/memtest86-bin/Manifest b/sys-apps/memtest86-bin/Manifest index aac8015d5298..ca5d104aaad6 100644 --- a/sys-apps/memtest86-bin/Manifest +++ b/sys-apps/memtest86-bin/Manifest @@ -1,4 +1,4 @@ AUX memtest86-bin-grub.d 467 BLAKE2B cf36f784b4032f615e5e3cd07d67125ea54c2d4fd9c7ce2f05a6a87fb4a2636491edabc77a0833039c6a8667d0cefffb20c3d4a755bc9571a363b3c6193a1831 SHA512 0f8063689c2a1dcc5d5aee2b7a7e7db4c195012ab6c641bbd66c3c495bec5252a5733664e900483580e78ee47a29a6e8e078127ef1c723ee6419e9accb4a7bc0 DIST memtest86-bin-9.2.zip 8640127 BLAKE2B 99a51857f3625705a257edd19722ad662e03599722b9441c101886a22fa185fb284ee23d55a7e261fd442780e966350e291c9b0b39a08115c0c15a45ac3b4c22 SHA512 46e900376e9074162c71259d88b560c2d4a32f900750af3e5b301bea0e15c612788297fbd068939760551173fb4cfb11edff25586dd9bd1f69a6140c1b93da7f -EBUILD memtest86-bin-9.2.ebuild 704 BLAKE2B 28f93fd07044d806183d01654af494bf8334525faacaa640f2986f0278c29d7da25852ffdbe25a944ce619d8e99a6dcb6d2e0d4028ef5fc40ff294adda674677 SHA512 4047b478351cc38843cfb111feebc182704cffdfd4823bfb01594ec184e6cb3ae1b1bdc6ca5f9f75ba1b1a381e3ecb82a443e74078b9a28ad5ac48e99247a3eb +EBUILD memtest86-bin-9.2.ebuild 878 BLAKE2B e861b6f4b8e5c91aff3869b3ccdea5d649e6989347b9be448ed2f58c92d77cbd9ae8fe3d231d80cbfb46f65c226a107679c2603ba951a8ddf74b248bcd76f857 SHA512 4cff93b1dd27d9dcbbf8b2b384e6d14d415c01f9b4f6ab34719826070f5362ce0b1fb01ab64c68a108658c77c15c58fe766eacbfdaf308f6366f120954f4a9a5 MISC metadata.xml 245 BLAKE2B 4988fa1366a9b8a3769e503545339cdd493a0bdc362ca9237b158b94549de1f061477546b00fd3b21dc9325812423f7207071e22e3234d5c0b88c755197557d2 SHA512 e00be68ab9ad3acfce3d2d48721c47cf50e2c6358c9ceb45a2a23fc5303826ea26b9205ce4f230121c2e40c9c467367f2dc57863680899b21e8005034aa9118c diff --git a/sys-apps/memtest86-bin/memtest86-bin-9.2.ebuild b/sys-apps/memtest86-bin/memtest86-bin-9.2.ebuild index 97f87cab2411..bcd35375627c 100644 --- a/sys-apps/memtest86-bin/memtest86-bin-9.2.ebuild +++ b/sys-apps/memtest86-bin/memtest86-bin-9.2.ebuild @@ -33,3 +33,11 @@ src_install() { dodoc MemTest86_User_Guide_UEFI.pdf } + +pkg_postinst() { + mount-boot_pkg_postinst + + if [ ! -e /sys/firmware/efi ]; then + ewarn "WARNING: You appear to be booted in BIOS mode but ${PN} is an EFI-only tool." + fi +} diff --git a/sys-apps/minijail/Manifest b/sys-apps/minijail/Manifest index 037423195741..d0a0295b9be4 100644 --- a/sys-apps/minijail/Manifest +++ b/sys-apps/minijail/Manifest @@ -1,7 +1,7 @@ AUX minijail-12-makefile.patch 1511 BLAKE2B 74b620f44ffa3a3f82771d10dfff5999f223613ee734a38be770ac91e128c3e4f26cbbdff197a0636cb8c3b094c70fbed08443560bea095407736327f9d485ac SHA512 c727ff4752345f08d89dab5bc7489793763bf459bc169f132a285bc40c1d8e1e40d366bc8336e35c5362f4e4b999ec9d07db2b3bcd5f394954dae54cb533515a AUX minijail-9-makefile.patch 1589 BLAKE2B d2b253f769e79c179fce51b858ce9b7b70dec806e7f3f330928e5befc7a6fc12e4a09e5fca0e29404badbab2f389bb4c9385d0ecc555610d3b45df272c5d34e1 SHA512 38a3afe8c17f591e8172ad6725f04d5a898ee3ec3a97ee99c6118c1c12189061906a442b95243e7907031c194f0477c3bdbc6d96df4923b43487f60ededa403b DIST minijail-12.tar.gz 157030 BLAKE2B 55a1bb2aeb31290c211da8b8322672abadab7a2729b0afd6eafce9854a51320a2515bedc54864debc7ede6e437607dad8532ae76c14828d6c4f4265fec404dbe SHA512 feb829fc113f0041b9ab25e845560af47408f3d5f0704cdf756d0b8162ae7aae331c350908c3b17a4a5593ffa7326044f222a35e6794471cd5ed60173b2befa2 -DIST minijail-9.tar.gz 118700 BLAKE2B 7d2959d5dd71bd9d8d8a0b7c278dab66771740f73acec20f19502da33990ca858796b4734676ffedc404cef72eee8c419c669ba7092ac00cbafa2e410564aba2 SHA512 6d05fbe8615f410e8314045d11f7a3638f563f3311f7d52b5a0c47cad8692d11b0a7db4fbb45141b56453a9beb0de7683d58e5298f0a27029aa017539bb48717 +DIST minijail-17.tar.gz 212425 BLAKE2B 411a0e2f1af21dd689fa669f9658e78c3c3c6439fdbea01b41b1d0cb3cbc1dc017634177350a3d5392783201f80874ec2a1604ed2577dbf5d7dbdf584a087267 SHA512 4b9aa29a78f7525ffeedfb927f6b567044ff7c9d32ef0e6771ed2b5c2d47c7a14ccbe000efc988ce6bb4173c5a9ae734b222aac1a00fb0e60777d7dccc149acf EBUILD minijail-12.ebuild 1804 BLAKE2B 7065e7c2dc8bdec18ab687e8b2cbc5ca8ca14adfbba4c1ebf2064d9da0f274823d35e1b79e30975824363373a59affdb795585376019ebd362562d5b59350f8a SHA512 bd180ef8ddfd13e061cac2e8cebf0f200817fd0f9b7894fa7e082461e910a773f670634ad4b889fe406a1dfdccb1f33ef7cdcb1bad5f81f149459eb127df8da6 -EBUILD minijail-9.ebuild 1714 BLAKE2B 26d4cfafe924ab1616065eda666a69915f52c337aba699e100d5c18c7e9e711c4f79ea74725f0570dcb9dd71d8c32338a7aa6bde2a5173f426c2cb4e87ed4f14 SHA512 25592129d6483b2713021994a43d25b8eb103bd80fd40e844ed27d7040f16733429f36072048235a1c5ed86dc9150d5db32d7400c158cdb8d30333b27a799c33 +EBUILD minijail-17.ebuild 1804 BLAKE2B 7065e7c2dc8bdec18ab687e8b2cbc5ca8ca14adfbba4c1ebf2064d9da0f274823d35e1b79e30975824363373a59affdb795585376019ebd362562d5b59350f8a SHA512 bd180ef8ddfd13e061cac2e8cebf0f200817fd0f9b7894fa7e082461e910a773f670634ad4b889fe406a1dfdccb1f33ef7cdcb1bad5f81f149459eb127df8da6 MISC metadata.xml 316 BLAKE2B 1c0d0d8d3d56290e6c416abd016b8e9884d281b4c8700d5e229bbd820946c9b962c148f4d838b3206f091c9340d93febf69c8dab0af58101c5c5128fceea888e SHA512 f31d33694241be5dc691ca273d0712a062b84eaccb44adc3a50a1085a451543ff1c2d20960444474c2d32121a52c2b15c2510c802a59983534c6176906fbaaee diff --git a/sys-apps/minijail/minijail-17.ebuild b/sys-apps/minijail/minijail-17.ebuild new file mode 100644 index 000000000000..9f0c093fd994 --- /dev/null +++ b/sys-apps/minijail/minijail-17.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit linux-info toolchain-funcs + +DESCRIPTION="helper binary and library for sandboxing & restricting privs of service" +HOMEPAGE="https://android.googlesource.com/platform/external/minijail" + +# Use GitHub mirror as Gitiles doesn't generate stable tarballs. +SRC_URI="https://github.com/google/${PN}/archive/linux-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="+seccomp test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/libcap-ng:=" +DEPEND="${RDEPEND} + test? ( + virtual/pkgconfig + >=dev-cpp/gtest-1.8.0:= + )" + +S="${WORKDIR}/${PN}-linux-v${PV}" + +PATCHES=( + "${FILESDIR}/minijail-12-makefile.patch" +) + +pkg_pretend() { + local CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS + ~SECCOMP ~SECCOMP_FILTER ~CGROUPS" + check_extra_config +} + +src_configure() { + export LIBDIR="/usr/$(get_libdir)" + export USE_seccomp="$(usex seccomp)" + export USE_SYSTEM_GTEST=yes + if use test; then + export GTEST_CXXFLAGS="$($(tc-getPKG_CONFIG) --cflags gtest_main)" + export GTEST_LIBS="$($(tc-getPKG_CONFIG) --libs gtest_main)" + else + export GTEST_CXXFLAGS='' GTEST_LIBS='' + fi + export VERBOSE=1 +} + +src_compile() { + tc-env_build emake all parse_seccomp_policy +} + +src_test() { + GTEST_FILTER="-NamespaceTest.test_tmpfs_userns:NamespaceTest.test_namespaces" \ + tc-env_build emake tests +} + +src_install() { + dosbin minijail0 + dolib.so libminijail{,preload}.so + dobin parse_seccomp_policy + + doman minijail0.[15] + dodoc README.md + + local include_dir="/usr/include" + + "${S}"/platform2_preinstall.sh "${PV}" "${include_dir}" + insinto "/usr/$(get_libdir)/pkgconfig" + doins libminijail.pc + + insinto "${include_dir}" + doins libminijail.h scoped_minijail.h +} diff --git a/sys-apps/minijail/minijail-9.ebuild b/sys-apps/minijail/minijail-9.ebuild deleted file mode 100644 index bca6a4432644..000000000000 --- a/sys-apps/minijail/minijail-9.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info toolchain-funcs - -DESCRIPTION="helper binary and library for sandboxing & restricting privs of service" -HOMEPAGE="https://android.googlesource.com/platform/external/minijail" - -# Use GitHub mirror as Gitiles doesn't generate stable tarballs. -SRC_URI="https://github.com/google/${PN}/archive/linux-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+seccomp test" -RESTRICT="!test? ( test )" - -RDEPEND="sys-libs/libcap-ng:=" -DEPEND="${RDEPEND} - test? ( - virtual/pkgconfig - >=dev-cpp/gtest-1.8.0:= - )" - -S="${WORKDIR}/${PN}-linux-v${PV}" - -PATCHES=( - "${FILESDIR}/minijail-9-makefile.patch" -) - -pkg_pretend() { - local CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS - ~SECCOMP ~SECCOMP_FILTER ~CGROUPS" - check_extra_config -} - -src_configure() { - export LIBDIR="/usr/$(get_libdir)" - export USE_seccomp="$(usex seccomp)" - export USE_SYSTEM_GTEST=yes - export GTEST_CXXFLAGS="$($(tc-getPKG_CONFIG) --cflags gtest_main)" - export GTEST_LIBS="$($(tc-getPKG_CONFIG) --libs gtest_main)" -} - -src_compile() { - tc-env_build emake VERBOSE=1 all parse_seccomp_policy -} - -src_test() { - GTEST_FILTER="-NamespaceTest.test_tmpfs_userns:NamespaceTest.test_namespaces" \ - tc-env_build emake VERBOSE=1 tests -} - -src_install() { - dosbin minijail0 - dolib.so libminijail{,preload}.so - dobin parse_seccomp_policy - - doman minijail0.[15] - - local include_dir="/usr/include" - - "${S}"/platform2_preinstall.sh "${PV}" "${include_dir}" - insinto "/usr/$(get_libdir)/pkgconfig" - doins libminijail.pc - - insinto "${include_dir}" - doins libminijail.h - doins scoped_minijail.h -} diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest index 0555b8a1e6a3..8a78584c6189 100644 --- a/sys-apps/moreutils/Manifest +++ b/sys-apps/moreutils/Manifest @@ -1,4 +1,6 @@ AUX moreutils-0.64-respect-env.patch 344 BLAKE2B 1b1dc56d77f9ddb4ffc05e911ac7ee92def3df7cc5bb74b476ae8172924421676bec09f6c74a59d7b07b82382e57b502088d75e5c365a5747ee7d38e8ba3c227 SHA512 db1ff22fb8a6284bea95488b71c456353379d4f9b4142f62ad7371e2546ff82fae6e7e2fb4be2e5b018d475ef5d19c677059cdb171d882e9c7a3641ed0ce4647 DIST moreutils-0.65.tar.gz 93180 BLAKE2B 2105cc281b9f4c9598bb0cdd5a4b9b8042e77eb14de323ba889c182c956b00d7b8a899c4112542e0a3d513fd961ee0ed6c82dd2dbefffe50e1d4fd326919ef4f SHA512 dcad2a3b6d9621da6d2f860f39acb04c80d42cc2123e12a6ec84524f6a1fc7f5ae4bd5d00e698fe14d4c5e7d491d790970ce4370c9abd1f63318d1c512f596b9 +DIST moreutils-0.66.tar.gz 93387 BLAKE2B 783ed558f0f77c2b384a1aa8852243242ce24e44e40b58f92e2179308df9cc3a27142820a7743c25ba4529a4b7ea7ae20c1fc02b86324638a7d13ad7536c6b21 SHA512 6c5f8b677d9912cf4e7aabf442361c89d23767f2a5df0a2c29ab72314e1ed3767a0a7a7abaa5044cf73ef877184d16e1d58e340780971e9e1299857756aca6a3 EBUILD moreutils-0.65.ebuild 1695 BLAKE2B e7804204f2162acf5a551abbad7a622def057c100cb04cddb4abdcd8169ce1dbf658f4e578af097a7d3e22cc10cb7b62b5a35eec647be273d9c57e5b318e3905 SHA512 4bc2cfba306082fe2dac9c3e43f25eaf66e3eea69b5ec4ac88c6237d4bd624fa1aa2a162e3be91766c38cfa12cae50f8cbfc4382aef96b47f8ce9b28168d8ea6 +EBUILD moreutils-0.66.ebuild 1699 BLAKE2B d0dfcfa7a412c1ad3f209c9459acf8b667df2263298a40586c185958d914663dca8420f10e1489b38ff537b8c650a7684527f4937cb97a40fa211461636df355 SHA512 7c7db86a47faff852b8e0b79bc39c925b1e170716ae2766a9a32d33a3c0919a66d8c40964a8dfd6616ad26905e70eadd7ae0511191f2cc62df2bc808feff51b8 MISC metadata.xml 314 BLAKE2B 41e19552cdd8289a03ab33f6fd514028d689236160501e2c84644e1075e957f6faeba6eacf163fcd624e995bd6ff7016e663e65cc753e7de3621aa46922a0766 SHA512 36a70c222b6de13c1245d0a95d097389e84ee7b7f55a08c62ca5c7c44bb51808f63faa10e81fdec7eff7bb680be32ed31bb2fd5362c5f35ba8fb92bb60a7ffe3 diff --git a/sys-apps/moreutils/moreutils-0.66.ebuild b/sys-apps/moreutils/moreutils-0.66.ebuild new file mode 100644 index 000000000000..2a5608311949 --- /dev/null +++ b/sys-apps/moreutils/moreutils-0.66.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A collection of tools that nobody thought to write when Unix was young" +HOMEPAGE="https://joeyh.name/code/moreutils/ https://git.joeyh.name/index.cgi/moreutils.git/" +# Not available at time of release +#SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.xz" +SRC_URI="https://git.joeyh.name/index.cgi/moreutils.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x86-linux ~x64-macos" +IUSE="+doc +perl" + +RDEPEND=" + app-admin/eselect + perl? ( + dev-lang/perl + dev-perl/IPC-Run + dev-perl/Time-Duration + dev-perl/TimeDate + ) +" +DEPEND=" + doc? ( + >=app-text/docbook2X-0.8.8-r2 + app-text/docbook-xml-dtd:4.4 + dev-lang/perl + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.64-respect-env.patch" +) + +src_prepare() { + # don't build manpages + if ! use doc ; then + sed -i -e '/^all:/s/$(MANS)//' -e '/man1/d' Makefile || die + fi + + # don't install perl scripts + if ! use perl ; then + sed -i -e '/PERLSCRIPTS/d' Makefile || die + fi + + default +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" DOCBOOKXSL="${EPREFIX}"/usr/share/sgml/docbook/xsl-stylesheets PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install + + # sys-process is more advanced than parallel from moreutils, rename it + if use doc; then + mv "${ED}"/usr/share/man/man1/{,${PN}_}parallel.1 || die + fi + + mv "${ED}"/usr/bin/{,${PN}_}parallel || die +} + +pkg_postinst() { + # Try to make sure $EDITOR is valid for vipe (bug #604630) + eselect editor update +} diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest index 991034a36739..8ae21303e323 100644 --- a/sys-apps/openrc/Manifest +++ b/sys-apps/openrc/Manifest @@ -1,8 +1,8 @@ AUX openrc.logrotate 43 BLAKE2B 0587cd211767937fd6273e6b159271490443a94d80a54b5a20ef625a1959e77dbf38cd1756838337fb39a061c4ee19a39cccd2f5867fab9f04fb916a74029aaa SHA512 12bb6354e808fbf47bbab963de55ee7901738b4a912659982c57ef2777fff9a670e867fcb8ec316a76b151032c92dc89a950d7d1d835ef53f753a8f3b41d2cec AUX start-stop-daemon.pam 63 BLAKE2B df39a1a12fe09dbbc0746eac67035d9e6d4a63323f6c937ef3888c70787354128e415b3c1c8bccccec0c987b3e789711cd1ddaba55e9b53a7f67b332c4ca9d5b SHA512 85cf440611b8f87f51bf24bdd9fa03639a75b950f00096d81b8826c21ae85ff9784b8c56b8ddb482e70f08bce933d4561b30750346d51fb2cef3be34acc065cb DIST openrc-0.43.5.tar.gz 242146 BLAKE2B 993d3895588e8f1383049006834f944faaae0f889d3afcae5bff697db9f26383712f18aba52ce07d835f1d2bbe8ef19ef116ad60141d1eb0650767430d1d9967 SHA512 680c1549a8a37eb3a719f3e026888d045d26c98357d6e6eaf09069a23a001272deaca8cac4a9b8fd79f489c4cfb4fe2c7b5d481d1469798a8f5ec470d0cadbe3 -DIST openrc-0.44.4.tar.gz 253612 BLAKE2B 9c9fb5a6e5124c16bb6b487ae7538a0366c0c66e799a42938be0d5199cd0f9bfa5578d6a2e45c570365bbe900aa5998d748741637325ca540dc788cb9bee5647 SHA512 c900a8e5f91f4261153c67b87ba1fcc8c039b20f23942a12cb0717963060a111bd70eb64418b1c3196ee9ee95db9bb39a1833a84a2c49c1095489d0d472bab74 +DIST openrc-0.44.5.tar.gz 253815 BLAKE2B e0d1ed26a18f59a226a44b3cf041c9b8017fbbe304aa5986d8e5ada17530594ac1a8099bf392ee6cd41c6668ce69a51ee1776817745b568e182bfbeac3a01799 SHA512 95b9399168522ead967a9f1de8ddce3826de997ff0e1acd56b342dc41cf18ea527598ea316e0e377916582a4f6a109a12233bd302e72ae93b3f1bcb81bfe7a4a EBUILD openrc-0.43.5.ebuild 5005 BLAKE2B a3725838bfd17681923474879383e3ec0b08cea121ea1e0c7ec62c83f726ac5deb35d82143217f7a2ffca3190ee058accfe770b89c1a3294be65a394c7c3b5e3 SHA512 f0fe7ceaf9a2066abe235fc6bd857045c354a4e33c2e9e41c2a65f02e03364ff6fc331a1b6f41627da9edcddf4b9f72bc2af1f31c711a9dafe3d6c3b4c8ae277 -EBUILD openrc-0.44.4.ebuild 4536 BLAKE2B 056666f9cf9bfaf9724bb249ccef09f2e39e7844b4e41c4ee3edb15524bbc4c93f0543bacfb8b795a3a72c45bc31bd7da0cdea0376d1cae2b090ee9ca05c2196 SHA512 c1cb4a6b5b328d48174252652642188d3023cdda5ce89fb738bad3978ca44dd7816c7a8727d02bb2176b88ec3ec31b570f6147c112218f3066d3ee029a7e88f6 +EBUILD openrc-0.44.5.ebuild 4534 BLAKE2B c9e833d7b41f15e76dc1877493f06567d22bfcab7f9e62abaa30b8540b1d2d46fa83098259368ffd3ab2b93881f973d4335128c1ed70b937d465ec611c0e27db SHA512 0cc39723a7bf28ef6bcdda6893ac8ce1f3c06050f6754afeb81832635d56525c28d0af4d479b8d3199792e084165f515b32eab3747cb64a635cc552087550fb5 EBUILD openrc-9999.ebuild 4535 BLAKE2B 7320f6dc00ac1df21449846c389bc6cba8797da82bebb2b2055eb83e79351e593a0a9137222dca1f02de05ca6e1fe86f05531c51793aff2f0ee3376bc35ef91d SHA512 e59d13f838fbf466855c6049f8d743c952aa22cb97f1c617aff167db36069fc1e5c6aac283aa4920c33ca95ec2f0ec3598b1501c5aaf06cb8bbec69d8129031f MISC metadata.xml 707 BLAKE2B 713b69a4e4d6a61051c9f6dfda46da3afa62c590c62b4f371f3949140eaecfa665a977091ac858bff99380dfc3758038ee6a96b0c8b88c142e2e751b20318fba SHA512 5260e1aec8973d42bf059b1f20b3a5f95b98608efeac614d46b20d774a3453c25348cea4a45d745abe829ad016dbc524080c482c1666032e969e08fefe1efc37 diff --git a/sys-apps/openrc/openrc-0.44.4.ebuild b/sys-apps/openrc/openrc-0.44.4.ebuild deleted file mode 100644 index c53c141b2d97..000000000000 --- a/sys-apps/openrc/openrc-0.44.4.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic meson pam toolchain-funcs - -DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" -HOMEPAGE="https://github.com/openrc/openrc/" - -if [[ ${PV} =~ ^9{4,}$ ]]; then - EGIT_REPO_URI="https://github.com/OpenRC/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/OpenRC/openrc/archive/${PV}.tar.gz -> ${P}.tar.gz" -# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -LICENSE="BSD-2" -SLOT="0" -IUSE="audit bash debug ncurses pam newnet +netifrc selinux sysv-utils unicode" - -COMMON_DEPEND=" - ncurses? ( sys-libs/ncurses:0= ) - pam? ( sys-libs/pam ) - audit? ( sys-process/audit ) - sys-process/psmisc - !=sys-libs/libselinux-2.6 - ) - !