1 |
commit: 43ad6ca073ff8bb52cf49aa10082e2ac914ec265 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 31 08:03:47 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 31 08:05:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ad6ca0 |
7 |
|
8 |
app-admin/sysstat: Versions 12.0.5 12.1.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
app-admin/sysstat/Manifest | 2 + |
14 |
app-admin/sysstat/sysstat-12.0.5.ebuild | 85 +++++++++++++++++++++++++++++++++ |
15 |
app-admin/sysstat/sysstat-12.1.5.ebuild | 85 +++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 172 insertions(+) |
17 |
|
18 |
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest |
19 |
index ab9d231ded4..e7392c05a5a 100644 |
20 |
--- a/app-admin/sysstat/Manifest |
21 |
+++ b/app-admin/sysstat/Manifest |
22 |
@@ -1,5 +1,7 @@ |
23 |
DIST sysstat-11.4.0.tar.xz 343968 BLAKE2B e34da8cf0216f66fad3ade0ed40e8ec3b7641f7568ebcce5bc3122f888c90885ece346bf7f4f8e71e92435257ee5c6c0e5a89913c0e22a0ad28fa1018a73ea71 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 |
24 |
DIST sysstat-12.0.3.tar.xz 603064 BLAKE2B 79666c16d7a18aa058f2b8c5e81a16e11a01ba94c809a924d4be6a37cdd67f8755a0112e7f227ceb35b1a4847348de0e6ec34ef3da62c2ea81fceb1590e292ea SHA512 b6f7d27981898faabf4349eb889a767e655ed797aa3f7fac3bdc99968bdb15ed2a7aa04acda610a014022bdc2aa7e603b1c413e0eb8d734db04675fcaa4561ca |
25 |
DIST sysstat-12.0.4.tar.gz 711554 BLAKE2B b671e185d70787f5773d6824a9838ddd5d5f537c66ac37895f88b6bbddbb78b4d81efa6f962e3b812d025b361ce388583811d4f199e1ffcfe1ba0f2119b6eb88 SHA512 0a47e2b692ac3317cfd72784f21cc03970d7673727c579d403895df0377d09836a1dc76ee5d99076f2c9347f033059d000d982f33ef915130c3a89afdd6dad96 |
26 |
+DIST sysstat-12.0.5.tar.gz 711967 BLAKE2B 96aa49d82e71407dbd99d840ca5f71af83f54ba6315c858fae71f97290e8cf9c4f5358ad6389c7489366a62667c35835151e3187382a56c98153d3a04bcc2b8d SHA512 c1061f1af35430e81e488e4b2f18b8588ec4f3c419ade004c49ca24baf60b5b76a6a59eb25f3b17b51a9f60c5833a914a514872d0235b2ca405341a2f4a32cb3 |
27 |
DIST sysstat-12.1.3.tar.xz 553880 BLAKE2B cc520d294fbd38385b2f248721a33b0dd7d7beca422dcd3cc00a2a010b98850d65ceb03e8949b12426c5dc3726cb06f0d63ae30d2792808814b5c5e6912d1a14 SHA512 f264efe377b61d5f62b1ad2c14115bd22ada3a25f726bb362c3cb1a6d45f370642783d547339dc118bf34c6f3d015bba19e88043b0753f8ec6c314778456b726 |
28 |
DIST sysstat-12.1.4.tar.gz 738031 BLAKE2B 6803a727bb67e5027400f684d9d93efa6ca22526a1363e04f8bce06a6cd300d4ebf7e02c8f9048fc25794974efa38117dacdf12831bee4bfd43fe40d0b34dbb6 SHA512 e60721408861045bcb1a52b170682df54631926bf4eef5a2709e25b1469c13377026bac3e51f5eeed11c7149b916c00bf5c06a2ff65d9c28063de1ae108b61c2 |
29 |
+DIST sysstat-12.1.5.tar.gz 1032031 BLAKE2B 9fbc0c0d132983daa334345f1f83ac8a46092cf52f35bafd443febd8ce40e4ab11b5b9b05b92e4074ecf9feab682035b2e08094ce10f3287036821be57db0800 SHA512 9dbc44b0226efc2f219ff71d2f0b83c930263fe8d6d0b451ae8404b3056558de04c76c16f2e8ba62083cde3a37cabbcd466d9247bd61ba5921dbc2ab6a1f686b |
30 |
|
31 |
diff --git a/app-admin/sysstat/sysstat-12.0.5.ebuild b/app-admin/sysstat/sysstat-12.0.5.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..b9ca3b9892b |
34 |
--- /dev/null |
35 |
+++ b/app-admin/sysstat/sysstat-12.0.5.ebuild |
36 |
@@ -0,0 +1,85 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+inherit eutils flag-o-matic multilib systemd toolchain-funcs |
42 |
+ |
43 |
+DESCRIPTION="System performance tools for Linux" |
44 |
+HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
50 |
+IUSE="debug nls lm_sensors selinux static" |
51 |
+ |
52 |
+CDEPEND=" |
53 |
+ nls? ( virtual/libintl ) |
54 |
+ lm_sensors? ( sys-apps/lm_sensors:= ) |
55 |
+" |
56 |
+DEPEND=" |
57 |
+ ${CDEPEND} |
58 |
+ nls? ( sys-devel/gettext ) |
59 |
+" |
60 |
+RDEPEND=" |
61 |
+ ${CDEPEND} |
62 |
+ selinux? ( sec-policy/selinux-sysstat ) |
63 |
+" |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch |
66 |
+ "${FILESDIR}"/${PN}-11.7.3-flags.patch |
67 |
+) |
68 |
+ |
69 |
+SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ if use nls; then |
73 |
+ strip-linguas -i nls/ |
74 |
+ local lingua pofile |
75 |
+ for pofile in nls/*.po; do |
76 |
+ lingua=${pofile/nls\/} |
77 |
+ lingua=${lingua/.po} |
78 |
+ if ! has ${lingua} ${LINGUAS}; then |
79 |
+ rm "nls/${lingua}.po" || die |
80 |
+ fi |
81 |
+ done |
82 |
+ fi |
83 |
+ |
84 |
+ default |
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 lm_sensors sensors) \ |
97 |
+ $(use_enable nls) \ |
98 |
+ --enable-copy-only \ |
99 |
+ --enable-documentation \ |
100 |
+ --enable-install-cron \ |
101 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ keepdir /var/log/sa |
106 |
+ |
107 |
+ emake \ |
108 |
+ CHOWN=true \ |
109 |
+ DESTDIR="${D}" \ |
110 |
+ DOC_DIR=/usr/share/doc/${PF} \ |
111 |
+ MANGRPARG='' \ |
112 |
+ install |
113 |
+ |
114 |
+ dodoc -r contrib/ |
115 |
+ |
116 |
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die |
117 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
118 |
+ systemd_dounit ${PN}.service |
119 |
+ |
120 |
+ rm -f "${D}"usr/share/doc/${PF}/COPYING |
121 |
+} |
122 |
|
123 |
diff --git a/app-admin/sysstat/sysstat-12.1.5.ebuild b/app-admin/sysstat/sysstat-12.1.5.ebuild |
124 |
new file mode 100644 |
125 |
index 00000000000..b9ca3b9892b |
126 |
--- /dev/null |
127 |
+++ b/app-admin/sysstat/sysstat-12.1.5.ebuild |
128 |
@@ -0,0 +1,85 @@ |
129 |
+# Copyright 1999-2019 Gentoo Authors |
130 |
+# Distributed under the terms of the GNU General Public License v2 |
131 |
+ |
132 |
+EAPI=6 |
133 |
+inherit eutils flag-o-matic multilib systemd toolchain-funcs |
134 |
+ |
135 |
+DESCRIPTION="System performance tools for Linux" |
136 |
+HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" |
137 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
138 |
+ |
139 |
+LICENSE="GPL-2" |
140 |
+SLOT="0" |
141 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
142 |
+IUSE="debug nls lm_sensors selinux static" |
143 |
+ |
144 |
+CDEPEND=" |
145 |
+ nls? ( virtual/libintl ) |
146 |
+ lm_sensors? ( sys-apps/lm_sensors:= ) |
147 |
+" |
148 |
+DEPEND=" |
149 |
+ ${CDEPEND} |
150 |
+ nls? ( sys-devel/gettext ) |
151 |
+" |
152 |
+RDEPEND=" |
153 |
+ ${CDEPEND} |
154 |
+ selinux? ( sec-policy/selinux-sysstat ) |
155 |
+" |
156 |
+PATCHES=( |
157 |
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch |
158 |
+ "${FILESDIR}"/${PN}-11.7.3-flags.patch |
159 |
+) |
160 |
+ |
161 |
+SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d |
162 |
+ |
163 |
+src_prepare() { |
164 |
+ if use nls; then |
165 |
+ strip-linguas -i nls/ |
166 |
+ local lingua pofile |
167 |
+ for pofile in nls/*.po; do |
168 |
+ lingua=${pofile/nls\/} |
169 |
+ lingua=${lingua/.po} |
170 |
+ if ! has ${lingua} ${LINGUAS}; then |
171 |
+ rm "nls/${lingua}.po" || die |
172 |
+ fi |
173 |
+ done |
174 |
+ fi |
175 |
+ |
176 |
+ default |
177 |
+} |
178 |
+ |
179 |
+src_configure() { |
180 |
+ tc-export AR |
181 |
+ use static && append-ldflags -static |
182 |
+ |
183 |
+ sa_lib_dir=/usr/$(get_libdir)/sa \ |
184 |
+ conf_dir=/etc \ |
185 |
+ rcdir=${SYSSTAT_FAKE_RC_DIR} \ |
186 |
+ econf \ |
187 |
+ $(use_enable debug debuginfo) \ |
188 |
+ $(use_enable lm_sensors sensors) \ |
189 |
+ $(use_enable nls) \ |
190 |
+ --enable-copy-only \ |
191 |
+ --enable-documentation \ |
192 |
+ --enable-install-cron \ |
193 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
194 |
+} |
195 |
+ |
196 |
+src_install() { |
197 |
+ keepdir /var/log/sa |
198 |
+ |
199 |
+ emake \ |
200 |
+ CHOWN=true \ |
201 |
+ DESTDIR="${D}" \ |
202 |
+ DOC_DIR=/usr/share/doc/${PF} \ |
203 |
+ MANGRPARG='' \ |
204 |
+ install |
205 |
+ |
206 |
+ dodoc -r contrib/ |
207 |
+ |
208 |
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die |
209 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
210 |
+ systemd_dounit ${PN}.service |
211 |
+ |
212 |
+ rm -f "${D}"usr/share/doc/${PF}/COPYING |
213 |
+} |