diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-14 01:05:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-14 01:05:40 +0100 |
commit | 76cba73c47c8694e74377004634daca18f2d9c08 (patch) | |
tree | 468603ebdc189bcfae77696162761b3be936baea /app-admin/sysstat | |
parent | 6957f5c65b02bba533954eabc0b62f5de36be206 (diff) |
gentoo resync : 14.04.2018
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r-- | app-admin/sysstat/Manifest | 5 | ||||
-rw-r--r-- | app-admin/sysstat/files/sysstat-11.7.3-flags.patch | 11 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-11.6.3.ebuild | 89 | ||||
-rw-r--r-- | app-admin/sysstat/sysstat-11.7.3.ebuild | 85 |
4 files changed, 190 insertions, 0 deletions
diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index a6133925f53a..78c4820d037b 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -1,14 +1,19 @@ AUX sysstat-10.0.4-flags.patch 887 BLAKE2B 289e53b21e8f3cd2b1a46219ec7fe7ba82b6fb660580481faa7a3142e8a664d16e4fe9213a5fe396d72bcd6a003ea9b7d06a3f5e4557ae05d3a225427f273b6c SHA512 7daf43a8b09af67781ae33cbaaf7d6da9bb1f6f750428a08c3ddde8ecb94e0de27d5746a332086eb5191cccd8e6dbc37c263ab3046294b4b3df1a2666c1ab6ee AUX sysstat-11.0.4-cron.patch 1609 BLAKE2B b190f9b6e47da5240ced4fed912bdcdb130d88cf326e0e8109dc5996c22c812c64f2dfaaa6b0456b368d2b59aa30271b4de402bd83c2754c0224b4fd6598c604 SHA512 531340bb0770c07743caa6c760584c0f4cda5a5db7dd46bd2eee8ae1cccabecffee084571fb68a3510735b04430f2bb454068d9983da2856a0459ccb258eb89d +AUX sysstat-11.7.3-flags.patch 274 BLAKE2B 67abbdad7a4cf9f20af1baf16e0c73c63f49718cc0fb3c70bc681e8cdda29394ea5a75d871c76f658305b26d44d1034d09079f3b6306a4dd466cd0775b5514b2 SHA512 80dd658b06f2e1072a3a58bbe84770170f1cb6c3e2ae0d660713a007b0e9e59c45b710cc1484c94ec466759455ae18a7fbae237b6674ee9ddb43a7a4502cb0d5 AUX sysstat.init.d 378 BLAKE2B fe781f1a53e183023da2b46ecefb37881eedf8e8df2623927b24f33aa3344776b39db038d598ad050f1d48462d52300fb17731f29b0a8ab9c800fbe379efa249 SHA512 328ee3d40d45a0b1702c74fe0195ce4444cc8f63cb0fa68ba40ca20cfa183dd7acf4fc846cd76a4bcf426a3b4064316061dbbf26ca20047711528399e17b20b4 DIST sysstat-11.4.0.tar.xz 343968 BLAKE2B e34da8cf0216f66fad3ade0ed40e8ec3b7641f7568ebcce5bc3122f888c90885ece346bf7f4f8e71e92435257ee5c6c0e5a89913c0e22a0ad28fa1018a73ea71 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 DIST sysstat-11.6.1.tar.xz 470584 BLAKE2B e9f85567743e6f0f2958afed40919c8bea7fc52f053fdd9bc7480e942e9a4a5620287f72cf26feedf4b74fc698331da2c305864b0037cf11e0617af2bc0da63b SHA512 55b3c361f7cda3d5efc0a42bef26d154c159a465ef45b56d2567f38aeec8c935c4e3b65a92eaf996abbf2d6a2604b2b8bba95741d707e8f387c9fadc05fafa93 DIST sysstat-11.6.2.tar.xz 471452 BLAKE2B da0647f25e9f4ec4d320f664d2124bd2bd3cc42a78201f2c86480afeb6525b20c158e1577321a0316134fca7e77c04b303829104ae59b0d790ab29bff09889ed SHA512 8f117601272d3d9b887c454d610d06f014b76902cdc68f6a11e693bdc58bb7ad1cac1006681774b3e6173f3cadd9b1f36e126d1d7501f0910b092d125d1c68ce +DIST sysstat-11.6.3.tar.xz 527828 BLAKE2B 4221252589652d949541d8ec8d7057abe90cafaae7b2222538d4fcb95aaa45f3da542539eb0742a910456c8ee134203207fc5e9485b0948a6c581f33eb949c2c SHA512 37a770b4ff26abdb94c8d97fa49b094702e9f5fb12549fd012b9767c7f42ede50ce209085c7ad3b7cd2e208ba1e5bfe9425893f7bb0bbc517aed688300bf9712 DIST sysstat-11.7.1.tar.xz 476916 BLAKE2B 016c5b6e2759af440ecd3bfc9b66f2b01988ef2e889090ab9156a7fdea02d9a3e6e47f6852ea699cf865d2ccf79d3152c70f0e23daf199edb936cb55a9a28fa7 SHA512 c0a8ce7a412e16d7d471cc0421a0f5586143ef8253f9a38872a63687bba50f98eebab5d501f92c4d085da51af56343628c8154cbd2d260b314153a17e23ff2e8 DIST sysstat-11.7.2.tar.xz 485264 BLAKE2B 2915bf3eeb33d499517872acd9101e4b27e8f095b36cc106eeb8e6fc55806f9d1fa969d8c200ce4cb2bd7f0ed25b1a312e362bdc16ff7717f088c0f62780d025 SHA512 0e51c1e08cca4bb8489910d334d5f30c1854687a935f6734228d422b21827f035533f91d30d52c9a48c8be7fa15af66cd41d379a51e5a935b89eb6578e066d01 +DIST sysstat-11.7.3.tar.xz 543556 BLAKE2B f6042021a7c5047727ddbcd38cf6e9f88ca44adaf9f8a9e56cf84c9d9b4d61bef7e07ef910c54fdcc0342c8f9b28e9b114778f57f3ed70d8b950263086426387 SHA512 c752ebba4d25a30147e68d0cb44d93020bb9b44823812c99550f6b34b42fc6f015c28ef0e6609a1e33ae6e4de566ae2d0e8a4711e412a4298baf5721dd15d27f EBUILD sysstat-11.4.0.ebuild 1945 BLAKE2B 60e245699e621770f3f8aac3d622063b8e6bdad5135e3408dce587eae8d3b32c6884dc4db78a397b2a7ca0b58a7277fb652b21fad8a6e3c0e008f70eea0c8503 SHA512 25438d8e95dac4789c18215f83c09868ef7bb9886d5abe76f70b5461b65cfa42648c7593d861c0d075f1ec7bde52503d3235f3aea716e9fc9a39dfc5762e269c EBUILD sysstat-11.6.1.ebuild 1833 BLAKE2B 6eb80ec1213c377bbe549ec4553740fa7af7686029270c288545ca0ffa892fc4adea2e083de4d1327cb00434282a19f4012578062f60ffd7c6485653055eab75 SHA512 643e2d9abd82818c04ae64858afd3682b61ec60f5a74f61f945319563eac525c95cfbac2a9d5143456214f48c4b5936b8138db2ac4ec04604fa6011c4549838b EBUILD sysstat-11.6.2.ebuild 1833 BLAKE2B 5991244b94e68e4a8f7ecd0379500768ab5af2b11d880ac9c0b8e451fc06dbdfde90e43e964e7f0f19ac9325a1230a4636814a9a32697c8045e028429cf0bfe5 SHA512 acfadd3a0124319565e2175b2a63c81024900a2b11595f4615c509b3e802169b37a8d46c2bcb6201858a9f2946a1ce3da938cbdde065cf4ca75f15581df4cba1 +EBUILD sysstat-11.6.3.ebuild 1833 BLAKE2B 5991244b94e68e4a8f7ecd0379500768ab5af2b11d880ac9c0b8e451fc06dbdfde90e43e964e7f0f19ac9325a1230a4636814a9a32697c8045e028429cf0bfe5 SHA512 acfadd3a0124319565e2175b2a63c81024900a2b11595f4615c509b3e802169b37a8d46c2bcb6201858a9f2946a1ce3da938cbdde065cf4ca75f15581df4cba1 EBUILD sysstat-11.7.1.ebuild 1833 BLAKE2B 5991244b94e68e4a8f7ecd0379500768ab5af2b11d880ac9c0b8e451fc06dbdfde90e43e964e7f0f19ac9325a1230a4636814a9a32697c8045e028429cf0bfe5 SHA512 acfadd3a0124319565e2175b2a63c81024900a2b11595f4615c509b3e802169b37a8d46c2bcb6201858a9f2946a1ce3da938cbdde065cf4ca75f15581df4cba1 EBUILD sysstat-11.7.2.ebuild 1833 BLAKE2B 5991244b94e68e4a8f7ecd0379500768ab5af2b11d880ac9c0b8e451fc06dbdfde90e43e964e7f0f19ac9325a1230a4636814a9a32697c8045e028429cf0bfe5 SHA512 acfadd3a0124319565e2175b2a63c81024900a2b11595f4615c509b3e802169b37a8d46c2bcb6201858a9f2946a1ce3da938cbdde065cf4ca75f15581df4cba1 +EBUILD sysstat-11.7.3.ebuild 1787 BLAKE2B d9235c61d19c41e58a65b61bd3188f085a3e08810cfbf2291067bca879f6465b27a115ed534d3d77c6bbf1e8d03286193a1f77a03e3065f62782e649ab49095a SHA512 2dc9618776ca53b7587094a337530e42e687fe83da4967bb8ed45e5a5da5e8ac6fb5980b4e2769d88e192b102e9f2a20a1fac25caf9dbafe2c71ecd716c14866 MISC metadata.xml 336 BLAKE2B ba4225003301f291de8d348fcec269a2f7dc8f729a93e3c974a3eb9712f7fe08f59d799e4bf2e936a1224bfa5fa59d4b4b333aeacde9864313c20e1d3a7f4580 SHA512 63adb90aca54ec347aac7feaad3b2ee3c707fc536c0de0e0ee045d4fe2c08e231bdbd4473b9722a747ef1263cb98a067a43cbbbae28aabad71458c16df946bc6 diff --git a/app-admin/sysstat/files/sysstat-11.7.3-flags.patch b/app-admin/sysstat/files/sysstat-11.7.3-flags.patch new file mode 100644 index 000000000000..9438a0fd8f74 --- /dev/null +++ b/app-admin/sysstat/files/sysstat-11.7.3-flags.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -71,7 +71,7 @@ + # Compiler flags + CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -pipe -O2 + DFLAGS = @DFLAGS@ +-LFLAGS = @STRIP@ ++LFLAGS = $(LDFLAGS) + DFLAGS += -DSA_DIR=\"$(SA_DIR)\" -DSADC_PATH=\"$(SADC_PATH)\" + DFLAGS += $(DFSENSORS) + diff --git a/app-admin/sysstat/sysstat-11.6.3.ebuild b/app-admin/sysstat/sysstat-11.6.3.ebuild new file mode 100644 index 000000000000..b9b3e8d42883 --- /dev/null +++ b/app-admin/sysstat/sysstat-11.6.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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 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}-10.0.4-flags.patch + "${FILESDIR}"/${PN}-11.0.4-cron.patch +) + +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 + + default +} + +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 lm_sensors sensors) \ + $(use_enable nls) \ + --enable-copy-only \ + --enable-documentation \ + --enable-install-cron \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +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 -r contrib/ + + 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 +} diff --git a/app-admin/sysstat/sysstat-11.7.3.ebuild b/app-admin/sysstat/sysstat-11.7.3.ebuild new file mode 100644 index 000000000000..0a51edcf4022 --- /dev/null +++ b/app-admin/sysstat/sysstat-11.7.3.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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 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 +) + +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 + + default +} + +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 lm_sensors sensors) \ + $(use_enable nls) \ + --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/ + + 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 +} |