diff options
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/Manifest.gz | bin | 22572 -> 22566 bytes | |||
-rw-r--r-- | sys-fs/ncdu-bin/Manifest | 11 | ||||
-rw-r--r-- | sys-fs/ncdu-bin/metadata.xml | 2 | ||||
-rw-r--r-- | sys-fs/ncdu-bin/ncdu-bin-2.3.ebuild | 36 | ||||
-rw-r--r-- | sys-fs/ncdu/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/ncdu/ncdu-2.3.ebuild | 129 |
6 files changed, 179 insertions, 2 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz Binary files differindex 8d74e177328c..a1d44b4333d2 100644 --- a/sys-fs/Manifest.gz +++ b/sys-fs/Manifest.gz diff --git a/sys-fs/ncdu-bin/Manifest b/sys-fs/ncdu-bin/Manifest index 71327fe7094f..186e7028a2e7 100644 --- a/sys-fs/ncdu-bin/Manifest +++ b/sys-fs/ncdu-bin/Manifest @@ -6,5 +6,14 @@ DIST ncdu-2.2.1-linux-i386.tar.gz 290694 BLAKE2B a47b93996bf4f03ba08399b0f009890 DIST ncdu-2.2.1-linux-i386.tar.gz.asc 833 BLAKE2B 5cf6b49965457186def2529fe94f2bb250d51c6ec962174806fa34ce1486ff5b8d81806d8f2d948ff6d6fad1314c3522d678cfec638ce2947e5d2866a6c23373 SHA512 875af06240e8c3c6c8752573a60451d31cb91cb381526ca0ad3078a79da163f4233b32cb3b09b1352b7cfb06218b4ad902c5a64a31457be83e0e71c4afa8ed8d DIST ncdu-2.2.1-linux-x86_64.tar.gz 323039 BLAKE2B bb0360e96c41973f4cddb718e16734cf728e5d667b66509706a0d8c75e4e98da51681e36dfc12da748b3ff8621e179d352fee51562aabd70c44a48c16424ee45 SHA512 50cce6048e7f20fee5f20003bfd4d3ccae81f2a9e432b04e0b6556dc9167aec8478efc84a1318e8345547e192214289d0f6ae88548839b250196924e0f723ce7 DIST ncdu-2.2.1-linux-x86_64.tar.gz.asc 833 BLAKE2B 632921fc5f39ec7517dcad7c85b5238fd151f3a5dd510d30c848c26cfe2cb1b0ba389b575d3f29d20a7be2cd954d083715cfb7f7d8ded197fc884afda0e3c35c SHA512 62d1ed45b5f5ae06ee165ccb07b6a8d6c6697505efdd0e8c2990f78c689f284021ecb1f8c0905ebb9566d697bd8b857c4d844a9f7cb706e53c643786a9baef75 +DIST ncdu-2.3-linux-aarch64.tar.gz 286044 BLAKE2B 12961a4ddfef4b240d0a379b8efa733e104d5179645f57512a68ff4e523c002085cdcff3b8533c7575c9201c0f9aa4063227b3953f7a9826f2cdcd6604e9f36f SHA512 6b37d1b9f9ccc18eac118cd94faf808a7173111157f0e06c97de73c349ee4a853bc832b7f8b3e5d116862f93987278504781c36431106a9bb870cf64f428c8f0 +DIST ncdu-2.3-linux-aarch64.tar.gz.asc 833 BLAKE2B cee39dbf98a17f678a6335a86e310291a957de5083818bc266e1e4ba3a562e3f3a0afb666b15b0c10348dab3214d8c02bc55f7d0d134d67673d7d781df51d389 SHA512 1b98c7d673e0a1b1467aba4699ad217388e95e1bb89200ccf59a567cf0512d3d46a067798a8ece55ca76e66c1712748843540d0c1441331e07117dfec533edbc +DIST ncdu-2.3-linux-arm.tar.gz 281221 BLAKE2B aa381e1d227689430168cc0eb7c762556da733b246fedb26b5adaee94f5c141a1dfdafa11518babfdad3c5c8a8040a6f6e398d78357935ed36df4dc027c8a492 SHA512 336e898ec393ae3d2d962b60083d1214fff32da0204d9aed52894488681ff11b223afdfb089d528d679da73e8580da25b3a857dcce9a2c6799ce9a4e6c4643d5 +DIST ncdu-2.3-linux-arm.tar.gz.asc 833 BLAKE2B ea3b427a516a0edf06dd29ec93df04daaa2e3a0659ad357370b58e95977d6ac881ea8104646f9a82b9905af12d18c3f51bba17f2a9d3b6db5b208050581d0ea8 SHA512 d5f484da3d45a52d97f65e25f4bbcfac3500b8871eceb4b5f5d2a8eda7e3f4b175cea544ba56ff4a7e86de7dfe4ccc054979f3755c1ca87b72b12e851cb12a1a +DIST ncdu-2.3-linux-x86.tar.gz 315771 BLAKE2B 10319febbb8cd9c88e0c0677eb53be9a9340106c542b9b7e888944ada52ccb9371b38aacac4d8374bd1c150cfa9939fcda20c5513885015569328fdfd5e69f78 SHA512 c77dd79d13b428d2c85f5a73b3638b6e71229fe924e6d4a3beb9b4765febbcb1d0c29e816fa3354b0e2c0b88c599b2f1fd03eeb87a73cccd296a2fb0225e0d98 +DIST ncdu-2.3-linux-x86.tar.gz.asc 833 BLAKE2B b4dcb755252287556019f15677b02922a0597baa20c176c105a4a47831b82365ee88d82f2f807dda43ce3c25e07e6510b96867e4b2fc2db4eab7b91af9ddc703 SHA512 e618db337ab4afa9dcd0cc743430af3ff17393d9cde9d1623667767e15b32d97310664507dbcc783008d5bb9842c6a6474c21bfce08a19241e5992da863840ea +DIST ncdu-2.3-linux-x86_64.tar.gz 293280 BLAKE2B 871f9c1f6860d83fe3c8ad8e7ffd2157389427b98d3232aaffc9ce983c4b98b9d562d39e94adb667ffaa4745aa4fb1caedd1f9f9b3ca5a756db922a8229f22b7 SHA512 9a1c17a971dc422342e5f42d4f6be4195239411bd529f81d0b0225bdef27e3112561cb1b8c699fb805bd766fb074fc0d93331d83af79d95235533899ac90de5a +DIST ncdu-2.3-linux-x86_64.tar.gz.asc 833 BLAKE2B 85d09c438c3a51fceb0e81252ccd184e3b7b7a1770c423b61efceb3728b1bfa68c26ef852084231a6fbd88d147ccaad655135007cdd8d850bb34aede465c3ab8 SHA512 a130f2f4d623cff7f0256437443fcdf8c0fc073f6c7bd27cc924e3a464dea5ea17f717cc2c700bc67356578d4e7eab342c444926cb14a6610f6e9be329d781f7 EBUILD ncdu-bin-2.2.1.ebuild 1110 BLAKE2B 8e6e6a83cd56326542a1dcfb531557300332ade4a01697d559c031682e7ae433af359efcafa0d7979837a5030c1f2c923137e0a03b4e7c01df212c20ec0ab0e1 SHA512 98e27258c427b0e81ade7d6f6dbb9974387a5f479e2bdea2deb40ed621540fccae9420180c5926545c88b92b640b6a2834a805e64886e77910e3f7f5c8114018 -MISC metadata.xml 863 BLAKE2B 771d7661e17426fc20d287dbda042d222816d22578614f243438d5680fd9ec5e966a6962dd4f301156e7fb9f850e400e09144788b205f149f6c561c5f1f6cc90 SHA512 a5b2aa2c3a9669873bf02d224a5deb324c8ec87dba54c761aa8bfd58b14a9bdd9b4f21668192b16020a9c6cece48e9c297f164f3147bb2d7e252f15d3ad2477d +EBUILD ncdu-bin-2.3.ebuild 1113 BLAKE2B a76644221778faabecdfcd5998f38058c817fd4fc31384ee7015827b24bd14ce73b9bd33a48a571934feaf4426f3b8d4fc20e52f495cec59724b76c079d9ae0f SHA512 6f2539800e564b3c0fae9519f934d706e1e7a32039330dfc95f10787fba8e3f8df544c6624c695b07235c6cf517d3b17233aef5968c29fa7434d7c11be6ef7f2 +MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683 diff --git a/sys-fs/ncdu-bin/metadata.xml b/sys-fs/ncdu-bin/metadata.xml index 758625ee95a2..8a13f5d95ce3 100644 --- a/sys-fs/ncdu-bin/metadata.xml +++ b/sys-fs/ncdu-bin/metadata.xml @@ -14,7 +14,7 @@ </longdescription> <upstream> <changelog>https://dev.yorhel.nl/ncdu/changes2</changelog> - <doc lang="en">https://dev.yorhel.nl/ncdu/man2</doc> + <doc lang="en">https://dev.yorhel.nl/ncdu/man</doc> <bugs-to>https://code.blicky.net/yorhel/ncdu/issues</bugs-to> </upstream> </pkgmetadata> diff --git a/sys-fs/ncdu-bin/ncdu-bin-2.3.ebuild b/sys-fs/ncdu-bin/ncdu-bin-2.3.ebuild new file mode 100644 index 000000000000..af12b1fe8cde --- /dev/null +++ b/sys-fs/ncdu-bin/ncdu-bin-2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit verify-sig + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu" +SRC_URI=" + amd64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86_64.tar.gz ) + arm? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-arm.tar.gz ) + arm64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-aarch64.tar.gz ) + x86? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86.tar.gz ) + verify-sig? ( + amd64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86_64.tar.gz.asc ) + arm? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-arm.tar.gz.asc ) + arm64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-aarch64.tar.gz.asc ) + x86? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86.tar.gz.asc ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-yorhel )" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/yoranheling.asc + +QA_PREBUILT="usr/bin/ncdu-bin" + +src_install() { + newbin ncdu ncdu-bin +} diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest index 7ecfef4db0ad..281db52a3b4b 100644 --- a/sys-fs/ncdu/Manifest +++ b/sys-fs/ncdu/Manifest @@ -5,7 +5,10 @@ DIST ncdu-1.18.tar.gz 159781 BLAKE2B c590424ed6d18b898d88fa405459f5d8988317d336f DIST ncdu-1.18.tar.gz.asc 833 BLAKE2B 2695e3f2a26026f5fc56db3d2e0f15288fdff118e12275333f1db3e85d9d7b0290477670153dbd752e14fbeecc4207410fe55ad39fc7b2daa5d697920ac406c3 SHA512 35f0f3f7f61a49cd2ea020b6207551a953c23bb47f5f6483017fc961f857ef0283932386826707137d857377d0ae5e26ed4a4da26d47042977999e95fe389d38 DIST ncdu-2.2.2.tar.gz 56096 BLAKE2B fca41e74e4eb2509496276aa964ecf6a20db860d0b1d6bab9a169d8d6c5c7c2d41f088241cf57c92d7cf51bb5d84642c2a3a6db99410e6332061e6d35efa94e6 SHA512 5742b4abca1168256b6a7afa24d25e709bc3b490181d85fc070ddce4aad9d41fa3acb5c5a63676d804d082918fdf2bf0c98a27d8d07a56abeef0574c1b598da6 DIST ncdu-2.2.2.tar.gz.asc 833 BLAKE2B 5c6e886853aefec7615774b0c10e4a873d4e51da6d4d66ebd78318a40e7ce1a1d98c948ffd30eaa473cf50f9529dfe150d5831744e62f6762ae471b1abcbc4bb SHA512 494b8e08e2b8a87b31db08c5dcbb922c181fcef188974def2ad5550de16b16b281bbd5d8e401327276a07af8bd5979bdc46f84fde10a7e8601f9559cf452a77c +DIST ncdu-2.3.tar.gz 56608 BLAKE2B 9fd73fba83c57195f8ffbad5b954140a776d1cd1d7b3e458f832255ee9c07eb8af9888a23ed3c671f508d6ba3795e2361f79e64b4b24630d744470efc5bfaded SHA512 283f78761b225883e090c4d0d1325bffc70049477087df3e8d1afcebc3136930c2636b2bba4aa6e43d53626668519c26a1528ba5c75489d3b5924e8974184e47 +DIST ncdu-2.3.tar.gz.asc 833 BLAKE2B fd5b6b4b6e14b8bf66f5053c637598c3a0a9ad16d29c20805d62418fb69a22fa1155c8591dac35514d088c57853043c7d6c8b94abdff793a3f7b0a53cb41fd65 SHA512 698d8f1c0a7e0267fdfcfc7823803012ab7faae6eee75af406ecc9a73244463521de851c3f2b116ae7f6d7e567ea17a7ef6aae75e135a8efbb02333525455b20 EBUILD ncdu-1.18.1.ebuild 689 BLAKE2B 2f7808e81bb5de673d144b5f55569982f50594068f6f82dd10a04524a9aca62ff5fd1688fcf9e0fe9174cefd9443b083cda7aa1ddde03488d5796c4339676eaa SHA512 aae49a606a67fb931472f26fbe6b08c400fefbd8faa368f40df8ae04d00863d5183d1212d92ec447a878389be2392dece49e6972267321ef8ef6fbe4078078fc EBUILD ncdu-1.18.ebuild 683 BLAKE2B 5a8eecd8b29af30456f750b4ceaa245bc80d6c9557a05f7932c6e8d5c509258fcf8516e993579ca4a70d4708282529930b0ac34fce4158b801b7f5140b890d39 SHA512 5cc81a788760ee2d41c88b41a50371721f5abae91381fad55bc0ec6458f264b1f309ebf69beb80168570795747411007b243e640116e7f9543caf8b30134691b EBUILD ncdu-2.2.2-r1.ebuild 3062 BLAKE2B 0beef4dbb4fb0130f505caa272c808b95e7daf1c2c9b1f3bd13349b11cb6ea2b0502c45097170ca95a62ab6f057c70f352bf4bba6f843c95751345f5ca5fe23b SHA512 a324290740a67b141f545297615e3004893a8dc633d4ce2775c17d396622830ee4f62a1acae35d1d0db2cc1d3d597ff69c13dd6bf565931ffcabd74bcabc2e08 +EBUILD ncdu-2.3.ebuild 3005 BLAKE2B bbe2d5185d2ded114a681c0410a42b1d99790e0110542adcf79f891036995c1ce804a46cde662dcdc0bce15a2deec4cb71080bb5e3394406c87aa3ec1b00aaf0 SHA512 18e2f63347c256e74052023e031c80050973fec5d835dd3d77ad8a8893d643d86940e85fcfd219edc9be38948f07a96249da09f47e673a3131692399715d7506 MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683 diff --git a/sys-fs/ncdu/ncdu-2.3.ebuild b/sys-fs/ncdu/ncdu-2.3.ebuild new file mode 100644 index 000000000000..55dbebc9a84c --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit verify-sig edo + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu" +SRC_URI=" + https://dev.yorhel.nl/download/${P}.tar.gz + verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +EZIG_MIN="0.11" +EZIG_MAX_EXCLUSIVE="0.12" + +DEPEND="sys-libs/ncurses:=[unicode(+)]" +RDEPEND="${DEPEND}" +BDEPEND=" + || ( dev-lang/zig:${EZIG_MIN} dev-lang/zig-bin:${EZIG_MIN} ) + virtual/pkgconfig + dev-lang/perl + verify-sig? ( sec-keys/openpgp-keys-yorhel ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/yoranheling.asc + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/ncdu" + +# Many thanks to Florian Schmaus (Flowdalic)! +# Adapted from https://github.com/gentoo/gentoo/pull/28986 +# Set the EZIG environment variable. +zig-set_EZIG() { + [[ -n ${EZIG} ]] && return + + if [[ -n ${EZIG_OVERWRITE} ]]; then + export EZIG="${EZIG_OVERWRITE}" + return + fi + + local candidate selected selected_ver ver + + for candidate in "${BROOT}"/usr/bin/zig-*; do + if [[ ! -L ${candidate} || ${candidate} != */zig?(-bin)-+([0-9.]) ]]; then + continue + fi + + ver=${candidate##*-} + + if [[ -n ${EZIG_EXACT_VER} ]]; then + ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue + + selected="${candidate}" + selected_ver="${ver}" + break + fi + + if [[ -n ${EZIG_MIN} ]] \ + && ver_test "${ver}" -lt "${EZIG_MIN}"; then + # Candidate does not satisfy EZIG_MIN condition. + continue + fi + + if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \ + && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; then + # Candidate does not satisfy EZIG_MAX_EXCLUSIVE condition. + continue + fi + + if [[ -n ${selected_ver} ]] \ + && ver_test "${selected_ver}" -gt "${ver}"; then + # Candidate is older than the currently selected candidate. + continue + fi + + selected="${candidate}" + selected_ver="${ver}" + done + + if [[ -z ${selected} ]]; then + die "Could not find (suitable) zig installation in ${BROOT}/usr/bin" + fi + + export EZIG="${selected}" + export EZIG_VER="${selected_ver}" +} + +# Invoke zig with the optionally provided arguments. +ezig() { + zig-set_EZIG + + # Unfortunately, we cannot add more args here, since syntax is different + # for every subcommands. Yes, even target/cpu :( f.i. : + # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build- + # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build + # (or even none, if hardcoded by upstream so choice is -Drelease=true/false) + # Ofc we can patch this, but still... + + edo "${EZIG}" "${@}" +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + default +} + +src_configure() { + zig-set_EZIG + export ZIG=${EZIG} +} + +src_test() { + ezig build test -Doptimize=ReleaseFast +} + +src_install() { + emake PREFIX="${ED}"/usr install + + dodoc README.md ChangeLog +} |