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