477 lines
21 KiB
Diff
477 lines
21 KiB
Diff
From 1c78e9cae055e914a846a54a6a12acfc7525d64e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
|
Date: Mon, 16 May 2022 17:31:55 +0200
|
|
Subject: [PATCH] build: install libraries without exec permission
|
|
|
|
Signed-off-by: David Disseldorp <ddiss@suse.de>
|
|
---
|
|
src/genpmda/genpmda | 4 ++--
|
|
src/libpcp/src/GNUmakefile | 4 ++--
|
|
src/libpcp_fault/src/GNUmakefile | 4 ++--
|
|
src/libpcp_gui/src/GNUmakefile | 4 ++--
|
|
src/libpcp_import/src/GNUmakefile | 4 ++--
|
|
src/libpcp_mmv/src/GNUmakefile | 4 ++--
|
|
src/libpcp_pmcd/src/GNUmakefile | 2 +-
|
|
src/libpcp_pmda/src/GNUmakefile | 4 ++--
|
|
src/libpcp_trace/src/GNUmakefile | 4 ++--
|
|
src/libpcp_web/src/GNUmakefile | 4 ++--
|
|
src/pmdas/cifs/GNUmakefile | 4 ++--
|
|
src/pmdas/dm/GNUmakefile | 4 ++--
|
|
src/pmdas/docker/GNUmakefile | 4 ++--
|
|
src/pmdas/hacluster/GNUmakefile | 4 ++--
|
|
src/pmdas/jbd2/GNUmakefile | 4 ++--
|
|
src/pmdas/kvm/GNUmakefile | 4 ++--
|
|
src/pmdas/linux/GNUmakefile | 4 ++--
|
|
src/pmdas/linux_proc/GNUmakefile | 4 ++--
|
|
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-5.3.7/src/genpmda/genpmda
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/genpmda/genpmda
|
|
+++ pcp-5.3.7/src/genpmda/genpmda
|
|
@@ -899,7 +899,7 @@ install: default
|
|
\$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas
|
|
\$(INSTALL) -m 755 -d \$(PMDADIR)
|
|
\$(INSTALL) -m 755 \$(CMDTARGET) \$(PMDADIR)/\$(CMDTARGET)
|
|
- \$(INSTALL) -m 755 \$(LIBTARGET) \$(PMDADIR)/\$(LIBTARGET)
|
|
+ \$(INSTALL) -m 644 \$(LIBTARGET) \$(PMDADIR)/\$(LIBTARGET)
|
|
\$(INSTALL) -m 755 $oflag/Install \$(PMDADIR)/Install
|
|
\$(INSTALL) -m 755 $oflag/Remove \$(PMDADIR)/Remove
|
|
\$(INSTALL) -m 644 $oflag/Makefile.install \$(PMDADIR)/Makefile
|
|
@@ -962,7 +962,7 @@ install: default
|
|
\$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas
|
|
\$(INSTALL) -m 755 -d \$(PMDADIR)
|
|
\$(INSTALL) -m 755 -f \$(CMDTARGET) \$(PMDADIR)/\$(CMDTARGET)
|
|
- \$(INSTALL) -m 755 -f \$(LIBTARGET) \$(PMDADIR)/\$(LIBTARGET)
|
|
+ \$(INSTALL) -m 644 -f \$(LIBTARGET) \$(PMDADIR)/\$(LIBTARGET)
|
|
\$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install
|
|
\$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove
|
|
\$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile
|
|
Index: pcp-5.3.7/src/libpcp/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp/src/GNUmakefile
|
|
@@ -138,7 +138,7 @@ endif
|
|
|
|
install : default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
$(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
@@ -147,7 +147,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
$(XFILES):
|
|
Index: pcp-5.3.7/src/libpcp_fault/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_fault/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_fault/src/GNUmakefile
|
|
@@ -155,7 +155,7 @@ endif
|
|
|
|
install : default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
for tt in $(SYMTARGET); do \
|
|
@@ -163,7 +163,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
$(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h
|
|
|
|
Index: pcp-5.3.7/src/libpcp_gui/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_gui/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_gui/src/GNUmakefile
|
|
@@ -54,7 +54,7 @@ include $(BUILDRULES)
|
|
|
|
install: default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
for tt in $(SYMTARGET); do \
|
|
@@ -62,7 +62,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
default_pcp: default
|
|
Index: pcp-5.3.7/src/libpcp_import/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_import/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_import/src/GNUmakefile
|
|
@@ -54,7 +54,7 @@ include $(BUILDRULES)
|
|
|
|
install: default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
$(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
@@ -63,7 +63,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
default_pcp: default
|
|
Index: pcp-5.3.7/src/libpcp_mmv/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_mmv/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_mmv/src/GNUmakefile
|
|
@@ -47,7 +47,7 @@ include $(BUILDRULES)
|
|
|
|
install: default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
for tt in $(SYMTARGET); do \
|
|
@@ -55,7 +55,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
default_pcp: default
|
|
Index: pcp-5.3.7/src/libpcp_pmcd/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_pmcd/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_pmcd/src/GNUmakefile
|
|
@@ -73,7 +73,7 @@ include $(BUILDRULES)
|
|
|
|
install : default
|
|
ifeq "$(TARGET_OS)" "mingw"
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
|
|
ifeq "$(ENABLE_PROBES)" "true"
|
|
Index: pcp-5.3.7/src/libpcp_pmda/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_pmda/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_pmda/src/GNUmakefile
|
|
@@ -64,7 +64,7 @@ include $(BUILDRULES)
|
|
|
|
install: default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
$(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
@@ -73,7 +73,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
$(XFILES):
|
|
Index: pcp-5.3.7/src/libpcp_trace/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_trace/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_trace/src/GNUmakefile
|
|
@@ -56,13 +56,13 @@ include $(BUILDRULES)
|
|
|
|
install : default
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
$(INSTALL) -S $(LIBTARGET) $(PCP_LIB_DIR)/$(SYMTARGET)
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
default_pcp : default
|
|
Index: pcp-5.3.7/src/libpcp_web/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/libpcp_web/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/libpcp_web/src/GNUmakefile
|
|
@@ -107,7 +107,7 @@ endif
|
|
install: default
|
|
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/pmproxy_fixups.conf logrewrite.conf $(REWRITEDIR)/pmproxy_fixups.conf
|
|
ifneq ($(LIBTARGET),)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
endif
|
|
ifneq ($(SYMTARGET),)
|
|
for tt in $(SYMTARGET); do \
|
|
@@ -115,7 +115,7 @@ ifneq ($(SYMTARGET),)
|
|
done
|
|
endif
|
|
ifneq ($(STATICLIBTARGET),)
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
endif
|
|
|
|
$(XFILES):
|
|
Index: pcp-5.3.7/src/pmdas/cifs/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/cifs/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/cifs/GNUmakefile
|
|
@@ -44,8 +44,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) Install Remove $(CMDTARGET) $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) root pmns domain.h help $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) Install Remove $(CMDTARGET) $(PMDAADMDIR)
|
|
@$(INSTALL_MAN)
|
|
else
|
|
build-me:
|
|
Index: pcp-5.3.7/src/pmdas/docker/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/docker/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/docker/GNUmakefile
|
|
@@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
|
|
install_pcp install: default
|
|
$(INSTALL) -m 755 -d $(PMDAADMDIR)
|
|
$(INSTALL) -m 755 -d $(PMDATMPDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) Install Remove $(CMDTARGET) $(LIBTARGET) $(PMDAADMDIR)
|
|
- $(INSTALL) -m 644 -t $(PMDATMPDIR) root pmns domain.h $(DFILES) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) Install Remove $(CMDTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) root pmns domain.h $(DFILES) $(LIBTARGET) $(PMDAADMDIR)
|
|
@$(INSTALL_MAN)
|
|
else
|
|
build-me:
|
|
Index: pcp-5.3.7/src/pmdas/hacluster/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/hacluster/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/hacluster/GNUmakefile
|
|
@@ -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:
|
|
Index: pcp-5.3.7/src/pmdas/jbd2/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/jbd2/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/jbd2/GNUmakefile
|
|
@@ -57,8 +57,8 @@ 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) root root_jbd2 $(PMDAADMDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help $(HELPTARGETS) root root_jbd2 $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
$(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_MAN)
|
|
Index: pcp-5.3.7/src/pmdas/kvm/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/kvm/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/kvm/GNUmakefile
|
|
@@ -55,10 +55,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 help.dir help.pag root root_kvm $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_kvm $(LIBTARGET) $(PMDAADMDIR)
|
|
$(INSTALL) -m 755 -d $(PMDACONFIG)
|
|
$(INSTALL) -m 644 -t $(PMDATMPDIR)/kvm.conf kvm.conf $(PMDACONFIG)/kvm.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_kvm root_kvm $(PCP_PMNSADM_DIR)/root_kvm
|
|
@$(INSTALL_MAN)
|
|
else
|
|
Index: pcp-5.3.7/src/pmdas/linux/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/linux/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/linux/GNUmakefile
|
|
@@ -89,11 +89,11 @@ 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 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
|
|
Index: pcp-5.3.7/src/pmdas/linux_proc/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/linux_proc/GNUmakefile
|
|
+++ pcp-5.3.7/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-5.3.7/src/pmdas/linux_xfs/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/linux_xfs/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/linux_xfs/GNUmakefile
|
|
@@ -57,8 +57,8 @@ 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 help.dir help.pag root root_xfs $(PMDAADMDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_xfs $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
$(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_perdev_buffer.conf $(REWRITEDIR)
|
|
@$(INSTALL_MAN)
|
|
Index: pcp-5.3.7/src/pmdas/linux_zfs/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/linux_zfs/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/linux_zfs/GNUmakefile
|
|
@@ -49,8 +49,8 @@ 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 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
|
|
Index: pcp-5.3.7/src/pmdas/nvidia/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/nvidia/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/nvidia/GNUmakefile
|
|
@@ -37,9 +37,8 @@ include $(BUILDRULES)
|
|
install: default
|
|
$(INSTALL) -m 755 -d $(PMDAADMDIR)
|
|
$(INSTALL) -m 755 -d $(PMDATMPDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) Install Remove $(PMDAADMDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(PMDAADMDIR)
|
|
- $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) root help pmns domain.h $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) Install Remove $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) $(DFILES) root help pmns domain.h $(LIBTARGET) $(PMDAADMDIR)
|
|
|
|
$(OBJECTS): domain.h
|
|
|
|
Index: pcp-5.3.7/src/pmdas/pmcd/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/pmcd/src/GNUmakefile
|
|
+++ pcp-5.3.7/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-5.3.7/src/pmdas/podman/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/podman/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/podman/GNUmakefile
|
|
@@ -54,8 +54,8 @@ build-me: $(JSONSL_XFILES) $(LIBTARGET)
|
|
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_podman $(PMDAADMDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_podman $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
|
|
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_podman root_podman $(PCP_PMNSADM_DIR)/root_podman
|
|
@$(INSTALL_MAN)
|
|
else
|
|
Index: pcp-5.3.7/src/pmdas/smart/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/smart/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/smart/GNUmakefile
|
|
@@ -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:
|
|
Index: pcp-5.3.7/src/pmdas/statsd/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/pmdas/statsd/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/pmdas/statsd/src/GNUmakefile
|
|
@@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET)
|
|
install: default
|
|
$(INSTALL) -m 755 -d $(PMDAADMDIR)
|
|
$(INSTALL) -m 755 -d $(PMDATMPDIR)
|
|
- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h root_statsd $(PMDAADMDIR)
|
|
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h root_statsd $(LIBTARGET) $(PMDAADMDIR)
|
|
+ $(INSTALL) -m 755 -t $(PMDATMPDIR)/$(CMDTARGET) $(CMDTARGET) $(PMDAADMDIR)/$(CMDTARGET)
|
|
|
|
CFILES += $(RFILES)
|
|
|
|
Index: pcp-5.3.7/src/zabbix-agent/src/GNUmakefile
|
|
===================================================================
|
|
--- pcp-5.3.7.orig/src/zabbix-agent/src/GNUmakefile
|
|
+++ pcp-5.3.7/src/zabbix-agent/src/GNUmakefile
|
|
@@ -43,7 +43,7 @@ install: default
|
|
$(INSTALL) -m 755 -d $(ZABBIX_DIR)
|
|
$(INSTALL) -m 755 -d $(MODULE_DIR)
|
|
$(INSTALL) -m 755 -d $(AGENT_DIR)
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(AGENT_DIR)/$(LIBTARGET)
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(AGENT_DIR)/$(LIBTARGET)
|
|
$(INSTALL) -S $(AGENT_DIR)/$(LIBTARGET) $(MODULE_DIR)/$(LIBTARGET)
|
|
$(INSTALL) -m 755 -d $(CONFIG_DIR)
|
|
$(INSTALL) -m 644 $(LIBCONFIG) $(CONFIG_DIR)/$(LIBCONFIG)
|