From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 369451382C5 for ; Sat, 27 Mar 2021 04:52:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 772CCE07F9; Sat, 27 Mar 2021 04:52:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62F1CE07F9 for ; Sat, 27 Mar 2021 04:52:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64A98340AC7 for ; Sat, 27 Mar 2021 04:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DCFA630 for ; Sat, 27 Mar 2021 04:52:16 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1616820724.46309500c031f096fc4417672dd4cb142711d3b5.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysstat/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sysstat/Manifest app-admin/sysstat/sysstat-12.5.3.ebuild X-VCS-Directories: app-admin/sysstat/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 46309500c031f096fc4417672dd4cb142711d3b5 X-VCS-Branch: master Date: Sat, 27 Mar 2021 04:52:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2a1f66d1-2ef9-4962-89f5-9172503ca0a3 X-Archives-Hash: 63164642208d04d6c00f2bcef003a2d5 commit: 46309500c031f096fc4417672dd4cb142711d3b5 Author: Georgy Yakovlev gentoo org> AuthorDate: Sat Mar 27 04:49:07 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sat Mar 27 04:52:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46309500 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 gentoo.org> app-admin/sysstat/Manifest | 1 + app-admin/sysstat/sysstat-12.5.3.ebuild | 87 +++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index aae2e470d02..8060f354e3b 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 00000000000..655a3391632 --- /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 +}