summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-08-04 15:54:27 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-08-04 15:59:31 +0200
commit8bdf3f258b04f793135aa933c847b24c82658822 (patch)
tree6cd9af0cbc19ba41c0a678f918e12465e2ba8d8e /sys-apps/tas
parentsys-apps/smcipmitool: drop 2.27.2.230221 (diff)
downloadgentoo-8bdf3f258b04f793135aa933c847b24c82658822.tar.gz
gentoo-8bdf3f258b04f793135aa933c847b24c82658822.tar.bz2
gentoo-8bdf3f258b04f793135aa933c847b24c82658822.zip
sys-apps/tas: add 1.8.0.231207
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.8.0.231207.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/sys-apps/tas/Manifest b/sys-apps/tas/Manifest
index 7c32c7bbcb99..c939da587605 100644
--- a/sys-apps/tas/Manifest
+++ b/sys-apps/tas/Manifest
@@ -1 +1,2 @@
DIST TAS_1.7.0_build.220503.zip 15345434 BLAKE2B 48f70d0dbafdb3e2acba8fb2e29007dce21062c843ea601c623664e7df8bf3638f14c489688e25445611d261ab6a30ce2edeae8f4e19749c9d3be61f6c30766b SHA512 dedef4b53afb5607f61d7e8793f966d4345ebb530cb0174c22fb72f41568a0b5c109833609e63d25de562c8de7fec312da3198b023265867b8f1228e0974455b
+DIST TAS_1.8.0_build.231207.zip 193227 BLAKE2B 4abb31bb6ae099d68e99b707c63b0dc9bbb18dcddd8137c602bdee9dec39c41638d481c117f1479a05ca75e5611d7ab8aa0fb3331d03956f8b952da168266328 SHA512 a1f3dbf41fb691e31381d291a4217a233043ec0a96b92518aaeef4277097499a69c0000ed266aafe17c91f12dd825abeca625ee1a06e3740c7328ef28a833908
diff --git a/sys-apps/tas/tas-1.8.0.231207.ebuild b/sys-apps/tas/tas-1.8.0.231207.ebuild
new file mode 100644
index 000000000000..b3be2156ee03
--- /dev/null
+++ b/sys-apps/tas/tas-1.8.0.231207.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 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/wftp/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip"
+S="${WORKDIR}"
+
+LICENSE="BSD supermicro"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+
+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/$(usex amd64 '64' '32')bit/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
+}