diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/sysstat/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/sysstat/files')
-rw-r--r-- | app-admin/sysstat/files/sysstat-10.0.4-flags.patch | 31 | ||||
-rw-r--r-- | app-admin/sysstat/files/sysstat-11.0.4-cron.patch | 38 | ||||
-rw-r--r-- | app-admin/sysstat/files/sysstat-11.7.3-flags.patch | 11 | ||||
-rw-r--r-- | app-admin/sysstat/files/sysstat.init.d | 18 |
4 files changed, 0 insertions, 98 deletions
diff --git a/app-admin/sysstat/files/sysstat-10.0.4-flags.patch b/app-admin/sysstat/files/sysstat-10.0.4-flags.patch deleted file mode 100644 index 402e7d604b1a..000000000000 --- a/app-admin/sysstat/files/sysstat-10.0.4-flags.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -69,9 +69,8 @@ - SYSCONFIG_DIR = @SYSCONFIG_DIR@ - - # Compiler flags --CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -pipe -O2 -+CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes - DFLAGS = @DFLAGS@ --LFLAGS = @STRIP@ - DFLAGS += -DSA_DIR=\"$(SA_DIR)\" -DSADC_PATH=\"$(SADC_PATH)\" - DFLAGS += $(DFSENSORS) - -@@ -154,7 +153,7 @@ - $(CC) -o $@ -c $(CFLAGS) $(DFLAGS) $< - - % : %.o -- $(CC) -o $@ $(CFLAGS) $^ $(LFLAGS) -+ $(CC) -o $@ $(CFLAGS) $(LFLAGS) $^ $(LIBS) - - all: sadc sar sadf iostat mpstat pidstat nfsiostat cifsiostat locales - -@@ -196,7 +195,7 @@ - - sadc.o: sadc.c sa.h version.h common.h ioconf.h sysconfig.h rd_stats.h rd_sensors.h - --sadc: LFLAGS += $(LFSENSORS) -+sadc: LIBS = $(LFSENSORS) - sadc: sadc.o act_sadc.o sa_wrap.o sa_common.o librdstats.a librdsensors.a libsyscom.a - - sar.o: sar.c sa.h version.h common.h ioconf.h pr_stats.h sysconfig.h 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/files/sysstat.init.d b/app-admin/sysstat/files/sysstat.init.d deleted file mode 100644 index 4222de28174b..000000000000 --- a/app-admin/sysstat/files/sysstat.init.d +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use hostname -} - -start() { - ebegin "Writing a dummy startup record using sadc (see sadc(8))..." - /usr/lib/sa/sa1 --boot - eend $? -} - -stop() { - ebegin "Cannot stop writing a dummy startup record (see sadc(8))..." - eend $? -} |