diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-10 03:03:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-10 03:03:09 +0000 |
commit | be94ae04eee564451203d45977c2ef7c7ace1580 (patch) | |
tree | 616ffc0ad9aee18dc7d5e9e62bf62394e8e520ba /sys-apps/ipmi-fan-control | |
parent | 2be329ae14bbf99f0fc4de7567e2386bbb529fdc (diff) |
gentoo auto-resync : 10:11:2024 - 03:03:09
Diffstat (limited to 'sys-apps/ipmi-fan-control')
-rw-r--r-- | sys-apps/ipmi-fan-control/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0-r1.ebuild | 161 | ||||
-rw-r--r-- | sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0.ebuild | 161 | ||||
-rw-r--r-- | sys-apps/ipmi-fan-control/ipmi-fan-control-9999.ebuild | 2 |
4 files changed, 164 insertions, 164 deletions
diff --git a/sys-apps/ipmi-fan-control/Manifest b/sys-apps/ipmi-fan-control/Manifest index 37e442b4714c..2c2802c55aca 100644 --- a/sys-apps/ipmi-fan-control/Manifest +++ b/sys-apps/ipmi-fan-control/Manifest @@ -96,6 +96,6 @@ DIST windows_i686_gnu-0.36.1.crate 818115 BLAKE2B fdb78cf88e1049d1ed6c474f870dfd DIST windows_i686_msvc-0.36.1.crate 724575 BLAKE2B cf964bec007d8432e2009644cf7f89ea7d910ccf9512c067b7bf5c6c825208ce4a36e9864c0cbca137f523983eb46e58e4bd01054cecd7ac7126d2ba9f67ac0c SHA512 02bb1507981229422498ce29f6c777d5e412358040128f84b09d948ccddf0461b078a0a20cc7f6ab7da8595121bb369453ae9ea1f0506aab715662e8c631e737 DIST windows_x86_64_gnu-0.36.1.crate 790934 BLAKE2B 9dec5d966bdc89efbc81989acca242d519f51676ec37487df2bfacd6bfbc5a8de2871be72c5b96a073a899c666e3a39aa60d493e7df39fa90efe869fb744a332 SHA512 598b69e4f2cd3d68f910d526a66dadb465ff30a8c261c9a4455aa1c5b952d23c04f8edaa063cd16fb43564c116a13f06d607f3a0a9c7495054b8bfe1c04d1865 DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac967598168752d1996b4ddf5278a8fca53360566c37c1a014bfb4dfdc0ae2d96e01196c42eb4906ea80d8e9dd23b9e9f3163631c9e253e SHA512 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631 -EBUILD ipmi-fan-control-0.4.0.ebuild 3281 BLAKE2B 4a5847d2ca97f5dc52eaab8d0e31475efca71e5957bd201f232fe81b5217ed148d209f423b606f7516d670d105368b42d6d74be244ded4543001f1ecbaf65ff1 SHA512 458d54e945486614f06769536c25dc215a17db89f1eacc578bd9456a9ed33a1a87ecbe55664c2bfa19c3417bc2919de8411213359443d63ba3286800ee8f66f3 -EBUILD ipmi-fan-control-9999.ebuild 1481 BLAKE2B 54645b0667f3f9ba39d55b51196425a83918c7f9bebd7de7c159d5ea0aec4f23827a8fe42ed6581d3df07bcd061447ac079d93dd95d03d9b6fd1f2531d77eec6 SHA512 c1bdb91a54fef4605e46c57bb455739c9d4e16259d858607bc5654554225ebf5e3d73bd3db099b28848e3e7f32b41fe69da0d590ff4cff67992bb86c98d65ce9 +EBUILD ipmi-fan-control-0.4.0-r1.ebuild 3281 BLAKE2B 17b91c16536f88fde6357ebe94c219aec39c02acfc56eeb04eec3fcb8a42392c3f709865d72167417fff473fe3e169fc025dd9abaca8ace7e712c08465d8fd40 SHA512 0629ab1d3a6e6e28e23dba78a4e9e02d9758e2f2b7e4eb416fd7b38dabcc87db6cc888d9498346d5e47bc0bce7c39f5a55ce7d6bc2cf86624aa223e9beb28fc5 +EBUILD ipmi-fan-control-9999.ebuild 1481 BLAKE2B fafc939ea3f7baa84ad6f511c68191db94b6157bf353685619cbbf0b7cec554ceff6df7bc35f2429712e9a0a8f8165396aafafa38dbfe5bd28ac4b6f32850963 SHA512 66e8d6e2f32e4e4e2cf1aa6f2b3b0666a2bdc8267ca86554948d0f9704818eba78c3a63997d4543764ef1ecf99ff71a513ffc7ee2eb20c8b3c2c0c53f9eb9e74 MISC metadata.xml 339 BLAKE2B 2965e0dd4238bd52927a29bab686e7ac1adc32285987f77e3c632a23b802493133ff2cb8fe458b1691ba7ca4ca09a2b8a66196892eb58d0dbbe7ae57e77c11a2 SHA512 7e224afd0e887b9e350dd16425031136a976645fc758ee122027ff846995035a40d324fa330a9b1dd26484208ec4f0be0476f5ac24641e5beec0c0c1c2d08c50 diff --git a/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0-r1.ebuild b/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0-r1.ebuild new file mode 100644 index 000000000000..9a64306f99e0 --- /dev/null +++ b/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0-r1.ebuild @@ -0,0 +1,161 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@0.7.19 + atty@0.2.14 + autocfg@1.1.0 + bindgen@0.60.1 + bitflags@1.3.2 + bytes@1.2.1 + cexpr@0.6.0 + cfg-if@1.0.0 + clang-sys@1.3.3 + clap@3.2.22 + clap_derive@3.2.18 + clap_lex@0.2.4 + either@1.8.0 + env_logger@0.9.1 + futures@0.3.24 + futures-channel@0.3.24 + futures-core@0.3.24 + futures-executor@0.3.24 + futures-io@0.3.24 + futures-macro@0.3.24 + futures-sink@0.3.24 + futures-task@0.3.24 + futures-util@0.3.24 + getrandom@0.2.7 + glob@0.3.0 + hashbrown@0.12.3 + heck@0.4.0 + hermit-abi@0.1.19 + humantime@2.1.0 + indexmap@1.9.1 + itoa@1.0.3 + lazy_static@1.4.0 + lazycell@1.3.0 + libc@0.2.132 + libloading@0.7.3 + lock_api@0.4.8 + log@0.4.17 + memchr@2.5.0 + minimal-lexical@0.2.1 + mio@0.8.4 + nom@7.1.1 + num_cpus@1.13.1 + once_cell@1.14.0 + os_str_bytes@6.3.0 + parking_lot@0.12.1 + parking_lot_core@0.9.3 + peeking_take_while@0.1.2 + pin-project-lite@0.2.9 + pin-utils@0.1.0 + pkg-config@0.3.25 + ppv-lite86@0.2.16 + proc-macro-error@1.0.4 + proc-macro-error-attr@1.0.4 + proc-macro2@1.0.43 + quote@1.0.21 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.2.16 + regex@1.6.0 + regex-syntax@0.6.27 + retry@2.0.0 + rustc-hash@1.1.0 + ryu@1.0.11 + scopeguard@1.1.0 + serde@1.0.144 + serde_derive@1.0.144 + serde_json@1.0.85 + shlex@1.1.0 + signal-hook-registry@1.4.0 + slab@0.4.7 + smallvec@1.9.0 + socket2@0.4.7 + strsim@0.10.0 + syn@1.0.99 + termcolor@1.1.3 + textwrap@0.15.1 + thiserror@1.0.35 + thiserror-impl@1.0.35 + tokio@1.21.1 + tokio-macros@1.8.0 + tokio-stream@0.1.10 + toml@0.5.9 + unicode-ident@1.0.4 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + which@4.3.0 + winapi@0.3.9 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + windows-sys@0.36.1 + windows_aarch64_msvc@0.36.1 + windows_i686_gnu@0.36.1 + windows_i686_msvc@0.36.1 + windows_x86_64_gnu@0.36.1 + windows_x86_64_msvc@0.36.1 +" + +inherit cargo optfeature systemd + +DESCRIPTION="SuperMicro IPMI fan control daemon" +HOMEPAGE="https://github.com/chenxiaolong/ipmi-fan-control" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/chenxiaolong/${PN}" +else + SRC_URI="https://github.com/chenxiaolong/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS}" + # supported boards are x86_64 only, do not keyword elsewhere + # technically it could run on remote host and issue commands via ipmitool lanplus, but that's very edgy case + KEYWORDS="-* ~amd64" +fi + +LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 GPL-3+ ISC MIT Unicode-DFS-2016 Unlicense" +SLOT="0" + +BDEPEND=" + sys-devel/clang + virtual/pkgconfig +" + +RDEPEND="sys-libs/freeipmi" +DEPEND="${RDEPEND}" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_install() { + cargo_src_install + + sed -i \ + -e "s|@BINDIR@|${EPREFIX}/usr/bin|" \ + -e "s|@SYSCONFDIR@|${EPREFIX}/etc|" \ + dist/ipmi-fan-control.service.in || die + + # TODO: add openrc service + systemd_newunit dist/ipmi-fan-control.service.in ipmi-fan-control.service + + insinto /etc + newins config.sample.toml "${PN}".toml +} + +pkg_postinst() { + optfeature "S.M.A.R.T. drive temperature support" sys-apps/smartmontools +} diff --git a/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0.ebuild b/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0.ebuild deleted file mode 100644 index d5ac89808170..000000000000 --- a/sys-apps/ipmi-fan-control/ipmi-fan-control-0.4.0.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - aho-corasick-0.7.19 - atty-0.2.14 - autocfg-1.1.0 - bindgen-0.60.1 - bitflags-1.3.2 - bytes-1.2.1 - cexpr-0.6.0 - cfg-if-1.0.0 - clang-sys-1.3.3 - clap-3.2.22 - clap_derive-3.2.18 - clap_lex-0.2.4 - either-1.8.0 - env_logger-0.9.1 - futures-0.3.24 - futures-channel-0.3.24 - futures-core-0.3.24 - futures-executor-0.3.24 - futures-io-0.3.24 - futures-macro-0.3.24 - futures-sink-0.3.24 - futures-task-0.3.24 - futures-util-0.3.24 - getrandom-0.2.7 - glob-0.3.0 - hashbrown-0.12.3 - heck-0.4.0 - hermit-abi-0.1.19 - humantime-2.1.0 - indexmap-1.9.1 - itoa-1.0.3 - lazy_static-1.4.0 - lazycell-1.3.0 - libc-0.2.132 - libloading-0.7.3 - lock_api-0.4.8 - log-0.4.17 - memchr-2.5.0 - minimal-lexical-0.2.1 - mio-0.8.4 - nom-7.1.1 - num_cpus-1.13.1 - once_cell-1.14.0 - os_str_bytes-6.3.0 - parking_lot-0.12.1 - parking_lot_core-0.9.3 - peeking_take_while-0.1.2 - pin-project-lite-0.2.9 - pin-utils-0.1.0 - pkg-config-0.3.25 - ppv-lite86-0.2.16 - proc-macro-error-1.0.4 - proc-macro-error-attr-1.0.4 - proc-macro2-1.0.43 - quote-1.0.21 - rand-0.8.5 - rand_chacha-0.3.1 - rand_core-0.6.4 - redox_syscall-0.2.16 - regex-1.6.0 - regex-syntax-0.6.27 - retry-2.0.0 - rustc-hash-1.1.0 - ryu-1.0.11 - scopeguard-1.1.0 - serde-1.0.144 - serde_derive-1.0.144 - serde_json-1.0.85 - shlex-1.1.0 - signal-hook-registry-1.4.0 - slab-0.4.7 - smallvec-1.9.0 - socket2-0.4.7 - strsim-0.10.0 - syn-1.0.99 - termcolor-1.1.3 - textwrap-0.15.1 - thiserror-1.0.35 - thiserror-impl-1.0.35 - tokio-1.21.1 - tokio-macros-1.8.0 - tokio-stream-0.1.10 - toml-0.5.9 - unicode-ident-1.0.4 - version_check-0.9.4 - wasi-0.11.0+wasi-snapshot-preview1 - which-4.3.0 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-util-0.1.5 - winapi-x86_64-pc-windows-gnu-0.4.0 - windows-sys-0.36.1 - windows_aarch64_msvc-0.36.1 - windows_i686_gnu-0.36.1 - windows_i686_msvc-0.36.1 - windows_x86_64_gnu-0.36.1 - windows_x86_64_msvc-0.36.1 -" - -inherit cargo optfeature systemd - -DESCRIPTION="SuperMicro IPMI fan control daemon" -HOMEPAGE="https://github.com/chenxiaolong/ipmi-fan-control" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/chenxiaolong/${PN}" -else - SRC_URI="https://github.com/chenxiaolong/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris)" - # supported boards are x86_64 only, do not keyword elsewhere - # technically it could run on remote host and issue commands via ipmitool lanplus, but that's very edgy case - KEYWORDS="-* ~amd64" -fi - -LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 GPL-3+ ISC MIT Unicode-DFS-2016 Unlicense" -SLOT="0" - -BDEPEND=" - sys-devel/clang - virtual/pkgconfig -" - -RDEPEND="sys-libs/freeipmi" -DEPEND="${RDEPEND}" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - cargo_live_src_unpack - else - cargo_src_unpack - fi -} - -src_install() { - cargo_src_install - - sed -i \ - -e "s|@BINDIR@|${EPREFIX}/usr/bin|" \ - -e "s|@SYSCONFDIR@|${EPREFIX}/etc|" \ - dist/ipmi-fan-control.service.in || die - - # TODO: add openrc service - systemd_newunit dist/ipmi-fan-control.service.in ipmi-fan-control.service - - insinto /etc - newins config.sample.toml "${PN}".toml -} - -pkg_postinst() { - optfeature "S.M.A.R.T. drive temperature support" sys-apps/smartmontools -} diff --git a/sys-apps/ipmi-fan-control/ipmi-fan-control-9999.ebuild b/sys-apps/ipmi-fan-control/ipmi-fan-control-9999.ebuild index 9edc0bc051d8..b54b1009b6a3 100644 --- a/sys-apps/ipmi-fan-control/ipmi-fan-control-9999.ebuild +++ b/sys-apps/ipmi-fan-control/ipmi-fan-control-9999.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/chenxiaolong/${PN}" else SRC_URI="https://github.com/chenxiaolong/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris)" + ${CARGO_CRATE_URIS}" # supported boards are x86_64 only, do not keyword elsewhere # technically it could run on remote host and issue commands via ipmitool lanplus, but that's very edgy case KEYWORDS="-* ~amd64" |