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