Skip to content

Commit

Permalink
app-admin/sysstat: Version bump.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
Jeroen Roovers committed Aug 17, 2016
1 parent 6139a87 commit 72bb82a
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/sysstat/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d2682
DIST sysstat-11.2.2.tar.xz 323376 SHA256 e92c9980c6dde7e7faa3b91eb56c82de37139dc4d07eb69ca137eed44d161f5a SHA512 c7cf8134db3366588de58d64c6f852b23974ef99737960d8ec44f93d986690da8f83126132deaee4e02e565518d48678e32e969fa0ad9de36d9ccddfe4639506 WHIRLPOOL 7ab889d9d00ea5e54b0eecc312fc1f080b05151c2bed3cc648b5e301753e53cc348f34b1f2d0a5dec7d07083da7623acaa439f6c295b9b748812f6cce6065d8d
DIST sysstat-11.2.4.tar.xz 323472 SHA256 2fb41049ef72c58c29e5966b27f31d8a30f8f468ef994c4ad0f20900fa0473b7 SHA512 e22ce08a1a058004b40fb15a452631a8bbafce98aa899874243c4b9e392f9ac83f63d20e010d706a6da895712a31cfba845ecf6c4844810648007a5388f237f4 WHIRLPOOL 67ba7c639d425339a48c2d65f946585ebf28082f4c35e83206bd7ce19814c1acd29172304a8824d3837d77476db24c9d81635a65d450c4656b9c8c2919650e63
DIST sysstat-11.2.5.tar.xz 323544 SHA256 4d5c9cd9122aa933ac477f369eb40c66236365a88516577c9655516f6f32e8e4 SHA512 895970728be18a2ab3eac8df462a7c31ab0363b18e05deebf9332a8fb0b0f2f13876d1f5515eaf72537eed436d3f8802e36b9e0e7624d1ca360483f8705f40e6 WHIRLPOOL 98efe23ee3e35d220c0a9e857e9ba2a76475c88b91f270c8a185000ef7ff5e2ac913a2d7c0b6bbbb9b29ae394c36337f5d81cf6eedcf246a3f9e66f121384916
DIST sysstat-11.2.6.tar.xz 323952 SHA256 a5f2e8a81d6203620ed6e7740c4e5d7588aed03a54c4a2f0054450e49733fb3a SHA512 fdd196ac3e44422d5f5ecff700b3d57a06bbe46600f80f81333aa67a7a02a036aca56439a27353e97c185fed254eda4d900ea8580df7b67539ce6b8bb4116808 WHIRLPOOL ded1eae00b49e031b1a9a27df116d5bbcc788d8ad948a75a31776688d621d798fb2d5af272c486169311ff1af26ae6ec9881f1f3ca0891ea1d69b4226e74cc84
DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba
93 changes: 93 additions & 0 deletions app-admin/sysstat/sysstat-11.2.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Copyright 1999-2016 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 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 \
$(use_enable debug debuginfo) \
$(use_enable isag install-isag) \
$(use_enable lm_sensors sensors) \
$(use_enable nls) \
--enable-copy-only \
--enable-documentation \
--enable-install-cron \
--with-systemdsystemunitdir=$(systemd_get_unitdir)
}

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

rm -f "${D}"usr/share/doc/${PF}/COPYING
}

0 comments on commit 72bb82a

Please sign in to comment.