summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2025-01-19 01:02:20 +0100
committerConrad Kostecki <conikost@gentoo.org>2025-01-19 01:02:24 +0100
commitf1108fa59d74cee083fa997de3402f01585903ab (patch)
tree171d6a01e2087639bfc589bdadcd8b6431ed7794 /sys-apps/tas
parentapp-misc/kryoflux-dtc: restrict libfmt dep (diff)
downloadgentoo-f1108fa59d74cee083fa997de3402f01585903ab.tar.gz
gentoo-f1108fa59d74cee083fa997de3402f01585903ab.tar.bz2
gentoo-f1108fa59d74cee083fa997de3402f01585903ab.zip
sys-apps/tas: add 1.9.0.240925
Bug: https://bugs.gentoo.org/937316 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/tas')
-rw-r--r--sys-apps/tas/Manifest1
-rw-r--r--sys-apps/tas/tas-1.9.0.240925.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/sys-apps/tas/Manifest b/sys-apps/tas/Manifest
index 3f5217e81a11..a1169dba300a 100644
--- a/sys-apps/tas/Manifest
+++ b/sys-apps/tas/Manifest
@@ -1 +1,2 @@
DIST TAS_1.8.0_build.231207.zip 193227 BLAKE2B 4abb31bb6ae099d68e99b707c63b0dc9bbb18dcddd8137c602bdee9dec39c41638d481c117f1479a05ca75e5611d7ab8aa0fb3331d03956f8b952da168266328 SHA512 a1f3dbf41fb691e31381d291a4217a233043ec0a96b92518aaeef4277097499a69c0000ed266aafe17c91f12dd825abeca625ee1a06e3740c7328ef28a833908
+DIST TAS_1.9.0_build.240925.zip 29929687 BLAKE2B ff7a9ec37cd2bb934d73ef2f858bb1980450a9730424acd9bc4f444f2f3d35ab5a4a8363c1702d3fdffc9557f28fb4367a3604c5c2a2453ab46ebe238daf396e SHA512 63f5d27e9062858aa0aaa4dda7261ca3e3d7ba194336a856dff1077c6e0440937f49edac9b9e5b809c3c27c7d438afde02165b1185199de190cbf6c934f170df
diff --git a/sys-apps/tas/tas-1.9.0.240925.ebuild b/sys-apps/tas/tas-1.9.0.240925.ebuild
new file mode 100644
index 000000000000..b918296c5200
--- /dev/null
+++ b/sys-apps/tas/tas-1.9.0.240925.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info optfeature systemd
+
+MY_DATE="$(ver_cut 4)"
+MY_PN="${PN^^}"
+MY_PV="$(ver_cut 1-3)"
+
+DESCRIPTION="Supermicro Thin-Agent Service for monitoring through the BMC/IPMI"
+HOMEPAGE="https://www.supermicro.com"
+SRC_URI="https://www.supermicro.com/Bios/sw_download/817/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip"
+S="${WORKDIR}"
+
+LICENSE="BSD supermicro"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ net-misc/networkmanager
+ sys-apps/ethtool
+ sys-apps/net-tools
+ sys-apps/smartmontools
+ app-alternatives/bc
+ sys-fs/lsscsi
+ sys-fs/mdadm"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="usr/bin/IPMITAS"
+
+DOCS=(
+ "clireadme.txt"
+ "ReleaseNotes.txt"
+ "software_license_agreement_pv.pdf"
+ "TAS_UserGuide.pdf"
+)
+
+CONFIG_CHECK="~IPMI_DEVICE_INTERFACE ~IPMI_HANDLER ~IPMI_SI"
+
+src_unpack() {
+ unpack ${A}
+ unpack "${S}"/${MY_PN}_${MY_PV}_build.${MY_DATE}_Linux.tar.gz
+}
+
+src_install() {
+ dobin TAS/IPMITAS
+
+ insinto /etc/supermicro
+ doins "${FILESDIR}"/tas.ini
+
+ dodir /var/log/tas
+ local logfiles=( {starttime,tas,tas.com}.log )
+ for logfile in ${logfiles[@]}; do
+ touch "${ED}"/var/log/tas/${logfile} || die
+ dosym ../../var/log/tas/${logfile} /etc/supermicro/${logfile}
+ done
+
+ newinitd "${FILESDIR}"/tas.initd tas
+ systemd_newunit "${FILESDIR}"/tas.service tas.service
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "Broadcom controller management" sys-block/storcli
+ optfeature "LSI controller management" sys-block/sas3ircu
+}