diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-08-17 07:05:13 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-08-17 07:05:13 +0200 |
commit | 72bb82a20b528f1aa86c6dfbdb69654288ee91ce (patch) | |
tree | a7dfcb8ee68dacb8fbf336df7be9200ddfd51714 /app-admin/sysstat | |
parent | app-admin/sysstat: Old. (diff) | |
download | gentoo-72bb82a20b528f1aa86c6dfbdb69654288ee91ce.tar.gz gentoo-72bb82a20b528f1aa86c6dfbdb69654288ee91ce.tar.bz2 gentoo-72bb82a20b528f1aa86c6dfbdb69654288ee91ce.zip |
app-admin/sysstat: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r-- | app-admin/sysstat/Manifest | 1 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-11.2.6.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index 30262a366a43..c406968d008a 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -2,4 +2,5 @@ DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d2682 DIST sysstat-11.2.2.tar.xz 323376 SHA256 e92c9980c6dde7e7faa3b91eb56c82de37139dc4d07eb69ca137eed44d161f5a SHA512 c7cf8134db3366588de58d64c6f852b23974ef99737960d8ec44f93d986690da8f83126132deaee4e02e565518d48678e32e969fa0ad9de36d9ccddfe4639506 WHIRLPOOL 7ab889d9d00ea5e54b0eecc312fc1f080b05151c2bed3cc648b5e301753e53cc348f34b1f2d0a5dec7d07083da7623acaa439f6c295b9b748812f6cce6065d8d DIST sysstat-11.2.4.tar.xz 323472 SHA256 2fb41049ef72c58c29e5966b27f31d8a30f8f468ef994c4ad0f20900fa0473b7 SHA512 e22ce08a1a058004b40fb15a452631a8bbafce98aa899874243c4b9e392f9ac83f63d20e010d706a6da895712a31cfba845ecf6c4844810648007a5388f237f4 WHIRLPOOL 67ba7c639d425339a48c2d65f946585ebf28082f4c35e83206bd7ce19814c1acd29172304a8824d3837d77476db24c9d81635a65d450c4656b9c8c2919650e63 DIST sysstat-11.2.5.tar.xz 323544 SHA256 4d5c9cd9122aa933ac477f369eb40c66236365a88516577c9655516f6f32e8e4 SHA512 895970728be18a2ab3eac8df462a7c31ab0363b18e05deebf9332a8fb0b0f2f13876d1f5515eaf72537eed436d3f8802e36b9e0e7624d1ca360483f8705f40e6 WHIRLPOOL 98efe23ee3e35d220c0a9e857e9ba2a76475c88b91f270c8a185000ef7ff5e2ac913a2d7c0b6bbbb9b29ae394c36337f5d81cf6eedcf246a3f9e66f121384916 +DIST sysstat-11.2.6.tar.xz 323952 SHA256 a5f2e8a81d6203620ed6e7740c4e5d7588aed03a54c4a2f0054450e49733fb3a SHA512 fdd196ac3e44422d5f5ecff700b3d57a06bbe46600f80f81333aa67a7a02a036aca56439a27353e97c185fed254eda4d900ea8580df7b67539ce6b8bb4116808 WHIRLPOOL ded1eae00b49e031b1a9a27df116d5bbcc788d8ad948a75a31776688d621d798fb2d5af272c486169311ff1af26ae6ec9881f1f3ca0891ea1d69b4226e74cc84 DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba diff --git a/app-admin/sysstat/sysstat-11.2.6.ebuild b/app-admin/sysstat/sysstat-11.2.6.ebuild new file mode 100644 index 000000000000..3f9181c675f3 --- /dev/null +++ b/app-admin/sysstat/sysstat-11.2.6.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic multilib systemd toolchain-funcs + +DESCRIPTION="System performance tools for Linux" +HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" +SRC_URI="${HOMEPAGE}${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug isag nls lm_sensors selinux static" + +CDEPEND=" + isag? ( + dev-lang/tk:0 + dev-vcs/rcs + sci-visualization/gnuplot + ) + nls? ( virtual/libintl ) + lm_sensors? ( sys-apps/lm_sensors ) +" +DEPEND=" + ${CDEPEND} + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${CDEPEND} + selinux? ( sec-policy/selinux-sysstat ) +" + +SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d + +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 + epatch \ + "${FILESDIR}"/${PN}-10.0.4-flags.patch \ + "${FILESDIR}"/${PN}-11.0.4-cron.patch +} + +src_configure() { + tc-export AR + use static && append-ldflags -static + + sa_lib_dir=/usr/$(get_libdir)/sa \ + conf_dir=/etc \ + rcdir=${SYSSTAT_FAKE_RC_DIR} \ + econf \ + $(use_enable debug debuginfo) \ + $(use_enable isag install-isag) \ + $(use_enable lm_sensors sensors) \ + $(use_enable nls) \ + --enable-copy-only \ + --enable-documentation \ + --enable-install-cron \ + --with-systemdsystemunitdir=$(systemd_get_unitdir) +} + +src_compile() { + emake LFLAGS="${LDFLAGS}" +} + +src_install() { + keepdir /var/log/sa + + emake \ + CHOWN=true \ + DESTDIR="${D}" \ + DOC_DIR=/usr/share/doc/${PF} \ + MANGRPARG='' \ + install + + dodoc contrib/sargraph/sargraph + + rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die + newinitd "${FILESDIR}"/${PN}.init.d ${PN} + systemd_dounit ${PN}.service + + rm -f "${D}"usr/share/doc/${PF}/COPYING +} |