1 diff -ur sysstat-12.0.2.orig/Makefile.in sysstat-12.0.2/Makefile.in
2 --- sysstat-12.0.2.orig/Makefile.in 2018-10-13 09:28:34.000000000 +0200
3 +++ sysstat-12.0.2/Makefile.in 2019-08-26 22:08:20.708000000 +0200
7 mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)
10 +ifeq ($(INSTALL_CRON),y)
11 if [ -d /etc/cron.d ]; then \
12 mkdir -p $(DESTDIR)/etc/cron.d; \
13 elif [ -d /etc/cron.hourly -a -d /etc/cron.daily ]; then \
15 elif [ -d $(RC_DIR) ]; then \
16 mkdir -p $(DESTDIR)$(RC_DIR); \
19 - if [ -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" ]; then \
20 if [ -d $(DESTDIR)/etc/cron.d ]; then \
21 $(INSTALL_DATA) cron/sysstat.crond $(DESTDIR)/etc/cron.d/sysstat; \
22 elif [ -d $(DESTDIR)/etc/cron.hourly -a -d $(DESTDIR)/etc/cron.daily ]; then \
23 $(INSTALL_BIN) cron/sysstat.cron.hourly $(DESTDIR)/etc/cron.hourly/sysstat; \
24 $(INSTALL_BIN) cron/sysstat.cron.daily $(DESTDIR)/etc/cron.daily/sysstat; \
30 if [ \( -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" \) -a ! -d $(DESTDIR)/etc/cron.d ]; then \
31 if [ ! -d $(DESTDIR)/etc/cron.hourly -o ! -d $(DESTDIR)/etc/cron.daily ]; then \
33 $(INSTALL_DATA) cron/sysstat-summary.timer $(DESTDIR)$(SYSTEMD_UNIT_DIR); \
34 elif [ -d $(DESTDIR)$(INIT_DIR) ]; then \
35 $(INSTALL_BIN) sysstat $(DESTDIR)$(INIT_DIR)/sysstat; \
36 - if [ "$(COPY_ONLY)" = "n" ]; then \
37 - if [ -x "$(CHKCONFIG)" ]; then \
38 - cd $(DESTDIR)$(INIT_DIR) && $(CHKCONFIG) --add sysstat; \
40 - [ -d $(DESTDIR)$(RC2_DIR) ] || mkdir -p $(DESTDIR)$(RC2_DIR); \
41 - [ -d $(DESTDIR)$(RC3_DIR) ] || mkdir -p $(DESTDIR)$(RC3_DIR); \
42 - [ -d $(DESTDIR)$(RC5_DIR) ] || mkdir -p $(DESTDIR)$(RC5_DIR); \
43 - cd $(DESTDIR)$(RC2_DIR) && $(LN_S) -f ../$(INITD_DIR)/sysstat S01sysstat; \
44 - cd $(DESTDIR)$(RC3_DIR) && $(LN_S) -f ../$(INITD_DIR)/sysstat S01sysstat; \
45 - cd $(DESTDIR)$(RC5_DIR) && $(LN_S) -f ../$(INITD_DIR)/sysstat S01sysstat; \
48 elif [ -d $(DESTDIR)$(RC_DIR) ]; then \
49 $(INSTALL_BIN) sysstat $(DESTDIR)$(RC_DIR)/rc.sysstat; \
50 - if [ "$(COPY_ONLY)" = "n" ]; then \
51 - if [ -x "$(CHKCONFIG)" ]; then \
52 - cd $(DESTDIR)$(RC_DIR) && $(CHKCONFIG) --add rc.sysstat; \
54 - [ -d $(DESTDIR)$(RC2_DIR) ] || mkdir -p $(DESTDIR)$(RC2_DIR); \
55 - [ -d $(DESTDIR)$(RC3_DIR) ] || mkdir -p $(DESTDIR)$(RC3_DIR); \
56 - [ -d $(DESTDIR)$(RC5_DIR) ] || mkdir -p $(DESTDIR)$(RC5_DIR); \
57 - cd $(DESTDIR)$(RC2_DIR) && $(LN_S) -f ../rc.sysstat S01sysstat; \
58 - cd $(DESTDIR)$(RC3_DIR) && $(LN_S) -f ../rc.sysstat S01sysstat; \
59 - cd $(DESTDIR)$(RC5_DIR) && $(LN_S) -f ../rc.sysstat S01sysstat; \
64 if [ -x "$(SYSTEMCTL)" ]; then \