mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/sysstat: Version bump.
Package-Manager: portage-2.2.27
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d26827d74a0f5bced6c492a91f1b96 SHA512 4bb5f2ee14346d83c59bd4da36ae8fc6c13197eabb808b1b5db84b593f07d8b366b1f6329abed8d43e2a8497a89de0f89a398b741d4ca23b4a3a95973b5f0f54 WHIRLPOOL 98daee288e22f803f19bbe423eb999f527e8997f2ffd3fe1fe784363260365ee833dd33b755f44d6bfcc685f70b47cb8fd70fdd9a3fa679829c1e608bd65f8e2
|
||||
DIST sysstat-11.0.8.tar.xz 294828 SHA256 d073b0e95820254a3fbf53ae3fb27db91d5b11778875034cd39c4d56d8e23695 SHA512 bae205b90d3b908de14d568a7872cca1fe0b2a6e423b74d4f837ebd9f9892abc742f8dc746dde559763c982cf0fd73fafc9ad116ea827ff1189c92488fc8696e WHIRLPOOL 375c3e9af3634c151605f89f1debea3148e2d890f9c43cf4dcb834977c093d2622832c0f0773ef05330f6d9dacb3abfd74acc10ae56251b812a7c6c528007232
|
||||
DIST sysstat-11.2.0.tar.xz 322660 SHA256 9806b9a662568796d3fb93ecd01ecea10d815e668337a646494953bff4bc4155 SHA512 0759d2df158b909a2f2f87cee9966041acb50093dbbd364bff9471b87143b31cd6bd83d085346a5a3e985b7b3cb29bcb1145739ac0b57804afcc5577c8f8c35f WHIRLPOOL 35b34f6f4e77a70a544d636e5dca4642cf1ec76dc16709ed0daab2c1b0741ba7d7e80f3290c47fbc16d25f89217b765c059bdea4677f26aad1406c7e4b6ae000
|
||||
DIST sysstat-11.2.1.1.tar.xz 322936 SHA256 19c4d435ffaf3e53ab2f5ca0f63b5c86ebd8f2595e9c34ece30f0966df2d483a SHA512 2c2a26d35ff7cf02332c54780b97de181cdca589da59aa85103619843edeed16c8a2a050585a201687a7d6e928fcb0546a2f2980d8e65203323572aada0ff691 WHIRLPOOL 372d55c332d7446dfc5c475d9ce839db46dab3622cb6131d986366d4da9c2d81eaaa8cabb9704639890866b30b0477e2d3ea4efd7e1602e0522cb4e72b16a14d
|
||||
DIST sysstat-11.3.1.tar.xz 329704 SHA256 ccb1b7c6569dd5ba17b41b7bcae2551cffe2aa8a8bd5293ac2f2b5c35f8e705d SHA512 5a977ff6048a971b513d0e59c3361bf9754dd3cbcfeacd367df26af075bd3249f32bff28075da4c13c996a6416cd1fe94397786eebedc4ec706454b40bd58afb WHIRLPOOL 44a39a11a33c94ee41ab4dedbef39e89c5c6b8a65392016c3fb79d16630de7fa9d2e87f53b1857d8c318c5e93e83e0db68454d1d73bb893aa506b6fdf8514e37
|
||||
|
||||
93
app-admin/sysstat/sysstat-11.2.1.1.ebuild
Normal file
93
app-admin/sysstat/sysstat-11.2.1.1.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="debug +doc isag nls lm_sensors selinux static"
|
||||
|
||||
CDEPEND="
|
||||
isag? (
|
||||
dev-lang/tk:0
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
|
||||
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-10.0.4-flags.patch \
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
use static && append-ldflags -static
|
||||
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=${SYSSTAT_FAKE_RC_DIR} \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-install-cron
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
||||
93
app-admin/sysstat/sysstat-11.3.1.ebuild
Normal file
93
app-admin/sysstat/sysstat-11.3.1.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug +doc isag nls lm_sensors selinux static"
|
||||
|
||||
CDEPEND="
|
||||
isag? (
|
||||
dev-lang/tk:0
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
|
||||
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-10.0.4-flags.patch \
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
use static && append-ldflags -static
|
||||
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=${SYSSTAT_FAKE_RC_DIR} \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-install-cron
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user