1 |
commit: 4249f4e1160783daf51a741fa82697f713caa6d5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 16:12:57 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 16:23:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4249f4e1 |
7 |
|
8 |
app-admin/sysstat: Version 12.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
app-admin/sysstat/Manifest | 1 + |
14 |
app-admin/sysstat/sysstat-12.1.3.ebuild | 85 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 86 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest |
18 |
index 62335749d38..5bc9ae22cc4 100644 |
19 |
--- a/app-admin/sysstat/Manifest |
20 |
+++ b/app-admin/sysstat/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST sysstat-12.0.2.tar.xz 602408 BLAKE2B a3c27bf4f7ec74feab9bcd797027429c266dce |
22 |
DIST sysstat-12.0.3.tar.xz 603064 BLAKE2B 79666c16d7a18aa058f2b8c5e81a16e11a01ba94c809a924d4be6a37cdd67f8755a0112e7f227ceb35b1a4847348de0e6ec34ef3da62c2ea81fceb1590e292ea SHA512 b6f7d27981898faabf4349eb889a767e655ed797aa3f7fac3bdc99968bdb15ed2a7aa04acda610a014022bdc2aa7e603b1c413e0eb8d734db04675fcaa4561ca |
23 |
DIST sysstat-12.1.1.tar.xz 605396 BLAKE2B a75fc5c9d1ddea2817418629bc7929a58b22875b1af173558e97ca2c8eb431b3a489287dbae17072a327b36a762fc5193cc10787e2d4fa6340895b9647c1be11 SHA512 845adfb6e29bbf3a152496da1959d459b983ad50ad11f08a2887bf25339b988facbb7ca06693fc9df53c3d20d20662860176f589a8cfb70afcc8a825e0e5d122 |
24 |
DIST sysstat-12.1.2.tar.xz 608304 BLAKE2B 18c259f4aa43cfd30e9ba62ad39712fef1b3c80ce79ddd8a5afc939d3cc99d94b994f78cea68fd751f3c12311442256f439a2483a817cc7cd0dcf03c952feba9 SHA512 622f1ed1949a156e4cc2451d246dc449afcf3ffc2414363ef14f8da8e1a307e3a28e5b4fd50813c3f6d810bcf112ed13ecc91edbcd0a8c3c626303f333785b83 |
25 |
+DIST sysstat-12.1.3.tar.xz 553880 BLAKE2B cc520d294fbd38385b2f248721a33b0dd7d7beca422dcd3cc00a2a010b98850d65ceb03e8949b12426c5dc3726cb06f0d63ae30d2792808814b5c5e6912d1a14 SHA512 f264efe377b61d5f62b1ad2c14115bd22ada3a25f726bb362c3cb1a6d45f370642783d547339dc118bf34c6f3d015bba19e88043b0753f8ec6c314778456b726 |
26 |
|
27 |
diff --git a/app-admin/sysstat/sysstat-12.1.3.ebuild b/app-admin/sysstat/sysstat-12.1.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..45e90330a0f |
30 |
--- /dev/null |
31 |
+++ b/app-admin/sysstat/sysstat-12.1.3.ebuild |
32 |
@@ -0,0 +1,85 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit eutils flag-o-matic multilib systemd toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="System performance tools for Linux" |
40 |
+HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" |
41 |
+SRC_URI="${HOMEPAGE}${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
46 |
+IUSE="debug nls lm_sensors selinux static" |
47 |
+ |
48 |
+CDEPEND=" |
49 |
+ nls? ( virtual/libintl ) |
50 |
+ lm_sensors? ( sys-apps/lm_sensors:= ) |
51 |
+" |
52 |
+DEPEND=" |
53 |
+ ${CDEPEND} |
54 |
+ nls? ( sys-devel/gettext ) |
55 |
+" |
56 |
+RDEPEND=" |
57 |
+ ${CDEPEND} |
58 |
+ selinux? ( sec-policy/selinux-sysstat ) |
59 |
+" |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch |
62 |
+ "${FILESDIR}"/${PN}-11.7.3-flags.patch |
63 |
+) |
64 |
+ |
65 |
+SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ if use nls; then |
69 |
+ strip-linguas -i nls/ |
70 |
+ local lingua pofile |
71 |
+ for pofile in nls/*.po; do |
72 |
+ lingua=${pofile/nls\/} |
73 |
+ lingua=${lingua/.po} |
74 |
+ if ! has ${lingua} ${LINGUAS}; then |
75 |
+ rm "nls/${lingua}.po" || die |
76 |
+ fi |
77 |
+ done |
78 |
+ fi |
79 |
+ |
80 |
+ default |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ tc-export AR |
85 |
+ use static && append-ldflags -static |
86 |
+ |
87 |
+ sa_lib_dir=/usr/$(get_libdir)/sa \ |
88 |
+ conf_dir=/etc \ |
89 |
+ rcdir=${SYSSTAT_FAKE_RC_DIR} \ |
90 |
+ econf \ |
91 |
+ $(use_enable debug debuginfo) \ |
92 |
+ $(use_enable lm_sensors sensors) \ |
93 |
+ $(use_enable nls) \ |
94 |
+ --enable-copy-only \ |
95 |
+ --enable-documentation \ |
96 |
+ --enable-install-cron \ |
97 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ keepdir /var/log/sa |
102 |
+ |
103 |
+ emake \ |
104 |
+ CHOWN=true \ |
105 |
+ DESTDIR="${D}" \ |
106 |
+ DOC_DIR=/usr/share/doc/${PF} \ |
107 |
+ MANGRPARG='' \ |
108 |
+ install |
109 |
+ |
110 |
+ dodoc -r contrib/ |
111 |
+ |
112 |
+ rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die |
113 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
114 |
+ systemd_dounit ${PN}.service |
115 |
+ |
116 |
+ rm -f "${D}"usr/share/doc/${PF}/COPYING |
117 |
+} |