Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysstat/
Date: Sat, 02 Jan 2016 06:22:47
Message-Id: 1451715696.2eb3871f420da16ffff30ea4d0e021643504034c.jer@gentoo
1 commit: 2eb3871f420da16ffff30ea4d0e021643504034c
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 06:21:36 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 06:21:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb3871f
7
8 app-admin/sysstat: Version bump.
9
10 Package-Manager: portage-2.2.26
11
12 app-admin/sysstat/Manifest | 1 +
13 app-admin/sysstat/sysstat-11.2.0.ebuild | 91 +++++++++++++++++++++++++++++++++
14 2 files changed, 92 insertions(+)
15
16 diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest
17 index 34489fd..b947093 100644
18 --- a/app-admin/sysstat/Manifest
19 +++ b/app-admin/sysstat/Manifest
20 @@ -1,3 +1,4 @@
21 DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d26827d74a0f5bced6c492a91f1b96 SHA512 4bb5f2ee14346d83c59bd4da36ae8fc6c13197eabb808b1b5db84b593f07d8b366b1f6329abed8d43e2a8497a89de0f89a398b741d4ca23b4a3a95973b5f0f54 WHIRLPOOL 98daee288e22f803f19bbe423eb999f527e8997f2ffd3fe1fe784363260365ee833dd33b755f44d6bfcc685f70b47cb8fd70fdd9a3fa679829c1e608bd65f8e2
22 DIST sysstat-11.0.8.tar.xz 294828 SHA256 d073b0e95820254a3fbf53ae3fb27db91d5b11778875034cd39c4d56d8e23695 SHA512 bae205b90d3b908de14d568a7872cca1fe0b2a6e423b74d4f837ebd9f9892abc742f8dc746dde559763c982cf0fd73fafc9ad116ea827ff1189c92488fc8696e WHIRLPOOL 375c3e9af3634c151605f89f1debea3148e2d890f9c43cf4dcb834977c093d2622832c0f0773ef05330f6d9dacb3abfd74acc10ae56251b812a7c6c528007232
23 DIST sysstat-11.1.8.tar.xz 323512 SHA256 9c7eb478e6a3e6f3f19ef7e00438318e9f8e87a6608a242502a0828b6a41704a SHA512 4427f6e1a17cee2b56e624ab6c615d421e8a2a78b23dd6907a97f8946c20eefd2c181afe02652ad387a94d53d1d7203c6aee4d36d34424c9b2b03ee8b53366ce WHIRLPOOL 87c10b46f758efdee4e8dfedbc945a496e2f644de80632dd13fe7d99d81eca42d58a28946e138adcd4a8f9cdf22a1e1db14af548ebc4e55ad6a6eb2695bb7d65
24 +DIST sysstat-11.2.0.tar.xz 322660 SHA256 9806b9a662568796d3fb93ecd01ecea10d815e668337a646494953bff4bc4155 SHA512 0759d2df158b909a2f2f87cee9966041acb50093dbbd364bff9471b87143b31cd6bd83d085346a5a3e985b7b3cb29bcb1145739ac0b57804afcc5577c8f8c35f WHIRLPOOL 35b34f6f4e77a70a544d636e5dca4642cf1ec76dc16709ed0daab2c1b0741ba7d7e80f3290c47fbc16d25f89217b765c059bdea4677f26aad1406c7e4b6ae000
25
26 diff --git a/app-admin/sysstat/sysstat-11.2.0.ebuild b/app-admin/sysstat/sysstat-11.2.0.ebuild
27 new file mode 100644
28 index 0000000..40e7175
29 --- /dev/null
30 +++ b/app-admin/sysstat/sysstat-11.2.0.ebuild
31 @@ -0,0 +1,91 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +inherit eutils flag-o-matic multilib systemd toolchain-funcs
38 +
39 +DESCRIPTION="System performance tools for Linux"
40 +HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
41 +SRC_URI="${HOMEPAGE}${P}.tar.xz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 +IUSE="debug +doc isag nls lm_sensors selinux static"
47 +
48 +CDEPEND="
49 + isag? (
50 + dev-lang/tk:0
51 + dev-vcs/rcs
52 + sci-visualization/gnuplot
53 + )
54 + nls? ( virtual/libintl )
55 + lm_sensors? ( sys-apps/lm_sensors )
56 +"
57 +DEPEND="
58 + ${CDEPEND}
59 + nls? ( sys-devel/gettext )
60 +"
61 +RDEPEND="
62 + ${CDEPEND}
63 + selinux? ( sec-policy/selinux-sysstat )
64 +"
65 +
66 +SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
67 +
68 +src_prepare() {
69 + if use nls; then
70 + strip-linguas -i nls/
71 + local lingua pofile
72 + for pofile in nls/*.po; do
73 + lingua=${pofile/nls\/}
74 + lingua=${lingua/.po}
75 + if ! has ${lingua} ${LINGUAS}; then
76 + rm "nls/${lingua}.po" || die
77 + fi
78 + done
79 + fi
80 + epatch \
81 + "${FILESDIR}"/${PN}-10.0.4-flags.patch \
82 + "${FILESDIR}"/${PN}-11.0.4-cron.patch
83 +}
84 +
85 +src_configure() {
86 + tc-export AR
87 + use static && append-ldflags -static
88 +
89 + sa_lib_dir=/usr/$(get_libdir)/sa \
90 + conf_dir=/etc \
91 + rcdir=${SYSSTAT_FAKE_RC_DIR} \
92 + econf \
93 + --enable-copy-only \
94 + --with-systemdsystemunitdir=$(systemd_get_unitdir) \
95 + $(use_enable debug debuginfo) \
96 + $(use_enable doc documentation ) \
97 + $(use_enable isag install-isag) \
98 + $(use_enable lm_sensors sensors) \
99 + $(use_enable nls) \
100 + --enable-install-cron
101 +}
102 +
103 +src_compile() {
104 + emake LFLAGS="${LDFLAGS}"
105 +}
106 +
107 +src_install() {
108 + keepdir /var/log/sa
109 +
110 + emake \
111 + DESTDIR="${D}" \
112 + DOC_DIR=/usr/share/doc/${PF} \
113 + install
114 +
115 + dodoc contrib/sargraph/sargraph
116 +
117 + rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
118 + newinitd "${FILESDIR}"/${PN}.init.d ${PN}
119 + systemd_dounit ${PN}.service
120 +
121 + use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
122 +}