From 5364b21ba4cfabef27909c6daf2f4ff362ecb932 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Tue, 25 May 2021 14:10:54 -0700 Subject: app-admin/sysstat: drop 12.2.1 Signed-off-by: Georgy Yakovlev --- app-admin/sysstat/Manifest | 1 - app-admin/sysstat/files/sysstat-11.0.4-cron.patch | 38 ---------- app-admin/sysstat/files/sysstat-11.7.3-flags.patch | 11 --- app-admin/sysstat/sysstat-12.2.1.ebuild | 81 ---------------------- 4 files changed, 131 deletions(-) delete mode 100644 app-admin/sysstat/files/sysstat-11.0.4-cron.patch delete mode 100644 app-admin/sysstat/files/sysstat-11.7.3-flags.patch delete mode 100644 app-admin/sysstat/sysstat-12.2.1.ebuild (limited to 'app-admin') diff --git a/app-admin/sysstat/Manifest b/app-admin/sysstat/Manifest index 5c06d1f99beb..ef94f3b20e12 100644 --- a/app-admin/sysstat/Manifest +++ b/app-admin/sysstat/Manifest @@ -1,2 +1 @@ -DIST sysstat-12.2.1.tar.gz 1227707 BLAKE2B 566382d83a0230517d22e2630a9cb1aa631d761c914188a4e7fb15eddaedbd25b8a3dffa9893b1b2bbcc31d87a37cbe11b2b50ab0ec94a28f84018685d1b35c8 SHA512 a19d0978eb11071c228462cda496a59721541e57a1d15cb2d0964f287ac2d50b5587fa5bc2b8fe6be2a1f00cbf2e7c3bc59db6494e3e8c1906aa81437b30d073 DIST sysstat-12.5.3.tar.gz 1504415 BLAKE2B a3dc267182939190441b6cfebff938881fe4a06a8c7d1c406c014ddc28c0ecb33af5f480b77cce56bfcd4c7af81c4fec09eccb989561dd979f03a94ea6521f5b SHA512 3f09ff2e7ca38497eb07dcd8770c0b7fe5cfa1140537b215a1648446f65d933852b97dd5a1a9596afa57b04f20da64385e3b2e384be8d7b5902f228dc01230a5 diff --git a/app-admin/sysstat/files/sysstat-11.0.4-cron.patch b/app-admin/sysstat/files/sysstat-11.0.4-cron.patch deleted file mode 100644 index 9d047ac6e9fe..000000000000 --- a/app-admin/sysstat/files/sysstat-11.0.4-cron.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -368,25 +368,19 @@ - $(CHOWN) $(CRON_OWNER) $(DESTDIR)$(SA_DIR) - ifdef SYSTEMD_UNIT_DIR - mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR) --else -- if [ -d /etc/cron.d ]; then \ -- mkdir -p $(DESTDIR)/etc/cron.d; \ -- elif [ -d /etc/cron.hourly -a -d /etc/cron.daily ]; then \ -- mkdir -p $(DESTDIR)/etc/cron.hourly $(DESTDIR)/etc/cron.daily; \ -- fi -- if [ -d $(INIT_DIR) ]; then \ -- mkdir -p $(DESTDIR)$(INIT_DIR); \ -- elif [ -d $(RC_DIR) ]; then \ -+endif -+ifeq ($(INSTALL_CRON),y) -+ mkdir -p $(DESTDIR)/etc/cron.d; \ -+ mkdir -p $(DESTDIR)$(INIT_DIR); \ -+ if [ -d $(RC_DIR) ]; then \ - mkdir -p $(DESTDIR)$(RC_DIR); \ - fi - endif -- if [ -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" ]; then \ -- if [ -d $(DESTDIR)/etc/cron.d ]; then \ -- $(INSTALL_DATA) cron/sysstat.crond $(DESTDIR)/etc/cron.d/sysstat; \ -- elif [ -d $(DESTDIR)/etc/cron.hourly -a -d $(DESTDIR)/etc/cron.daily ]; then \ -- $(INSTALL_BIN) cron/sysstat.cron.hourly $(DESTDIR)/etc/cron.hourly/sysstat; \ -- $(INSTALL_BIN) cron/sysstat.cron.daily $(DESTDIR)/etc/cron.daily/sysstat; \ -- fi \ -+ if [ -d $(DESTDIR)/etc/cron.d ]; then \ -+ $(INSTALL_DATA) cron/sysstat.crond $(DESTDIR)/etc/cron.d/sysstat; \ -+ elif [ -d $(DESTDIR)/etc/cron.hourly -a -d $(DESTDIR)/etc/cron.daily ]; then \ -+ $(INSTALL_BIN) cron/sysstat.cron.hourly $(DESTDIR)/etc/cron.hourly/sysstat; \ -+ $(INSTALL_BIN) cron/sysstat.cron.daily $(DESTDIR)/etc/cron.daily/sysstat; \ - fi - ifeq ($(COPY_ONLY),n) - if [ \( -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" \) -a ! -d $(DESTDIR)/etc/cron.d ]; then \ diff --git a/app-admin/sysstat/files/sysstat-11.7.3-flags.patch b/app-admin/sysstat/files/sysstat-11.7.3-flags.patch deleted file mode 100644 index 9438a0fd8f74..000000000000 --- a/app-admin/sysstat/files/sysstat-11.7.3-flags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-12.2.1.ebuild b/app-admin/sysstat/sysstat-12.2.1.ebuild deleted file mode 100644 index f08a567e3b49..000000000000 --- a/app-admin/sysstat/sysstat-12.2.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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 -} -- cgit v1.2.3-65-gdbad