diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-13 00:08:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-13 00:08:30 +0100 |
commit | 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (patch) | |
tree | 941e6ba8c256dd27e9f9ca634f08d4bf0278798e /sys-apps | |
parent | f0ddcad13515f66d2f3bf827d33c277bdba7e1dd (diff) |
gentoo auto-resync : 13:06:2024 - 00:08:29
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 51182 -> 51187 bytes | |||
-rw-r--r-- | sys-apps/bfs/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bfs/bfs-3.3.1.ebuild | 57 | ||||
-rw-r--r-- | sys-apps/hwdata/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/hwdata/hwdata-0.383.ebuild | 28 | ||||
-rw-r--r-- | sys-apps/nvme-cli/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/nvme-cli/files/nvme-cli-2.9.1-musl.patch | 28 | ||||
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-2.9.1.ebuild | 1 | ||||
-rw-r--r-- | sys-apps/pciutils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/pciutils/pciutils-3.13.0.ebuild | 173 | ||||
-rw-r--r-- | sys-apps/systemd-utils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/systemd-utils/systemd-utils-255.7-r4.ebuild (renamed from sys-apps/systemd-utils/systemd-utils-255.7-r3.ebuild) | 4 |
12 files changed, 300 insertions, 2 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex dd195caa1450..fbe474445e1a 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index b8cf533f222b..af711aed0915 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,7 +1,9 @@ DIST bfs-3.1.3.tar.gz 237696 BLAKE2B ca76ef02cd8ea65ab7d866a9c677063367c16c89b5f521da842ca0465e0485a90077009d9b5f324c7df09c1ab53036eb0f2965f372fd56762556dfbed43deb2c SHA512 4511c809666241f1b14ef3a01b80f0dc369510b67f45c1ce3e2d4445bcec9a4b86fb01333067b8dd713e992e57be7b99328b47a21b27864e6575981287de8e36 DIST bfs-3.2.tar.gz 252756 BLAKE2B 444d23c8df92c6c0bcbd38889cec29012c40d742a23e1755390259a325fab9d082a23ef444bf76462b21fcdeb41fa749593f5ec7d640f7270252ed4268ccc3fe SHA512 2881a37b65d8015853a658a4f759a5213ea433a726ee9952b82bd2d6c682f92e7d014eaa7ec8f1d127b3c25b5d3b04e3b24ae61ec2549212a7a4f9335f91bf8b +DIST bfs-3.3.1.tar.gz 262841 BLAKE2B bc848f4daa98172531e6c13100dcd1f3b722f4282acc5fd3677b2c4a83effa49e681d0cac3fa2c104fd1db03543c4f0a6ca9bc494ee3737d0c927f0170171eac SHA512 e31153ef244483e4337bd2bb64fc4ddf55d56048b5af54003a917287868114c81befb771b6cfc7473e384d3157b24cbec7ca27336362a438c7803eb7fc85d8d3 DIST bfs-3.3.tar.gz 262590 BLAKE2B f418a9b2f8749eb28dbe702e9303a4b4d2ec8119a712544a24d0a01cf9e4a5794d8882103bff799920ffbc7d3855656b034ec960b2b3bed64b183bb8b60cf348 SHA512 ed4396e81eaeb54a8d196e2cd0300c1a33f600e7e69d9e8fddf39916e3ade0db422fbae74f1fb1ae76ece1352a3fdf20976fbbf521c5f1ce0bb3c073133004fb EBUILD bfs-3.1.3-r1.ebuild 1083 BLAKE2B f9f6e08ef6dcb587adfcc84f02c5ddefaed54d6a52758c385034f4972f1d1eaa1d8fc7217a0f3b3b18ea4990219ea8943aa023a9a181c053d84617849b8ef15d SHA512 46a8104d9461043785c9ac145e05dcf92a1c59a6a1bae53ffef1873aec527627f55d2d1b240115a134ed544e3301de9d04e7372d600a8234e1b1bff6e440b08f EBUILD bfs-3.2.ebuild 1285 BLAKE2B 245293b20193df0394feac532852ae023cdc777888e6711f8591a9147490467d16ea526f0768a6f35b7aff708021821a7428199a9bb37efeda9752b532562ab2 SHA512 55c4d27724353a87e91c8ec7da543497e173b4f2d7c4f95338feeb4be77739b32aeafdb42f56e7eddab7f15cd4540b97184061405604489f4fcd6b41c0d64e83 +EBUILD bfs-3.3.1.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 EBUILD bfs-3.3.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 MISC metadata.xml 419 BLAKE2B eadf85369714b56ec89d384a8603c78c282e197db94c324fa9e627d70fa8c0c7c557c21c9c25ff292c93312d9752f36b4dd06a9a9c758c5375621694fb55e50d SHA512 192ae0599d4f36d43d8d2d94fa1e16fc5798b75abf0befecfa4a768a2b57e17387cb98a0663678b0c672c65c50d74cc3d1668cf222e0a9a4084be9078eb09445 diff --git a/sys-apps/bfs/bfs-3.3.1.ebuild b/sys-apps/bfs/bfs-3.3.1.ebuild new file mode 100644 index 000000000000..265ded51c383 --- /dev/null +++ b/sys-apps/bfs/bfs-3.3.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo flag-o-matic toolchain-funcs + +DESCRIPTION="Breadth-first version of the UNIX find command" +HOMEPAGE="https://tavianator.com/projects/bfs.html" +SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="0BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc" +IUSE="acl caps debug io-uring selinux unicode" + +DEPEND=" + acl? ( virtual/acl ) + caps? ( sys-libs/libcap ) + io-uring? ( sys-libs/liburing:= ) + selinux? ( sys-libs/libselinux ) + unicode? ( dev-libs/oniguruma:= ) +" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + # Not available on Linux + acl_is_trivial_np acl_trivial fdclosedir getdents getprogname + posix_spawn_file_actions_addfchdir getmntinfo posix_getdents strtofflags +) + +src_configure() { + tc-export CC PKG_CONFIG + use debug || append-cppflags -DNDEBUG + + edo ./configure \ + $(use_with acl libacl) \ + $(use_with caps libcap) \ + $(use_with selinux libselinux) \ + $(use_with io-uring liburing) \ + $(use_with unicode oniguruma) \ + V=1 +} + +src_compile() { + emake V=1 +} + +src_test() { + # -n check gets confused so need manual src_test definition? + emake V=1 check +} + +src_install() { + emake V=1 DESTDIR="${D}" install + einstalldocs +} diff --git a/sys-apps/hwdata/Manifest b/sys-apps/hwdata/Manifest index 046565e056ce..bb74966299ec 100644 --- a/sys-apps/hwdata/Manifest +++ b/sys-apps/hwdata/Manifest @@ -1,7 +1,9 @@ DIST hwdata-0.375.tar.gz 2367434 BLAKE2B 9fe350d9ba0c38d1b765cb38d3e6f3a969c0d9847f0453b0e6709e3a992ae2daffd52871ea730da6bcf297785fa44dc7c745ffa4579b85ba08df7a98144b6b32 SHA512 6d3a796be26d5e50991354e6859d69145c09003fd04dafce93ea20e72909ce2f0572004c0270832ab99fed780497234c526f3fbf3b154162f449373be7039a83 DIST hwdata-0.376.tar.gz 2375353 BLAKE2B dabc8e7006d00e38e328e074967a1c92e2d7b2f8411a7d9ea2e2df596f861dc8d36ce9f2311cb9c23ee8e7d7b4f63bf8397d3cbf43da0b7d600c24d047ddb0e0 SHA512 3b38a485baa62bd7908083ae13202aa5202ace16a993be0ea60cb658c4e2b9f6ba32dccf58a17d69036798c95109a684d878b9f9bb8149a8713248e5b8f1bda9 DIST hwdata-0.382.tar.gz 2423254 BLAKE2B d5f2b2d9497c6a8652c02b49fde008845ac36085079e126a960b048bc1861ae46cbc859e044b10a6a07942166aefe1120e9c283345a6809acb981f6d06853c57 SHA512 0ab3ef561c1f71188a513bcec97e5790483b612844bbb2b40b99cb04a81f10285d2bcf03714ef1c66b8984580193739b7c26593c8c69e880f1d23c8e6ea80da3 +DIST hwdata-0.383.tar.gz 2430035 BLAKE2B 7f53f08fa6df5d4dd2eb5a92b419914a0fd04a74285d5af0d879fe9b30b768f24c526225b3d700201a53eccabee49ae84958bb6605bc0265483bdf1801dfbffc SHA512 9a11e0d8cc6788c6a54c87956afb19853f5214c1d2deb77cc7c6155687a9621b83d54533a8e475decad82aaad84581ee410d16b7db20e666f62a003a76a62618 EBUILD hwdata-0.375.ebuild 694 BLAKE2B e65d661084c4d61beaf449b8f7b8db5ba3bea6d2ccb93776d93dc077f26f74bcca40e89eafddacac44f67faaa568012c3c01c679bcc5dcb210889356b4d7d81b SHA512 087f7c7157e38023f3f3121237dc930fb69abca7b0523907a01463d011380d0f78d15bb4ace04deb08082af5d03fa7a1371d196ca34e31bc4d14b36e681ea077 EBUILD hwdata-0.376.ebuild 694 BLAKE2B e65d661084c4d61beaf449b8f7b8db5ba3bea6d2ccb93776d93dc077f26f74bcca40e89eafddacac44f67faaa568012c3c01c679bcc5dcb210889356b4d7d81b SHA512 087f7c7157e38023f3f3121237dc930fb69abca7b0523907a01463d011380d0f78d15bb4ace04deb08082af5d03fa7a1371d196ca34e31bc4d14b36e681ea077 EBUILD hwdata-0.382.ebuild 702 BLAKE2B f9b23f4f07d7e4b8d58f6802221703cae82ef55ccde4c4ef948d27912241d5ef19b8d9d76cb41432ae28bd42f568aad8eea15f3b9e862c352015b7c0608b7d57 SHA512 f647ab18b6ebfeee6e14d6787a6dfcbdc3ae76631eb356889986c561bfdf31353668f3a52bf364c34f8344933c12a08fd9613b3800dad7334eb17559351e69fa +EBUILD hwdata-0.383.ebuild 702 BLAKE2B f9b23f4f07d7e4b8d58f6802221703cae82ef55ccde4c4ef948d27912241d5ef19b8d9d76cb41432ae28bd42f568aad8eea15f3b9e862c352015b7c0608b7d57 SHA512 f647ab18b6ebfeee6e14d6787a6dfcbdc3ae76631eb356889986c561bfdf31353668f3a52bf364c34f8344933c12a08fd9613b3800dad7334eb17559351e69fa MISC metadata.xml 328 BLAKE2B cf72c9663e944154e41475067b5e89dbfcd50f0c771e17dddfb6042a2ccb10693d7ef6eb7508e9ec7a50cbc59e8e47698030a5c1e18accd79040d4318416eb54 SHA512 f366d006f709fabe624840768aa780982884ba8a74f3ac121e323995e218a577dc5a4d34d9dcbec44571580d388967d78350d4540316444ddaf014b99db804e7 diff --git a/sys-apps/hwdata/hwdata-0.383.ebuild b/sys-apps/hwdata/hwdata-0.383.ebuild new file mode 100644 index 000000000000..aa8f1bb9c78f --- /dev/null +++ b/sys-apps/hwdata/hwdata-0.383.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +DESCRIPTION="Hardware identification and configuration data" +HOMEPAGE="https://github.com/vcrhonek/hwdata" +SRC_URI="https://github.com/vcrhonek/hwdata/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RESTRICT="test" + +src_configure() { + # configure is not compatible with econf + local conf=( + ./configure + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/lib" + --datadir="${EPREFIX}/usr/share" + ) + + edo "${conf[@]}" +} diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest index 8e9d0ff55aa7..925c3e20df54 100644 --- a/sys-apps/nvme-cli/Manifest +++ b/sys-apps/nvme-cli/Manifest @@ -1,8 +1,9 @@ AUX nvme-cli-2.9.1-musl-stdint.patch 3329 BLAKE2B aabe7e8dc991f810359cc1e626ec2ec786bbe595f833e43d4304a4a8109602b3469c2e9d0e4f7d571f7fac8b7c48818630ba8ec639949b0e84f78e746d6b3f96 SHA512 1bc88e0215686488d243a5b950d29d9e6ca2390165d5e72dc7c31e45222df6e1967b772e8bb89ad9c12fb3f43b9d08d21f64a00a28a1b79d0d768bd948c35cde +AUX nvme-cli-2.9.1-musl.patch 992 BLAKE2B d3fa0fdc4d33be272a10100304737350acf19ac4df3ddb8674aeb7fa82f013b14445594631cb8f67ca64eed50e77dbafbf26b229afe9c19a465ac3e066516e6d SHA512 1c14b725927f9fd69274c0eb666c15022a4ccf88aa16650e754fb0ec350ca3939ea5ccdc04ca4010049d5d38dbecd305d909ccc9aa834acd2ab82143cca22730 DIST nvme-cli-2.7.1.gh.tar.gz 902081 BLAKE2B 7d14838f7f0fd6d1ab1cb30041f862fe2db6f40fe72c13cb4ce227831cac6e141ff5cec2924c846f30629188754b0ce0630ad9009d2a490c193da20e8b8a45d1 SHA512 6a9f3574dfd4375e6f7a76ed95f698efb26da5b72a490579caeba9d46c4811ae31650844e0a0e1047dc627158d5ffbdc020112a5059d3195e7eadff902b70b19 DIST nvme-cli-2.8.gh.tar.gz 910994 BLAKE2B c231fc087219622736bdc400c83d2a320670f247f77b53f0cad20c8117e620703badba7cd9a6f267ba79223be9c0d6710c2be968683f77fe72e45957e0c8b899 SHA512 1be0bed4e1bf8a25229f301c2b00b78d2de4eaf8ff2b815fa75e44dd35ddd7787604152bdf00696130df3281206a734c5f408c3f2127440e05c2e4b1cdbb79d4 DIST nvme-cli-2.9.1.gh.tar.gz 932210 BLAKE2B 865808c17f2098f8d0be8ba928869801023f77f0ffd44b5d2424b9f75e01180f8d1990684e3e4a79363e650a44e58abe213b5ab55328f0bde9ed699eba9a215c SHA512 c9c86e7567c2d4c59aff1eb9d18f4775923db3c81a89c628b819121c32150d4bc2d65d0dacac764c64594369890b380d0fd06bc7c1f83f4a7f3e71a51a6fee24 EBUILD nvme-cli-2.7.1.ebuild 926 BLAKE2B ffdaa6599c97b85a07f8e08e51c06d74157bfeff083c034bb93c023406689216e715537bfb8a47b289982a5ec1d83a5f273c4a903bed38207dfc43514a34c7da SHA512 48f4e66972e0594775f735e0dcc6900e009361ec03f06200e288922262f4a63e57e98cddc7bff820172f7fc9b02015dead97ec10f2479934be5dc4b61594b726 EBUILD nvme-cli-2.8.ebuild 947 BLAKE2B 51bfcee2f89a93e4fc1a7d280639442dba7af56bc67fc7cfa9af2a89b5ec7e4f6170e28ab3508f72d9d344cccd2141562b7361a5db949ece50039b275cce246d SHA512 3df063c969ae6b0301e60acc4fd75f6cd0ffa13d296f0defacd1333ab99562d5bd92095104bdb11ef4dc35d859147d66260b87a429c77f1d11f034da01824191 -EBUILD nvme-cli-2.9.1.ebuild 1008 BLAKE2B 8d8cdc3bd6389dbf1a2c06d9c1c00e72758fe9e3f624dbc73f1191c710a92b51b8e5a4e31a5a31497cad32d3c25e4b589ccf2886a8ce6a125bbcb3771b8f58cc SHA512 32ef09caa4cfb31caa086a4850a412ba9c512e56885a1c19e17d0e49ab3ed0aa09cc932c49f0e2a5061bed50524217b0803eac1a64c9c2e7eb84ef935d615326 +EBUILD nvme-cli-2.9.1.ebuild 1046 BLAKE2B 5fe657a5bcd85671e25278a98e466000b8c4bdc7e24023822c97be010211e6b82a17d36ea7dc67a01ff25b627cec7e636ed10d833c74b4938252c16d6bc8dc3f SHA512 e84ebe4e8e598a19e907fe787e038a759cc1c8e9eea2714bf46abe5e221b9925bf6afb6542ee52d81d2834e5b2d551234695e7b0d2cf37fbd186a27fbc0b8fee MISC metadata.xml 435 BLAKE2B 6756d3cbc2fa183946f5cb5fe2e6cc3e19ffef2a63f6c5ba6cf203bbcc6eb0df68d615b8ad266dc89ce23cd06a5d843bddeae8eaf574bf45ad1c06442f50c9c5 SHA512 2b05f8e31378564378339755d80da4244524c8f261fc0fda47a1350bf5a6309b5cca68c74bad06566d6f2bf9e1cc1747b7ce2ebf783c46a9015d27fdcff44b7d diff --git a/sys-apps/nvme-cli/files/nvme-cli-2.9.1-musl.patch b/sys-apps/nvme-cli/files/nvme-cli-2.9.1-musl.patch new file mode 100644 index 000000000000..de7b488cc25d --- /dev/null +++ b/sys-apps/nvme-cli/files/nvme-cli-2.9.1-musl.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/934081 +https://github.com/linux-nvme/nvme-cli/commit/650070ad5d4a97fc87f9018743e3b566deba36c8 + +From 650070ad5d4a97fc87f9018743e3b566deba36c8 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 21 May 2024 14:09:32 -0700 +Subject: [PATCH] plugins/ssstc: Replace __uint16_t with uint16_t + +uint16_t is ISO defined and comes from stdint.h, makes it +portable across glibc and musl on linux. + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/plugins/ssstc/ssstc-nvme.c ++++ b/plugins/ssstc/ssstc-nvme.c +@@ -64,9 +64,9 @@ void show_ssstc_add_smart_log_jsn(struct nvme_additional_smart_log *smart, + unsigned int nsid, const char *devname) + { + struct json_object *root, *entry_stats, *dev_stats, *multi; +- __uint16_t wear_level_min = 0; +- __uint16_t wear_level_max = 0; +- __uint16_t wear_level_avg = 0; ++ uint16_t wear_level_min = 0; ++ uint16_t wear_level_max = 0; ++ uint16_t wear_level_avg = 0; + uint64_t raw_val = 0; + + root = json_create_object(); + diff --git a/sys-apps/nvme-cli/nvme-cli-2.9.1.ebuild b/sys-apps/nvme-cli/nvme-cli-2.9.1.ebuild index ead3edbdb1f6..991abb4ea462 100644 --- a/sys-apps/nvme-cli/nvme-cli-2.9.1.ebuild +++ b/sys-apps/nvme-cli/nvme-cli-2.9.1.ebuild @@ -29,6 +29,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-2.9.1-musl-stdint.patch + "${FILESDIR}"/${PN}-2.9.1-musl.patch ) src_configure() { diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest index 67c30c6213f8..faecfeea7349 100644 --- a/sys-apps/pciutils/Manifest +++ b/sys-apps/pciutils/Manifest @@ -2,6 +2,8 @@ AUX conf.d-pciparm 988 BLAKE2B c51b826806c58411939d8987e103cba5775806abcbf12a932 AUX init.d-pciparm 1758 BLAKE2B a9dd930da942c73d7a150938b2b58543f517542c4c675334cca8f9eb02b83dad456e36ae1bf77ed8fcc0eac52e0dc638f19a41682fa3e1d3623011d09301945b SHA512 c5a527236039edf29f6876d3b07909045dd04e40d863d68014dd96cc021b7b61356470e67541b5b68487d996a299b60b3da46272259f9d0724ea1392e6243646 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa SHA512 3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e DIST pciutils-3.12.0.tar.gz 668358 BLAKE2B 6d57b0654a26e959d2a953a102fd616ba0a0a183ec6d40f65a1274ad33330df9c81b95d4b2274edc240cbcf576ce93a0b61252bae0b6348a29df659b3fc219eb SHA512 b1efd3e24efad4f80e1a942d23d6ea12acec9642714e47d24bff7f7c53ff475b0252c6f75c0053b7ec64635037e72b150b3e313229b36479dc0cbf96902096c5 +DIST pciutils-3.13.0.tar.gz 672999 BLAKE2B d779ca0fd8c96a54bf81f6234d6a38eae2882d39dd1a52a508246bc46b5f4ac9318bbca20266378ec3917e72fe6ec30c47b1b5e9df4e86d3f59cbe860e2ac70e SHA512 73f99b5c2251676368738e0dc9d82529f3516966f1658a96149768b9775a0e177d630512dc7ea33087a7fcb960a3498f0c4c1a9f7233ec1cf242b9ab087fa0d1 EBUILD pciutils-3.10.0.ebuild 4905 BLAKE2B fc998bbc04dd08d1707890bafc62deaa9a282640a7ca946b37e24841b2bf00205d4ee18678786a3616293fa211a1ada48da41bd564e0d6716cd5c7ab2edf2fe0 SHA512 5435ab9fef31732c00f278c4ba19501f99cb13aa2ab84974bef5571798121747c2a9cf68c1d20b4d4a0ea2db4f93b842f7149ac46ab3ed615a5793209c97f297 EBUILD pciutils-3.12.0.ebuild 4906 BLAKE2B 7f34d5ff16c89d7fe6112c252b0db3d6afa919d037d82709ef8fc1e4decd17e1c813653baa873dc3d195bf543ae2198ccf8229b5c3143c7c846cda26ae00682e SHA512 ea32c95dbffc4fe0d5a0e04a482355b5e59ba78f2c0ee3a190e99b7d384fed6673433b6b7cd05bbba370b54ada69d3fd0051b8bd924da3a781fa1669ce96777a +EBUILD pciutils-3.13.0.ebuild 4913 BLAKE2B 301520e077afbd9406e5f330b1a3013d8e89cacaa8f72757da44935db7c9b532cc732e4131366db4b79972df85ecc5df0219c7a46f7e0f39796baa99499421e4 SHA512 8e1d393c8c32b3dde40fd0f80f1a99284cc24c8f4ed1a80c34d7f0fff830947ee7e04328d1ad47bbf9ded42f57bd4d831d846af0d27c23c2821ba10b0d6c4cbe MISC metadata.xml 616 BLAKE2B 0aefbd7995f4bf549cba3e9c60066675efb8dc8e4d38e320c8cb28f7f6a275527e90d2526248c57fd34d09125693e3f185f51c05d0ae10fd8a61d058d4f8a9d0 SHA512 5f44a15a2a18a40ac7a46a5c1dfed741082e48321d5ee3f53bebb6b12e310ea05070e03853cf15655ef800a768d49515f174e3a73ca923177ce0be3963154a59 diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild b/sys-apps/pciutils/pciutils-3.13.0.ebuild new file mode 100644 index 000000000000..dd3c7a05627e --- /dev/null +++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs multilib-minimal flag-o-matic + +DESCRIPTION="Various utilities dealing with the PCI bus" +HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git" +SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="dns +kmod static-libs +udev zlib" +REQUIRED_USE="static-libs? ( !udev )" + +# Have the sub-libs in RDEPEND with [static-libs] since, logically, +# our libpci.a depends on libz.a/etc... at runtime. +LIB_DEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )" +DEPEND=" + kmod? ( sys-apps/kmod ) + udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] ) + static-libs? ( ${LIB_DEPEND} ) + !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} ) +" +RDEPEND=" + ${DEPEND} + sys-apps/hwdata +" +# See bug #847133 re binutils check +BDEPEND=" + || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools ) + kmod? ( virtual/pkgconfig ) +" + +MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h ) + +switch_config() { + [[ $# -ne 2 ]] && return 1 + local opt=$1 val=$2 + + sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die + return 0 +} + +check_binutils_version() { + if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! tc-ld-is-lld ; then + # Okay, hopefully it's Binutils' bfd. + # bug #847133 + + # Convert this: + # ``` + # GNU ld (Gentoo 2.38 p4) 2.38 + # Copyright (C) 2022 Free Software Foundation, Inc. + # This program is free software; you may redistribute it under the terms of + # the GNU General Public License version 3 or (at your option) a later version. + # This program has absolutely no warranty. + # ``` + # + # into... + # ``` + # 2.38 + # ``` + local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut -d' ' -f1 | rev) + + if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then + # Skip if unrecognised format so we don't pass something + # odd into ver_cut. + return + fi + + ver_major=$(ver_cut 1 "${ver}") + ver_minor=$(ver_cut 2 "${ver}") + + # We use 2.37 here, not 2.35, as https://github.com/pciutils/pciutils/issues/98 mentions + # because we've had other miscompiles with older Binutils (not just build failures!) + # and we don't want people running any unsupported versions of Binutils. An example + # of this is where glibc is completely broken with old binutils: bug #802036. It's + # just not sustainable to support. + if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then + eerror "Old version of binutils activated! ${P} cannot be built with an old version." + eerror "Please follow these steps:" + eerror "1. Select a newer binutils (>= 2.37) using binutils-config" + eerror " (If no such version is installed, run emerge -v1 sys-devel/binutils)" + eerror "2. Run: . /etc/profile" + eerror "3. Try emerging again with: emerge -v1 ${CATEGORY}/${P}" + eerror "4. Complete your world upgrade if you were performing one." + eerror "5. Perform a depclean (emerge -acv)" + eerror "\tYou MUST depclean after every world upgrade in future!" + die "Old binutils found! Change to a newer ld using binutils-config (bug #847133)." + fi + fi +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_binutils_version +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_binutils_version +} + +src_prepare() { + default + + if use static-libs ; then + cp -pPR "${S}" "${S}.static" || die + mv "${S}.static" "${S}/static" || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + # bug #640836, bug #852929 + # Still broken in 3.10.0, see https://github.com/pciutils/pciutils/pull/144. + filter-lto + + # bug #471102 + append-lfs-flags +} + +pemake() { + emake \ + HOST="${CHOST}" \ + CROSS_COMPILE="${CHOST}-" \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + RANLIB="$(tc-getRANLIB)" \ + DNS=$(usex dns) \ + IDSDIR='$(SHAREDIR)/hwdata' \ + MANDIR='$(SHAREDIR)/man' \ + PREFIX="${EPREFIX}/usr" \ + SHARED="yes" \ + STRIP="" \ + ZLIB=$(usex zlib) \ + PCI_COMPRESSED_IDS=0 \ + PCI_IDS=pci.ids \ + LIBDIR="\${PREFIX}/$(get_libdir)" \ + LIBKMOD=$(multilib_native_usex kmod) \ + HWDB=$(usex udev) \ + "$@" +} + +multilib_src_compile() { + pemake OPT="${CFLAGS}" all + + if use static-libs ; then + pemake \ + -C "${BUILD_DIR}"/static \ + OPT="${CFLAGS}" \ + SHARED="no" \ + lib/libpci.a + fi +} + +multilib_src_install() { + pemake DESTDIR="${D}" install install-lib + + use static-libs && dolib.a "${BUILD_DIR}"/static/lib/libpci.a +} + +multilib_src_install_all() { + dodoc ChangeLog README TODO + + rm "${ED}"/usr/sbin/update-pciids "${ED}"/usr/share/man/man8/update-pciids.8* || die + rm -r "${ED}"/usr/share/hwdata || die + + newinitd "${FILESDIR}"/init.d-pciparm pciparm + newconfd "${FILESDIR}"/conf.d-pciparm pciparm +} diff --git a/sys-apps/systemd-utils/Manifest b/sys-apps/systemd-utils/Manifest index 9eaff3024794..8fa44c2328d0 100644 --- a/sys-apps/systemd-utils/Manifest +++ b/sys-apps/systemd-utils/Manifest @@ -16,5 +16,5 @@ DIST systemd-stable-255.7.tar.gz 15068684 BLAKE2B 6fb5415d9e013bc8695ef837affce7 EBUILD systemd-utils-254.10-r1.ebuild 13355 BLAKE2B 9e88dd7b2bc7c280aa4430d9e4ec9bea942b365408c775d0e5a53ae9d6b1eee3f79bada47ac83f3f3b4bd0fa5245b3158fc48e4b5003ba15bb7c3eb9179c9bc2 SHA512 86199fe50859269f739b37d2fa6d345b17ad90edd0aefd203f3beafdfd36c79affb16a61546da919e984836fcaded2831bd406f7123b0a84ee50ef65ac4d8b5c EBUILD systemd-utils-254.12.ebuild 13363 BLAKE2B 21cc042bc1041556b71f12c160a8fd5b23f31a9598d6a85b13b77ccd01b5b0e34350bde236f151662873734003fe2fd5a001c746370c16fb8308fb51e283d843 SHA512 9660bcde5c1a06aa03dd7bc90aad59421eeea53757ed1edc2d674c1cddc0addf6b7670520426bd569c5f3e309f66ab641362c260c1fbdfdd20fb10198032677a EBUILD systemd-utils-254.13.ebuild 13356 BLAKE2B b4892ba9c9ab31ded67652533fabf4f36d5b76377ea14e5d145795bb45cbdcf300660f1a54abe61a050a3287c08309e8fadfcf5f4d17b0c4bc7640b5382499ba SHA512 c8d72fe488c33f75f3e9ff11fc885befed66b61f3dea70c1e367b91a037536bc7d4668983644048c1099e07ee0977203a8ea6908b89dbd27371f5b1e4ce1bbd1 -EBUILD systemd-utils-255.7-r3.ebuild 14103 BLAKE2B 44f5654d0cff051bee28c5ebce36412151f0855490940b1fe2d075ce2a5754bf524c7ada70d234433f65d5869a88c9c70cbf89ff8f7e3254a798ac6903707b0d SHA512 9a23cecd3f8e075b5d0ff792d25402a60030f8489b79b011f6fdf7357a862f75f7345b31f61c24544f23260abbe5a1ceb798c08e545398e93411423e3cbe7c4e +EBUILD systemd-utils-255.7-r4.ebuild 14239 BLAKE2B 9eb4a58556fb3bbeb3e53dfb375c3b757d0e0b206261eead1e74fea79d9e58707d80bafbe5d34443df3233e10bd26b8c2cff26a7cab26fcbd474eb7717fff334 SHA512 3662b02df1eb89d642087d017c99a8784894ad60f021797f26609dc3eeed0fe7989eaef006b9b65bf139a3a9f452be10005da2cb9ee6a967a199b5dc685e50bc MISC metadata.xml 888 BLAKE2B b799e1d62a1208dbbec1a1cfb47592b069d5c79cb18efffef922c72b0d61e30938d26c6f4e0d3951f9c327601dd71de14062dad0a47e6b84a61b1a8b125f1a6b SHA512 6debd964f9c127ba4332e0c0b86e506d3cf10cbe3cd45442bf7955b16e790a9eccdd928d473b3722b11b4a75d34fe5bb91f4867a5dc92e786ba73d9ec3f54712 diff --git a/sys-apps/systemd-utils/systemd-utils-255.7-r3.ebuild b/sys-apps/systemd-utils/systemd-utils-255.7-r4.ebuild index be5bd107ffa6..523af66c5d3b 100644 --- a/sys-apps/systemd-utils/systemd-utils-255.7-r3.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-255.7-r4.ebuild @@ -487,6 +487,10 @@ multilib_src_install() { set_rpath udevadm systemd-hwdb dobin udevadm systemd-hwdb dosym ../../bin/udevadm /usr/lib/systemd/systemd-udevd + if use split-usr; then + # elogind installs udev rules that hard-code /bin/udevadm + dosym ../usr/bin/udevadm /bin/udevadm + fi exeinto /usr/lib/udev set_rpath {ata_id,cdrom_id,fido_id,iocost,mtd_probe,scsi_id,v4l_id} |