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