summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-14 11:01:29 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-14 13:45:46 -0700
commit3636a4b3a4ce641ead798c73e1b2796980455116 (patch)
treede2e1fabfbe0a2ef5f91a3e64d344a3cdd264a31
parentdev-embedded/platformio: add 6.1.4 (diff)
downloadgentoo-3636a4b3a4ce641ead798c73e1b2796980455116.tar.gz
gentoo-3636a4b3a4ce641ead798c73e1b2796980455116.tar.bz2
gentoo-3636a4b3a4ce641ead798c73e1b2796980455116.zip
sys-apps/ipmi-fan-control: add 0.3.9
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--sys-apps/ipmi-fan-control/Manifest1
-rw-r--r--sys-apps/ipmi-fan-control/ipmi-fan-control-0.3.9.ebuild145
2 files changed, 146 insertions, 0 deletions
diff --git a/sys-apps/ipmi-fan-control/Manifest b/sys-apps/ipmi-fan-control/Manifest
index 0afef9f022da..9bb1c57cf24f 100644
--- a/sys-apps/ipmi-fan-control/Manifest
+++ b/sys-apps/ipmi-fan-control/Manifest
@@ -30,6 +30,7 @@ DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b6
DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c
DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407
DIST ipmi-fan-control-0.3.8.tar.gz 37034 BLAKE2B a6d7dc47b4c2343001b006a12ee784bb2f7a10d38284d9910ccc1c85b335b2c646e18e20ae7da40897625936e60723909ff18298397164fc6ab1c9909bf1fdd8 SHA512 c7142b7a9e75bb7c0f10fafb63a99f879b3d23dc8c23ecfe0e3fb86093dd2ac1cce2d316ddad5b0e2f39bf71b07e32d9c7c267548c09cc5f2aca611e994190bb
+DIST ipmi-fan-control-0.3.9.tar.gz 37251 BLAKE2B bfc655aea24bb0abd2bc100e6d058b7e2cef538ec774e06bbf0459799d3aee9894e1b3a707e9236c817fd8717d6aa07786ed50f592ba61d35bf02bdaec0db8f7 SHA512 5fdf5dd932df7fba71c8bc740ebd242cc4e7f51bcbc57b7d8993ed35277d2b02c4a4d2da31b1734bd03e30f1b74319049cc2383b857ffc738903756c45e49443
DIST itoa-1.0.3.crate 10481 BLAKE2B aa516e8b2fdea4e4e1260a0783fb7aa2672c1bccdf519c45c608fe3f3fd4fe652d7f56f0cd6eeb6a56bc324c68ff241f601660a0dc3c5ffdf7fa239f470078ec SHA512 1290c027ec8a13d2d15ace2b58a1d1a3a18730cd5fb55bc995826b8f4d04ede650b8315a8905f6737c4c4988690ae03bf32c86ab3a31ae068a67d5be04cd618b
DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
DIST libc-0.2.132.crate 595317 BLAKE2B 1b1ae80e034d94468befcafd4bae4c41f29424cbf3770b827dd1d7099cd2364db62cf2e7343da5010e230a47fbd91d320b162f7b54fa3955fd195b6976c3fb45 SHA512 48340dd173ed4d487f6504f4c32cb3c13dac8ad4da95469c8dd79386a7564d258a9ca42ccf1b174154717bafc1d3551b87c8fe35f7e4e062c8e33da9259fec50
diff --git a/sys-apps/ipmi-fan-control/ipmi-fan-control-0.3.9.ebuild b/sys-apps/ipmi-fan-control/ipmi-fan-control-0.3.9.ebuild
new file mode 100644
index 000000000000..3f889794b444
--- /dev/null
+++ b/sys-apps/ipmi-fan-control/ipmi-fan-control-0.3.9.ebuild
@@ -0,0 +1,145 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ addr2line-0.17.0
+ adler-1.0.2
+ aho-corasick-0.7.19
+ ansi_term-0.12.1
+ atty-0.2.14
+ autocfg-1.1.0
+ backtrace-0.3.66
+ bitflags-1.3.2
+ bytes-1.2.1
+ cc-1.0.73
+ cfg-if-0.1.10
+ cfg-if-1.0.0
+ clap-2.34.0
+ env_logger-0.9.0
+ error-chain-0.12.4
+ fastrand-1.8.0
+ 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
+ gimli-0.26.2
+ heck-0.3.3
+ hermit-abi-0.1.19
+ humantime-2.1.0
+ instant-0.1.12
+ itoa-1.0.3
+ lazy_static-1.4.0
+ libc-0.2.132
+ lock_api-0.4.8
+ log-0.4.17
+ memchr-2.5.0
+ miniz_oxide-0.5.4
+ mio-0.8.4
+ nix-0.14.1
+ num_cpus-1.13.1
+ object-0.29.0
+ once_cell-1.14.0
+ parking_lot-0.12.1
+ parking_lot_core-0.9.3
+ pin-project-lite-0.2.9
+ pin-utils-0.1.0
+ 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.3
+ redox_syscall-0.2.16
+ regex-1.6.0
+ regex-syntax-0.6.27
+ remove_dir_all-0.5.3
+ retry-1.3.1
+ rexpect-0.4.0
+ rustc-demangle-0.1.21
+ ryu-1.0.11
+ scopeguard-1.1.0
+ serde-1.0.144
+ serde_derive-1.0.144
+ serde_json-1.0.85
+ signal-hook-registry-1.4.0
+ slab-0.4.7
+ smallvec-1.9.0
+ socket2-0.4.7
+ strsim-0.8.0
+ structopt-0.3.26
+ structopt-derive-0.4.18
+ syn-1.0.99
+ tempfile-3.3.0
+ termcolor-1.1.3
+ textwrap-0.11.0
+ thiserror-1.0.35
+ thiserror-impl-1.0.35
+ tokio-1.21.1
+ tokio-macros-1.8.0
+ tokio-stream-0.1.9
+ toml-0.5.9
+ unicode-ident-1.0.3
+ unicode-segmentation-1.10.0
+ unicode-width-0.1.10
+ vec_map-0.8.2
+ version_check-0.9.4
+ void-1.0.2
+ wasi-0.11.0+wasi-snapshot-preview1
+ 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"
+SRC_URI="https://github.com/chenxiaolong/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ $(cargo_crate_uris)
+"
+
+LICENSE="MIT 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 GPL-3+ MIT Unicode-DFS-2016 Unlicense ZLIB"
+SLOT="0"
+# 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"
+
+RDEPEND="sys-apps/ipmitool"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+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
+}