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: Tue, 27 Sep 2016 08:32:34
Message-Id: 1474965148.ee4c0daf56297b7aeae0254d75f45370190da227.jer@gentoo
1 commit: ee4c0daf56297b7aeae0254d75f45370190da227
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 27 08:32:10 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 08:32:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4c0daf
7
8 app-admin/sysstat: Development branch version bump.
9
10 Package-Manager: portage-2.3.1
11
12 app-admin/sysstat/Manifest | 2 +
13 app-admin/sysstat/sysstat-11.4.1.ebuild | 93 +++++++++++++++++++++++++++++++++
14 app-admin/sysstat/sysstat-11.5.1.ebuild | 93 +++++++++++++++++++++++++++++++++
15 3 files changed, 188 insertions(+)
16
17 diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest
18 index c406968..0669524 100644
19 --- a/app-admin/sysstat/Manifest
20 +++ b/app-admin/sysstat/Manifest
21 @@ -4,3 +4,5 @@ DIST sysstat-11.2.4.tar.xz 323472 SHA256 2fb41049ef72c58c29e5966b27f31d8a30f8f46
22 DIST sysstat-11.2.5.tar.xz 323544 SHA256 4d5c9cd9122aa933ac477f369eb40c66236365a88516577c9655516f6f32e8e4 SHA512 895970728be18a2ab3eac8df462a7c31ab0363b18e05deebf9332a8fb0b0f2f13876d1f5515eaf72537eed436d3f8802e36b9e0e7624d1ca360483f8705f40e6 WHIRLPOOL 98efe23ee3e35d220c0a9e857e9ba2a76475c88b91f270c8a185000ef7ff5e2ac913a2d7c0b6bbbb9b29ae394c36337f5d81cf6eedcf246a3f9e66f121384916
23 DIST sysstat-11.2.6.tar.xz 323952 SHA256 a5f2e8a81d6203620ed6e7740c4e5d7588aed03a54c4a2f0054450e49733fb3a SHA512 fdd196ac3e44422d5f5ecff700b3d57a06bbe46600f80f81333aa67a7a02a036aca56439a27353e97c185fed254eda4d900ea8580df7b67539ce6b8bb4116808 WHIRLPOOL ded1eae00b49e031b1a9a27df116d5bbcc788d8ad948a75a31776688d621d798fb2d5af272c486169311ff1af26ae6ec9881f1f3ca0891ea1d69b4226e74cc84
24 DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba
25 +DIST sysstat-11.4.1.tar.xz 343920 SHA256 6430718e6c90356f63ea384e9b25264dd72a4e7c971977fed9a1292f0d84ec26 SHA512 74e2bdbff70928f28bfe9a3019b678c595002b402a32529cf4c8082bc63d36a72ac22ff80573f830f19ac6214d9f409820f6807146f32213cbad0433c47c4096 WHIRLPOOL e985772172febed155cf2a723de514aae1ac13c3a38efd6b9803e46545e913229b15f808bce6051634d44c3409156f75f6a33e0b6b4b5ea707005f27712100db
26 +DIST sysstat-11.5.1.tar.xz 345904 SHA256 172d5915c786fa760344abf694805b5df3dc5242b14ab2593c2cb9b70821fa6a SHA512 436be65e4f1d7e076b4467d2e0298e5b75db75b4023df49ec21509ca706c2cdbd9687c4bf3ccab4a0c8123b1f83f59983d8c438d5adfd13f5f9d7eb6d32ff894 WHIRLPOOL 6a30b9f4547af5fad533660249d2bdd982a5d9e74fdc03bfd8abc0cd898698f73af7bbf473e1d36609a6b7fbe80aab2ffadfc923ea077749f2be8595967b6cff
27
28 diff --git a/app-admin/sysstat/sysstat-11.4.1.ebuild b/app-admin/sysstat/sysstat-11.4.1.ebuild
29 new file mode 100644
30 index 00000000..3f9181c
31 --- /dev/null
32 +++ b/app-admin/sysstat/sysstat-11.4.1.ebuild
33 @@ -0,0 +1,93 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI=5
39 +inherit eutils flag-o-matic multilib systemd toolchain-funcs
40 +
41 +DESCRIPTION="System performance tools for Linux"
42 +HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
43 +SRC_URI="${HOMEPAGE}${P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
48 +IUSE="debug isag nls lm_sensors selinux static"
49 +
50 +CDEPEND="
51 + isag? (
52 + dev-lang/tk:0
53 + dev-vcs/rcs
54 + sci-visualization/gnuplot
55 + )
56 + nls? ( virtual/libintl )
57 + lm_sensors? ( sys-apps/lm_sensors )
58 +"
59 +DEPEND="
60 + ${CDEPEND}
61 + nls? ( sys-devel/gettext )
62 +"
63 +RDEPEND="
64 + ${CDEPEND}
65 + selinux? ( sec-policy/selinux-sysstat )
66 +"
67 +
68 +SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
69 +
70 +src_prepare() {
71 + if use nls; then
72 + strip-linguas -i nls/
73 + local lingua pofile
74 + for pofile in nls/*.po; do
75 + lingua=${pofile/nls\/}
76 + lingua=${lingua/.po}
77 + if ! has ${lingua} ${LINGUAS}; then
78 + rm "nls/${lingua}.po" || die
79 + fi
80 + done
81 + fi
82 + epatch \
83 + "${FILESDIR}"/${PN}-10.0.4-flags.patch \
84 + "${FILESDIR}"/${PN}-11.0.4-cron.patch
85 +}
86 +
87 +src_configure() {
88 + tc-export AR
89 + use static && append-ldflags -static
90 +
91 + sa_lib_dir=/usr/$(get_libdir)/sa \
92 + conf_dir=/etc \
93 + rcdir=${SYSSTAT_FAKE_RC_DIR} \
94 + econf \
95 + $(use_enable debug debuginfo) \
96 + $(use_enable isag install-isag) \
97 + $(use_enable lm_sensors sensors) \
98 + $(use_enable nls) \
99 + --enable-copy-only \
100 + --enable-documentation \
101 + --enable-install-cron \
102 + --with-systemdsystemunitdir=$(systemd_get_unitdir)
103 +}
104 +
105 +src_compile() {
106 + emake LFLAGS="${LDFLAGS}"
107 +}
108 +
109 +src_install() {
110 + keepdir /var/log/sa
111 +
112 + emake \
113 + CHOWN=true \
114 + DESTDIR="${D}" \
115 + DOC_DIR=/usr/share/doc/${PF} \
116 + MANGRPARG='' \
117 + install
118 +
119 + dodoc contrib/sargraph/sargraph
120 +
121 + rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
122 + newinitd "${FILESDIR}"/${PN}.init.d ${PN}
123 + systemd_dounit ${PN}.service
124 +
125 + rm -f "${D}"usr/share/doc/${PF}/COPYING
126 +}
127
128 diff --git a/app-admin/sysstat/sysstat-11.5.1.ebuild b/app-admin/sysstat/sysstat-11.5.1.ebuild
129 new file mode 100644
130 index 00000000..c86b8b3
131 --- /dev/null
132 +++ b/app-admin/sysstat/sysstat-11.5.1.ebuild
133 @@ -0,0 +1,93 @@
134 +# Copyright 1999-2016 Gentoo Foundation
135 +# Distributed under the terms of the GNU General Public License v2
136 +# $Id$
137 +
138 +EAPI=5
139 +inherit eutils flag-o-matic multilib systemd toolchain-funcs
140 +
141 +DESCRIPTION="System performance tools for Linux"
142 +HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
143 +SRC_URI="${HOMEPAGE}${P}.tar.xz"
144 +
145 +LICENSE="GPL-2"
146 +SLOT="0"
147 +KEYWORDS=""
148 +IUSE="debug isag nls lm_sensors selinux static"
149 +
150 +CDEPEND="
151 + isag? (
152 + dev-lang/tk:0
153 + dev-vcs/rcs
154 + sci-visualization/gnuplot
155 + )
156 + nls? ( virtual/libintl )
157 + lm_sensors? ( sys-apps/lm_sensors )
158 +"
159 +DEPEND="
160 + ${CDEPEND}
161 + nls? ( sys-devel/gettext )
162 +"
163 +RDEPEND="
164 + ${CDEPEND}
165 + selinux? ( sec-policy/selinux-sysstat )
166 +"
167 +
168 +SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
169 +
170 +src_prepare() {
171 + if use nls; then
172 + strip-linguas -i nls/
173 + local lingua pofile
174 + for pofile in nls/*.po; do
175 + lingua=${pofile/nls\/}
176 + lingua=${lingua/.po}
177 + if ! has ${lingua} ${LINGUAS}; then
178 + rm "nls/${lingua}.po" || die
179 + fi
180 + done
181 + fi
182 + epatch \
183 + "${FILESDIR}"/${PN}-10.0.4-flags.patch \
184 + "${FILESDIR}"/${PN}-11.0.4-cron.patch
185 +}
186 +
187 +src_configure() {
188 + tc-export AR
189 + use static && append-ldflags -static
190 +
191 + sa_lib_dir=/usr/$(get_libdir)/sa \
192 + conf_dir=/etc \
193 + rcdir=${SYSSTAT_FAKE_RC_DIR} \
194 + econf \
195 + $(use_enable debug debuginfo) \
196 + $(use_enable isag install-isag) \
197 + $(use_enable lm_sensors sensors) \
198 + $(use_enable nls) \
199 + --enable-copy-only \
200 + --enable-documentation \
201 + --enable-install-cron \
202 + --with-systemdsystemunitdir=$(systemd_get_unitdir)
203 +}
204 +
205 +src_compile() {
206 + emake LFLAGS="${LDFLAGS}"
207 +}
208 +
209 +src_install() {
210 + keepdir /var/log/sa
211 +
212 + emake \
213 + CHOWN=true \
214 + DESTDIR="${D}" \
215 + DOC_DIR=/usr/share/doc/${PF} \
216 + MANGRPARG='' \
217 + install
218 +
219 + dodoc contrib/sargraph/sargraph
220 +
221 + rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
222 + newinitd "${FILESDIR}"/${PN}.init.d ${PN}
223 + systemd_dounit ${PN}.service
224 +
225 + rm -f "${D}"usr/share/doc/${PF}/COPYING
226 +}