Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysstat/
Date: Sat, 17 Jul 2021 01:11:38
Message-Id: 1626484276.c5108be15df2fef04ae0ad27e5241c8add8e6c46.gyakovlev@gentoo
1 commit: c5108be15df2fef04ae0ad27e5241c8add8e6c46
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 17 01:11:16 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 17 01:11:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5108be1
7
8 app-admin/sysstat: drop 12.5.3
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 app-admin/sysstat/Manifest | 1 -
13 app-admin/sysstat/sysstat-12.5.3.ebuild | 87 ---------------------------------
14 2 files changed, 88 deletions(-)
15
16 diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest
17 index 8dbc691b6c5..79b0f8c6c0e 100644
18 --- a/app-admin/sysstat/Manifest
19 +++ b/app-admin/sysstat/Manifest
20 @@ -1,2 +1 @@
21 -DIST sysstat-12.5.3.tar.gz 1504415 BLAKE2B a3dc267182939190441b6cfebff938881fe4a06a8c7d1c406c014ddc28c0ecb33af5f480b77cce56bfcd4c7af81c4fec09eccb989561dd979f03a94ea6521f5b SHA512 3f09ff2e7ca38497eb07dcd8770c0b7fe5cfa1140537b215a1648446f65d933852b97dd5a1a9596afa57b04f20da64385e3b2e384be8d7b5902f228dc01230a5
22 DIST sysstat-12.5.4.tar.gz 1474379 BLAKE2B 73bd4ebc44cc57cd3dba4fecbcd45026929bdbeab6b99c5b13db7d37252dff8da987ee5ac00d545aebdc72f924d0100166e9e876f6684e064f7020f3fa7a7cb5 SHA512 c051f136d404684a21b11e968968e34f0f114b4568369c6449c64b7745269065a3dc492039ded7c415fe39970aca54cc81646589b0959ade43e9be6f6cd4c0dc
23
24 diff --git a/app-admin/sysstat/sysstat-12.5.3.ebuild b/app-admin/sysstat/sysstat-12.5.3.ebuild
25 deleted file mode 100644
26 index ddcb57509fa..00000000000
27 --- a/app-admin/sysstat/sysstat-12.5.3.ebuild
28 +++ /dev/null
29 @@ -1,87 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -inherit eutils flag-o-matic systemd toolchain-funcs
35 -
36 -DESCRIPTION="System performance tools for Linux"
37 -HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
38 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 -
40 -LICENSE="GPL-2"
41 -SLOT="0"
42 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86"
43 -IUSE="dcron debug nls lm-sensors selinux static systemd"
44 -
45 -CDEPEND="
46 - nls? ( virtual/libintl )
47 - lm-sensors? ( sys-apps/lm-sensors:= )
48 -"
49 -DEPEND="
50 - ${CDEPEND}
51 - nls? ( sys-devel/gettext )
52 -"
53 -RDEPEND="
54 - ${CDEPEND}
55 - !dcron? ( !sys-process/dcron )
56 - selinux? ( sec-policy/selinux-sysstat )
57 -"
58 -
59 -REQUIRED_USE="dcron? ( !systemd )"
60 -
61 -src_prepare() {
62 - if use nls; then
63 - strip-linguas -i nls/
64 - local lingua pofile
65 - for pofile in nls/*.po; do
66 - lingua=${pofile/nls\/}
67 - lingua=${lingua/.po}
68 - if ! has ${lingua} ${LINGUAS}; then
69 - rm "nls/${lingua}.po" || die
70 - fi
71 - done
72 - fi
73 -
74 - use dcron && { sed -i 's/@CRON_OWNER@ //g' cron/sysstat.crond.in || die ; }
75 - default
76 -}
77 -
78 -src_configure() {
79 - tc-export AR
80 - use static && append-ldflags -static
81 -
82 - sa_lib_dir=/usr/lib/sa \
83 - conf_dir=/etc \
84 - econf \
85 - $(use_enable !systemd use-crond) \
86 - $(use_enable lm-sensors sensors) \
87 - $(use_enable nls) \
88 - $(usex debug --enable-debuginfo '') \
89 - --disable-compress-manpg \
90 - --enable-copy-only \
91 - --enable-documentation \
92 - --enable-install-cron \
93 - --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
94 -}
95 -
96 -src_compile() {
97 - LFLAGS="${LDFLAGS}" default
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 - newinitd "${FILESDIR}"/${PN}.init.d ${PN}
113 - systemd_dounit ${PN}.service
114 -
115 - rm "${D}"/usr/share/doc/${PF}/COPYING || die
116 -}