2012-11-21 16:07:21 +01:00
|
|
|
From bcd50d9e0a84c54c2e5d909f2567312c9af0335e Mon Sep 17 00:00:00 2001
|
|
|
|
From: David Disseldorp <ddiss@suse.de>
|
|
|
|
Date: Mon, 19 Nov 2012 17:15:07 +0100
|
|
|
|
Subject: [PATCH] Install libraries without exec permission
|
|
|
|
|
|
|
|
---
|
|
|
|
src/genpmda/genpmda | 4 ++--
|
|
|
|
src/libpcp/src/GNUmakefile | 4 ++--
|
|
|
|
src/libpcp_gui/src/GNUmakefile | 4 ++--
|
|
|
|
src/libpcp_import/src/GNUmakefile | 4 ++--
|
|
|
|
src/libpcp_mmv/src/GNUmakefile | 4 ++--
|
|
|
|
src/libpcp_pmda/src/GNUmakefile | 4 ++--
|
|
|
|
src/libpcp_trace/src/GNUmakefile | 4 ++--
|
|
|
|
src/pmdas/aix/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/darwin/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/freebsd/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/linux/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/linux_proc/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/lustrecomm/GNUmakefile | 2 +-
|
|
|
|
src/pmdas/mmv/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/pmcd/src/GNUmakefile | 2 +-
|
|
|
|
src/pmdas/sample/src/GNUmakefile | 3 ++-
|
|
|
|
src/pmdas/sendmail/GNUmakefile | 2 +-
|
|
|
|
src/pmdas/solaris/GNUmakefile | 3 ++-
|
|
|
|
18 files changed, 33 insertions(+), 25 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/genpmda/genpmda b/src/genpmda/genpmda
|
|
|
|
index 4650315..1bd2cba 100755
|
|
|
|
--- a/src/genpmda/genpmda
|
|
|
|
+++ b/src/genpmda/genpmda
|
|
|
|
@@ -909,7 +909,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
|
|
|
|
@@ -972,7 +972,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
|
|
|
|
diff --git a/src/libpcp/src/GNUmakefile b/src/libpcp/src/GNUmakefile
|
|
|
|
index 18adb88..6a7627d 100644
|
|
|
|
--- a/src/libpcp/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp/src/GNUmakefile
|
|
|
|
@@ -103,7 +103,7 @@ endif
|
2011-08-15 15:03:00 +02:00
|
|
|
|
|
|
|
install : default
|
2012-11-21 16:07:21 +01:00
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
endif
|
2012-11-21 16:07:21 +01:00
|
|
|
ifneq "$(SYMTARGET)" ""
|
|
|
|
for tt in $(SYMTARGET); do \
|
|
|
|
@@ -111,7 +111,7 @@ ifneq "$(SYMTARGET)" ""
|
|
|
|
done
|
2011-08-15 15:03:00 +02:00
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
|
|
|
default_pcp : default
|
2012-11-21 16:07:21 +01:00
|
|
|
diff --git a/src/libpcp_gui/src/GNUmakefile b/src/libpcp_gui/src/GNUmakefile
|
|
|
|
index 6d636e0..d8fe1e7 100644
|
|
|
|
--- a/src/libpcp_gui/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp_gui/src/GNUmakefile
|
|
|
|
@@ -53,7 +53,7 @@ include $(BUILDRULES)
|
2011-08-15 15:03:00 +02:00
|
|
|
|
2012-11-21 16:07:21 +01:00
|
|
|
install: default
|
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
2012-11-21 16:07:21 +01:00
|
|
|
endif
|
2011-08-15 15:03:00 +02:00
|
|
|
ifneq "$(SYMTARGET)" ""
|
2012-11-21 16:07:21 +01:00
|
|
|
for tt in $(SYMTARGET); do \
|
|
|
|
@@ -61,7 +61,7 @@ ifneq "$(SYMTARGET)" ""
|
|
|
|
done
|
2011-08-15 15:03:00 +02:00
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
2012-11-21 16:07:21 +01:00
|
|
|
default_pcp: default
|
|
|
|
diff --git a/src/libpcp_import/src/GNUmakefile b/src/libpcp_import/src/GNUmakefile
|
|
|
|
index 1cdf529..f1c7d1d 100644
|
|
|
|
--- a/src/libpcp_import/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp_import/src/GNUmakefile
|
|
|
|
@@ -50,7 +50,7 @@ include $(BUILDRULES)
|
2011-08-15 15:03:00 +02:00
|
|
|
|
|
|
|
install: default
|
2012-11-21 16:07:21 +01:00
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
2012-11-21 16:07:21 +01:00
|
|
|
endif
|
2011-08-15 15:03:00 +02:00
|
|
|
ifneq "$(SYMTARGET)" ""
|
|
|
|
for tt in $(SYMTARGET); do \
|
2012-11-21 16:07:21 +01:00
|
|
|
@@ -58,7 +58,7 @@ ifneq "$(SYMTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
done
|
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
2012-11-21 16:07:21 +01:00
|
|
|
default_pcp: default
|
|
|
|
diff --git a/src/libpcp_mmv/src/GNUmakefile b/src/libpcp_mmv/src/GNUmakefile
|
|
|
|
index e2395f3..9619df5 100644
|
|
|
|
--- a/src/libpcp_mmv/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp_mmv/src/GNUmakefile
|
|
|
|
@@ -45,7 +45,7 @@ include $(BUILDRULES)
|
2011-08-15 15:03:00 +02:00
|
|
|
|
|
|
|
install: default
|
2012-11-21 16:07:21 +01:00
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
2012-11-21 16:07:21 +01:00
|
|
|
endif
|
2011-08-15 15:03:00 +02:00
|
|
|
ifneq "$(SYMTARGET)" ""
|
|
|
|
for tt in $(SYMTARGET); do \
|
2012-11-21 16:07:21 +01:00
|
|
|
@@ -53,7 +53,7 @@ ifneq "$(SYMTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
done
|
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
|
|
|
default_pcp: default
|
2012-11-21 16:07:21 +01:00
|
|
|
diff --git a/src/libpcp_pmda/src/GNUmakefile b/src/libpcp_pmda/src/GNUmakefile
|
|
|
|
index 23a1b10..182d68d 100644
|
|
|
|
--- a/src/libpcp_pmda/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp_pmda/src/GNUmakefile
|
|
|
|
@@ -79,7 +79,7 @@ include $(BUILDRULES)
|
2011-08-15 15:03:00 +02:00
|
|
|
|
2012-11-21 16:07:21 +01:00
|
|
|
install : default
|
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
2012-11-21 16:07:21 +01:00
|
|
|
endif
|
|
|
|
ifneq "$(LIBTARGET_V1)" ""
|
|
|
|
$(INSTALL) -S $(LIBTARGET_V3) $(PCP_LIB_DIR)/$(LIBTARGET_V1)
|
|
|
|
@@ -88,7 +88,7 @@ ifneq "$(LIBTARGET_V2)" ""
|
|
|
|
$(INSTALL) -S $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET_V2)
|
2011-08-15 15:03:00 +02:00
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
2012-11-21 16:07:21 +01:00
|
|
|
default_pcp : default
|
|
|
|
diff --git a/src/libpcp_trace/src/GNUmakefile b/src/libpcp_trace/src/GNUmakefile
|
|
|
|
index d3ea55d..034195a 100644
|
|
|
|
--- a/src/libpcp_trace/src/GNUmakefile
|
|
|
|
+++ b/src/libpcp_trace/src/GNUmakefile
|
|
|
|
@@ -51,13 +51,13 @@ include $(BUILDRULES)
|
2011-08-15 15:03:00 +02:00
|
|
|
|
|
|
|
install : default
|
2012-11-21 16:07:21 +01:00
|
|
|
ifneq "$(LIBTARGET)" ""
|
2011-08-15 15:03:00 +02:00
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET)
|
2012-11-21 16:07:21 +01:00
|
|
|
endif
|
2011-08-15 15:03:00 +02:00
|
|
|
ifneq "$(SYMTARGET)" ""
|
2012-11-21 16:07:21 +01:00
|
|
|
$(INSTALL) -S $(LIBTARGET) $(PCP_LIB_DIR)/$(SYMTARGET)
|
2011-08-15 15:03:00 +02:00
|
|
|
endif
|
|
|
|
ifneq "$(STATICLIBTARGET)" ""
|
|
|
|
- $(INSTALL) -m 755 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(STATICLIBTARGET) $(PCP_LIB_DIR)/$(STATICLIBTARGET)
|
|
|
|
endif
|
|
|
|
|
|
|
|
default_pcp : default
|
2012-11-21 16:07:21 +01:00
|
|
|
diff --git a/src/pmdas/aix/GNUmakefile b/src/pmdas/aix/GNUmakefile
|
|
|
|
index 9282d76..46336a7 100644
|
|
|
|
--- a/src/pmdas/aix/GNUmakefile
|
|
|
|
+++ b/src/pmdas/aix/GNUmakefile
|
|
|
|
@@ -41,7 +41,8 @@ build-me: common.h root_aix domain.h $(CMDTARGET) $(LIBTARGET) help.dir help.pag
|
|
|
|
install: build-me
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h help.dir help.pag $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 root_aix $(PCP_VAR_DIR)/pmns/root_aix
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
diff --git a/src/pmdas/darwin/GNUmakefile b/src/pmdas/darwin/GNUmakefile
|
|
|
|
index a2fd3a7..081cc98 100644
|
|
|
|
--- a/src/pmdas/darwin/GNUmakefile
|
|
|
|
+++ b/src/pmdas/darwin/GNUmakefile
|
|
|
|
@@ -45,7 +45,8 @@ build-me: root_darwin domain.h $(LIBTARGET) $(CMDTARGET) help.dir help.pag
|
|
|
|
install: build-me
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h help.dir help.pag $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 root_darwin $(PCP_VAR_DIR)/pmns/root_darwin
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
diff --git a/src/pmdas/freebsd/GNUmakefile b/src/pmdas/freebsd/GNUmakefile
|
|
|
|
index 217fcd8..00b2dcd 100644
|
|
|
|
--- a/src/pmdas/freebsd/GNUmakefile
|
|
|
|
+++ b/src/pmdas/freebsd/GNUmakefile
|
|
|
|
@@ -46,7 +46,8 @@ build-me: domain.h $(LIBTARGET) $(CMDTARGET) help.dir help.pag
|
|
|
|
install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h help help.dir help.pag $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 root_freebsd $(PCP_VAR_DIR)/pmns/root_freebsd
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
diff --git a/src/pmdas/linux/GNUmakefile b/src/pmdas/linux/GNUmakefile
|
|
|
|
index 087e53a..bc81973 100644
|
|
|
|
--- a/src/pmdas/linux/GNUmakefile
|
|
|
|
+++ b/src/pmdas/linux/GNUmakefile
|
|
|
|
@@ -67,7 +67,8 @@ build-me: domain.h $(LIBTARGET) $(CMDTARGET) help.dir help.pag
|
|
|
|
install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h help help.dir help.pag $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 root_linux $(PCP_VAR_DIR)/pmns/root_linux
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
diff --git a/src/pmdas/linux_proc/GNUmakefile b/src/pmdas/linux_proc/GNUmakefile
|
|
|
|
index 7d8961a..89aa43f 100644
|
|
|
|
--- a/src/pmdas/linux_proc/GNUmakefile
|
|
|
|
+++ b/src/pmdas/linux_proc/GNUmakefile
|
|
|
|
@@ -48,7 +48,8 @@ install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 755 Install Remove $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h pmns pmns.cgroup root help $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 linux_proc_migrate.conf $(PCP_VAR_DIR)/config/pmlogrewrite/linux_proc_migrate.conf
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
diff --git a/src/pmdas/lustrecomm/GNUmakefile b/src/pmdas/lustrecomm/GNUmakefile
|
|
|
|
index bd0aadc..153fe83 100644
|
|
|
|
--- a/src/pmdas/lustrecomm/GNUmakefile
|
|
|
|
+++ b/src/pmdas/lustrecomm/GNUmakefile
|
|
|
|
@@ -47,7 +47,7 @@ build-me: domain.h $(TARGETS)
|
|
|
|
install: default
|
|
|
|
$(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 Install Remove $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 $(DFILES) root pmns domain.h help $(PMDADIR)
|
|
|
|
else
|
|
|
|
diff --git a/src/pmdas/mmv/GNUmakefile b/src/pmdas/mmv/GNUmakefile
|
|
|
|
index 302c212..7c6d1cd 100644
|
|
|
|
--- a/src/pmdas/mmv/GNUmakefile
|
|
|
|
+++ b/src/pmdas/mmv/GNUmakefile
|
|
|
|
@@ -44,7 +44,8 @@ include $(BUILDRULES)
|
|
|
|
install_pcp install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h $(PMDADIR)/domain.h
|
|
|
|
- $(INSTALL) -m 755 $(TARGETS) Install Remove $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) mmvdump$(EXECSUFFIX) Install Remove $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 pmns $(PMDADIR)/root_mmv
|
|
|
|
$(INSTALL) -m 644 root_mmv $(PCP_VAR_DIR)/pmns/root_mmv
|
|
|
|
$(INSTALL) -m 1777 -d $(PCP_TMP_DIR)/mmv
|
|
|
|
diff --git a/src/pmdas/pmcd/src/GNUmakefile b/src/pmdas/pmcd/src/GNUmakefile
|
|
|
|
index 00e1e9c..34bbeb7 100644
|
|
|
|
--- a/src/pmdas/pmcd/src/GNUmakefile
|
|
|
|
+++ b/src/pmdas/pmcd/src/GNUmakefile
|
|
|
|
@@ -47,7 +47,7 @@ default: $(LIBTARGET)
|
|
|
|
|
|
|
|
install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PCP_PMDAS_DIR)/pmcd
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_PMDAS_DIR)/pmcd/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_PMDAS_DIR)/pmcd/$(LIBTARGET)
|
|
|
|
|
|
|
|
include $(BUILDRULES)
|
|
|
|
|
|
|
|
diff --git a/src/pmdas/sample/src/GNUmakefile b/src/pmdas/sample/src/GNUmakefile
|
|
|
|
index 57b61be..57b9a17 100644
|
|
|
|
--- a/src/pmdas/sample/src/GNUmakefile
|
|
|
|
+++ b/src/pmdas/sample/src/GNUmakefile
|
|
|
|
@@ -43,7 +43,8 @@ sample.o events.o: events.h
|
|
|
|
|
|
|
|
install: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(CMDTARGET) $(LIBTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
|
|
|
|
include $(BUILDRULES)
|
|
|
|
|
|
|
|
diff --git a/src/pmdas/sendmail/GNUmakefile b/src/pmdas/sendmail/GNUmakefile
|
|
|
|
index e551ad2..0c81c0a 100644
|
|
|
|
--- a/src/pmdas/sendmail/GNUmakefile
|
|
|
|
+++ b/src/pmdas/sendmail/GNUmakefile
|
|
|
|
@@ -36,7 +36,7 @@ include $(BUILDRULES)
|
|
|
|
|
|
|
|
install install_pcp: default
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/pmda$(IAM)$(EXECSUFFIX)
|
|
|
|
$(INSTALL) -m 755 $(SCRIPTS) $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 $(DFILES) pmns help root domain.h $(PMDADIR)
|
|
|
|
diff --git a/src/pmdas/solaris/GNUmakefile b/src/pmdas/solaris/GNUmakefile
|
|
|
|
index 0d81837..5a4f0d8 100644
|
|
|
|
--- a/src/pmdas/solaris/GNUmakefile
|
|
|
|
+++ b/src/pmdas/solaris/GNUmakefile
|
|
|
|
@@ -45,7 +45,8 @@ build-me: root_solaris domain.h $(LIBTARGET) $(CMDTARGET) help.dir help.pag
|
|
|
|
install: build-me
|
|
|
|
$(INSTALL) -m 755 -d $(PMDADIR)
|
|
|
|
$(INSTALL) -m 644 domain.h help.dir help.pag $(PMDADIR)
|
|
|
|
- $(INSTALL) -m 755 $(LIBTARGET) $(CMDTARGET) $(PMDADIR)
|
|
|
|
+ $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
|
|
|
|
+ $(INSTALL) -m 644 $(LIBTARGET) $(PMDADIR)/$(LIBTARGET)
|
|
|
|
$(INSTALL) -m 644 root_solaris $(PCP_VAR_DIR)/pmns/root_solaris
|
|
|
|
else
|
|
|
|
build-me:
|
|
|
|
--
|
|
|
|
1.7.10.4
|
|
|
|
|