From 1c78e9cae055e914a846a54a6a12acfc7525d64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Mon, 16 May 2022 17:31:55 +0200 Subject: [PATCH] build: install libraries without exec permission Signed-off-by: David Disseldorp --- 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-6.2.0/src/genpmda/genpmda =================================================================== --- pcp-6.2.0.orig/src/genpmda/genpmda +++ pcp-6.2.0/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-6.2.0/src/libpcp/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp/src/GNUmakefile +++ pcp-6.2.0/src/libpcp/src/GNUmakefile @@ -142,7 +142,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),) @@ -151,7 +151,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-6.2.0/src/libpcp_fault/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_fault/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_fault/src/GNUmakefile @@ -147,7 +147,7 @@ derive_parser.y: derive_parser.y.in fix_ 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 \ @@ -155,7 +155,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-6.2.0/src/libpcp_gui/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_gui/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/libpcp_import/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_import/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/libpcp_mmv/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_mmv/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/libpcp_pmcd/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_pmcd/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_pmcd/src/GNUmakefile @@ -69,7 +69,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-6.2.0/src/libpcp_pmda/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_pmda/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/libpcp_trace/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_trace/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/libpcp_web/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/libpcp_web/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_web/src/GNUmakefile @@ -111,7 +111,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 \ @@ -119,7 +119,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-6.2.0/src/pmdas/cifs/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/cifs/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/docker/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/docker/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/hacluster/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/hacluster/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/jbd2/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/jbd2/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/kvm/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/kvm/GNUmakefile +++ pcp-6.2.0/src/pmdas/kvm/GNUmakefile @@ -57,10 +57,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) -m 644 -t $(REWRITEVARDIR)/kvm_fixups.conf kvm_fixups.conf $(REWRITEDIR)/kvm_fixups.conf @$(INSTALL_MAN) Index: pcp-6.2.0/src/pmdas/linux/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/linux/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/linux_proc/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/linux_proc/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/linux_xfs/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/linux_xfs/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/nvidia/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/nvidia/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/pmcd/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/pmcd/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/smart/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/smart/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/pmdas/statsd/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/pmdas/statsd/src/GNUmakefile +++ pcp-6.2.0/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-6.2.0/src/zabbix-agent/src/GNUmakefile =================================================================== --- pcp-6.2.0.orig/src/zabbix-agent/src/GNUmakefile +++ pcp-6.2.0/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)