1 |
commit: 2041b09c0888b7d4e81acb6e2d5020ec65ac4b79 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 4 19:17:24 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 4 19:31:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2041b09c |
7 |
|
8 |
app-admin/sysstat: Versions 11.6.4 11.7.4. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
app-admin/sysstat/Manifest | 2 + |
13 |
app-admin/sysstat/sysstat-11.6.4.ebuild | 89 +++++++++++++++++++++++++++++++++ |
14 |
app-admin/sysstat/sysstat-11.7.4.ebuild | 85 +++++++++++++++++++++++++++++++ |
15 |
3 files changed, 176 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest |
18 |
index 3f8244af0db..089c7b3071d 100644 |
19 |
--- a/app-admin/sysstat/Manifest |
20 |
+++ b/app-admin/sysstat/Manifest |
21 |
@@ -2,6 +2,8 @@ DIST sysstat-11.4.0.tar.xz 343968 BLAKE2B e34da8cf0216f66fad3ade0ed40e8ec3b7641f |
22 |
DIST sysstat-11.6.1.tar.xz 470584 BLAKE2B e9f85567743e6f0f2958afed40919c8bea7fc52f053fdd9bc7480e942e9a4a5620287f72cf26feedf4b74fc698331da2c305864b0037cf11e0617af2bc0da63b SHA512 55b3c361f7cda3d5efc0a42bef26d154c159a465ef45b56d2567f38aeec8c935c4e3b65a92eaf996abbf2d6a2604b2b8bba95741d707e8f387c9fadc05fafa93 |
23 |
DIST sysstat-11.6.2.tar.xz 471452 BLAKE2B da0647f25e9f4ec4d320f664d2124bd2bd3cc42a78201f2c86480afeb6525b20c158e1577321a0316134fca7e77c04b303829104ae59b0d790ab29bff09889ed SHA512 8f117601272d3d9b887c454d610d06f014b76902cdc68f6a11e693bdc58bb7ad1cac1006681774b3e6173f3cadd9b1f36e126d1d7501f0910b092d125d1c68ce |
24 |
DIST sysstat-11.6.3.tar.xz 527828 BLAKE2B 4221252589652d949541d8ec8d7057abe90cafaae7b2222538d4fcb95aaa45f3da542539eb0742a910456c8ee134203207fc5e9485b0948a6c581f33eb949c2c SHA512 37a770b4ff26abdb94c8d97fa49b094702e9f5fb12549fd012b9767c7f42ede50ce209085c7ad3b7cd2e208ba1e5bfe9425893f7bb0bbc517aed688300bf9712 |
25 |
+DIST sysstat-11.6.4.tar.xz 528028 BLAKE2B 931a172ce399133a0827f7dc7090719e778e7c89a1383adf93a99c386cd11343de26649355dd3a382deceeffe6c2f1890d3424aae6ae441aaa4a47f046b520f7 SHA512 36affc6749d0eef5760e542dde060c257eea323196f9b83b52cc931825dfa796b48cad37060b9ca20d58fb3909c07b8bd67bc8d09c9c6285c08c4e2e9ca1d308 |
26 |
DIST sysstat-11.7.1.tar.xz 476916 BLAKE2B 016c5b6e2759af440ecd3bfc9b66f2b01988ef2e889090ab9156a7fdea02d9a3e6e47f6852ea699cf865d2ccf79d3152c70f0e23daf199edb936cb55a9a28fa7 SHA512 c0a8ce7a412e16d7d471cc0421a0f5586143ef8253f9a38872a63687bba50f98eebab5d501f92c4d085da51af56343628c8154cbd2d260b314153a17e23ff2e8 |
27 |
DIST sysstat-11.7.2.tar.xz 485264 BLAKE2B 2915bf3eeb33d499517872acd9101e4b27e8f095b36cc106eeb8e6fc55806f9d1fa969d8c200ce4cb2bd7f0ed25b1a312e362bdc16ff7717f088c0f62780d025 SHA512 0e51c1e08cca4bb8489910d334d5f30c1854687a935f6734228d422b21827f035533f91d30d52c9a48c8be7fa15af66cd41d379a51e5a935b89eb6578e066d01 |
28 |
DIST sysstat-11.7.3.tar.xz 543556 BLAKE2B f6042021a7c5047727ddbcd38cf6e9f88ca44adaf9f8a9e56cf84c9d9b4d61bef7e07ef910c54fdcc0342c8f9b28e9b114778f57f3ed70d8b950263086426387 SHA512 c752ebba4d25a30147e68d0cb44d93020bb9b44823812c99550f6b34b42fc6f015c28ef0e6609a1e33ae6e4de566ae2d0e8a4711e412a4298baf5721dd15d27f |
29 |
+DIST sysstat-11.7.4.tar.xz 545176 BLAKE2B 08dec13040fe1df87902dfc67bda0ae7281768a4f426906b94d925f302892857091f279d976020924de665a41c4d73f3b64b48394436639804aab0b28bffce94 SHA512 4dcb05799e82410f2a13b44c2de1f6c7d31f20410e8a9528ac365a059591c04f918ad51c42b73fd06489bbed48a181b290897a91e9837b685cfc51c006aa8a05 |
30 |
|
31 |
diff --git a/app-admin/sysstat/sysstat-11.6.4.ebuild b/app-admin/sysstat/sysstat-11.6.4.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..b9b3e8d4288 |
34 |
--- /dev/null |
35 |
+++ b/app-admin/sysstat/sysstat-11.6.4.ebuild |
36 |
@@ -0,0 +1,89 @@ |
37 |
+# Copyright 1999-2018 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+inherit 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="${HOMEPAGE}${P}.tar.xz" |
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}-10.0.4-flags.patch |
66 |
+ "${FILESDIR}"/${PN}-11.0.4-cron.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_compile() { |
105 |
+ emake LFLAGS="${LDFLAGS}" |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ keepdir /var/log/sa |
110 |
+ |
111 |
+ emake \ |
112 |
+ CHOWN=true \ |
113 |
+ DESTDIR="${D}" \ |
114 |
+ DOC_DIR=/usr/share/doc/${PF} \ |
115 |
+ MANGRPARG='' \ |
116 |
+ install |
117 |
+ |
118 |
+ dodoc -r contrib/ |
119 |
+ |
120 |
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die |
121 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
122 |
+ systemd_dounit ${PN}.service |
123 |
+ |
124 |
+ rm -f "${D}"usr/share/doc/${PF}/COPYING |
125 |
+} |
126 |
|
127 |
diff --git a/app-admin/sysstat/sysstat-11.7.4.ebuild b/app-admin/sysstat/sysstat-11.7.4.ebuild |
128 |
new file mode 100644 |
129 |
index 00000000000..0a51edcf402 |
130 |
--- /dev/null |
131 |
+++ b/app-admin/sysstat/sysstat-11.7.4.ebuild |
132 |
@@ -0,0 +1,85 @@ |
133 |
+# Copyright 1999-2018 Gentoo Foundation |
134 |
+# Distributed under the terms of the GNU General Public License v2 |
135 |
+ |
136 |
+EAPI=6 |
137 |
+inherit flag-o-matic multilib systemd toolchain-funcs |
138 |
+ |
139 |
+DESCRIPTION="System performance tools for Linux" |
140 |
+HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" |
141 |
+SRC_URI="${HOMEPAGE}${P}.tar.xz" |
142 |
+ |
143 |
+LICENSE="GPL-2" |
144 |
+SLOT="0" |
145 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
146 |
+IUSE="debug nls lm_sensors selinux static" |
147 |
+ |
148 |
+CDEPEND=" |
149 |
+ nls? ( virtual/libintl ) |
150 |
+ lm_sensors? ( sys-apps/lm_sensors ) |
151 |
+" |
152 |
+DEPEND=" |
153 |
+ ${CDEPEND} |
154 |
+ nls? ( sys-devel/gettext ) |
155 |
+" |
156 |
+RDEPEND=" |
157 |
+ ${CDEPEND} |
158 |
+ selinux? ( sec-policy/selinux-sysstat ) |
159 |
+" |
160 |
+PATCHES=( |
161 |
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch |
162 |
+ "${FILESDIR}"/${PN}-11.7.3-flags.patch |
163 |
+) |
164 |
+ |
165 |
+SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d |
166 |
+ |
167 |
+src_prepare() { |
168 |
+ if use nls; then |
169 |
+ strip-linguas -i nls/ |
170 |
+ local lingua pofile |
171 |
+ for pofile in nls/*.po; do |
172 |
+ lingua=${pofile/nls\/} |
173 |
+ lingua=${lingua/.po} |
174 |
+ if ! has ${lingua} ${LINGUAS}; then |
175 |
+ rm "nls/${lingua}.po" || die |
176 |
+ fi |
177 |
+ done |
178 |
+ fi |
179 |
+ |
180 |
+ default |
181 |
+} |
182 |
+ |
183 |
+src_configure() { |
184 |
+ tc-export AR |
185 |
+ use static && append-ldflags -static |
186 |
+ |
187 |
+ sa_lib_dir=/usr/$(get_libdir)/sa \ |
188 |
+ conf_dir=/etc \ |
189 |
+ rcdir=${SYSSTAT_FAKE_RC_DIR} \ |
190 |
+ econf \ |
191 |
+ $(use_enable debug debuginfo) \ |
192 |
+ $(use_enable lm_sensors sensors) \ |
193 |
+ $(use_enable nls) \ |
194 |
+ --enable-copy-only \ |
195 |
+ --enable-documentation \ |
196 |
+ --enable-install-cron \ |
197 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
198 |
+} |
199 |
+ |
200 |
+src_install() { |
201 |
+ keepdir /var/log/sa |
202 |
+ |
203 |
+ emake \ |
204 |
+ CHOWN=true \ |
205 |
+ DESTDIR="${D}" \ |
206 |
+ DOC_DIR=/usr/share/doc/${PF} \ |
207 |
+ MANGRPARG='' \ |
208 |
+ install |
209 |
+ |
210 |
+ dodoc -r contrib/ |
211 |
+ |
212 |
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die |
213 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
214 |
+ systemd_dounit ${PN}.service |
215 |
+ |
216 |
+ rm -f "${D}"usr/share/doc/${PF}/COPYING |
217 |
+} |