diff options
Diffstat (limited to 'sys-process')
19 files changed, 150 insertions, 83 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex 0491d3612909..1e02c0347c07 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest index abf32114f188..637904d66142 100644 --- a/sys-process/at/Manifest +++ b/sys-process/at/Manifest @@ -10,6 +10,6 @@ AUX atd.rc8 289 BLAKE2B f1ef6e087b1eee30b272a88feeb7f45ec1e4bc78f3c016b48c0ff353 AUX atd.service 215 BLAKE2B cf87d9dec0b5a24c5c94b41f2c7aae52c369b9f05ea77a09d2853c87c5746b00f0d980559560441e8a1a0a262734bb534987b73802c5e670ee491e8c03f1b280 SHA512 8795fe73ea9837b98732018d6e154797e1d31e4696416c910e4637ffc2c516626fed836d2a0f571a890b55c513f07d69b3c9c8d73d1070c6df88a8e9e1812902 DIST at_3.1.23.orig.tar.gz 126284 BLAKE2B b2af9dfa4ed87ee93489b98acae6b7eb005d6db7e2401ec7d4d21353af636b232d57e92e4cd6e81f52115aa9d29fadf440809a9d77cb1eb5d40d42ec7fe640b0 SHA512 ee5cf5abf32cf1e89746e427d1cc20005ef49fad47db55512c90042a77e86b2c15f5de029c79573bc86ce4aead6ed2d561b89812510aadbc5763f9288b467cfd DIST at_3.2.1.orig.tar.gz 127577 BLAKE2B 4e8f4aa889075dcede894062b2926afd7892ef15d4ca5bf855b699d1dab9f49a56fd5bd8da376b178032e70cdef72eba2a7d9d6da577982773351633ce85d003 SHA512 8109b2acf220ffc14ea78e7d5671507e8cad41a163c1d7f96de18aae05c8617071c6306e04446450190f492a65ca31f51ed040fba5719b67625a58f738fc9c9e -EBUILD at-3.1.23.ebuild 2328 BLAKE2B 4d5c187de37b2e9e13dbe004cf0e4f0ef8d91388fc276e71a0ab5b862426fc816486063747156148f2439291816a2d635f4134421e13fd046c62c3cc85af153d SHA512 9962e485855339bfde786b4daf29670da567dba536dd115f967db8989f98639d688c0ddfe9ecd838f7ccc026b1db33f6d6c24814ed3eefb7df025f111f63be8d -EBUILD at-3.2.1.ebuild 2502 BLAKE2B 2431cd1dca607e079f1cbdfe4b5f653f1d73d78b63dd290b66be8959fd1192c74f14d6db296f5d2421dacaa16a7b30ddca809e5509194dc7e8a3aca7c511402a SHA512 f48f24fb8798ec1ffe1e16d6e424414b5d331c979d5821a56329096c324475b5f58fe13c4689ee855ef62e1007a4b567419b5fe89cd4aa1ae71a89a14ab10e82 +EBUILD at-3.1.23-r1.ebuild 2352 BLAKE2B cffb7e05bd3f8950aebd43202501d9e5d69882739f102ea931c2262b974d4ead4a5ed67ee12162299c2b91fe9b3cc10dec1d2b55e4ea4872407062c898083295 SHA512 e5ab0446ac6027d04ed1a9fea2668fc4556c54f3ef5db3bee2c0ce7557e94147da86f288e925f0dece9beadae68a406df332b2d765f5371b32579665e42b9fc7 +EBUILD at-3.2.1-r1.ebuild 2526 BLAKE2B 71012d21f0c34c4932ee3a0b6a5dcc6afb731c5494b6e4261e2840442876c1d7b81861dabd8ad2da811a948185e32c3446c82f894f52d50db4292d629dde704b SHA512 7eee37cf984baf36a5154e0d66b728300419bd831186e822864d3e74303402edd7d73d7698bb0246a982f5cd214f133c04bdcd6091e28d32ac90fb34193a95cc MISC metadata.xml 364 BLAKE2B d51cc643a5646e05725088bafb99711097593b9c7e6c78207dd6668c8c4c2830964dcceb5c66cb60b8cde463ad14e968c4d2950326e86c931e84199a3efb909a SHA512 5c5d603a57b16255de5c049c237206242c440c61ee03237b85f7909e434f877fe84082f2989d6b70646c106a4b97ef380f6fbc87ead1fbca0a3886c38d65c57d diff --git a/sys-process/at/at-3.1.23.ebuild b/sys-process/at/at-3.1.23-r1.ebuild index 29858f5195ad..c93aefcc3cec 100644 --- a/sys-process/at/at-3.1.23.ebuild +++ b/sys-process/at/at-3.1.23-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -64,7 +64,10 @@ src_install() { newinitd "${FILESDIR}"/atd.rc8 atd newconfd "${FILESDIR}"/atd.confd atd - newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + + if use pam; then + newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + fi # Preserve existing .SEQ files (bug #386625) local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ" diff --git a/sys-process/at/at-3.2.1.ebuild b/sys-process/at/at-3.2.1-r1.ebuild index e24c9589dfec..98907c6f7582 100644 --- a/sys-process/at/at-3.2.1.ebuild +++ b/sys-process/at/at-3.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -67,7 +67,10 @@ src_install() { newinitd "${FILESDIR}"/atd.rc8 atd newconfd "${FILESDIR}"/atd.confd atd - newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + + if use pam; then + newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + fi # Preserve existing .SEQ files (bug #386625) local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ" diff --git a/sys-process/bpytop/Manifest b/sys-process/bpytop/Manifest index 872b13797710..4b14ce61fed4 100644 --- a/sys-process/bpytop/Manifest +++ b/sys-process/bpytop/Manifest @@ -1,6 +1,7 @@ AUX bpytop-1.0.51-tests.patch 1376 BLAKE2B a66b87bd725b699bbf603215abda7e4fe30d043784666206c7e73b4304d2cc73bbacae4194ec1a09f7393ee1a02291db39d72e87384dab25a5270545dfb5132d SHA512 d045a28c577a06b851dd3fdb8619bb831ebe9a9b9c70ed1398879873516254817f29db385fb112fbd2626b23d48ad860996fe1845ef991b8f993e8c017748a78 +AUX bpytop-1.0.61-tests.patch 768 BLAKE2B 9b5628081b134310dc0bddfc6bbc2c378ab0d28199434a816475b7db6f0a0aac32f8861b48fbfc56ae338b1d25882a06dbc9c3de233fe0b105bab711c251b2a8 SHA512 b024e338b81034d3c10ccb6fda5a6e942fbf3481caeb4384111f12cfec40ff3a28f009d45854f0daf04c2945256de8b6a77bcb9c0d3424e69fea056508c5c074 DIST bpytop-1.0.52.tar.gz 616111 BLAKE2B f586189f1ae2067b1873a41235ac05f116aae5a6a965372d0ee778d714f80e6a41c163288ad1829313c0bef68f0f07235989d11351c48f4c78b953ceb4a4cb81 SHA512 68189c87890b637b9b3ff40ec4b0518a45023d3af0966cf0556c9dcc884d28660c42af37c69c06bbd03b514e198e5313fce143974ef11b67b95132070a77bfd4 -DIST bpytop-1.0.54.tar.gz 616658 BLAKE2B 0c639012ff69bb01f60943d63b179ea53a74affdfc0158ec0ce3e18a7c0ff855246450661fdef36f10fcb2f0de9e623d014cc41f19da375dddaac57f4b755e32 SHA512 4d47c00e6c642eaa48e7aa2d1df74050578f30cf5e40cda016b196e288f64819649e65090c3150a31889fea24e1859215d7fc06f419abad2d11f52efbb0ac7eb +DIST bpytop-1.0.61.tar.gz 626468 BLAKE2B 84a9bbaec6af27b06af53acbe2e735421de3bc4567fcf7fb29d05f801f7414b4e035e67a2fecb27a45d4d91c1d6ef527a16775f44c2e5620ecf797794969a2d2 SHA512 639e0d94bd500477b8288400c6fa1769f1b7327733bec8292e72eb3024e26f6242901970dfc539d9fb309f69299ea934e02ab93226f907ddbbefb670bffb027c EBUILD bpytop-1.0.52.ebuild 596 BLAKE2B c2ee81820f150f7c9ab9011cb7cb7f1a2f9feae156a44d1b5a96b395786ead328003b7f8931b4cd3a3a3de439e2aa345bf33551c0047fd75021398b618637c39 SHA512 e36c4f4c35ca76f94eb3491c09c3e880e29f40dce5b6ab3ab256a67a2dc5fe327f7a59c71ae1afc6cb0b6ddf7ad060f1baca8e5d441b835c90c4bb75a75267ff -EBUILD bpytop-1.0.54.ebuild 711 BLAKE2B 599eff98cf7adf189f05e6e551cf8a8f4651e93f6efbf7d35e4f15dce488f18206417a851eea12bec620d33c4329ccea4efd2897af5b91cfa13564a6009df7a2 SHA512 5c5bf8589dfaa637bf62459c7a3c184162e0fd0b72b378633b02898ccab5381899079a9e490d9d8e7e84b616eae400ce434a391cb6a5131f234db62632bb86e6 +EBUILD bpytop-1.0.61.ebuild 601 BLAKE2B 5e24fac8e2a9dc761efff0b00b88acba14d0d9d6f2926e70ab76fdbf27a8e1dc6cecae3d94afdfa0a48a7a4b9553ccff4a099951b809adec28e203b14a0bb335 SHA512 3ce8d1b47c75b57c7923c000cb34e24c0ed39782aad81fe6f2966d9ac76c9b0b275595594594676b5ade2622ed1a2114bf12fb5986ab72c2861905e1eff27670 MISC metadata.xml 249 BLAKE2B 9e4529cdac0a55f14c36fde3fa54e30645a61a73d58e83ce460edf84d729bb3cd4cdc3e52d588690945508bc7d253b1edfb7734ebee94a88b75fee249a043c84 SHA512 ecad16da7f98e9b1cb1882147e6d8b7d541e4839d92fc26f3db1bea69ed633637da9259947b2b78d204a11d0edd3daa84f173613b6dc19110b5406c6fddfa7f0 diff --git a/sys-process/bpytop/bpytop-1.0.54.ebuild b/sys-process/bpytop/bpytop-1.0.61.ebuild index 46708db1ebab..0dd9a9cadf0b 100644 --- a/sys-process/bpytop/bpytop-1.0.54.ebuild +++ b/sys-process/bpytop/bpytop-1.0.61.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6..9} pypy3 ) +PYTHON_COMPAT=( python3_{6..9} ) DISTUTILS_USE_SETUPTOOLS=pyproject.toml inherit distutils-r1 @@ -23,11 +23,5 @@ RDEPEND=" distutils_enable_tests pytest PATCHES=( - "${FILESDIR}/bpytop-1.0.51-tests.patch" + "${FILESDIR}/bpytop-1.0.61-tests.patch" ) - -src_install() { - insinto "/usr/share/${PN}/themes" - doins bpytop-themes/*.theme - distutils-r1_src_install -} diff --git a/sys-process/bpytop/files/bpytop-1.0.61-tests.patch b/sys-process/bpytop/files/bpytop-1.0.61-tests.patch new file mode 100644 index 000000000000..51cef1ce6394 --- /dev/null +++ b/sys-process/bpytop/files/bpytop-1.0.61-tests.patch @@ -0,0 +1,20 @@ +diff --git a/bpytop.py b/bpytop.py +index 38d6e8b..12e4853 100755 +--- a/bpytop.py ++++ b/bpytop.py +@@ -65,10 +65,11 @@ args.add_argument("-v", "--version", action="store_true", help = "show versio + args.add_argument("--debug", action="store_true", help = "start with loglevel set to DEBUG overriding value set in config") + stdargs = args.parse_args() + +-if stdargs.version: +- print(f'bpytop version: {VERSION}\n' +- f'psutil version: {".".join(str(x) for x in psutil.version_info)}') +- raise SystemExit(0) ++if __name__ == "__main__": ++ if stdargs.version: ++ print(f'bpytop version: {VERSION}\n' ++ f'psutil version: {".".join(str(x) for x in psutil.version_info)}') ++ raise SystemExit(0) + + ARG_BOXES: str = stdargs.boxes + LOW_COLOR: bool = stdargs.low_color diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest index 689873d2d9a4..b3a4447aacd9 100644 --- a/sys-process/cronie/Manifest +++ b/sys-process/cronie/Manifest @@ -5,5 +5,5 @@ AUX cronie-1.5.3-systemd.patch 980 BLAKE2B dc11e7e1f072270f24e4ae420c2bde63412ec AUX cronie-1.5.5-autoconf270.patch 582 BLAKE2B 8bfc34dfa925abab58ac156845d848b4d714430c3cfed0a453b565e76e6462f3214acaa338bb9d36b72a1d3484d7daf16f5ea41d42ccb8cbca024394d3e85c00 SHA512 7a7f5496e68fd43c804a7b39e32e0b7cc07183c02cc60bea91cf949e9783d85cd8e8143b53e0a1341dbc8dc209c688a35ae04940b2ae953db723eae6f0962639 AUX cronie-crontab 476 BLAKE2B 7e2de210328ad714647b9ec50c611573ba166b63f68643aa001f8ca2d2c6e6a5b1300cbd8e1be2ba4374def366698abe6f990673b427e7db4883a9cb74bd06c0 SHA512 0d42a8e749db5c7f057b980678dbfada3dcf1418000168380097032a69a48ab4bc8fa228fb45c65c9c2a1a8d5290da3ca84816963fb7096fd13e293a68fea0c5 DIST cronie-1.5.5.tar.gz 124642 BLAKE2B 19bb690a2ae66b9b99dcd0536c115fbdf46c0f1c58922e08fb31d9789df3358438001bd4b6b55d16e99e3927364c618ac22cb04661db1245d09709fcb58eef1e SHA512 88b0e877e5b36a0063b37a6ce82133117c95ebd4435ce843e09c6247ac50f36c66503b850aafa75512fab07d46a110ddfdf52e7e984638ed794588e338547166 -EBUILD cronie-1.5.5.ebuild 2578 BLAKE2B c6005d25ba50ab7859e947c1c36602daf1192ee9a342948cac42db6c05b7f5cc5f6f50deefe181772b01564bdc191e0c41aaf1500215c82a760e02d0bde51e06 SHA512 1962b49e47557cc556f7ba4d9aa1f19df82aa52a6b956420b8e0823d02b462d50c0d6052fd4ce73ab136e9a805bf40c3a5e5a19f82540b07dd1a0d34eebf777e +EBUILD cronie-1.5.5-r1.ebuild 2602 BLAKE2B 67149bc5f6e388930042163ebb28b62e5d2dc6710283c635ad4bf036d7d0c08d6aafca69bbf92e62340313ae3dd0fdb3f0034e5c4f87e2f4c03a821ea2f23d53 SHA512 77b5a10e3ad99ecc1d555c429060979d2fc9e8d4310383ee426d33b6f100a206b3e2f13d89e01a1d607bf6703388f8baa9d395068c70bfa5e9654868285479f6 MISC metadata.xml 891 BLAKE2B fe26178ef61d59391ea0ec3817c37bf3ca71b196ceb070244099a7cb1a34110c5c0d0903b682d08f1afc69ed2fd9a18aa9aaee21d61e22f388625dfa7a63a908 SHA512 91d9c91d6997261d59cff08c5c2724476d6709993debf0dbcf4abb38d2c99fe301e7d64ed759fd660e9774e81a8fb51e147a0a194ebe733ed6f9c80940ea7658 diff --git a/sys-process/cronie/cronie-1.5.5.ebuild b/sys-process/cronie/cronie-1.5.5-r1.ebuild index 4bbef2e9bb0c..87d7137e8e3b 100644 --- a/sys-process/cronie/cronie-1.5.5.ebuild +++ b/sys-process/cronie/cronie-1.5.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -83,7 +83,10 @@ src_install() { doins contrib/0hourly newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} - newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond + + if use pam; then + newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond + fi systemd_newunit contrib/cronie.systemd cronie.service diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest index 79258f2e9292..6920356f23ad 100644 --- a/sys-process/fcron/Manifest +++ b/sys-process/fcron/Manifest @@ -8,7 +8,7 @@ AUX fcron.init.4 2589 BLAKE2B e84ffd9d1b5a3cd1ee60c426cde67a3e7bd5a853d2cbdd943f AUX fcrontab.2 226 BLAKE2B 4fc55d14c44797b1dcc34000de1a9ffa43b1a52037db5dcec76854dfc4c84283dceafdc84f2dec9dfcb95dd5a39d90f31c828b819d29122b2b7b2135f4c65899 SHA512 f0c74c2cd601750f7de8d9926278bd79026b236f2bda4033fe1961c48171b3aa3712bd8d8917f9c784bf0ce54ed09781572cb7e9397d9579a8ba6a114c1e5c2e DIST fcron-3.2.1.src.tar.gz 601142 BLAKE2B 184b74f9d64186b7d3aae87d48ed0107525fd0c73bb8db86408bd246592ff4fbcbc04f8ca0064868a8555d7c6be2f183172d62daeed75275cd836517da504d0f SHA512 ddfd3e3a297b843c924aacccffaa5c1c6b300497f39daa1cdb90dc4cf4bc757042b0b2c1f055c119c8128c64d830ee0e8757091610432f5ffcacca25d369e5cd DIST fcron-3.3.0_beta.tar.gz 592481 BLAKE2B b862dac8e70621e299ec2fbbc75a0e8843e7a085190fa7a18f9444f6f41f28cf55ef0dcd7234a388b9b3e6689f25019a581ded2ae6002643bb3dc472a59207bb SHA512 e5b76e23af774997d9ee1ef58d17009cea95d10b19a2d22b550b178a39bb7c439c055b440eb99c4286db6622901e5deb029318e4425e8cd098766452ffc15bc6 -EBUILD fcron-3.2.1-r1.ebuild 6942 BLAKE2B dc5b605e10749f0026eead595cf65fadec88f1bd59d740395f0d072dc3eff872cb27d4a5612d9d4ab3a405025b6a46ef68602d944462f844576773381f3994ad SHA512 cf56b64ca2992b337ac5ae61a839c6e94feb4cd7cd3a32f9ea886c5c1755a848c8da1d86c5e43f868c1dec168645979cce7e5ecd9f119c008992dbdd8b6da5db -EBUILD fcron-3.2.1-r3.ebuild 7044 BLAKE2B 9bb4203f244c37f72e0cf141c2ed9cf481bbcb9eb723da72171fe3a3c6c1985ac810e848f616f30e979bc07932612a09fca4b6de95ad4e4698a6b4abdd1bde02 SHA512 f71c64ec1de075616d0f9f131f32eb482c3c27ed5aef9cf902f313d3496f81c7426aa63068dba00d669270058cd688c432d2656e71cc5b3e61dea1e5469f2cd6 -EBUILD fcron-3.3.0_beta-r1.ebuild 7072 BLAKE2B 5f2eb64ec051660e1fa70a124037add45ee37b883ad55574eca0e2a107b0c972eae0c7ae0bf11cc99a4977c92a4835765b924aecc5d84c0ec30abb2c71600483 SHA512 78d2c25f0dcc90e14fb5afcdd3da370b047d23d4b0dea4c82b6e2bb112b8b3eb370c6e766342e82c466be18df268d1a178991d4d0f4ce2d46cba1824e5a98f7b +EBUILD fcron-3.2.1-r1.ebuild 6964 BLAKE2B d9f568fa7ce9d039767c6325f94ad44a75779f04d818fb82f79958751291fb21cb437c03fe05a021d93fa5a4adf28dc9b48430d1b26ff18299b9e6e8132ee399 SHA512 61c714fd91c530c5a84186b1c7cf4290c25f7d21484db9caee0c993ef1c11c5bf7a390b554c3da4a0c3d19d35d0f220168dc92b378fc3eca8e42df4f4add8ccd +EBUILD fcron-3.2.1-r3.ebuild 7066 BLAKE2B 0d649d322fbaa9d0248fe9d7d1c1657f01ecb4288faff7b12266945a9e1352e680b2a5070820ca632b2be9857452b72e7d02fb6e47b965109fb0862514b95d80 SHA512 d6cf7d28e5f29791a7b30c985503daca7c5b0032e08c0d933f66e958b1e3f7461f78e5eda01bad57f23df2d4fdb21ceaa7e60784bc5d29967cd6fa39d67a6dfa +EBUILD fcron-3.3.0_beta-r1.ebuild 7094 BLAKE2B 0c8b148ba06a66d7d8e8d379c7bf09a1c68dd430e48cbe2cb5cca2e31e2f08969ac7f9b895c4b6f8ae9f681d885508e9de4b6c09d39417db41505e7d29715ceb SHA512 cada425b9ab1fe5ff83aa76504c58822130465a0c76dfea35976ecd2b98c9fb74a953483c4ff55654bf0f7e2545a87806c4e59147314824d542abec2478fa74c MISC metadata.xml 1159 BLAKE2B d2b071b31dca97b30377fbf9c5f07c7d80c4734f0c45fa37f14729e82337cbbc5075f0cc77d566d1fda6acfc9667eb6fb54f239286ce5f19808e0c118f3a5fe3 SHA512 0eb673fcb2652f766929c44d47d8d47be8cb094398dc394816196988cd08b04ce9cb658ce4457ca1b60e49d44a222cc608025364c72de277ba1a6d575a503f04 diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild index 7e07ebb433d3..e1c90a0def31 100644 --- a/sys-process/fcron/fcron-3.2.1-r1.ebuild +++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -147,7 +147,7 @@ src_install() { fperms 0750 /etc/fcron fperms 0640 /etc/fcron/fcron.{allow,deny,conf} - pamd_mimic system-services fcron auth account session + use pam && pamd_mimic system-services fcron auth account session cat > "${T}"/fcrontab.pam <<- EOF # Don't ask for the user's password; fcrontab will only allow to # change user if running as root. @@ -159,7 +159,7 @@ src_install() { account include system-auth session include system-auth EOF - newpamd "${T}"/fcrontab.pam fcrontab + use pam && newpamd "${T}"/fcrontab.pam fcrontab newinitd "${FILESDIR}"/fcron.init.4 fcron systemd_newunit "${S}/script/fcron.init.systemd" fcron.service diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild index e4ae261689bf..a564610b6fc0 100644 --- a/sys-process/fcron/fcron-3.2.1-r3.ebuild +++ b/sys-process/fcron/fcron-3.2.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -148,7 +148,7 @@ src_install() { fperms 0750 /etc/fcron fperms 0640 /etc/fcron/fcron.{allow,deny,conf} - pamd_mimic system-services fcron auth account session + use pam && pamd_mimic system-services fcron auth account session cat > "${T}"/fcrontab.pam <<- EOF # Don't ask for the user's password; fcrontab will only allow to # change user if running as root. @@ -160,7 +160,7 @@ src_install() { account include system-auth session include system-auth EOF - newpamd "${T}"/fcrontab.pam fcrontab + use pam && newpamd "${T}"/fcrontab.pam fcrontab newinitd "${FILESDIR}"/fcron.init-r5 fcron systemd_newunit "${S}/script/fcron.init.systemd" fcron.service diff --git a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild index ca2a152f4031..0e7915a8d603 100644 --- a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild +++ b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -153,7 +153,7 @@ src_install() { fperms 0750 /etc/fcron fperms 0640 /etc/fcron/fcron.{allow,deny,conf} - pamd_mimic system-services fcron auth account session + use pam && pamd_mimic system-services fcron auth account session cat > "${T}"/fcrontab.pam <<- EOF # Don't ask for the user's password; fcrontab will only allow to # change user if running as root. @@ -165,7 +165,7 @@ src_install() { account include system-auth session include system-auth EOF - newpamd "${T}"/fcrontab.pam fcrontab + use pam && newpamd "${T}"/fcrontab.pam fcrontab newinitd "${FILESDIR}"/fcron.init-r5 fcron systemd_newunit "${S}/script/fcron.init.systemd" fcron.service diff --git a/sys-process/parallel/Manifest b/sys-process/parallel/Manifest index 63d4e26497e4..140ce21869d3 100644 --- a/sys-process/parallel/Manifest +++ b/sys-process/parallel/Manifest @@ -1,7 +1,5 @@ -DIST parallel-20201122.tar.bz2 2108900 BLAKE2B 97c49d5a17732db25307bf6f2e74451e8364c19e5253e4bb03736234397126f89809447b3cb6b343b315b512c2d2b578e7d2bbe2d5aa3e39f7eaf2cf40df0372 SHA512 58d6d41294418522db2d143ddbbf4d8cc47a3ae8a66f9f36d77396c230098386de9952a3b4d7db9e14470e36834be7d1995c5dda219ae21a72ea959f27d84e64 DIST parallel-20201222.tar.bz2 2115156 BLAKE2B 5e7194a1b0e8b14b9d1b866534eb2d96c40b1d7a4679ce094348f0a9670a9ceb6453de9cbf3e2b39077f9b4bb6034ef41e2c21e4225bc6af391ab6cc21588b58 SHA512 88359a211c0caf31a356a2095c31fea65e768880b82d9d9c820ae51b127928b0e5038d15355874cda3f7788cd0195b345f81c611cdfffd91697e075e9fa97e60 DIST parallel-20210122.tar.bz2 2129331 BLAKE2B a40f14fb262e2ca47240e893a2aa55bf33c633c23211a61f66a4d83506e7419d3e2603cd396d178ee93927fc00f50e2c9ec99cfaab8956eb2ef7ec77e357c48e SHA512 dcd3653b0ca49c5df114863dcc8d69f820c2ec3c2f8c39a86ec566f600fa80eeb218f500f982e74eb683a50bb58b55a496d9bbe002b4358e94315ba728235451 -EBUILD parallel-20201122.ebuild 652 BLAKE2B 87b97957ccf1af775d3691a461fe9cacedd9ad69948cb37de172df9c78a2931c35c58cb5ccac16f7548aa9be75759c1a79b4147ad0b0bbcde4ab46a4354ae16b SHA512 1401b9919056d32497b6effb449e7a4a60a77cb4cdfdc25b57d10a2e441efcccb9545e89d04fb60efe59e5ab4c93e0954df73c17f1703a39643c244e1bcd940d -EBUILD parallel-20201222.ebuild 653 BLAKE2B 80817c6d1bae69faa8a336ed18154d98d78a4897cd2f4b44ef6111b3405a5e83a110206cdcd178e637eab454a32bf265dddbc8eadf9c2bb86b62a9d91fbe1836 SHA512 46fe12dfb32363a6df19e37498a4a32af689e00d2f155a6c49074db55118dac8d30a0170fc0e5238361f11b5fa7d46e2fd8e67d0ab5570f41b39aabec0e34e98 +EBUILD parallel-20201222.ebuild 652 BLAKE2B 97ee23ecc8c14178860bb0133decc2a0d5ff15e96c131fb65f45b50d608c661ed1a8e706db05a68a184d7a52a48793e0e1ce7adc69c323f9e68e934d02f41307 SHA512 acf06d1a9377018171c27b4f9f8c824fa0b6fadcd754bae85321cf643657e792ebfed16593f8930bdb985fa19f2196dfcf47926c66be80b41e8a1f06db96cf50 EBUILD parallel-20210122.ebuild 656 BLAKE2B 85472978d1e6cad85e4a744e30d634ccc1dfced7c8b4c9e512629e7358bfe7400c126faaec8aa0758237e081163e8f84a9b7a3842d4da3c353a0b4a7d28623ec SHA512 4a4db9ab89af9faa48d66e476964befbb38a83b26a84a9021a30d000d566702f5cf5d3016f3643be9e354311343e56774c2151748e35c3865f54efc8f938c6a1 MISC metadata.xml 1077 BLAKE2B a636be1d6e6e4861e156561d8670e0c07ae27657e2ddf8cac3a6d9dfcb3c637931fe95daf998dc93fac1ab2a31d9ae43e73469a2882124fa8e229f1c7bf55d06 SHA512 5cfcbca8d00c6fd19ef2ad24fe6f23d3e02164b31a330d0ab34a739a8a4152f8d8df31a42c563d0b482a94519bdc4b0d92182b04d6937dd98f06bcee3726493b diff --git a/sys-process/parallel/parallel-20201122.ebuild b/sys-process/parallel/parallel-20201122.ebuild deleted file mode 100644 index 54a0c2f8069d..000000000000 --- a/sys-process/parallel/parallel-20201122.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION="A shell tool for executing jobs in parallel locally or on remote machines" -HOMEPAGE="https://www.gnu.org/software/parallel/ https://git.savannah.gnu.org/cgit/parallel.git" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND="dev-lang/perl:= - dev-perl/Devel-Size - virtual/perl-Data-Dumper - virtual/perl-File-Temp - virtual/perl-IO" -DEPEND="${RDEPEND}" - -src_configure() { - econf --docdir="${EPREFIX}"/usr/share/doc/${PF}/html -} diff --git a/sys-process/parallel/parallel-20201222.ebuild b/sys-process/parallel/parallel-20201222.ebuild index af3c9428a5e5..c04193c3fe62 100644 --- a/sys-process/parallel/parallel-20201222.ebuild +++ b/sys-process/parallel/parallel-20201222.ebuild @@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND="dev-lang/perl:= dev-perl/Devel-Size diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest index 694bd61d698c..06fa8499936f 100644 --- a/sys-process/procps/Manifest +++ b/sys-process/procps/Manifest @@ -1,8 +1,8 @@ AUX procps-3.3.11-sysctl-manpage.patch 941 BLAKE2B e10b6f85325d1ea23b327dffe4ba35662d5110492d0d5fcffad41edff21ddea4ea8c8bcb66582f63abd100a20d0d406e1c3fb176a8c290ba2cc6ecb02aa98248 SHA512 df8b233bde879fa675742baf8b38d43dd7c306fe52013ace715dff02c126d8c5ea12bd93087da10f5e722294eef59577b264309cbdc6f9f3727fa7111c5db313 AUX procps-3.3.12-proc-tests.patch 1835 BLAKE2B 99fe8d63620f37f98cddc60e8bcbaadbe5e7c54c4b0a65abad6ebe8a89f1b8f7f6bd29114b50678aa89cd0c89d26a95a10aa403d48bcc8371f16eaf34c823390 SHA512 ecc94717366a314ac4bba550b84472555f7b217be2174b68778d3364e16586ab9c21756d2041e2ac9d1449856fcd6aa691d8bd1a8558b4653d068dc1d59c2c71 +AUX procps-3.3.16-SC_ARG_MAX_sanity_check.patch 1724 BLAKE2B b49f804ed9b2cd6aef84e805f5d21e0585a8649963331497ee426e96e59460d8a549372523943991f9addc9096aea6a8ba7a94d9adb1bc70daa282a601bb8c04 SHA512 2e73679ed42acef9fd5916f17b2913c1e38507fb310713010952c32971fe13577320d42219a94b36820e4fd8208faa791dbb9fa7892bd0bbf71deccb35f0b2c6 AUX procps-3.3.16-toprc_backwards_compatibility.patch 2926 BLAKE2B e7c84ba19c41db1284b5d8bf12201385b99c689117894c8bd7d4a6c6dae446bc20d71259a7ff3ca863d01522920394d29c5dbdecc3ff6cca0c3c511d4f6d2bea SHA512 0fd42746206ed25b8be3460a1c078ab7f7669ab15905e473c75bd07a2fa94ed3db8253882806ad9994eaa53c324b81204dc3d1c2a7d0ee6798d8ccd37302b725 -DIST procps-ng-3.3.15.tar.xz 904416 BLAKE2B 9fc1384df1d51a13bdf3aaad173160a11c5a7e016a8c397a076b5115e350d2c6fd8ff8d9ad5d83b959020bcd6a1ef9e1bca02e9a63d56881816c5c7d7c9a8bc3 SHA512 bc83ccc1941e7be8266588fdfbba17e2424b30163a215873ee6dee96215d66249f5d5e46fec2278d030b42bd7599861c4878360042dacec4c221ce411453747c DIST procps-ng-3.3.16.tar.xz 859736 BLAKE2B fbacc1edb0711cda0fecbf5f589c8cc18bd74f0430866e946f7c4612b78f383b9299840ab7fa5bbc65c581cc9484dbb37b111c493cf88f55ba247a343fd0c80d SHA512 d83da472df256b188c32082632202e7f8ebd1b161082387760876ae34d50221b3682299a2816a7d6a29afb40322743c31b87d92ca299c2944a6b55e50736d367 -EBUILD procps-3.3.15-r1.ebuild 1987 BLAKE2B 0f3ae787ca2c22d9eacbf88bcc4354cd20307ee2f6f7f4de7b80690503705abb79175de9ef8f1d9bdd2c313dcb16cb6bcaefe53f1432d272182de44f84dea28b SHA512 46e31e2b1be497e67a5a68bfb6f0b87d140c9afac5713a0ae46e1728bf4de1d0687a16523031ce86490a4ef18a3956d5cae01f92088cd3ecc79d5c1ebe346ec3 EBUILD procps-3.3.16-r2.ebuild 2364 BLAKE2B 5e0dcb4405c0d39f0800203ac5bab770a6140af3e6ce51778b629b511759010d98704682801b3b86b27821a2209cfb56e92404db52bdff76c0053e5f6f10c5af SHA512 a04c75b2ef1b69aca34f5d501e09dcb9a280d90c467768726ec8b3418c0cee3b0f1fbc3d2dba4800a69f7f545e1f7ee81c45aed51de7ceb591967cec08ba5ef4 +EBUILD procps-3.3.16-r3.ebuild 2432 BLAKE2B ed90d540ec89cb746384578dc8d813c79bb5ae4313b808197bd69168ffc48e77ed7adedda3c7313b120b712bc04636366711a2805297e6772f3843934410e606 SHA512 18e7e1eedf2ac685a6893b38107403706f798283a9b464c18906f66d9cadc98e6ac81dab9b7d056202baba5f2df362f145aef4f26ad489f97bbb9e06dae44c93 MISC metadata.xml 717 BLAKE2B caae5760de6bc3dbb19fef321255f8951a8ca70139511121dc6d497c8eac4a19ea1d08032e0b6538c74bb34242c8b394360e1fcbf65bd15ef3554e318fa2d4e3 SHA512 3a6a2fcf2dad8784e270bde8e6bc8b183e3dec14abe8c51a17316debac0b599a4f95dabd5e3e05344f500e8eb60b901062d17d644201bf4596e4580ba4d9494b diff --git a/sys-process/procps/files/procps-3.3.16-SC_ARG_MAX_sanity_check.patch b/sys-process/procps/files/procps-3.3.16-SC_ARG_MAX_sanity_check.patch new file mode 100644 index 000000000000..1b85c2c855f1 --- /dev/null +++ b/sys-process/procps/files/procps-3.3.16-SC_ARG_MAX_sanity_check.patch @@ -0,0 +1,60 @@ +From bb96fc42956c9ed926a1b958ab715f8b4a663dec Mon Sep 17 00:00:00 2001 +From: Craig Small <csmall@dropbear.xyz> +Date: Sun, 5 Jan 2020 15:05:55 +1100 +Subject: [PATCH] pgrep: check sanity of SC_ARG_MAX + +A kernel change means we cannot trust what sysconf(SC_ARG_MAX) +returns. We clamp it so its more than 4096 and less than 128*1024 +which is what findutils does. + +References: + procps-ng/procps#152 + https://git.savannah.gnu.org/cgit/findutils.git/tree/lib/buildcmd.c#n535 + https://lwn.net/Articles/727862/ +--- + pgrep.c | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +diff --git a/pgrep.c b/pgrep.c +index 01563db..bde7448 100644 +--- a/pgrep.c ++++ b/pgrep.c +@@ -485,6 +485,26 @@ static regex_t * do_regcomp (void) + return preg; + } + ++/* ++ * SC_ARG_MAX used to return the maximum size a command line can be ++ * however changes to the kernel mean this can be bigger than we can ++ * alloc. Clamp it to 128kB like xargs and friends do ++ * Should also not be smaller than POSIX_ARG_MAX which is 4096 ++ */ ++static size_t get_arg_max(void) ++{ ++#define MIN_ARG_SIZE 4096u ++#define MAX_ARG_SIZE (128u * 1024u) ++ ++ size_t val = sysconf(_SC_ARG_MAX); ++ ++ if (val < MIN_ARG_SIZE) ++ val = MIN_ARG_SIZE; ++ if (val > MAX_ARG_SIZE) ++ val = MAX_ARG_SIZE; ++ ++ return val; ++} + static struct el * select_procs (int *num) + { + PROCTAB *ptp; +@@ -497,7 +517,7 @@ static struct el * select_procs (int *num) + regex_t *preg; + pid_t myself = getpid(); + struct el *list = NULL; +- long cmdlen = sysconf(_SC_ARG_MAX) * sizeof(char); ++ long cmdlen = get_arg_max() * sizeof(char); + char *cmdline = xmalloc(cmdlen); + char *cmdsearch = xmalloc(cmdlen); + char *cmdoutput = xmalloc(cmdlen); +-- +GitLab + diff --git a/sys-process/procps/procps-3.3.15-r1.ebuild b/sys-process/procps/procps-3.3.16-r3.ebuild index 9c45dfc2ce86..5e67f3649e5c 100644 --- a/sys-process/procps/procps-3.3.15-r1.ebuild +++ b/sys-process/procps/procps-3.3.16-r3.ebuild @@ -1,25 +1,25 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit toolchain-funcs flag-o-matic usr-ldscript +inherit toolchain-funcs flag-o-matic multilib-minimal usr-ldscript DESCRIPTION="standard informational utilities and process-handling tools" HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps" SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz" LICENSE="GPL-2" -SLOT="0/6" # libprocps.so -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" +SLOT="0/8" # libprocps.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode" RESTRICT="!test? ( test )" COMMON_DEPEND=" elogind? ( sys-auth/elogind ) ncurses? ( >=sys-libs/ncurses-5.7-r7:=[unicode?] ) - selinux? ( sys-libs/libselinux ) - systemd? ( sys-apps/systemd ) + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) + systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] ) " DEPEND="${COMMON_DEPEND} elogind? ( virtual/pkgconfig ) @@ -32,7 +32,8 @@ RDEPEND=" !sys-apps/coreutils[kill] !sys-apps/util-linux[kill] ) - !<sys-apps/sysvinit-2.88-r6 + !<app-i18n/man-pages-de-2.12-r1 + !<app-i18n/man-pages-pl-0.7-r1 " S="${WORKDIR}/${PN}-ng-${PV}" @@ -42,39 +43,46 @@ PATCHES=( "${FILESDIR}"/${PN}-3.3.12-proc-tests.patch # 583036 # Upstream fixes + "${FILESDIR}"/${P}-toprc_backwards_compatibility.patch #711676 + "${FILESDIR}"/${P}-SC_ARG_MAX_sanity_check.patch #767217 ) -src_configure() { +multilib_src_configure() { # http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support append-lfs-flags #471102 local myeconfargs=( - $(use_with elogind) - $(use_enable kill) - $(use_enable modern-top) - $(use_with ncurses) + $(multilib_native_use_with elogind) # No elogind multilib support + $(multilib_native_use_enable kill) + $(multilib_native_use_enable modern-top) + $(multilib_native_use_with ncurses) $(use_enable nls) $(use_enable selinux libselinux) $(use_enable static-libs static) $(use_with systemd) $(use_enable unicode watch8bit) ) - econf "${myeconfargs[@]}" + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } -src_test() { +multilib_src_test() { emake check </dev/null #461302 } -src_install() { +multilib_src_install() { default #dodoc sysctl.conf - dodir /bin - mv "${ED%/}"/usr/bin/ps "${ED%/}"/bin/ || die - if use kill; then - mv "${ED%/}"/usr/bin/kill "${ED}"/bin/ || die + if multilib_is_native_abi ; then + dodir /bin + mv "${ED}"/usr/bin/ps "${ED}"/bin/ || die + if use kill ; then + mv "${ED}"/usr/bin/kill "${ED}"/bin/ || die + fi + + gen_usr_ldscript -a procps fi +} - gen_usr_ldscript -a procps - find "${D}" -name '*.la' -delete || die +multilib_src_install_all() { + find "${ED}" -type f -name '*.la' -delete || die } |