From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7188E15808B for ; Wed, 9 Feb 2022 22:57:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9850DE0801; Wed, 9 Feb 2022 22:57:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ABCAE07F1 for ; Wed, 9 Feb 2022 22:57:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA27A343036 for ; Wed, 9 Feb 2022 22:57:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03ECC2D1 for ; Wed, 9 Feb 2022 22:57:32 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1644447404.5f84c0f9fae8cf40f22de36c9033cc03c35f0dde.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/tas/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/tas/tas-1.6.0.200601-r1.ebuild X-VCS-Directories: sys-apps/tas/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 5f84c0f9fae8cf40f22de36c9033cc03c35f0dde X-VCS-Branch: master Date: Wed, 9 Feb 2022 22:57:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b6f750e-7b0f-466a-ab7c-9b97bbe7fc5c X-Archives-Hash: a904e59e1095e0da61ea71ce7e9c1a1e commit: 5f84c0f9fae8cf40f22de36c9033cc03c35f0dde Author: Conrad Kostecki gentoo org> AuthorDate: Wed Feb 9 21:36:41 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Feb 9 22:56:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f84c0f9 sys-apps/tas: update EAPI 7 -> 8 Signed-off-by: Conrad Kostecki gentoo.org> sys-apps/tas/tas-1.6.0.200601-r1.ebuild | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/sys-apps/tas/tas-1.6.0.200601-r1.ebuild b/sys-apps/tas/tas-1.6.0.200601-r1.ebuild new file mode 100644 index 000000000000..3ce67d72f4a4 --- /dev/null +++ b/sys-apps/tas/tas-1.6.0.200601-r1.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 +}