mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/ipmitool: Removed old.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
DIST ipmitool-1.8.14.tar.gz 917886 BLAKE2B 6b6753f1320f38f6dc302607113d586ef42176b50ec5b71415b7d8c00f7363bee137103058653e081dec0cd686e88a832bef653874e5e13b00b21ab3c03a7db2 SHA512 1376a0d4209e4622f9b0e27d3f3d67d552be936ded92e4e894d2b04871717a585075b54bbb9b91d62b58483ee9b94b5c64e2ecdfcef3c3f818fa6f035fb34216
|
||||
DIST ipmitool-1.8.17.tar.gz 976189 BLAKE2B 62ca530b2a9fdc0e8071d02b7f903530f223bdf07d75278eb9dafeb167b9ec347b0fbf199e2e7cf8f258463abfc8887c8b9b4df80509758ae8588ca73bbaf68a SHA512 929cf0087d3d712caf845eb62771aa96d034c2222170850b0d8bfdbb41d0b0aee05c14aa48e82368f4494606781c6639ada348fd086907c21b817d95dd36a3f6
|
||||
DIST ipmitool-1.8.18.tar.gz 995313 BLAKE2B 4aee2b1488a8a97348954dd1555baf3d576d70f22fd17f11ba6147595b07ef52059ac8ab6775afa0ad956355eefbf3e2b0300cf87bb373d2f82b585de807412d SHA512 274d424fff079f7628c0f9fe06580937cb9717c809a71b2f5ef97266c6b6c89983b662fbb1f090e2f94861f1799677c8fc6536013828a8a5e6cb239af53e45ab
|
||||
DIST ipmitool_1.8.14-4.debian.tar.xz 16452 BLAKE2B a0a036a6ee6c2c7c450fe5400892db66b2525b895277dfdff633877306257ac7f6a684a39eb3f50ab46d7239d61612e29742e70ec924eb28b76d2e8408d49df5 SHA512 f7b464d9167e2c92b9536fee1e0cb66da11f6cdc6f86d7adb3ad5c239f3c1850663ddfd9571561502904daff52b3a57b633c389de697da42e7bfafe8c67a60a9
|
||||
DIST ipmitool_1.8.17-1.debian.tar.xz 18252 BLAKE2B 6219d81b6b54354e8e412850fc1ee673e2dead153076d55c67fad0518e7230642934a52ba0abea29d8b1f47eb7beef10cbe25a7b8a4df158d4b44b1f1e229f4d SHA512 e1133262020e8fabe47e7aa308956078bc9fb3bb7033413230f1cf76aca1d4733bac64e52039365f24fe54a1bf8e271071bdaa1722720fca62f1c9e8888777a8
|
||||
DIST ipmitool_1.8.18-1.debian.tar.xz 19140 BLAKE2B 255c4da005946f3b118a127f96fc5daad02a170ea079d7a765a0c7650e1eb7e50ad49b31fca95312b49e5a524e04a8a21215cafb1a8451e5b2af2aaec22cda75 SHA512 8aede337d07987decfd032898f194d32730eced443630ac3956676533d693fb2d17a175ef14218cbcd55da44f6b17714f676a912a1d5124a15a995e01d2828ef
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Utility for controlling IPMI enabled devices."
|
||||
HOMEPAGE="http://ipmitool.sf.net/"
|
||||
DEBIAN_PR="4.debian"
|
||||
DEBIAN_P="${P/-/_}"
|
||||
DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz"
|
||||
#IUSE="freeipmi openipmi status"
|
||||
IUSE="openipmi static"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ia64 ppc x86"
|
||||
LICENSE="BSD"
|
||||
|
||||
RDEPEND="dev-libs/openssl
|
||||
sys-libs/readline"
|
||||
DEPEND="${RDEPEND}
|
||||
openipmi? ( sys-libs/openipmi )
|
||||
virtual/os-headers"
|
||||
#freeipmi? ( sys-libs/freeipmi )
|
||||
# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi )
|
||||
# but it doesn't actually need either.
|
||||
|
||||
src_prepare() {
|
||||
[ -d "${S}"/debian ] && mv "${S}"/debian{,.package}
|
||||
ln -s "${WORKDIR}"/debian "${S}"
|
||||
for p in $(cat debian/patches/series) ; do
|
||||
epatch debian/patches/$p
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# - LIPMI and BMC are the Solaris libs
|
||||
# - OpenIPMI is unconditionally enabled in the configure as there is compat
|
||||
# code that is used if the library itself is not available
|
||||
# FreeIPMI does build now, but is disabled until the other arches keyword it
|
||||
# `use_enable freeipmi intf-free` \
|
||||
# --enable-ipmievd is now unconditional
|
||||
econf \
|
||||
$(use_enable static) \
|
||||
--enable-ipmishell \
|
||||
--enable-intf-lan \
|
||||
--enable-intf-lanplus \
|
||||
--enable-intf-open \
|
||||
--enable-intf-serial \
|
||||
--disable-intf-bmc \
|
||||
--disable-intf-dummy \
|
||||
--disable-intf-free \
|
||||
--disable-intf-imb \
|
||||
--disable-intf-lipmi \
|
||||
--disable-internal-md5 \
|
||||
--with-kerneldir=/usr --bindir=/usr/sbin \
|
||||
|| die "econf failed"
|
||||
# Fix linux/ipmi.h to compile properly. This is a hack since it doesn't
|
||||
# include the below file to define some things.
|
||||
echo "#include <asm/byteorder.h>" >>config.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PACKAGE="${PF}" install || die "emake install failed"
|
||||
|
||||
into /usr
|
||||
dosbin contrib/bmclanconf
|
||||
rm -f "${D}"/usr/share/doc/${PF}/COPYING
|
||||
docinto contrib
|
||||
cd "${S}"/contrib
|
||||
dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd
|
||||
newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd
|
||||
# TODO: init script for contrib/bmc-snmp-proxy
|
||||
# TODO: contrib/exchange-bmc-os-info
|
||||
}
|
||||
Reference in New Issue
Block a user