diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-08-17 07:01:33 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-08-17 07:01:33 +0200 |
commit | c07a28a05dd81cddc7ef2c0dd6a291da27851a22 (patch) | |
tree | 398202dc857eb39d63b74515fac56f9e8fab9622 /app-admin/sysstat | |
parent | www-client/opera-developer: Old. (diff) | |
download | gentoo-c07a28a05dd81cddc7ef2c0dd6a291da27851a22.tar.gz gentoo-c07a28a05dd81cddc7ef2c0dd6a291da27851a22.tar.bz2 gentoo-c07a28a05dd81cddc7ef2c0dd6a291da27851a22.zip |
app-admin/sysstat: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r-- | app-admin/sysstat/Manifest | 1 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-11.4.0.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index 779a7504b68d..01c37c642bff 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -3,3 +3,4 @@ DIST sysstat-11.2.2.tar.xz 323376 SHA256 e92c9980c6dde7e7faa3b91eb56c82de37139dc 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.3.5.tar.xz 343364 SHA256 aa06ab8132d618ed7737346ac882732d54c9f2956f6ab3c9d36657c5e1923709 SHA512 1a791cf3d671093e4bcb3f4b4b487c6935d356c3c8caf6a716b42a40254814a3d18c2589cfba7a353efa285863259d08b9393c36a4df6401cd6015b3f08cc244 WHIRLPOOL fec50f8c08b1b96de57c856ea1ee8fcdb55f5c7a1ab022dedb67e062f72a57491a189dd907e2653c86aa0344aad2bd90b139eb85c0976749361d38ea0ba5f4cc +DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba diff --git a/app-admin/sysstat/sysstat-11.4.0.ebuild b/app-admin/sysstat/sysstat-11.4.0.ebuild new file mode 100644 index 000000000000..3f9181c675f3 --- /dev/null +++ b/app-admin/sysstat/sysstat-11.4.0.ebuild @@ -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 +} |