Accepting request 977626 from home:dmdiss:pcp_53

- Upgrade to 5.2.5
- heaps of changes; see changelog
  + drop upstream 0007-pmns-Make-drop-duplicate-if-else.patch
  + drop upstream 0008-fixes-for-GH-1140-PCP_TMPFILE_DIR-used-in-build.patch

OBS-URL: https://build.opensuse.org/request/show/977626
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=117
This commit is contained in:
Dirk Mueller 2022-05-29 18:56:24 +00:00 committed by Git OBS Bridge
parent 66a62d2f35
commit c9072ab435
13 changed files with 428 additions and 370 deletions

View File

@ -1,33 +1,45 @@
From 550357486d093e60ddf8102cf3ff474c7fa1721d Mon Sep 17 00:00:00 2001 From 1c78e9cae055e914a846a54a6a12acfc7525d64e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:43:00 +0100 Date: Mon, 16 May 2022 17:31:55 +0200
Subject: [PATCH 1/6] Install libraries without exec permission Subject: [PATCH] build: install libraries without exec permission
Signed-off-by: David Disseldorp <ddiss@suse.de>
--- ---
src/genpmda/genpmda | 4 ++-- src/genpmda/genpmda | 4 ++--
src/libpcp/src/GNUmakefile | 4 ++-- src/libpcp/src/GNUmakefile | 4 ++--
src/libpcp_fault/src/GNUmakefile | 4 ++-- src/libpcp_fault/src/GNUmakefile | 4 ++--
src/libpcp_gui/src/GNUmakefile | 4 ++-- src/libpcp_gui/src/GNUmakefile | 4 ++--
src/libpcp_import/src/GNUmakefile | 4 ++-- src/libpcp_import/src/GNUmakefile | 4 ++--
src/libpcp_mmv/src/GNUmakefile | 4 ++-- src/libpcp_mmv/src/GNUmakefile | 4 ++--
src/libpcp_pmcd/src/GNUmakefile | 2 +- src/libpcp_pmcd/src/GNUmakefile | 2 +-
src/libpcp_pmda/src/GNUmakefile | 4 ++-- src/libpcp_pmda/src/GNUmakefile | 4 ++--
src/libpcp_trace/src/GNUmakefile | 4 ++-- src/libpcp_trace/src/GNUmakefile | 4 ++--
src/pmdas/aix/GNUmakefile | 2 +- src/libpcp_web/src/GNUmakefile | 4 ++--
src/pmdas/darwin/GNUmakefile | 2 +- src/pmdas/cifs/GNUmakefile | 4 ++--
src/pmdas/freebsd/GNUmakefile | 2 +- src/pmdas/dm/GNUmakefile | 4 ++--
src/pmdas/linux/GNUmakefile | 2 +- src/pmdas/docker/GNUmakefile | 4 ++--
src/pmdas/linux_proc/GNUmakefile | 2 +- src/pmdas/hacluster/GNUmakefile | 4 ++--
src/pmdas/lustrecomm/GNUmakefile | 2 +- src/pmdas/jbd2/GNUmakefile | 4 ++--
src/pmdas/pmcd/src/GNUmakefile | 2 +- src/pmdas/kvm/GNUmakefile | 4 ++--
src/pmdas/sendmail/GNUmakefile | 2 +- src/pmdas/linux/GNUmakefile | 4 ++--
src/pmdas/solaris/GNUmakefile | 2 +- src/pmdas/linux_proc/GNUmakefile | 4 ++--
18 files changed, 26 insertions(+), 26 deletions(-) src/pmdas/linux_sockets/GNUmakefile | 4 ++--
src/pmdas/linux_xfs/GNUmakefile | 4 ++--
src/pmdas/linux_zfs/GNUmakefile | 4 ++--
src/pmdas/nvidia/GNUmakefile | 5 ++---
src/pmdas/pmcd/src/GNUmakefile | 2 +-
src/pmdas/podman/GNUmakefile | 4 ++--
src/pmdas/rpm/GNUmakefile | 4 ++--
src/pmdas/sendmail/GNUmakefile | 4 ++--
src/pmdas/smart/GNUmakefile | 4 ++--
src/pmdas/statsd/src/GNUmakefile | 4 ++--
src/zabbix-agent/src/GNUmakefile | 2 +-
29 files changed, 55 insertions(+), 56 deletions(-)
Index: pcp/src/genpmda/genpmda diff --git a/src/genpmda/genpmda b/src/genpmda/genpmda
=================================================================== index 5e5c110d1..9670b7461 100755
--- pcp.orig/src/genpmda/genpmda --- a/src/genpmda/genpmda
+++ pcp/src/genpmda/genpmda +++ b/src/genpmda/genpmda
@@ -899,7 +899,7 @@ install: default @@ -899,7 +899,7 @@ install: default
\$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas \$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas
\$(INSTALL) -m 755 -d \$(PMDADIR) \$(INSTALL) -m 755 -d \$(PMDADIR)
@ -46,10 +58,10 @@ Index: pcp/src/genpmda/genpmda
\$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install \$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install
\$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove \$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove
\$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile \$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile
Index: pcp/src/libpcp/src/GNUmakefile diff --git a/src/libpcp/src/GNUmakefile b/src/libpcp/src/GNUmakefile
=================================================================== index c58277980..b8d98872e 100644
--- pcp.orig/src/libpcp/src/GNUmakefile --- a/src/libpcp/src/GNUmakefile
+++ pcp/src/libpcp/src/GNUmakefile +++ b/src/libpcp/src/GNUmakefile
@@ -125,7 +125,7 @@ endif @@ -125,7 +125,7 @@ endif
install : default install : default
@ -68,10 +80,10 @@ Index: pcp/src/libpcp/src/GNUmakefile
endif endif
$(EXT_FILES): $(EXT_FILES):
Index: pcp/src/libpcp_fault/src/GNUmakefile diff --git a/src/libpcp_fault/src/GNUmakefile b/src/libpcp_fault/src/GNUmakefile
=================================================================== index 229092783..ee37c2aa6 100644
--- pcp.orig/src/libpcp_fault/src/GNUmakefile --- a/src/libpcp_fault/src/GNUmakefile
+++ pcp/src/libpcp_fault/src/GNUmakefile +++ b/src/libpcp_fault/src/GNUmakefile
@@ -150,7 +150,7 @@ endif @@ -150,7 +150,7 @@ endif
install : default install : default
@ -90,10 +102,10 @@ Index: pcp/src/libpcp_fault/src/GNUmakefile
endif endif
$(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h $(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h
Index: pcp/src/libpcp_gui/src/GNUmakefile diff --git a/src/libpcp_gui/src/GNUmakefile b/src/libpcp_gui/src/GNUmakefile
=================================================================== index b45028ca4..9099e4d1e 100644
--- pcp.orig/src/libpcp_gui/src/GNUmakefile --- a/src/libpcp_gui/src/GNUmakefile
+++ pcp/src/libpcp_gui/src/GNUmakefile +++ b/src/libpcp_gui/src/GNUmakefile
@@ -54,7 +54,7 @@ include $(BUILDRULES) @@ -54,7 +54,7 @@ include $(BUILDRULES)
install: default install: default
@ -112,10 +124,10 @@ Index: pcp/src/libpcp_gui/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp/src/libpcp_import/src/GNUmakefile diff --git a/src/libpcp_import/src/GNUmakefile b/src/libpcp_import/src/GNUmakefile
=================================================================== index 0536ded93..b1bd3b3d7 100644
--- pcp.orig/src/libpcp_import/src/GNUmakefile --- a/src/libpcp_import/src/GNUmakefile
+++ pcp/src/libpcp_import/src/GNUmakefile +++ b/src/libpcp_import/src/GNUmakefile
@@ -54,7 +54,7 @@ include $(BUILDRULES) @@ -54,7 +54,7 @@ include $(BUILDRULES)
install: default install: default
@ -134,10 +146,10 @@ Index: pcp/src/libpcp_import/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp/src/libpcp_mmv/src/GNUmakefile diff --git a/src/libpcp_mmv/src/GNUmakefile b/src/libpcp_mmv/src/GNUmakefile
=================================================================== index e0a0b4c5a..9481bf4f5 100644
--- pcp.orig/src/libpcp_mmv/src/GNUmakefile --- a/src/libpcp_mmv/src/GNUmakefile
+++ pcp/src/libpcp_mmv/src/GNUmakefile +++ b/src/libpcp_mmv/src/GNUmakefile
@@ -47,7 +47,7 @@ include $(BUILDRULES) @@ -47,7 +47,7 @@ include $(BUILDRULES)
install: default install: default
@ -156,10 +168,10 @@ Index: pcp/src/libpcp_mmv/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp/src/libpcp_pmcd/src/GNUmakefile diff --git a/src/libpcp_pmcd/src/GNUmakefile b/src/libpcp_pmcd/src/GNUmakefile
=================================================================== index e550dde1a..d53c05565 100644
--- pcp.orig/src/libpcp_pmcd/src/GNUmakefile --- a/src/libpcp_pmcd/src/GNUmakefile
+++ pcp/src/libpcp_pmcd/src/GNUmakefile +++ b/src/libpcp_pmcd/src/GNUmakefile
@@ -73,7 +73,7 @@ include $(BUILDRULES) @@ -73,7 +73,7 @@ include $(BUILDRULES)
install : default install : default
@ -169,10 +181,10 @@ Index: pcp/src/libpcp_pmcd/src/GNUmakefile
endif endif
ifeq "$(ENABLE_PROBES)" "true" ifeq "$(ENABLE_PROBES)" "true"
Index: pcp/src/libpcp_pmda/src/GNUmakefile diff --git a/src/libpcp_pmda/src/GNUmakefile b/src/libpcp_pmda/src/GNUmakefile
=================================================================== index 021cec3f9..83042edcc 100644
--- pcp.orig/src/libpcp_pmda/src/GNUmakefile --- a/src/libpcp_pmda/src/GNUmakefile
+++ pcp/src/libpcp_pmda/src/GNUmakefile +++ b/src/libpcp_pmda/src/GNUmakefile
@@ -64,7 +64,7 @@ include $(BUILDRULES) @@ -64,7 +64,7 @@ include $(BUILDRULES)
install: default install: default
@ -191,10 +203,10 @@ Index: pcp/src/libpcp_pmda/src/GNUmakefile
endif endif
$(XFILES): $(XFILES):
Index: pcp/src/libpcp_trace/src/GNUmakefile diff --git a/src/libpcp_trace/src/GNUmakefile b/src/libpcp_trace/src/GNUmakefile
=================================================================== index 10738d631..6f11d0660 100644
--- pcp.orig/src/libpcp_trace/src/GNUmakefile --- a/src/libpcp_trace/src/GNUmakefile
+++ pcp/src/libpcp_trace/src/GNUmakefile +++ b/src/libpcp_trace/src/GNUmakefile
@@ -56,13 +56,13 @@ include $(BUILDRULES) @@ -56,13 +56,13 @@ include $(BUILDRULES)
install : default install : default
@ -211,72 +223,10 @@ Index: pcp/src/libpcp_trace/src/GNUmakefile
endif endif
default_pcp : default default_pcp : default
Index: pcp/src/pmdas/linux/GNUmakefile diff --git a/src/libpcp_web/src/GNUmakefile b/src/libpcp_web/src/GNUmakefile
=================================================================== index 5eb0dc9ac..d675c12e9 100644
--- pcp.orig/src/pmdas/linux/GNUmakefile --- a/src/libpcp_web/src/GNUmakefile
+++ pcp/src/pmdas/linux/GNUmakefile +++ b/src/libpcp_web/src/GNUmakefile
@@ -89,10 +89,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(HELPTARGETS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(HELPTARGETS) $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDACONFIG)
$(INSTALL) -m 644 -t $(PMDATMPDIR)/samplebandwidth.conf bandwidth.conf $(PMDACONFIG)/samplebandwidth.conf
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR)/$(CMDTARGET) $(CMDTARGET) $(PMDAADMDIR)/$(CMDTARGET)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_linux root_linux $(PCP_PMNSADM_DIR)/root_linux
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_fs_nfsd_fixups.conf proc_fs_nfsd_fixups.conf $(REWRITEDIR)/linux_proc_fs_nfsd_fixups.conf
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_net_snmp_migrate.conf proc_net_snmp_migrate.conf $(REWRITEDIR)/linux_proc_net_snmp_migrate.conf
Index: pcp/src/pmdas/linux_proc/GNUmakefile
===================================================================
--- pcp.orig/src/pmdas/linux_proc/GNUmakefile
+++ pcp/src/pmdas/linux_proc/GNUmakefile
@@ -73,10 +73,10 @@ build-me: root_proc $(LIBTARGET) $(CMDTA
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDACONFIG)
$(INSTALL) -m 644 -t $(PMDATMPDIR)/samplehotproc.conf samplehotproc.conf $(PMDACONFIG)/samplehotproc.conf
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_proc root_proc $(PCP_PMNSADM_DIR)/root_proc
$(INSTALL) -m 644 -t $(REWRITEVARDIR) $(LOGREWRITERS) $(REWRITEDIR)
@$(INSTALL_MAN)
Index: pcp/src/pmdas/pmcd/src/GNUmakefile
===================================================================
--- pcp.orig/src/pmdas/pmcd/src/GNUmakefile
+++ pcp/src/pmdas/pmcd/src/GNUmakefile
@@ -59,7 +59,7 @@ default: $(LIBTARGET)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR)/$(LIBTARGET) $(LIBTARGET) $(PMDAADMDIR)/$(LIBTARGET)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR)/$(LIBTARGET) $(LIBTARGET) $(PMDAADMDIR)/$(LIBTARGET)
include $(BUILDRULES)
Index: pcp/src/pmdas/sendmail/GNUmakefile
===================================================================
--- pcp.orig/src/pmdas/sendmail/GNUmakefile
+++ pcp/src/pmdas/sendmail/GNUmakefile
@@ -44,8 +44,8 @@ install install_pcp: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
$(INSTALL) -m 755 -t $(PMDATMPDIR)/pmda$(IAM)$(EXECSUFFIX) $(CMDTARGET) $(PMDAADMDIR)/pmda$(IAM)$(EXECSUFFIX)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(SCRIPTS) $(PMDAADMDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) pmns help root domain.h $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) pmns help root domain.h $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PMCHARTVARDIR)/Sendmail Sendmail.pmchart $(PMCHARTDIR)/Sendmail
$(CMDTARGET): $(OBJECTS)
Index: pcp/src/libpcp_web/src/GNUmakefile
===================================================================
--- pcp.orig/src/libpcp_web/src/GNUmakefile
+++ pcp/src/libpcp_web/src/GNUmakefile
@@ -84,7 +84,7 @@ endif @@ -84,7 +84,7 @@ endif
install: default install: default
@ -295,10 +245,10 @@ Index: pcp/src/libpcp_web/src/GNUmakefile
endif endif
$(XFILES): $(XFILES):
Index: pcp/src/pmdas/cifs/GNUmakefile diff --git a/src/pmdas/cifs/GNUmakefile b/src/pmdas/cifs/GNUmakefile
=================================================================== index 27b154511..d1ab2c8d0 100644
--- pcp.orig/src/pmdas/cifs/GNUmakefile --- a/src/pmdas/cifs/GNUmakefile
+++ pcp/src/pmdas/cifs/GNUmakefile +++ b/src/pmdas/cifs/GNUmakefile
@@ -44,8 +44,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -44,8 +44,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -310,10 +260,10 @@ Index: pcp/src/pmdas/cifs/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp/src/pmdas/dm/GNUmakefile diff --git a/src/pmdas/dm/GNUmakefile b/src/pmdas/dm/GNUmakefile
=================================================================== index 1e8695c97..af915a971 100644
--- pcp.orig/src/pmdas/dm/GNUmakefile --- a/src/pmdas/dm/GNUmakefile
+++ pcp/src/pmdas/dm/GNUmakefile +++ b/src/pmdas/dm/GNUmakefile
@@ -56,8 +56,8 @@ install: default @@ -56,8 +56,8 @@ install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -325,10 +275,10 @@ Index: pcp/src/pmdas/dm/GNUmakefile
$(INSTALL) -m 644 -t $(PMIEVARDIR)/data_high_util dmthin.data_high_util.pmie $(PMIEDIR)/data_high_util $(INSTALL) -m 644 -t $(PMIEVARDIR)/data_high_util dmthin.data_high_util.pmie $(PMIEDIR)/data_high_util
$(INSTALL) -m 644 -t $(PMIEVARDIR)/metadata_high_util dmthin.metadata_high_util.pmie $(PMIEDIR)/metadata_high_util $(INSTALL) -m 644 -t $(PMIEVARDIR)/metadata_high_util dmthin.metadata_high_util.pmie $(PMIEDIR)/metadata_high_util
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp/src/pmdas/docker/GNUmakefile diff --git a/src/pmdas/docker/GNUmakefile b/src/pmdas/docker/GNUmakefile
=================================================================== index 3bca9ab6d..50350581d 100644
--- pcp.orig/src/pmdas/docker/GNUmakefile --- a/src/pmdas/docker/GNUmakefile
+++ pcp/src/pmdas/docker/GNUmakefile +++ b/src/pmdas/docker/GNUmakefile
@@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install_pcp install: default install_pcp install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -340,11 +290,26 @@ Index: pcp/src/pmdas/docker/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp/src/pmdas/jbd2/GNUmakefile diff --git a/src/pmdas/hacluster/GNUmakefile b/src/pmdas/hacluster/GNUmakefile
=================================================================== index b9caf514a..2ec7577a9 100644
--- pcp.orig/src/pmdas/jbd2/GNUmakefile --- a/src/pmdas/hacluster/GNUmakefile
+++ pcp/src/pmdas/jbd2/GNUmakefile +++ b/src/pmdas/hacluster/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) root pmns domain.h help $(PMDAADMDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) root pmns domain.h help $(LIBTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
@$(INSTALL_MAN)
else
build-me:
diff --git a/src/pmdas/jbd2/GNUmakefile b/src/pmdas/jbd2/GNUmakefile
index 9a313bc63..386000fff 100644
--- a/src/pmdas/jbd2/GNUmakefile
+++ b/src/pmdas/jbd2/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS) $(MYFILES)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -355,11 +320,11 @@ Index: pcp/src/pmdas/jbd2/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_jbd2 root_jbd2 $(PCP_PMNSADM_DIR)/root_jbd2 $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_jbd2 root_jbd2 $(PCP_PMNSADM_DIR)/root_jbd2
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/jbd2_kernel_ulong.conf jbd2_kernel_ulong.conf $(REWRITEDIR)/jbd2_kernel_ulong.conf $(INSTALL) -m 644 -t $(REWRITEVARDIR)/jbd2_kernel_ulong.conf jbd2_kernel_ulong.conf $(REWRITEDIR)/jbd2_kernel_ulong.conf
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp/src/pmdas/kvm/GNUmakefile diff --git a/src/pmdas/kvm/GNUmakefile b/src/pmdas/kvm/GNUmakefile
=================================================================== index c21b095ae..8ce3b2470 100644
--- pcp.orig/src/pmdas/kvm/GNUmakefile --- a/src/pmdas/kvm/GNUmakefile
+++ pcp/src/pmdas/kvm/GNUmakefile +++ b/src/pmdas/kvm/GNUmakefile
@@ -55,10 +55,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -55,10 +55,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -372,11 +337,61 @@ Index: pcp/src/pmdas/kvm/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_kvm root_kvm $(PCP_PMNSADM_DIR)/root_kvm $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_kvm root_kvm $(PCP_PMNSADM_DIR)/root_kvm
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
Index: pcp/src/pmdas/linux_xfs/GNUmakefile diff --git a/src/pmdas/linux/GNUmakefile b/src/pmdas/linux/GNUmakefile
=================================================================== index c2efc5f7d..13195bbdf 100644
--- pcp.orig/src/pmdas/linux_xfs/GNUmakefile --- a/src/pmdas/linux/GNUmakefile
+++ pcp/src/pmdas/linux_xfs/GNUmakefile +++ b/src/pmdas/linux/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -89,11 +89,11 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS) $(CONFTARGETS)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(HELPTARGETS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(HELPTARGETS) $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDACONFIG)
$(INSTALL) -m 644 interfaces.conf $(PMDACONFIG)/interfaces.conf
$(INSTALL) -m 644 -t $(PMDATMPDIR)/samplebandwidth.conf bandwidth.conf $(PMDACONFIG)/samplebandwidth.conf
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR)/$(CMDTARGET) $(CMDTARGET) $(PMDAADMDIR)/$(CMDTARGET)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_linux root_linux $(PCP_PMNSADM_DIR)/root_linux
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_fs_nfsd_fixups.conf proc_fs_nfsd_fixups.conf $(REWRITEDIR)/linux_proc_fs_nfsd_fixups.conf
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_net_snmp_migrate.conf proc_net_snmp_migrate.conf $(REWRITEDIR)/linux_proc_net_snmp_migrate.conf
diff --git a/src/pmdas/linux_proc/GNUmakefile b/src/pmdas/linux_proc/GNUmakefile
index 86f38857d..8e5746075 100644
--- a/src/pmdas/linux_proc/GNUmakefile
+++ b/src/pmdas/linux_proc/GNUmakefile
@@ -73,10 +73,10 @@ build-me: root_proc $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS) $(LOGREWRITERS)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDACONFIG)
$(INSTALL) -m 644 -t $(PMDATMPDIR)/samplehotproc.conf samplehotproc.conf $(PMDACONFIG)/samplehotproc.conf
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_proc root_proc $(PCP_PMNSADM_DIR)/root_proc
$(INSTALL) -m 644 -t $(REWRITEVARDIR) $(LOGREWRITERS) $(REWRITEDIR)
@$(INSTALL_MAN)
diff --git a/src/pmdas/linux_sockets/GNUmakefile b/src/pmdas/linux_sockets/GNUmakefile
index 34897f2e9..b69561693 100644
--- a/src/pmdas/linux_sockets/GNUmakefile
+++ b/src/pmdas/linux_sockets/GNUmakefile
@@ -49,8 +49,8 @@ build-me: $(LIBTARGET) $(CMDTARGET)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(PMNSFILES) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(PMNSFILES) $(LIBTARGET) $(PMDAADMDIR)
@$(INSTALL_MAN)
else
build-me:
diff --git a/src/pmdas/linux_xfs/GNUmakefile b/src/pmdas/linux_xfs/GNUmakefile
index e91b02b94..9b75677e3 100644
--- a/src/pmdas/linux_xfs/GNUmakefile
+++ b/src/pmdas/linux_xfs/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -387,10 +402,25 @@ Index: pcp/src/pmdas/linux_xfs/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_xfs root_xfs $(PCP_PMNSADM_DIR)/root_xfs $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_xfs root_xfs $(PCP_PMNSADM_DIR)/root_xfs
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_xfs_migrate.conf linux_xfs_migrate.conf $(REWRITEDIR)/linux_xfs_migrate.conf $(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_xfs_migrate.conf linux_xfs_migrate.conf $(REWRITEDIR)/linux_xfs_migrate.conf
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp/src/pmdas/nvidia/GNUmakefile diff --git a/src/pmdas/linux_zfs/GNUmakefile b/src/pmdas/linux_zfs/GNUmakefile
=================================================================== index cf877efe3..ec04126dc 100644
--- pcp.orig/src/pmdas/nvidia/GNUmakefile --- a/src/pmdas/linux_zfs/GNUmakefile
+++ pcp/src/pmdas/nvidia/GNUmakefile +++ b/src/pmdas/linux_zfs/GNUmakefile
@@ -49,8 +49,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_zfs $(PMDAADMDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_zfs $(LIBTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_zfs root_zfs $(PCP_PMNSADM_DIR)/root_zfs
@$(INSTALL_MAN)
else
diff --git a/src/pmdas/nvidia/GNUmakefile b/src/pmdas/nvidia/GNUmakefile
index 2a1fa6a90..b02d431ea 100644
--- a/src/pmdas/nvidia/GNUmakefile
+++ b/src/pmdas/nvidia/GNUmakefile
@@ -37,9 +37,8 @@ include $(BUILDRULES) @@ -37,9 +37,8 @@ include $(BUILDRULES)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -403,11 +433,24 @@ Index: pcp/src/pmdas/nvidia/GNUmakefile
$(OBJECTS): domain.h $(OBJECTS): domain.h
Index: pcp/src/pmdas/podman/GNUmakefile diff --git a/src/pmdas/pmcd/src/GNUmakefile b/src/pmdas/pmcd/src/GNUmakefile
=================================================================== index c128d6d59..63fdd07e0 100644
--- pcp.orig/src/pmdas/podman/GNUmakefile --- a/src/pmdas/pmcd/src/GNUmakefile
+++ pcp/src/pmdas/podman/GNUmakefile +++ b/src/pmdas/pmcd/src/GNUmakefile
@@ -48,8 +48,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -59,7 +59,7 @@ default: $(LIBTARGET)
install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR)/$(LIBTARGET) $(LIBTARGET) $(PMDAADMDIR)/$(LIBTARGET)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR)/$(LIBTARGET) $(LIBTARGET) $(PMDAADMDIR)/$(LIBTARGET)
include $(BUILDRULES)
diff --git a/src/pmdas/podman/GNUmakefile b/src/pmdas/podman/GNUmakefile
index 0d28a67bf..a5f921ed1 100644
--- a/src/pmdas/podman/GNUmakefile
+++ b/src/pmdas/podman/GNUmakefile
@@ -48,8 +48,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -418,10 +461,10 @@ Index: pcp/src/pmdas/podman/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_podman root_podman $(PCP_PMNSADM_DIR)/root_podman $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_podman root_podman $(PCP_PMNSADM_DIR)/root_podman
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
Index: pcp/src/pmdas/rpm/GNUmakefile diff --git a/src/pmdas/rpm/GNUmakefile b/src/pmdas/rpm/GNUmakefile
=================================================================== index 86bffd2ca..72459250e 100644
--- pcp.orig/src/pmdas/rpm/GNUmakefile --- a/src/pmdas/rpm/GNUmakefile
+++ pcp/src/pmdas/rpm/GNUmakefile +++ b/src/pmdas/rpm/GNUmakefile
@@ -51,8 +51,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -51,8 +51,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install_pcp install: default install_pcp install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -433,10 +476,25 @@ Index: pcp/src/pmdas/rpm/GNUmakefile
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/rpm_migrate.conf migrate.conf $(REWRITEDIR)/rpm_migrate.conf $(INSTALL) -m 644 -t $(REWRITEVARDIR)/rpm_migrate.conf migrate.conf $(REWRITEDIR)/rpm_migrate.conf
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
Index: pcp/src/pmdas/smart/GNUmakefile diff --git a/src/pmdas/sendmail/GNUmakefile b/src/pmdas/sendmail/GNUmakefile
=================================================================== index cd2da09cb..57c0555ce 100644
--- pcp.orig/src/pmdas/smart/GNUmakefile --- a/src/pmdas/sendmail/GNUmakefile
+++ pcp/src/pmdas/smart/GNUmakefile +++ b/src/pmdas/sendmail/GNUmakefile
@@ -44,8 +44,8 @@ install install_pcp: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
$(INSTALL) -m 755 -t $(PMDATMPDIR)/pmda$(IAM)$(EXECSUFFIX) $(CMDTARGET) $(PMDAADMDIR)/pmda$(IAM)$(EXECSUFFIX)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(SCRIPTS) $(PMDAADMDIR)
- $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) pmns help root domain.h $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) pmns help root domain.h $(LIBTARGET) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PMCHARTVARDIR)/Sendmail Sendmail.pmchart $(PMCHARTDIR)/Sendmail
$(CMDTARGET): $(OBJECTS)
diff --git a/src/pmdas/smart/GNUmakefile b/src/pmdas/smart/GNUmakefile
index a852cc4ac..26dd4c8f9 100644
--- a/src/pmdas/smart/GNUmakefile
+++ b/src/pmdas/smart/GNUmakefile
@@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -448,11 +506,11 @@ Index: pcp/src/pmdas/smart/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp/src/pmdas/statsd/src/GNUmakefile diff --git a/src/pmdas/statsd/src/GNUmakefile b/src/pmdas/statsd/src/GNUmakefile
=================================================================== index 1567fe273..1dbcd4700 100644
--- pcp.orig/src/pmdas/statsd/src/GNUmakefile --- a/src/pmdas/statsd/src/GNUmakefile
+++ pcp/src/pmdas/statsd/src/GNUmakefile +++ b/src/pmdas/statsd/src/GNUmakefile
@@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET) @@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -463,10 +521,10 @@ Index: pcp/src/pmdas/statsd/src/GNUmakefile
CFILES += $(RFILES) CFILES += $(RFILES)
Index: pcp/src/zabbix-agent/src/GNUmakefile diff --git a/src/zabbix-agent/src/GNUmakefile b/src/zabbix-agent/src/GNUmakefile
=================================================================== index 25c630197..fb41d303b 100644
--- pcp.orig/src/zabbix-agent/src/GNUmakefile --- a/src/zabbix-agent/src/GNUmakefile
+++ pcp/src/zabbix-agent/src/GNUmakefile +++ b/src/zabbix-agent/src/GNUmakefile
@@ -43,7 +43,7 @@ install: default @@ -43,7 +43,7 @@ install: default
$(INSTALL) -m 755 -d $(ZABBIX_DIR) $(INSTALL) -m 755 -d $(ZABBIX_DIR)
$(INSTALL) -m 755 -d $(MODULE_DIR) $(INSTALL) -m 755 -d $(MODULE_DIR)
@ -476,3 +534,6 @@ Index: pcp/src/zabbix-agent/src/GNUmakefile
$(INSTALL) -S $(AGENT_DIR)/$(LIBTARGET) $(MODULE_DIR)/$(LIBTARGET) $(INSTALL) -S $(AGENT_DIR)/$(LIBTARGET) $(MODULE_DIR)/$(LIBTARGET)
$(INSTALL) -m 755 -d $(CONFIG_DIR) $(INSTALL) -m 755 -d $(CONFIG_DIR)
$(INSTALL) -m 644 $(LIBCONFIG) $(CONFIG_DIR)/$(LIBCONFIG) $(INSTALL) -m 644 $(LIBCONFIG) $(CONFIG_DIR)/$(LIBCONFIG)
--
2.35.3

View File

@ -1,8 +1,9 @@
From 952ce8410406537e388a41e873941bbc427fd4d1 Mon Sep 17 00:00:00 2001 From cc6ffae33eef2fd1b595dfda72defed17aae89c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:45:33 +0100 Date: Mon, 16 May 2022 17:32:55 +0200
Subject: [PATCH 2/6] Remove CPAN rpaths Subject: [PATCH] build: remove CPAN rpaths
Acked-by: David Disseldorp <ddiss@suse.de>
--- ---
src/perl/LogImport/Makefile.PL | 2 +- src/perl/LogImport/Makefile.PL | 2 +-
src/perl/MMV/Makefile.PL | 2 +- src/perl/MMV/Makefile.PL | 2 +-
@ -10,7 +11,7 @@ Subject: [PATCH 2/6] Remove CPAN rpaths
3 files changed, 3 insertions(+), 3 deletions(-) 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/perl/LogImport/Makefile.PL b/src/perl/LogImport/Makefile.PL diff --git a/src/perl/LogImport/Makefile.PL b/src/perl/LogImport/Makefile.PL
index a254f5ad501f..2ec42f51a4eb 100644 index a254f5ad5..2ec42f51a 100644
--- a/src/perl/LogImport/Makefile.PL --- a/src/perl/LogImport/Makefile.PL
+++ b/src/perl/LogImport/Makefile.PL +++ b/src/perl/LogImport/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
@ -23,7 +24,7 @@ index a254f5ad501f..2ec42f51a4eb 100644
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc # standard ones, minus -arch ppc
diff --git a/src/perl/MMV/Makefile.PL b/src/perl/MMV/Makefile.PL diff --git a/src/perl/MMV/Makefile.PL b/src/perl/MMV/Makefile.PL
index 7a6787deda4a..1e4cea0317d4 100644 index 7a6787ded..1e4cea031 100644
--- a/src/perl/MMV/Makefile.PL --- a/src/perl/MMV/Makefile.PL
+++ b/src/perl/MMV/Makefile.PL +++ b/src/perl/MMV/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
@ -36,7 +37,7 @@ index 7a6787deda4a..1e4cea0317d4 100644
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc # standard ones, minus -arch ppc
diff --git a/src/perl/PMDA/Makefile.PL b/src/perl/PMDA/Makefile.PL diff --git a/src/perl/PMDA/Makefile.PL b/src/perl/PMDA/Makefile.PL
index d5c44615a651..e2260c4b5397 100644 index d5c44615a..e2260c4b5 100644
--- a/src/perl/PMDA/Makefile.PL --- a/src/perl/PMDA/Makefile.PL
+++ b/src/perl/PMDA/Makefile.PL +++ b/src/perl/PMDA/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
@ -49,5 +50,5 @@ index d5c44615a651..e2260c4b5397 100644
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc # standard ones, minus -arch ppc
-- --
2.18.0 2.35.3

View File

@ -1,8 +1,9 @@
From 582c2e703b48f2c8aa6a7e574997a4650b8a67a2 Mon Sep 17 00:00:00 2001 From e94401a3f0f6c68f695f0b4a6467cf13daa35024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:46:15 +0100 Date: Mon, 16 May 2022 17:34:15 +0200
Subject: [PATCH 3/6] Remove runlevel 4 from init scripts Subject: [PATCH] rc scripts: remove runlevel 4 from init scripts
Acked-by: David Disseldorp <ddiss@suse.de>
--- ---
src/pmcd/rc_pcp | 12 ++++++------ src/pmcd/rc_pcp | 12 ++++++------
src/pmcd/rc_pmcd | 2 +- src/pmcd/rc_pmcd | 2 +-
@ -12,7 +13,7 @@ Subject: [PATCH 3/6] Remove runlevel 4 from init scripts
5 files changed, 10 insertions(+), 10 deletions(-) 5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/pmcd/rc_pcp b/src/pmcd/rc_pcp diff --git a/src/pmcd/rc_pcp b/src/pmcd/rc_pcp
index fc58627acc4b..9acf3c6f7cca 100644 index 228cf58fc..e1b05a51e 100644
--- a/src/pmcd/rc_pcp --- a/src/pmcd/rc_pcp
+++ b/src/pmcd/rc_pcp +++ b/src/pmcd/rc_pcp
@@ -31,12 +31,12 @@ @@ -31,12 +31,12 @@
@ -35,7 +36,7 @@ index fc58627acc4b..9acf3c6f7cca 100644
# Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons # Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons
### END INIT INFO ### END INIT INFO
diff --git a/src/pmcd/rc_pmcd b/src/pmcd/rc_pmcd diff --git a/src/pmcd/rc_pmcd b/src/pmcd/rc_pmcd
index f42e435bdf3f..164526fac01a 100644 index 37571e82c..f0dc662df 100644
--- a/src/pmcd/rc_pmcd --- a/src/pmcd/rc_pmcd
+++ b/src/pmcd/rc_pmcd +++ b/src/pmcd/rc_pmcd
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
@ -48,7 +49,7 @@ index f42e435bdf3f..164526fac01a 100644
# Short-Description: Control pmcd (the collection daemon for PCP) # Short-Description: Control pmcd (the collection daemon for PCP)
# Description: Configure and control pmcd (the collection daemon for the Performance Co-Pilot) # Description: Configure and control pmcd (the collection daemon for the Performance Co-Pilot)
diff --git a/src/pmie/rc_pmie b/src/pmie/rc_pmie diff --git a/src/pmie/rc_pmie b/src/pmie/rc_pmie
index 013f2aab3eed..48c07c61081d 100644 index 983e3d575..545c35749 100644
--- a/src/pmie/rc_pmie --- a/src/pmie/rc_pmie
+++ b/src/pmie/rc_pmie +++ b/src/pmie/rc_pmie
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
@ -61,7 +62,7 @@ index 013f2aab3eed..48c07c61081d 100644
# Short-Description: Control pmie (performance inference engine for PCP) # Short-Description: Control pmie (performance inference engine for PCP)
# Description: Configure and control pmie (the performance inference engine for the Performance Co-Pilot) # Description: Configure and control pmie (the performance inference engine for the Performance Co-Pilot)
diff --git a/src/pmlogger/rc_pmlogger b/src/pmlogger/rc_pmlogger diff --git a/src/pmlogger/rc_pmlogger b/src/pmlogger/rc_pmlogger
index 390809a27255..b6038840f23e 100644 index 81aeb51a2..b64750b32 100644
--- a/src/pmlogger/rc_pmlogger --- a/src/pmlogger/rc_pmlogger
+++ b/src/pmlogger/rc_pmlogger +++ b/src/pmlogger/rc_pmlogger
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
@ -74,7 +75,7 @@ index 390809a27255..b6038840f23e 100644
# Short-Description: Control pmlogger (the performance metrics logger for PCP) # Short-Description: Control pmlogger (the performance metrics logger for PCP)
# Description: Configure and control pmlogger (the performance metrics logger for the Performance Co-Pilot) # Description: Configure and control pmlogger (the performance metrics logger for the Performance Co-Pilot)
diff --git a/src/pmproxy/rc_pmproxy b/src/pmproxy/rc_pmproxy diff --git a/src/pmproxy/rc_pmproxy b/src/pmproxy/rc_pmproxy
index 0bb38c005a7b..45ca18b9a5c1 100644 index 1ee71595d..7a732f72c 100644
--- a/src/pmproxy/rc_pmproxy --- a/src/pmproxy/rc_pmproxy
+++ b/src/pmproxy/rc_pmproxy +++ b/src/pmproxy/rc_pmproxy
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
@ -87,5 +88,5 @@ index 0bb38c005a7b..45ca18b9a5c1 100644
# Short-Description: Control pmproxy (the pmcd proxy daemon for PCP) # Short-Description: Control pmproxy (the pmcd proxy daemon for PCP)
# Description: Configure and control pmproxy (the pmcd proxy daemon for the Performance Co-Pilot) # Description: Configure and control pmproxy (the pmcd proxy daemon for the Performance Co-Pilot)
-- --
2.18.0 2.35.3

View File

@ -1,14 +1,15 @@
From 99d131530bdad67ea92eeeff85181500b5c03768 Mon Sep 17 00:00:00 2001 From 8f0a98dd4b8db4bd39a8df599b64391a78357775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 23 Feb 2015 16:52:38 +0100 Date: Mon, 16 May 2022 17:39:53 +0200
Subject: [PATCH 5/6] SUSE-fy pmsnap control path Subject: [PATCH] pmsnap: SUSE-fy pmsnap control path
Acked-by: David Disseldorp <ddiss@suse.de>
--- ---
src/pmsnap/pmsnap.sh | 4 ++-- src/pmsnap/pmsnap.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pmsnap/pmsnap.sh b/src/pmsnap/pmsnap.sh diff --git a/src/pmsnap/pmsnap.sh b/src/pmsnap/pmsnap.sh
index 87434a5fbfb9..92be253313ea 100755 index 95ac61b90..c1a32de07 100755
--- a/src/pmsnap/pmsnap.sh --- a/src/pmsnap/pmsnap.sh
+++ b/src/pmsnap/pmsnap.sh +++ b/src/pmsnap/pmsnap.sh
@@ -26,7 +26,7 @@ prog=`basename $0` @@ -26,7 +26,7 @@ prog=`basename $0`
@ -30,5 +31,5 @@ index 87434a5fbfb9..92be253313ea 100755
then then
echo "$prog: Error: cannot find control file \"$CONTROL\"" echo "$prog: Error: cannot find control file \"$CONTROL\""
-- --
2.18.0 2.35.3

View File

@ -1,14 +1,15 @@
From ee16369892091cbd2eb68402209220591899ba3c Mon Sep 17 00:00:00 2001 From bb38e1bb3e1fa92f9a5ab1466c0957276a0cc370 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 23 Feb 2015 16:54:20 +0100 Date: Mon, 16 May 2022 17:42:29 +0200
Subject: [PATCH 6/6] pmsnap/control: /var/www -> /srv/www Subject: [PATCH] pmsnap: /var/www -> /srv/www
Acked-by: David Disseldorp <ddiss@suse.de>
--- ---
src/pmsnap/control | 4 ++-- src/pmsnap/control | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pmsnap/control b/src/pmsnap/control diff --git a/src/pmsnap/control b/src/pmsnap/control
index 54440b51bb1c..6cb13206fb1f 100644 index 54440b51b..6cb13206f 100644
--- a/src/pmsnap/control --- a/src/pmsnap/control
+++ b/src/pmsnap/control +++ b/src/pmsnap/control
@@ -67,5 +67,5 @@ $commonargs='' @@ -67,5 +67,5 @@ $commonargs=''
@ -20,5 +21,5 @@ index 54440b51bb1c..6cb13206fb1f 100644
+/srv/www/pcp/LOCALHOSTNAME.1hour.summary LOCALHOSTNAME/Latest Snap -O-0 -A 10min -t 2min -v 30 +/srv/www/pcp/LOCALHOSTNAME.1hour.summary LOCALHOSTNAME/Latest Snap -O-0 -A 10min -t 2min -v 30
+/srv/www/pcp/LOCALHOSTNAME.12hour.summary LOCALHOSTNAME/Latest Snap -O-0 -A 1hour -t 30min -v 30 +/srv/www/pcp/LOCALHOSTNAME.12hour.summary LOCALHOSTNAME/Latest Snap -O-0 -A 1hour -t 30min -v 30
-- --
2.18.0 2.35.3

View File

@ -1,36 +0,0 @@
From 7d35e45561eaba184711676f587118ff054d8f14 Mon Sep 17 00:00:00 2001
From: David Disseldorp <ddiss@suse.de>
Date: Tue, 10 Nov 2020 18:21:08 +0100
Subject: [PATCH] pmns/Make: drop duplicate if/else
As of 029add427a42344ea7129452c9e0fb286d3cf881, both the if and else
branches here match. Restoration of the previous build-time logic is
tracked via https://github.com/performancecopilot/pcp/issues/1140 and
will affect more scripts than just this one.
Signed-off-by: David Disseldorp <ddiss@suse.de>
---
src/pmns/Make.stdpmid | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/pmns/Make.stdpmid b/src/pmns/Make.stdpmid
index 8eaaf94ce2..aa6cd74275 100755
--- a/src/pmns/Make.stdpmid
+++ b/src/pmns/Make.stdpmid
@@ -16,15 +16,7 @@
# source the PCP configuration environment variables
. $PCP_DIR/etc/pcp.env
-if [ -d "$PCP_TMPFILE_DIR" ]
-then
- tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
-else
- # if configure --prefix is used in a the build, then $PCP_TMPFILE_DIR
- # may not yet exist ... /tmp is a safe bet
- #
- tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
-fi
+tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
status=1
trap "rm -rf $tmp; exit \$status" 0 1 2 3 15

View File

@ -1,111 +0,0 @@
From adb769a8a9a56659774bc127a0bb7bc3527e4d25 Mon Sep 17 00:00:00 2001
From: Ken McDonell <kenj@kenj.id.au>
Date: Fri, 29 Jan 2021 11:18:18 +1100
Subject: [PATCH] fixes for GH #1140 - PCP_TMPFILE_DIR used in build
$PCP_TMPFILE_DIR does double duty for both build time and run time
(some scripts are used in the build AND installed in the packages).
As outlined in https://github.com/performancecopilot/pcp/issues/1140
if, via configure options, $PCP_TMPFILE_DIR is set to something that
will be a directory after package installation, but does not exist
on the build machine, the build would fail.
Change the files below to check if $PCP_TMPFILE_DIR is set and is
the name of an existing directory before using it, otherwise fallback
to /tmp.
modified: src/libpcp/src/mk.exports
modified: src/libpcp/src/mk.pmdbg
modified: src/pmieconf/xtractnames
modified: src/pmns/Make.stdpmid
---
src/libpcp/src/mk.exports | 10 +++++++++-
src/libpcp/src/mk.pmdbg | 9 ++++++++-
src/pmieconf/xtractnames | 10 +++++++++-
src/pmns/Make.stdpmid | 10 +++++++++-
4 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/src/libpcp/src/mk.exports b/src/libpcp/src/mk.exports
index 2f4fdfefca..a22c15c2c8 100755
--- a/src/libpcp/src/mk.exports
+++ b/src/libpcp/src/mk.exports
@@ -13,7 +13,15 @@ fi
. ../../include/pcp.conf
-tmp=`mktemp -d "$PCP_TMPFILE_DIR/pcp-build-mk.exports.XXXXXXXXX"` || exit 1
+if [ -n "$PCP_TMPFILE_DIR" -a -d "$PCP_TMPFILE_DIR" ]
+then
+ tmp=`mktemp -d "$PCP_TMPFILE_DIR/pcp-build-mk.exports.XXXXXXXXX"` || exit 1
+else
+ # assume run during a build and /tmp is a safe bet
+ #
+ tmp=`mktemp -d "/tmp/pcp-build-mk.exports.XXXXXXXXX"` || exit 1
+fi
+
sts=0
trap "rm -rf $tmp; exit \$sts" 0 1 2 3 15
diff --git a/src/libpcp/src/mk.pmdbg b/src/libpcp/src/mk.pmdbg
index 174fd3f515..44e88ef92d 100755
--- a/src/libpcp/src/mk.pmdbg
+++ b/src/libpcp/src/mk.pmdbg
@@ -45,7 +45,14 @@ then
exit 1
fi
-tmp=`mktemp -d "$PCP_TMPFILE_DIR/pcp-build-mk.pmdbg.XXXXXXXXX"` || exit 1
+if [ -n "$PCP_TMPFILE_DIR" -a -d "$PCP_TMPFILE_DIR" ]
+then
+ tmp=`mktemp -d "$PCP_TMPFILE_DIR/pcp-build-mk.pmdbg.XXXXXXXXX"` || exit 1
+else
+ # assume run during a build and /tmp is a safe bet
+ #
+ tmp=`mktemp -d "/tmp/pcp-build-mk.pmdbg.XXXXXXXXX"` || exit 1
+fi
trap "rm -rf $tmp; exit 0" 0 1 2 3 15
rm -f pmdbg.h
diff --git a/src/pmieconf/xtractnames b/src/pmieconf/xtractnames
index 6178f362a3..b5986b5f86 100755
--- a/src/pmieconf/xtractnames
+++ b/src/pmieconf/xtractnames
@@ -29,7 +29,15 @@ do
fi
done
-tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmieconf-xtract.XXXXXXXXX"` || exit 1
+if [ -n "$PCP_TMPFILE_DIR" -a -d "$PCP_TMPFILE_DIR" ]
+then
+ tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmieconf-xtract.XXXXXXXXX"` || exit 1
+else
+ # assume run during a build and /tmp is a safe bet
+ #
+ tmp=`mktemp -d "/tmp/pmieconf-xtract.XXXXXXXXX"` || exit 1
+fi
+
trap "rm -rf $tmp; exit" 0 1 2 3 15
_usage()
diff --git a/src/pmns/Make.stdpmid b/src/pmns/Make.stdpmid
index aa6cd74275..4d06929c84 100755
--- a/src/pmns/Make.stdpmid
+++ b/src/pmns/Make.stdpmid
@@ -16,7 +16,15 @@
# source the PCP configuration environment variables
. $PCP_DIR/etc/pcp.env
-tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
+if [ -n "$PCP_TMPFILE_DIR" -a -d "$PCP_TMPFILE_DIR" ]
+then
+ tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
+else
+ # assume run during a build and /tmp is a safe bet
+ #
+ tmp=`mktemp -d "/tmp/pmms_stdpmid.XXXXXXXXX"` || exit 1
+fi
+
status=1
trap "rm -rf $tmp; exit \$status" 0 1 2 3 15

View File

@ -1,7 +1,17 @@
Index: pcp/GNUmakefile From 248b4bd1e3adc51bceebc932efbd71f86c2171cb Mon Sep 17 00:00:00 2001
=================================================================== From: David Disseldorp <ddiss@suse.de>
--- pcp.orig/GNUmakefile Date: Mon, 16 May 2022 17:50:09 +0200
+++ pcp/GNUmakefile Subject: [PATCH] build: remove rundir install
Signed-off-by: David Disseldorp <ddiss@suse.de>
---
GNUmakefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 8b866eb77..0a67e9d27 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -80,9 +80,9 @@ ifneq ($(TARGET_OS),mingw) @@ -80,9 +80,9 @@ ifneq ($(TARGET_OS),mingw)
$(INSTALL) -m 1777 -d $(PCP_TMPFILE_DIR) $(INSTALL) -m 1777 -d $(PCP_TMPFILE_DIR)
endif endif
@ -14,3 +24,6 @@ Index: pcp/GNUmakefile
# artifacts ... PCP_RUN_DIR is also conditionally created on the # artifacts ... PCP_RUN_DIR is also conditionally created on the
# fly in each before use case, so the inclusion in the package is # fly in each before use case, so the inclusion in the package is
# sometimes desirable, but not mandatory # sometimes desirable, but not mandatory
--
2.35.3

View File

@ -3,7 +3,7 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://github.com/performancecopilot/pcp.git</param> <param name="url">https://github.com/performancecopilot/pcp.git</param>
<param name="filename">pcp</param> <param name="filename">pcp</param>
<param name="revision">5.2.2</param> <param name="revision">5.2.5</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param> <param name="changesgenerate">disable</param>
</service> </service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d06de7e9c95b93f6282b13bc57ebd734f49c9c6302aa997b88cf0646f7afced
size 34249889

3
pcp-5.2.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f32267da03267ae42d18a2dad9420ebc453af5c459daeb8e4e3323d54efa3a1
size 34371458

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Mon May 16 14:22:19 UTC 2022 - David Disseldorp <ddiss@suse.com>
- Upgrade to 5.2.5
- Client tools and utilities:
+ pcp-dstat: correct the sample count logic, was off-by-one
+ pcp-dstat: fix csv output with timestamps (no special chars)
- PMDA additions, enhancements and bug fixes:
+ pmdazfs: new Linux ZFS metrics
+ pmdasockets: new Linux ss(1) metrics
+ pmdahacluster: new HA metrics (Pacemaker, Corosync, DRBD and SBD)
+ pmdabcc: netproc module: count kernel calls, not packets
+ pmdalinux: add hinv.cpu.thermal_throttle metrics
+ pmdalinux: add missing help text for new metrics, drop dups
- Server-side utilities and log management scripts:
+ pmproxy: fix quoting of /series/metrics matched names
+ pmlogger: fix permissions mismatch for pmlogger tmp dir
+ pmlogger: fix incorrect reporting of pmcd state changes
+ pmie_check: explicity set a umask appropriate for pmieconf
+ pmlogger_check: explicity set a umask appropriate for pmlogconf
+ pmlogger_check: skip .NeedRewrite processing with -K
+ pmpost: increase timestamp resolution
+ pmpost: fix NOTICES file ownership changes
+ rc scripts: add optional logging
+ systemd: remove Wants=pmcd from pmlogger and pmie
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings
+ libpcp: redo the interp.c time_caliper changes
+ libpcp_web: add timer driven webgroup garbage collector
+ libpcp_pmda: add new function pmdaCachePurgeCallback
- Misc build, infrastructure and packaging updates:
+ libpcp_web: fix minor memory leak on an error path (covscan)
+ build: fixes to ensure PCP_TMPFILE_DIR not used during the build
drop upstream 0007-pmns-Make-drop-duplicate-if-else.patch
drop upstream 0008-fixes-for-GH-1140-PCP_TMPFILE_DIR-used-in-build.patch
- Security Enhanced Linux:
+ selinux: enable netcheck rawip_socket if icmp_socket unavailable
+ selinux: additional rules needed for pmie/pmlogger in fedora
- Documentation and QA infrastructure:
+ docs: add pointers to readthedocs.io now that books live there
+ pcp-dstat: optionally install a man page symlink for dstat
+ docs: pmproxy(1) man page corrections and additions
- Upgrade to 5.2.3
- Client tools and utilities:
+ pcp-htop: minimal version of htop with PCP backend platform
+ pcp-atop: add per-process network statistics
+ pcp-atop: result instance indexing performance optimization
+ pcp-atop: always restore original state of process accounting
+ pcp2elasticsearch: add guard around maximum long integer size
+ pmlogsummary: fix indom lookup for dynamic instance domains
+ pmseries: provide sum() and avg() query functions
+ pmseries: persist canonical query expressions to Redis
+ pmseries: fix HMSET calls when querying timeseries expression
+ pmseries: fix for failing queries with disjuncted qualifiers
+ pmseries: fix segfault in func call with globbed metric.name
- Server-side utilities and log management scripts:
+ pmproxy: support fabricated SIDs in /series/instances requests
+ pmproxy: support fabricated SIDs in /series/metrics requests
+ pmlogger_check: add pmlc connection timeout checking current volume
+ pmlogctl,pmiectl: ignore saved control files after an upgrade
+ pmlogconf: add missing mssql template header
+ pmlogconf: add logger configuration files for the htop command
+ pmieconf: add a rule to detect and report OOM kills
+ pmieconf: cleanup old, no-longer-used tool integrations
+ pmieconf: ensure all automated invocations use the -c switch
+ pmieconf: fix default generated config file path
+ pmie_check: remove a tempfile once finished with it
- PMDA additions, enhancements and bug fixes:
+ pmdaapache: fix buffer size to allow for multiple reads of the stream
+ pmdabcc: added new netproc module with per-process network metrics
+ pmdaproc: allow to use acct.control.enable_acct as reference counting
+ pmdalinux: added network.all.* metrics for physical interfaces
+ pmdalinux: fix case of waitio counters from /proc/stat going backwards
+ pmdalinux: minor tweaks to use integer math over floating point
+ dbpmda: send inst profile prior to instances level label requests
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings
+ libpcp: performance improvements for archives with dynamic indoms
+ libpcp: send instance profile for instances level labels requests
+ libpcp: make pmLookupName take a (const char **) namelist
+ libpcp_web: set pmseries source to all-zeroes for expressions
+ libpcp_web: handle fabricated SIDs in /series/values REST API
+ python api: fix fetchgroup max_insts size with multiple indoms
- Misc build, infrastructure and packaging updates:
- Security Enhanced Linux:
+ selinux: use matching autoconf guard for rawip_socket class
- Documentation and QA infrastructure:
+ docs: update pmdabpftrace man page and README
+ docs: improvements in diagrams
+ docs: theme_overrides.css added for readthedocs content
+ docs: pmseries(1) chapter added in Users and Administrators Guide
+ docs: add quotes to curl calls with * in pmwebapi query strings
+ docs: update pmseries schema to describe expression keys
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 16 07:30:26 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org> Mon May 16 07:30:26 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -66,7 +66,7 @@ Summary: System-level performance monitoring and performance management
License: %{license_gplv2plus} AND %{license_lgplv2plus} AND %{license_cc_by} License: %{license_gplv2plus} AND %{license_lgplv2plus} AND %{license_cc_by}
Group: %{pcp_gr} Group: %{pcp_gr}
Name: pcp Name: pcp
Version: 5.2.2 Version: 5.2.5
Release: 0 Release: 0
%global buildversion 1 %global buildversion 1
@ -87,10 +87,6 @@ Patch5: 0005-SUSE-fy-pmsnap-control-path.patch
# PATCH-FIX-OPENSUSE, kkaempf@suse.de # PATCH-FIX-OPENSUSE, kkaempf@suse.de
Patch6: 0006-pmsnap-control-var-www-srv-www.patch Patch6: 0006-pmsnap-control-var-www-srv-www.patch
# PATCH-FIX-UPSTREAM, ddiss@suse.de # PATCH-FIX-UPSTREAM, ddiss@suse.de
Patch7: 0007-pmns-Make-drop-duplicate-if-else.patch
# PATCH-FIX-UPSTREAM, ddiss@suse.de
Patch8: 0008-fixes-for-GH-1140-PCP_TMPFILE_DIR-used-in-build.patch
# PATCH-FIX-UPSTREAM, ddiss@suse.de
Patch9: 0009-remove-rundir-install.patch Patch9: 0009-remove-rundir-install.patch
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
@ -739,9 +735,9 @@ The PCP::LogImport module contains the Perl language bindings for
importing data in various 3rd party formats into PCP archives so importing data in various 3rd party formats into PCP archives so
they can be replayed with standard PCP monitoring tools. they can be replayed with standard PCP monitoring tools.
#
#
# perl-PCP-LogSummary # perl-PCP-LogSummary
# #
%package -n perl-PCP-LogSummary %package -n perl-PCP-LogSummary
@ -2251,6 +2247,41 @@ smartmontools package.
#
# pcp-pmda-sockets
#
%package pmda-sockets
License: %{license_gplv2plus}
Summary: Performance Co-Pilot (PCP) per-socket metrics
URL: https://pcp.io
Requires: %{lib_pkg} = %{version}-%{release}
Requires: iproute
Requires: pcp = %{version}-%{release}
%description pmda-sockets
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting per-socket statistics, making use of utilities such as 'ss'.
#end pcp-pmda-sockets
#
# pcp-pmda-hacluster
#
%package pmda-hacluster
License: %{license_gplv2plus}
Summary: Performance Co-Pilot (PCP) metrics for High Availability Clusters
URL: https://pcp.io
Requires: %{lib_pkg} = %{version}-%{release}
Requires: pcp = %{version}-%{release}
%description pmda-hacluster
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about linux High Availability (HA) Clusters.
# end pcp-pmda-hacluster
# #
# pcp-pmda-summary # pcp-pmda-summary
# #
@ -2475,8 +2506,6 @@ updated policy package.
%patch3 -p1 %patch3 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1 %patch9 -p1
autoconf autoconf
@ -2606,7 +2635,6 @@ sed -i -e '/^# .*_LOCAL=1/s/^# //' %{buildroot}/%{_sysconfdir}/sysconfig/{pmcd,p
rm -f %{buildroot}/%{_localstatedir}/lib/pcp/testsuite/perfevent/perfevent_coverage # drop unreproducible file (boo#1040589) rm -f %{buildroot}/%{_localstatedir}/lib/pcp/testsuite/perfevent/perfevent_coverage # drop unreproducible file (boo#1040589)
%fdupes %{buildroot}%{_testsdir} %fdupes %{buildroot}%{_testsdir}
%if 0%{?suse_version} %if 0%{?suse_version}
mkdir -p %{buildroot}/%{_tempsdir} mkdir -p %{buildroot}/%{_tempsdir}
@ -2632,7 +2660,7 @@ done
%endif %endif
# list of PMDAs in the base pcp package # list of PMDAs in the base pcp package
for pmda in jbd2 kvm linux mmv pipe pmcd proc root xfs; do for pmda in jbd2 kvm linux mmv pipe pmcd proc root xfs zfs; do
for alt in %{_pmdasdir} %{_pmdasexecdir} %{_confdir}; do for alt in %{_pmdasdir} %{_pmdasexecdir} %{_confdir}; do
[ -d %{buildroot}/$alt/$pmda ] && echo $alt/$pmda >>base_pmdas.list [ -d %{buildroot}/$alt/$pmda ] && echo $alt/$pmda >>base_pmdas.list
done done
@ -3570,6 +3598,14 @@ PCP_LOG_DIR=%{_logsdir}
%{_pmdasdir}/smart %{_pmdasdir}/smart
%{_pmdasexecdir}/smart %{_pmdasexecdir}/smart
%files pmda-sockets
%{_pmdasdir}/sockets
%{_pmdasexecdir}/sockets
%files pmda-hacluster
%{_pmdasdir}/hacluster
%{_pmdasexecdir}/hacluster
%files pmda-summary %files pmda-summary
%{_pmdasdir}/summary %{_pmdasdir}/summary
%{_pmdasexecdir}/summary %{_pmdasexecdir}/summary
@ -3643,8 +3679,6 @@ PCP_LOG_DIR=%{_logsdir}
%dir %{_docdir}/pcp/demos/tutorials %dir %{_docdir}/pcp/demos/tutorials
%dir %{_datadir}/doc/pcp-doc %dir %{_datadir}/doc/pcp-doc
%{_datadir}/doc/pcp-doc/html %{_datadir}/doc/pcp-doc/html
%{_datadir}/doc/pcp-doc/pcp-programmers-guide.pdf
%{_datadir}/doc/pcp-doc/pcp-users-and-administrators-guide.pdf
%endif %endif
%if !%{disable_selinux} %if !%{disable_selinux}