diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 01:35:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 01:35:20 +0100 |
commit | c5806fcd6b740ecbd62f4fb2e09d8c8dfa2966fc (patch) | |
tree | 32b0c57abadad13ba25305af959e636eb410bee0 /app-admin/sysstat | |
parent | ad4a5451f677f33e2de05548b45fb92a8b3d04da (diff) |
gentoo auto-resync : 13:07:2022 - 01:35:20
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r-- | app-admin/sysstat/Manifest | 4 | ||||
-rw-r--r-- | app-admin/sysstat/metadata.xml | 1 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-12.6.0.ebuild | 83 |
3 files changed, 87 insertions, 1 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index 6d8ef9baa4e7..da5c74f20f63 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -1,6 +1,8 @@ AUX sysstat.init.d 378 BLAKE2B fe781f1a53e183023da2b46ecefb37881eedf8e8df2623927b24f33aa3344776b39db038d598ad050f1d48462d52300fb17731f29b0a8ab9c800fbe379efa249 SHA512 328ee3d40d45a0b1702c74fe0195ce4444cc8f63cb0fa68ba40ca20cfa183dd7acf4fc846cd76a4bcf426a3b4064316061dbbf26ca20047711528399e17b20b4 DIST sysstat-12.5.4.tar.gz 1474379 BLAKE2B 73bd4ebc44cc57cd3dba4fecbcd45026929bdbeab6b99c5b13db7d37252dff8da987ee5ac00d545aebdc72f924d0100166e9e876f6684e064f7020f3fa7a7cb5 SHA512 c051f136d404684a21b11e968968e34f0f114b4568369c6449c64b7745269065a3dc492039ded7c415fe39970aca54cc81646589b0959ade43e9be6f6cd4c0dc DIST sysstat-12.5.5.tar.gz 1481620 BLAKE2B baf4d57eb369d75787e3fce48b29909f90ad5e981996930538ff0a60e668853457440bcea8323cfa10d86f7069b0f4e24e27d62aa09572bd1c9535c2bd730451 SHA512 66ccbf0fbaf783fac3cf2b52daf53a8d5bc6d182a66fa0b2965717cf5afc5e54590f08711948f18806b9b95c9f06a45376a1d18b5081d63a5214bc55f81f5696 +DIST sysstat-12.6.0.tar.gz 1454167 BLAKE2B 84213e1d63e6d44e889e9763c9f47c769805baf65715199b1ddb3472ce68c37b3b46229af43ecf0cd85d6c09be85273e90b96a975304cf2f6695298b3e552630 SHA512 f4d0e0dead0cce84782e985c8074871c45e77949c2bcfefd5642280e961f39e9eaa9f9fc93c013d79deba6e3703626894dd665ff64db72550d1c24f404780a5f EBUILD sysstat-12.5.4.ebuild 1881 BLAKE2B 1f285b96455f80ebfd841afec6ef75d483e26e1e91ef3987bd39bccf01cb26d4b28492c7aa368a7666dca3b80e7584f94c0749115a91b89e423a661c9568a1bb SHA512 5350bb48dd51622d5e6acb9b72b50531f34e046380af4547e4f232087a41a72aaeafdafad0a63a12c818363931293d2161db0fd085a672d66db760f6d9816367 EBUILD sysstat-12.5.5.ebuild 1888 BLAKE2B 6ed7a47394309e13538fb0253b3adf0b4990d0257eb40df0cc565f295a8e9a6c3eb21c2260c99875fb2797385d58127bb29b3c8ef286ed5f73951a6d927aa699 SHA512 27d6fc1e19ebda59a8b580c567efa9f9552acc6ca93a29182cae934a34fb15d49bd29979389831a822ae04674da0e10c512eb35982516963b9c81e0a3ee45c85 -MISC metadata.xml 469 BLAKE2B 53490577d19dc7183909c56b546aa1bdd4052fab6f7133b31e3d805e3b30c59f83624900a35f85dd6500ba727f3822189ed3f404df4ba144749ca9f3b362dd25 SHA512 3f46f10260fe8e5912cc941286f423e0e554dc94e5f3ad086ff900d84b1e3e0112c4a3a07c2c976b6e3c008c73fa85993f7df736413f96e8fa8d7990ed9d60b6 +EBUILD sysstat-12.6.0.ebuild 1716 BLAKE2B 5d6c5144cf7a00cec9b847339b56238a5871e58d4f3ab59d79a6bc996e10593c9d8873f88e51b8fe013da35d73990269ca9cc0dfef8ff06d467524897e77dee1 SHA512 feceecf862c4537282c0a53f92de03446778c21e8afdf3dc8c27781aa3f316abfc022a88df41e410d6d3cefe70b7cc85223672fb148c9e5394eca5b3d1aed016 +MISC metadata.xml 537 BLAKE2B 96a62a60f2e483414fdbe7c2d2e11c25528e5c3301b50079a32fa91deaeae37f63f7e78c73a4b749c3cbca6d438aaf0387edc655fe0575fd15ee641619529d02 SHA512 57724ab12c814c17c3c44c234409fcca149058ae678d4dd26fac4fdc11eb4234885948862880db038e82190d665a664d6449a22da49f2fe08b42106aac2058e6 diff --git a/app-admin/sysstat/metadata.xml b/app-admin/sysstat/metadata.xml index 2ca06a59ea2a..fb441b90a240 100644 --- a/app-admin/sysstat/metadata.xml +++ b/app-admin/sysstat/metadata.xml @@ -11,5 +11,6 @@ </maintainer> <use> <flag name="dcron">Adjust cronjobs to work properly under <pkg>sys-process/dcron</pkg></flag> + <flag name="lto">Build using Link Time Optimizations (LTO)</flag> </use> </pkgmetadata> diff --git a/app-admin/sysstat/sysstat-12.6.0.ebuild b/app-admin/sysstat/sysstat-12.6.0.ebuild new file mode 100644 index 000000000000..f3e73e2c3c77 --- /dev/null +++ b/app-admin/sysstat/sysstat-12.6.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit 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 lto selinux systemd" + +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +COMMON_DEPEND=" + nls? ( virtual/libintl ) + lm-sensors? ( sys-apps/lm-sensors:= ) +" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND=" + ${COMMON_DEPEND} + !dcron? ( !sys-process/dcron ) + selinux? ( sec-policy/selinux-sysstat ) +" + +REQUIRED_USE="dcron? ( !systemd )" + +src_prepare() { + if use dcron; then + sed -i 's/@CRON_OWNER@ //g' cron/sysstat.crond.in || die + fi + default +} + +src_configure() { + tc-export AR + + sa_lib_dir=/usr/lib/sa \ + conf_dir=/etc \ + econf \ + $(use_enable !systemd use-crond) \ + $(use_enable lm-sensors sensors) \ + $(use_enable lto) \ + $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ + --disable-compress-manpg \ + --disable-stripping \ + --disable-pcp \ + --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 +} |