mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/tas: drop old version
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST TAS_1.5.2_build.180622.zip 12434740 BLAKE2B 9017aee7512b6d467d2922dc9db3f3cc58046beb4f48838748ac806da1c0c84f99984e2b29867a36db4bcb58a90f3e23c29dbfd8d73e1049cac4bf82ac88d021 SHA512 166483fe514f09c2fbfd27a05072f0bfa0d2cc8f92428451e055ddd9fbc24dfa3e912de224775d16dbb8880391c79ddc2ee9ff55c1e31e0fcf2daa3b05eb7d60
|
||||
DIST TAS_1.6.0_build.200601.zip 15528952 BLAKE2B f2514180c1335c2c8afd5cf0234da8dd22563086cf2c85e38b8dc2bc28b27fd3dac6a09123a0d4f57354cf729ad5050a6253608d15682577c75b551c921aa1b0 SHA512 725e8134a51a75b23f566f1321e87faf44f96603d63b4a253f03c262ec2c40c339e024162ba84da37647cd301a039ca4aa34e42936d1a47303c7fa68e1e5f2f3
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eapi7-ver linux-info 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="${MY_PN}_${MY_PV}_build.${MY_DATE}.zip"
|
||||
|
||||
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"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="bindist fetch mirror"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
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"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from"
|
||||
elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=TAS"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack "${S}"/${MY_PN}_${MY_PV}_build.${MY_DATE}_Linux.tar.gz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin $(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
|
||||
}
|
||||
Reference in New Issue
Block a user