diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-05-08 10:45:39 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-05-08 10:50:17 +0200 |
commit | 235adba63105036ba786d63686e0a8dcc37fc1e0 (patch) | |
tree | 77f368019ff37d4e32c708aeb3e4d6fd90909231 /app-admin/sysstat | |
parent | sys-cluster/ucx: update homepage (diff) | |
download | gentoo-235adba63105036ba786d63686e0a8dcc37fc1e0.tar.gz gentoo-235adba63105036ba786d63686e0a8dcc37fc1e0.tar.bz2 gentoo-235adba63105036ba786d63686e0a8dcc37fc1e0.zip |
app-admin/sysstat: Versions 12.2.2 12.3.3
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r-- | app-admin/sysstat/Manifest | 2 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-12.2.2.ebuild | 81 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-12.3.3.ebuild | 81 |
3 files changed, 164 insertions, 0 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index 70dff50e6e3a..1841aaf6854d 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -1,3 +1,5 @@ DIST sysstat-12.2.1.tar.gz 1227707 BLAKE2B 566382d83a0230517d22e2630a9cb1aa631d761c914188a4e7fb15eddaedbd25b8a3dffa9893b1b2bbcc31d87a37cbe11b2b50ab0ec94a28f84018685d1b35c8 SHA512 a19d0978eb11071c228462cda496a59721541e57a1d15cb2d0964f287ac2d50b5587fa5bc2b8fe6be2a1f00cbf2e7c3bc59db6494e3e8c1906aa81437b30d073 +DIST sysstat-12.2.2.tar.gz 1227793 BLAKE2B 7dcfe904aa60e9c61af516e718668a3f8fb9e4274c51a2c9d44b5e56dc6cf27ffb18d44641970f75abe1c1f8a2c5df8b7a7874da8745757f937ccc2ffbfa03d4 SHA512 82f4fb1e78a26275bdc6f6939dd2c75d7822e930992e74c1eaeda65c0e873d88e777a7f315c7b073aaacb6956281b2119448af2ca22ae6e7f1d20c370b01e3e4 DIST sysstat-12.3.1.tar.gz 1245248 BLAKE2B 69848c452642be992c7b4af33268c0d6b30f16e5ea44ec13b00ab57e6ec3b498d92b707a53757de9066138a9ee92b995765f44f75f692e1b3c68d829519d53ca SHA512 f67a2dac22748217687bd7f58521c0719754f13298fb5faed8a6d58c2bb1f8620428191d0415e816eea07bb3ca81453e057d03c7db0096430ad7d6ba6b7b611e DIST sysstat-12.3.2.tar.gz 1335057 BLAKE2B e075d0def13cd786dd0c3c49d0770cfe3e946a6b6f500e4364bc30d79fdec08ee8b4c4a2ef3b0188da3435f5921e0b27c8dbd8845a6c6116cba88f8684992674 SHA512 e78feb082a6ccd634f1f1565769b56a6b7aee95853334e73395489445f6f0d96d2b5bdfeacec16f4530be8383ebc3b6b126e7df93abc3e67c409b3791d02e275 +DIST sysstat-12.3.3.tar.gz 1365214 BLAKE2B bd7969bbade8e4d00fd1c918ee59222d136908d932caabdc042b0ff09fcf9b4462aece256969736b68b0bd0f0138692c1af446000cbe1d0e2d294105b7da7658 SHA512 9bebb36c6bc8d8a105921b43cf458cd4691d2dd29d9534b9bf9b00e2d1dd907e99c4aefb928da75b31c057784be59d0c6fb4420ad8c97b3c2600f5493094ca9a diff --git a/app-admin/sysstat/sysstat-12.2.2.ebuild b/app-admin/sysstat/sysstat-12.2.2.ebuild new file mode 100644 index 000000000000..70f1a5412854 --- /dev/null +++ b/app-admin/sysstat/sysstat-12.2.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 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="debug nls lm-sensors selinux static" + +CDEPEND=" + nls? ( virtual/libintl ) + lm-sensors? ( sys-apps/lm-sensors:= ) +" +DEPEND=" + ${CDEPEND} + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${CDEPEND} + selinux? ( sec-policy/selinux-sysstat ) +" +PATCHES=( + "${FILESDIR}"/${PN}-11.0.4-cron.patch + "${FILESDIR}"/${PN}-11.7.3-flags.patch +) + +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 + + default +} + +src_configure() { + tc-export AR + use static && append-ldflags -static + + sa_lib_dir=/usr/lib/sa \ + conf_dir=/etc \ + econf \ + $(use_enable lm-sensors sensors) \ + $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ + --enable-copy-only \ + --enable-documentation \ + --enable-install-cron \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +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 +} diff --git a/app-admin/sysstat/sysstat-12.3.3.ebuild b/app-admin/sysstat/sysstat-12.3.3.ebuild new file mode 100644 index 000000000000..70f1a5412854 --- /dev/null +++ b/app-admin/sysstat/sysstat-12.3.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 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="debug nls lm-sensors selinux static" + +CDEPEND=" + nls? ( virtual/libintl ) + lm-sensors? ( sys-apps/lm-sensors:= ) +" +DEPEND=" + ${CDEPEND} + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${CDEPEND} + selinux? ( sec-policy/selinux-sysstat ) +" +PATCHES=( + "${FILESDIR}"/${PN}-11.0.4-cron.patch + "${FILESDIR}"/${PN}-11.7.3-flags.patch +) + +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 + + default +} + +src_configure() { + tc-export AR + use static && append-ldflags -static + + sa_lib_dir=/usr/lib/sa \ + conf_dir=/etc \ + econf \ + $(use_enable lm-sensors sensors) \ + $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ + --enable-copy-only \ + --enable-documentation \ + --enable-install-cron \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +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 +} |