diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-06-25 16:21:05 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-06-25 16:34:49 +0200 |
commit | d35862d03a574468a475d4edaf9a4e45f618f1fd (patch) | |
tree | 940c4b13caac7a0516089dfab9d62bdcc9dfc4a0 /sys-apps/tas | |
parent | sys-apps/smc-sum: add 2.8.1.20220506 (diff) | |
download | gentoo-d35862d03a574468a475d4edaf9a4e45f618f1fd.tar.gz gentoo-d35862d03a574468a475d4edaf9a4e45f618f1fd.tar.bz2 gentoo-d35862d03a574468a475d4edaf9a4e45f618f1fd.zip |
sys-apps/tas: add 1.7.0.220503
Bug: https://bugs.gentoo.org/851879
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/tas')
-rw-r--r-- | sys-apps/tas/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/tas/tas-1.7.0.220503.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/sys-apps/tas/Manifest b/sys-apps/tas/Manifest index b9e8df89b59d..de88d0fe8479 100644 --- a/sys-apps/tas/Manifest +++ b/sys-apps/tas/Manifest @@ -1 +1,2 @@ DIST TAS_1.6.0_build.200601.zip 15528952 BLAKE2B f2514180c1335c2c8afd5cf0234da8dd22563086cf2c85e38b8dc2bc28b27fd3dac6a09123a0d4f57354cf729ad5050a6253608d15682577c75b551c921aa1b0 SHA512 725e8134a51a75b23f566f1321e87faf44f96603d63b4a253f03c262ec2c40c339e024162ba84da37647cd301a039ca4aa34e42936d1a47303c7fa68e1e5f2f3 +DIST TAS_1.7.0_build.220503.zip 15345434 BLAKE2B 48f70d0dbafdb3e2acba8fb2e29007dce21062c843ea601c623664e7df8bf3638f14c489688e25445611d261ab6a30ce2edeae8f4e19749c9d3be61f6c30766b SHA512 dedef4b53afb5607f61d7e8793f966d4345ebb530cb0174c22fb72f41568a0b5c109833609e63d25de562c8de7fec312da3198b023265867b8f1228e0974455b diff --git a/sys-apps/tas/tas-1.7.0.220503.ebuild b/sys-apps/tas/tas-1.7.0.220503.ebuild new file mode 100644 index 000000000000..3ce67d72f4a4 --- /dev/null +++ b/sys-apps/tas/tas-1.7.0.220503.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 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}" + +KEYWORDS="-* amd64 x86" +LICENSE="BSD supermicro" +SLOT="0" + +RDEPEND=" + net-misc/networkmanager + sys-apps/ethtool + sys-apps/net-tools + sys-apps/smartmontools + sys-block/storcli + sys-devel/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 +} |