From 59d772d9463f8cf6a145a677bedbf377a0625aff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Dec 2024 02:02:08 +0000 Subject: gentoo auto-resync : 14:12:2024 - 02:02:07 --- sys-apps/Manifest.gz | Bin 51550 -> 51563 bytes sys-apps/etckeeper/Manifest | 4 +- sys-apps/etckeeper/etckeeper-1.18.22.ebuild | 100 +++++++++++++++ sys-apps/etckeeper/metadata.xml | 3 - sys-apps/firejail/Manifest | 2 +- sys-apps/firejail/firejail-0.9.72.ebuild | 2 +- sys-apps/fwupd/Manifest | 2 + sys-apps/fwupd/fwupd-2.0.3.ebuild | 190 ++++++++++++++++++++++++++++ sys-apps/kbd/Manifest | 4 +- sys-apps/kbd/kbd-2.7.ebuild | 84 ++++++++++++ sys-apps/kbd/kbd-9999.ebuild | 8 -- sys-apps/moreutils/Manifest | 2 + sys-apps/moreutils/moreutils-0.70.ebuild | 78 ++++++++++++ sys-apps/pv/Manifest | 5 +- sys-apps/pv/pv-1.9.15.ebuild | 56 ++++++++ sys-apps/pv/pv-9999.ebuild | 9 +- 16 files changed, 526 insertions(+), 23 deletions(-) create mode 100644 sys-apps/etckeeper/etckeeper-1.18.22.ebuild create mode 100644 sys-apps/fwupd/fwupd-2.0.3.ebuild create mode 100644 sys-apps/kbd/kbd-2.7.ebuild create mode 100644 sys-apps/moreutils/moreutils-0.70.ebuild create mode 100644 sys-apps/pv/pv-1.9.15.ebuild (limited to 'sys-apps') diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz index db027d8c1978..c67aebf15165 100644 Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ diff --git a/sys-apps/etckeeper/Manifest b/sys-apps/etckeeper/Manifest index 64ab8aa42e1c..72014776bd7d 100644 --- a/sys-apps/etckeeper/Manifest +++ b/sys-apps/etckeeper/Manifest @@ -6,7 +6,9 @@ AUX etckeeper.tmpfilesd 40 BLAKE2B 870679a3ef88348765025038a64480002c014ecad6e6b DIST etckeeper-1.18.18.tar.gz 101845 BLAKE2B 2072b54db4023211e85fcbed82bd93412eb02707d5447b297bf98e65f1d534e02e790612d9771ae433a07aa6a462dd9b5c5528207d2bcfd4059232417e3186e1 SHA512 57b2f7297c0b71e3d39a7838dd3e6599bb3f1275d86200be9d7986f46f0392aa0ba130cb38ba7a5757fcb5d6fa33b4d32233237dba15e8ce9fb8c52565cf251b DIST etckeeper-1.18.20.tar.gz 110787 BLAKE2B 8d69cd65a1cad7ff64eae95d70a3da70c60adfd2fa15ae34d45a394456ba362376a5fc93116841f25f907c71fb4df2af2e1d5ffe155e11c368f6862c53d39135 SHA512 b190da11ac589d6240c8293d961b75efe01e835091f9b5fba84c3c9062ffb4cb1dc52c9ea2bdf881f021c7d5584c4487d3c60121fdcb0a2a35e349c8321422c6 DIST etckeeper-1.18.21.tar.gz 116961 BLAKE2B ad765ebc1e3b393a896b6491f21195a7c1081212f798b8586966adc72578c2bffe9adfb5a6004cba7ff87efb66f4318314dd3646e538d9bbe7a686250ea1f160 SHA512 c23bd0f24e04b565ceae77e552eb00926dae16f4a6c8c183c5a6bb404d5351ee7a040e01287b7c0d3d530bc8dea62cd2336b3151a349998aa9c145f1258ac2a0 +DIST etckeeper-1.18.22.tar.gz 119999 BLAKE2B 579e94ef6ab6f198c162be78148ea2032149e558d73bfc5d040cb9288f33d6b5c48b0073c5578fae4050b647943cbb6bb5b67cce87f9687531fa84a21c287ff9 SHA512 e35ab90862c1f4426c17aec4d9ffe5975c652b290645ac333e9f27fcc157b9eba5e0efe73553a400464102c939f085f4e08f4b04564a015ad6941b1d50dbbe76 EBUILD etckeeper-1.18.18.ebuild 2229 BLAKE2B 893d9dd8e5396b7c2e09c257e5a76336de8137fdd48e163d1dec4c3e4e0476c1d8cb18a31eb442bd4367db8066ab401c46359dc8a345f68847dddca7ea66f4a8 SHA512 a0e84e59fb262669829960f02b6ea1d3172a9a5d515900f2328eef73851cd5d8c675f264ba4d82a31a688444c7a6fb11576d570a7fb4c74149be8ec57a5b4fa4 EBUILD etckeeper-1.18.20.ebuild 2405 BLAKE2B d77f64607cf4099ec8ad15421cfca19dba945ad05216a035451e20306ce38254510fed68e34ce8eca33ee2b336e665f1acba094a30be8bfab46bc7b556a88e95 SHA512 3dd78111f59a71a2980906214a8d46cfefd260edc36d6c9f773c785e1acdbc6d723ac0c70a8d70c14f21095af0685e575ba2820899335ebd6ef4bea6e65c8a13 EBUILD etckeeper-1.18.21.ebuild 2405 BLAKE2B e38b137e069420eae0b4c6d43d396621884e741fb88c70e121dc253f2c63995202bd15b38257b117410fb255b7bfed5eec700b21ae092c9362762666f760547a SHA512 39bcdb77a8ddc3e7115f0f8d49ad6f5cdbed86ba391deb38c39b593ff544ba8c96a9735700aea5e2563bef0136c84aaefa3ebabf19f7ae4f0bca816b1abc3bd4 -MISC metadata.xml 701 BLAKE2B 5abe7a50a0c1070b8a90f571b235d6b33508d1ded7b83c6e71a236be21feece6e6b5289e57c6e795dc1c1500f61f8e553f81e305486c9b0c7154b26a8fdc4d72 SHA512 1a0aaebf491bd7c2e01bef46353375ed9c4cb2761bd855543759cfe60539133041ea96c1bb8b6dc280f91825d11186b0936e8cda4b0a006234adf31a6f293f21 +EBUILD etckeeper-1.18.22.ebuild 2411 BLAKE2B 7d65952907029d3d570ed4adc44e86f20b14360a5b598fd9d5e24744198e6f03dcddcda96a72a95495ff4cbff555655a997ca8af624b80ce14b3f617d906ad9c SHA512 e854cd5f5d3974587970d275f8fcebb206f38e86c40f354b5df5f8e8b7f891c5edc20db1220d0e5d7568f6134a1e85085cac19d7af0e7d18601239ad39e4116a +MISC metadata.xml 621 BLAKE2B edf624cc4c6906d40430cfbea31cc86aacb2c9f0ddf4d474861797798454f03baff2192e44be1c59072506a92cb106e2b58d7a493d92abb178105fab9b3dab47 SHA512 d8b8d3f52fa8452cd58061a5b9488549d67c8dcb3b38d5e3c373fbd149b1e12b503588f8b4578a56ffe12fe860420b27c876866685d90e851b75253ad9680511 diff --git a/sys-apps/etckeeper/etckeeper-1.18.22.ebuild b/sys-apps/etckeeper/etckeeper-1.18.22.ebuild new file mode 100644 index 000000000000..340b865b2ec8 --- /dev/null +++ b/sys-apps/etckeeper/etckeeper-1.18.22.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 prefix systemd tmpfiles + +DESCRIPTION="A collection of tools to let /etc be stored in a repository" +HOMEPAGE="https://etckeeper.branchable.com/" +SRC_URI="https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" +IUSE="cron test" + +BDEPEND="test? ( + dev-util/bats + dev-vcs/git +)" + +RDEPEND="app-portage/portage-utils + cron? ( virtual/cron ) + || ( + dev-vcs/git + dev-vcs/mercurial + dev-vcs/darcs + ) +" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + hprefixify *.d/* etckeeper + local systemdunitdir="$(systemd_get_systemunitdir)" + systemdunitdir="${systemdunitdir#${EPREFIX}}" + sed -i \ + -e s'@zsh/vendor-completions@zsh/site-functions@' \ + -e s"@/lib/systemd/system@"${systemdunitdir}"@" \ + -e '/etckeeper-bzr\/__init__\.py/d' \ + Makefile || die + + # pre-configure for portage. + sed -i \ + -e 's/^HIGHLEVEL_PACKAGE_MANAGER=apt/HIGHLEVEL_PACKAGE_MANAGER=emerge/' \ + -e 's/^LOWLEVEL_PACKAGE_MANAGER=dpkg/LOWLEVEL_PACKAGE_MANAGER=qlist/' \ + etckeeper.conf || die + + rm -v init.d/60darcs-deleted-symlinks || die +} + +src_compile() { + : +} + +src_install() { + emake DESTDIR="${ED}" install + + doenvd "$(prefixify_ro "${FILESDIR}"/99${PN})" + + newbashcomp bash_completion ${PN} + dodoc doc/README.mdwn + newdoc "${FILESDIR}"/bashrc-r1 bashrc.example + + rm -rv "${ED}/var/cache" || die + newtmpfiles "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf + + if use cron ; then + exeinto /etc/cron.daily + newexe - etckeeper <<'_EOF_' +#!/bin/sh +set -e +if [ -e /etc/etckeeper/daily ] && [ -e /etc/etckeeper/etckeeper.conf ]; then + . /etc/etckeeper/etckeeper.conf + if [ "$AVOID_DAILY_AUTOCOMMITS" != "1" ]; then + /etc/etckeeper/daily + fi +fi +_EOF_ + fi + + local conf_update_dir="/etc/portage/conf-update.d" + insinto "${conf_update_dir}" + newins "${FILESDIR}/${PN}-conf-update-hook" "${PN}" + fperms 755 "${conf_update_dir}/${PN}" +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" + + elog "${PN} supports git, mercurial and darcs" + elog "This ebuild just ensures at least one is installed!" + elog + elog "You may want to adjust your /etc/portage/bashrc" + elog "see the example file in /usr/share/doc/${PF}" + elog + elog "To initialise your etc-dir as a repository run:" + elog "${PN} init -d /etc" +} diff --git a/sys-apps/etckeeper/metadata.xml b/sys-apps/etckeeper/metadata.xml index 838d76fac7fd..3b40288025ac 100644 --- a/sys-apps/etckeeper/metadata.xml +++ b/sys-apps/etckeeper/metadata.xml @@ -11,7 +11,4 @@ file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. - - joeyh/etckeeper - diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest index e39a9e049b80..953d8d56b98e 100644 --- a/sys-apps/firejail/Manifest +++ b/sys-apps/firejail/Manifest @@ -5,5 +5,5 @@ AUX profile_patch.local 198 BLAKE2B 6a84eca54c8fa5429b171707d6d2b7617c918798f40a AUX profile_pdftotext.local 132 BLAKE2B 2c98ecf386cdceae4cbaf4e3623187c66ff81540d86f978467a6a0106d57a0f41f7626f1049602fee8b7545fa413ed6ca8e21e1fb1448a374b8d80e6ae72451b SHA512 c0121f1ba4db0a737acdd250834ccd73fcd441b5d7f8d5740f75230edbb10bd6bb038dd09772ba21cb24cf4224a474749a2e0f3d0e9567b4e207f4adf67c19d0 AUX profile_wget.local 128 BLAKE2B d2069517fce414faec2b23f8704fe15683a956af210e6e39321ca9f65bde939c71a7980506fdd3b01a6b15fb6733ebb013c684a63589839c60c53616a52ca5b6 SHA512 ef0b97b11fac742464b6520c6e6293017519b84c137c4aa60976b53b3d072bc9a69588267ac0a79c9647cee1e802fb0cd0d28e1647778e30473518415ce4d699 DIST firejail-0.9.72.tar.xz 503192 BLAKE2B 3d57b345476cb62399859622c88f5d6c22842da5894045c09bc7d84229ec2a01c494e4e9393b6fba6c668f73c6b7046f9a014a315baa5bc56d1479b9cad178a7 SHA512 846fa5caf6e68c669f76a07d6321ed365bf3c45f7992e8be3784ed99ef508ea8dffc5d6cc5da75eeb37964ad358d61b7959e8590051950951de8ca904d8a49de -EBUILD firejail-0.9.72.ebuild 3568 BLAKE2B 9e339537b2f691200a4a6bbb1afd346fbaccf096c23bc5b4a4c5ea8788daf981b1550df6cbacc822328c95bc08d5a7271fc79b13cb8ed985a7672884eb719cec SHA512 d9654967bcb5f3ebb754bbb644e2404854a81f64896a7c96769f778a5804293c5e158ea5483e7d46ca2a367079314b463b163eb35735b1db2b250d7a7e23ceaf +EBUILD firejail-0.9.72.ebuild 3567 BLAKE2B 4224a0ea7079e50a7124b3994456795c5f03297ae870aee523a9be8e89426a2cb6be4910dc8148183e20e0e6427085ec1fd8e3ac817ff8afa62f0b6c3ab37f3d SHA512 0e52463ad29cf0e360bf93746accd534b941e55bb42b776b37306b6a5ee9d8360cf18f0a4ce2352bdb3511545c17a29df8a310c027df5d5bc04608b04a5dc18b MISC metadata.xml 1674 BLAKE2B ccb5e94f6e55a8d1864cb6a1d15239ed0a5dd76173a9c20c1162bb55f1ca97e48f1c09902d429bd1086c7b1b014a146c9eb27f0115941e6f7a44cf8aff690e27 SHA512 e8b6c84d5413f6dd33cfe60c111e51a59c89dc95f874c02e38451639ebd05646e49421852cedeef1f101309d73f2aabf6dea1da664f1a6596fce00c0bb2fffae diff --git a/sys-apps/firejail/firejail-0.9.72.ebuild b/sys-apps/firejail/firejail-0.9.72.ebuild index a778a5a44e7c..2c2376483366 100644 --- a/sys-apps/firejail/firejail-0.9.72.ebuild +++ b/sys-apps/firejail/firejail-0.9.72.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/netblue30/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="amd64 ~arm ~arm64 ~x86" + KEYWORDS="amd64 ~arm arm64 ~x86" fi LICENSE="GPL-2" diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest index 869ab92b50bf..72ccefd41181 100644 --- a/sys-apps/fwupd/Manifest +++ b/sys-apps/fwupd/Manifest @@ -2,6 +2,8 @@ AUX fwupd-1.9.6-fragile_tests.patch 1051 BLAKE2B 01ae6cae17b911d055eb820a041329e AUX fwupd-r2 308 BLAKE2B 4494e69515347569965f0966ce2fe0779a6273df18412b4f6045c6186730dc8088f85eb029347b01c22897662d9205f98871752dee99690871a39cbb26db3899 SHA512 0f5070dc73cb6e0cfad7a66781afb85c695faffd05685e9df8c9798b94d55b31c0977134015d0d5418f5815d10529d79c898ae0efb2bdf0dc9ee44b696d5fdd7 DIST fwupd-1.9.24.tar.xz 4305048 BLAKE2B 5ac7bbc5cdcee13a39fe25cd5b83dfbb9615e6349cd39e8b25cc654c0318870de603c1f6ce550da6662d3f9cd7d275cf6254058f6b71dcb9f7916329147ab771 SHA512 2f9935bbfc3ffc49bf0939a75dd52861eea9108d8f7026dbcdf4c07ad234f70f0b1cb6740eefe555dc2a49aba1ea4d65a78427aad7a0ba9de1fe318734255bfe DIST fwupd-2.0.1.tar.xz 4971220 BLAKE2B 44d95bae51cb299ab4130805f1a57ebfb0fd5ba8872b6679f5fdde46150cb245f25fdd888f47e57eb35842b6e34f105feefca2f90bb84950ad93748f9f294820 SHA512 bf4e1bdd9ebfc593490a0d5d6fd6e31718e89aff5bb0feda9babf235676e26bff0e6e751a5df96e884a9f86db11b40ad00b63c7a5385c3fa9ab89f7f154b945f +DIST fwupd-2.0.3.tar.xz 5085932 BLAKE2B 82e5170c8f3771685f3c3bed9f02c934104f9953d6dc4eb00290f3a283305a30ae9cebab165c88725a016e86f5610d9699c5f86cc5acf7a32cc4454d82df7c84 SHA512 68321ecf655f12352fd12182e000d9295c3421015ae13012c37bd5e711a0e240a331a6ae5d17a42c2608be79f005e121470c77c28b5fae61fe3383c7579e2bfd EBUILD fwupd-1.9.24.ebuild 5382 BLAKE2B a6bf821e3b1cd9c8722598c1144216ea54d74e59dce5be9e2a0be020c757a74f7530bc84b8f29a405773204632e6139c73f06d434c5b4ce9321b554da67627d0 SHA512 98f4853e366a6319c44786aeab7d116c86d532abe7b6b5fda2761beba94c3acfe6eb2350cad99f8532bd11cca94868d925603cccdce7163a301ac76d7cacba59 EBUILD fwupd-2.0.1.ebuild 4696 BLAKE2B aa0e83f8d8485204c6b8bba06b43fc857356dd016d39707230d696ca4c8365150e46990a1d110684589511c41010203b1690d8ea4e7d71cee8c88225cd75bd0b SHA512 c213b654ee5e641b32d12bf450770cd2e610a0d72da518576ba875198335370314950563322cc236b2c944806e2189763b3231a901f1238cd1308635b3713df7 +EBUILD fwupd-2.0.3.ebuild 4812 BLAKE2B 3dbfac37082bf4589d91ca2e57bf43c7f20379a3e9b8cbcbaedbbd3f59ed4c327eb9791de97f293ea41ab8fbae1ea470c75b09a75dd1b683d5a5c937a923cce0 SHA512 304c3109d23dc5334a7f9e31a0019e0711388c09fe7c0dc6b3c41520c4c205fa965dd58af5de4737e27323115274e70202e7255580921d60d3ddfcb18ae1234c MISC metadata.xml 1674 BLAKE2B b451d794c2be5515f1f5889a88e5c512ab5e8c62f53105b68374cd07007f0032fdb5f99bf2c0c403f4f6ac558fc3fc4513a06cb1acb06dbd321e1e4814c220bf SHA512 e176cca39887ad3eaccf7699c8d8fb8bb76587bec0e797f1952ce8d83bd259e43334870232f9660fe29cf177a2abaa1ca8e8e5527e88ade43e6a7a022510c025 diff --git a/sys-apps/fwupd/fwupd-2.0.3.ebuild b/sys-apps/fwupd/fwupd-2.0.3.ebuild new file mode 100644 index 000000000000..cc6f110da04d --- /dev/null +++ b/sys-apps/fwupd/fwupd-2.0.3.ebuild @@ -0,0 +1,190 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit meson python-single-r1 vala udev xdg + +DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable" +HOMEPAGE="https://fwupd.org" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="amdgpu amt +archive bash-completion bluetooth cbor elogind fastboot flashrom gnutls gtk-doc introspection logitech lzma minimal modemmanager nvme policykit seccomp spi +sqlite synaptics systemd test tpm uefi" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ^^ ( elogind minimal systemd ) + minimal? ( !introspection ) + spi? ( lzma ) + seccomp? ( systemd ) + synaptics? ( gnutls ) + test? ( archive ) + uefi? ( gnutls ) +" +RESTRICT="!test? ( test )" + +BDEPEND="$(vala_depend) + $(python_gen_cond_dep ' + dev-python/jinja2[${PYTHON_USEDEP}] + ') + >=dev-build/meson-1.3.2 + virtual/pkgconfig + sys-apps/hwdata + gtk-doc? ( + $(python_gen_cond_dep ' + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + ') + >=dev-util/gi-docgen-2021.1 + ) + bash-completion? ( >=app-shells/bash-completion-2.0 ) + introspection? ( dev-libs/gobject-introspection ) + test? ( + net-libs/gnutls[tools] + ) +" +COMMON_DEPEND="${PYTHON_DEPS} + >=app-arch/gcab-1.0 + app-arch/xz-utils + >=dev-libs/glib-2.72:2 + >=dev-libs/json-glib-1.6.0 + >=dev-libs/libjcat-0.1.4[gpg,pkcs7] + >=dev-libs/libxmlb-0.3.19:=[introspection?] + $(python_gen_cond_dep ' + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + ') + >=net-misc/curl-7.62.0 + archive? ( app-arch/libarchive:= ) + cbor? ( >=dev-libs/libcbor-0.7.0:= ) + elogind? ( >=sys-auth/elogind-211 ) + flashrom? ( >=sys-apps/flashrom-1.2-r3 ) + gnutls? ( >=net-libs/gnutls-3.6.0 ) + virtual/libusb:1 + logitech? ( dev-libs/protobuf-c:= ) + lzma? ( app-arch/xz-utils ) + modemmanager? ( net-misc/modemmanager[mbim,qmi] ) + policykit? ( >=sys-auth/polkit-0.114 ) + seccomp? ( sys-apps/systemd[seccomp] ) + sqlite? ( dev-db/sqlite ) + systemd? ( >=sys-apps/systemd-211 ) + tpm? ( app-crypt/tpm2-tss:= ) + uefi? ( + sys-apps/fwupd-efi + sys-boot/efibootmgr + sys-fs/udisks + sys-libs/efivar + ) +" +RDEPEND=" + ${COMMON_DEPEND} + sys-apps/dbus +" + +DEPEND=" + ${COMMON_DEPEND} + x11-libs/pango[introspection] + amdgpu? ( + sys-kernel/linux-headers + x11-libs/libdrm[video_cards_amdgpu] + ) +" + +src_prepare() { + default + + vala_setup + + sed -e "/install_dir.*'doc'/s/doc/gtk-doc/" \ + -i docs/meson.build || die + + python_fix_shebang "${S}"/contrib/*.py +} + +src_configure() { + local plugins=( + -Dplugin_gpio="enabled" + -Dplugin_uf2="enabled" + $(meson_feature amdgpu plugin_amdgpu) + $(meson_feature amt plugin_intel_me) + $(meson_feature fastboot plugin_fastboot) + $(meson_feature flashrom plugin_flashrom) + $(meson_feature logitech plugin_logitech_bulkcontroller) + $(meson_feature modemmanager plugin_modem_manager) + $(meson_feature nvme plugin_nvme) + $(meson_feature synaptics plugin_synaptics_mst) + $(meson_feature synaptics plugin_synaptics_rmi) + $(meson_feature tpm plugin_tpm) + $(meson_feature uefi plugin_uefi_capsule) + $(meson_use uefi plugin_uefi_capsule_splash) + $(meson_feature uefi plugin_uefi_pk) + ) + if use ppc64 || use riscv ; then + plugins+=( -Dplugin_msr="disabled" ) + fi + + local emesonargs=( + --localstatedir "${EPREFIX}"/var + -Dbuild="$(usex minimal standalone all)" + -Dconsolekit="disabled" + -Dcurl="enabled" + -Defi_binary="false" + -Dman="true" + -Dsupported_build="enabled" + -Dsystemd_unit_user="" + $(meson_feature archive libarchive) + $(meson_use bash-completion bash_completion) + $(meson_feature bluetooth bluez) + $(meson_feature cbor) + $(meson_feature elogind) + $(meson_feature gnutls) + $(meson_feature gtk-doc docs) + $(meson_feature lzma) + $(meson_feature introspection) + $(meson_feature policykit polkit) + $(meson_feature sqlite) + $(meson_feature systemd) + $(meson_use seccomp systemd_syscall_filter) + $(meson_use test tests) + + ${plugins[@]} + ) + use uefi && emesonargs+=( -Defi_os_dir="gentoo" ) + export CACHE_DIRECTORY="${T}" + meson_src_configure +} + +src_test() { + LC_ALL="C" meson_src_test +} + +src_install() { + meson_src_install + + if ! use minimal ; then + newinitd "${FILESDIR}"/${PN}-r2 ${PN} + fi + + if use test; then + # Preventing tests from being installed in the first place is a moving target, + # just axe them all afterwards. + rm -rf \ + "${ED}"/usr/libexec/installed-tests \ + "${ED}"/usr/share/fwupd/device-tests \ + "${ED}"/usr/share/fwupd/host-emulate.d/thinkpad-p1-iommu.json.gz \ + "${ED}"/usr/share/fwupd/remotes.d/fwupd-tests.conf \ + "${ED}"/usr/share/installed-tests \ + || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + use minimal || udev_reload +} + +pkg_postrm() { + xdg_pkg_postrm + use minimal || udev_reload +} diff --git a/sys-apps/kbd/Manifest b/sys-apps/kbd/Manifest index 85e24027abc3..7770df8dda2a 100644 --- a/sys-apps/kbd/Manifest +++ b/sys-apps/kbd/Manifest @@ -1,6 +1,8 @@ DIST kbd-2.5.1.tar.xz 1491952 BLAKE2B aab4c3d78c28709bf562b54fe94c0533d5c33185e183bf3eb944f89147b250d9df9b30b64a06eb4742feafe8c05a6aa491a7f007b4d6d9077bc19a4628ba05ae SHA512 74855f486aff5fc2f93a6cb29460a590c94eac653b001574e1b4eb1300ea99dfed9222f9e5d1d3a05a112a6880591d5c44ed6e76b8a64edf744ecb0892f562d0 DIST kbd-2.6.4.tar.xz 1504584 BLAKE2B 25e55be0210c206c1f5eb0d85045bb1cbb2442cf88fb7eb28f7bbb8dd0d86473f48444fd9d80dfc624ce7ba8b39bfe1152ee6cf1877fab444e09600e93dae0ee SHA512 a4149cb0f85fd79b333a6c137d70896a30ebceb1cf9d4b5eef3abb2e1866d83b46cee651e4f3e512bf7e0ccd232d955c14f693e57020a3626e4943c4695fc8ab +DIST kbd-2.7.tar.xz 1470532 BLAKE2B 0222a4566ad0bd91629e5d8a7bf8ca14e82cde933b0892bf63740ccd7aae89ff5130f228a7b4cad7e88c42562320400f4238212274f90233c73f0419ac81a696 SHA512 22c7eca0e23a6df22218ecb4f3e9e50a58a3d56d951cdd7284cf0ac426d789b547cc55b1293b4aff3fc64c2a148b1733c09d8865ae46fbc617f0b0fa64c44436 EBUILD kbd-2.5.1.ebuild 2021 BLAKE2B 7f508f5ecb15b1ccb6435a4950ab50854f0e78fea8bf328198d704569d42da2d100d7ea68836a141a7db9e86b846d8e0fc9b8193a54fe31e89002ebaf8eca93e SHA512 7324bc03e6cc1284a5d125c376363c41afc04849abd46c393bb817f17330da43f0d9c9891959b8f4cbc4d3ef13fac7fc8801de81ecec04add546b5e3546294f2 EBUILD kbd-2.6.4.ebuild 2179 BLAKE2B d2a39f89394319b768fba88416ba955cacd378bb79d284131f314b70d3020c1bbdeae7593ae22002db54c3dffa24e7fcf2dc428b75822dcbed32394d5f74d089 SHA512 4bcfd012a6492dc98c66a6d2611555410eea299e32f3ff5e86127ae1a7396f6dbb00630d7e25b9f8a16d3a259ffe78352e1eda8f6842a54b0942b94b050d5cb5 -EBUILD kbd-9999.ebuild 2187 BLAKE2B 210fe4e7578f3f942bd28c4ca5d59d0a176017bff95bedd567df4f1a44dc21742b25e4495f05a06a602f252499f06c34436bf90304955689080ea66a5f2130a0 SHA512 a0d0ee5786682550e4d1408f55e15035acb235d3adb891e228a4dddf609f12a3f3cf628a1ab77fba16460b9eaa558398594988339a6d9e4e8406aa200bcb4fd2 +EBUILD kbd-2.7.ebuild 1858 BLAKE2B 0be2142abd89936b6a95732459e11b5dbd1c11da0a56830fce11517b649caa969f0039bbe42a1e2ce5a6326b0f64c6e2ed3970b6ce0ab9012e7cc583c22d9057 SHA512 912f8354ddc6fe6342ffeeeb7d8525584ca23d6264b59b8d4567df1ad1f34279ef3350e3d0387addf0b626f41e32683d99a67a69214061683378e237ad89c442 +EBUILD kbd-9999.ebuild 1858 BLAKE2B 0be2142abd89936b6a95732459e11b5dbd1c11da0a56830fce11517b649caa969f0039bbe42a1e2ce5a6326b0f64c6e2ed3970b6ce0ab9012e7cc583c22d9057 SHA512 912f8354ddc6fe6342ffeeeb7d8525584ca23d6264b59b8d4567df1ad1f34279ef3350e3d0387addf0b626f41e32683d99a67a69214061683378e237ad89c442 MISC metadata.xml 335 BLAKE2B 3b00a31428edc76e9a758c347107ad15e2f91a440a49e5167878555eda6dad176f8936ca22acbbecb5ff4827d8605b28db53ca990284b4e18c536a04d46616ed SHA512 86a6b134e0403abf5c22e868e2013a2051f504401d5ff8aa1ad682638d866ab8d837470ed87434286b77933483d7675646f382b15aed19772b2fff17258fc0f7 diff --git a/sys-apps/kbd/kbd-2.7.ebuild b/sys-apps/kbd/kbd-2.7.ebuild new file mode 100644 index 000000000000..8031a4293998 --- /dev/null +++ b/sys-apps/kbd/kbd-2.7.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multiprocessing + +if [[ ${PV} == 9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/legionus/kbd.git https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git" + EGIT_BRANCH="master" +else + if [[ $(ver_cut 3) -lt 90 ]] ; then + SRC_URI="https://www.kernel.org/pub/linux/utils/kbd/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + else + inherit autotools + SRC_URI="https://github.com/legionus/kbd/archive/v${PV}.tar.gz -> ${P}.tar.gz" + fi +fi + +DESCRIPTION="Keyboard and console utilities" +HOMEPAGE="https://kbd-project.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="nls selinux pam test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-alternatives/gzip + pam? ( + !app-misc/vlock + sys-libs/pam + ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-loadkeys ) +" +BDEPEND=" + virtual/pkgconfig + test? ( dev-libs/check ) +" + +src_prepare() { + default + + # Rename conflicting keymaps to have unique names, bug #293228 + # See also https://github.com/legionus/kbd/issues/76. + pushd "${S}"/data/keymaps/i386 &> /dev/null || die + mv fgGIod/trf.map fgGIod/trf-fgGIod.map || die + mv olpc/es.map olpc/es-olpc.map || die + mv olpc/pt.map olpc/pt-olpc.map || die + mv qwerty/cz.map qwerty/cz-qwerty.map || die + popd &> /dev/null || die + + if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then + eautoreconf + fi +} + +src_configure() { + local myeconfargs=( + --disable-werror + + $(use_enable nls) + $(use_enable pam vlock) + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +} + +src_install() { + default + + # USE="test" installs .la files + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/sys-apps/kbd/kbd-9999.ebuild b/sys-apps/kbd/kbd-9999.ebuild index ca0b13cdd97e..8031a4293998 100644 --- a/sys-apps/kbd/kbd-9999.ebuild +++ b/sys-apps/kbd/kbd-9999.ebuild @@ -27,11 +27,6 @@ SLOT="0" IUSE="nls selinux pam test" RESTRICT="!test? ( test )" -# Testsuite's Makefile.am calls missing(!) -# ... but this seems to be consistent with the autoconf docs? -# Needs more investigation: https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/autom4te-Invocation.html -QA_AM_MAINTAINER_MODE=".*--run autom4te --language=autotest.*" - DEPEND=" app-alternatives/gzip pam? ( @@ -84,9 +79,6 @@ src_test() { src_install() { default - docinto html - dodoc docs/doc/*.html - # USE="test" installs .la files find "${ED}" -type f -name "*.la" -delete || die } diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest index 25f7866c5f7a..08df9c550af6 100644 --- a/sys-apps/moreutils/Manifest +++ b/sys-apps/moreutils/Manifest @@ -1,6 +1,8 @@ AUX moreutils-0.64-respect-env.patch 344 BLAKE2B 1b1dc56d77f9ddb4ffc05e911ac7ee92def3df7cc5bb74b476ae8172924421676bec09f6c74a59d7b07b82382e57b502088d75e5c365a5747ee7d38e8ba3c227 SHA512 db1ff22fb8a6284bea95488b71c456353379d4f9b4142f62ad7371e2546ff82fae6e7e2fb4be2e5b018d475ef5d19c677059cdb171d882e9c7a3641ed0ce4647 DIST moreutils-0.68.tar.gz 93732 BLAKE2B f6bac790a294f6a05624ca33906a41e60a0dcc5c25ef31f62dc501ecf39913299f6ecd64130ed4da1896342ae4bfc286b02217f68c76d0e915cd2d8f684237b1 SHA512 8d2ee4ab1e2409a4adde018c558884ff6c642c7426b1d07d5d15bf89ba42ea5aec279c01d7d80815a825adc527ceddf0de8db9c05b0392fccc8e76bcae032558 DIST moreutils-0.69.tar.gz 93899 BLAKE2B 3bbe031c230aa22f737a661f2e9fab4f5fb6d5bb2d21807bf7207ab382c9a439ca0e9425594d98dee04714038cb2214fbc9852268b4669dd9a0f0eac5f9ad07c SHA512 0f9033a860bbbc72d50331809c94e7d29c1125339b68434d68d95039ec075b46daff642ad4a08303444fa7873f04a894c4f2010b6ce74e92f868cfc246e39a6f +DIST moreutils-0.70.tar.gz 94043 BLAKE2B 2c315e447b4c2bd329ec306644f578e2d33ffdde4d775a429a49477bd96e39c928e0febd5c7a61948dd4c83050d86582d736d2c61fb63758a94bfdc9d574e99a SHA512 7e6623d4ecf50a79d1301f0c63b991f5eb32e4edccb46a99df5c39a7d5cb4d5965fb7d00214afd094f7ac4db311fe49b2a785e7429da99b4324214f0ace5c7d4 EBUILD moreutils-0.68.ebuild 1754 BLAKE2B 90f754fd9861524e7415d6cf800087017e24e4391db203191b97fa2f0ec3ff18cd89607ae8e259ce72a5eac5f6b7602efed1a3e33675f7583a1b5a8f617eef42 SHA512 9c5953942474468e86e8469c6fcc5e5ab731d310be0ad688a5585d11691967bd33b4e81f84dcb071145fbf4d72b4772ec244bca40ddccd8a2229f850d775f992 EBUILD moreutils-0.69.ebuild 1754 BLAKE2B 90f754fd9861524e7415d6cf800087017e24e4391db203191b97fa2f0ec3ff18cd89607ae8e259ce72a5eac5f6b7602efed1a3e33675f7583a1b5a8f617eef42 SHA512 9c5953942474468e86e8469c6fcc5e5ab731d310be0ad688a5585d11691967bd33b4e81f84dcb071145fbf4d72b4772ec244bca40ddccd8a2229f850d775f992 +EBUILD moreutils-0.70.ebuild 1758 BLAKE2B 62eb075f8aafa70bb974a610f8510a206866867747692064aab295359fa65ac1efa42b8d454394fb478a24bd335d425afb5080d519e2638a0784cccb5575549c SHA512 956010d89bbaf31baa86f8860b79eb10806cc527ed0c5525bd24604a4f5f4c10e7da0beb76521b8b26c7510e8830870f01187354536ae4f894f47d258f50a23e MISC metadata.xml 314 BLAKE2B 41e19552cdd8289a03ab33f6fd514028d689236160501e2c84644e1075e957f6faeba6eacf163fcd624e995bd6ff7016e663e65cc753e7de3621aa46922a0766 SHA512 36a70c222b6de13c1245d0a95d097389e84ee7b7f55a08c62ca5c7c44bb51808f63faa10e81fdec7eff7bb680be32ed31bb2fd5362c5f35ba8fb92bb60a7ffe3 diff --git a/sys-apps/moreutils/moreutils-0.70.ebuild b/sys-apps/moreutils/moreutils-0.70.ebuild new file mode 100644 index 000000000000..21d861330d68 --- /dev/null +++ b/sys-apps/moreutils/moreutils-0.70.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="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=" + ! tests/run-valgrind.sh || die - #!/bin/sh - exit 77 - EOF - chmod +x tests/run-valgrind.sh || Die - [[ ${PV} == 9999 ]] && eautoreconf } @@ -57,5 +50,7 @@ src_configure() { } src_test() { + # Valgrind is unreliable within sandbox + local -x SKIP_VALGRIND_TESTS=1 emake -Onone check } -- cgit v1.2.3