diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-03-26 21:49:07 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-03-26 21:52:04 -0700 |
commit | 46309500c031f096fc4417672dd4cb142711d3b5 (patch) | |
tree | f1610a40fed67d9f78c846a67e20d8403f098c1b /app-admin | |
parent | app-arch/dpkg: bump to 1.20.7.1 (diff) | |
download | gentoo-46309500c031f096fc4417672dd4cb142711d3b5.tar.gz gentoo-46309500c031f096fc4417672dd4cb142711d3b5.tar.bz2 gentoo-46309500c031f096fc4417672dd4cb142711d3b5.zip |
app-admin/sysstat: bump to 12.5.3
Closes: https://bugs.gentoo.org/775482
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sysstat/Manifest | 1 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-12.5.3.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index aae2e470d022..8060f354e3b2 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -3,3 +3,4 @@ DIST sysstat-12.2.2.tar.gz 1227793 BLAKE2B 7dcfe904aa60e9c61af516e718668a3f8fb9e DIST sysstat-12.2.3.tar.gz 1227666 BLAKE2B e78cba586eb8e5f5a971f608ee0df39a20e3af9f02db1778c52bbb09eb4565e29ffb79d68ed00af0142ccbf1120b97825c638b323b53e0b210c96bf808db4aa1 SHA512 d837193b59840b1b1a87f927a4416ba4c688f3b470be00e9ab013b62b2f11e7b963ef4cf521bc42a0a041ea8923e176922ee5b6df56c0612b6646054b048f067 DIST sysstat-12.4.0.tar.gz 1375207 BLAKE2B 66a9c15bb4e3b349158c9f7ab37d00c77844f0fd654df1b613141d906d3c89477e581d7143c77ba6952dd2cc7296f0611bc99aeec8e55e8090a488d5a286ee8b SHA512 156cb38bc4cedb68278d9054ce5b477cbdc84d2480ca302988c0fb5427b9f1f823f0939f2bc1c91fa7657b00b29d02d1f58aeafd342eef83b07d79c3f4141be4 DIST sysstat-12.4.1.tar.gz 1377429 BLAKE2B 878d20575f5397adf10f64ad935b1c08709f6149f875975377c0a9f9b741f9bf352d0dd92ae31c0e7544c2e59e2058fab9ec5be95bfe9d070048661a7ba3bbfa SHA512 203e77095bddeb3797a65ed9e51cab90beaae7f579624c3f55d6903d45b9395d2134ea8e773a572710fd837fd26fb5437dccad63a913536b916f659207256d98 +DIST sysstat-12.5.3.tar.gz 1504415 BLAKE2B a3dc267182939190441b6cfebff938881fe4a06a8c7d1c406c014ddc28c0ecb33af5f480b77cce56bfcd4c7af81c4fec09eccb989561dd979f03a94ea6521f5b SHA512 3f09ff2e7ca38497eb07dcd8770c0b7fe5cfa1140537b215a1648446f65d933852b97dd5a1a9596afa57b04f20da64385e3b2e384be8d7b5902f228dc01230a5 diff --git a/app-admin/sysstat/sysstat-12.5.3.ebuild b/app-admin/sysstat/sysstat-12.5.3.ebuild new file mode 100644 index 000000000000..655a3391632c --- /dev/null +++ b/app-admin/sysstat/sysstat-12.5.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit eutils flag-o-matic systemd toolchain-funcs + +DESCRIPTION="System performance tools for Linux" +HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="dcron debug nls lm-sensors selinux static systemd" + +CDEPEND=" + nls? ( virtual/libintl ) + lm-sensors? ( sys-apps/lm-sensors:= ) +" +DEPEND=" + ${CDEPEND} + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${CDEPEND} + !dcron? ( !sys-process/dcron ) + selinux? ( sec-policy/selinux-sysstat ) +" + +REQUIRED_USE="dcron? ( !systemd )" + +src_prepare() { + if use nls; then + strip-linguas -i nls/ + local lingua pofile + for pofile in nls/*.po; do + lingua=${pofile/nls\/} + lingua=${lingua/.po} + if ! has ${lingua} ${LINGUAS}; then + rm "nls/${lingua}.po" || die + fi + done + fi + + use dcron && { sed -i 's/@CRON_OWNER@ //g' cron/sysstat.crond.in || die ; } + default +} + +src_configure() { + tc-export AR + use static && append-ldflags -static + + sa_lib_dir=/usr/lib/sa \ + conf_dir=/etc \ + econf \ + $(use_enable !systemd use-crond) \ + $(use_enable lm-sensors sensors) \ + $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ + --disable-compress-manpg \ + --enable-copy-only \ + --enable-documentation \ + --enable-install-cron \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +src_compile() { + LFLAGS="${LDFLAGS}" default +} + +src_install() { + keepdir /var/log/sa + + emake \ + CHOWN=true \ + DESTDIR="${D}" \ + DOC_DIR=/usr/share/doc/${PF} \ + MANGRPARG='' \ + install + + dodoc -r contrib/ + + newinitd "${FILESDIR}"/${PN}.init.d ${PN} + systemd_dounit ${PN}.service + + rm "${D}"/usr/share/doc/${PF}/COPYING || die +} |