From 44fb1f071d53cc99c2c92d9f85b659bfd012f9cf Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Wed, 17 Nov 2010 03:56:10 +0100 Subject: fix dummy permissions (664 -> 644) --- src/blas.mk | 2 +- src/bzip2.mk | 4 ++-- src/cblas.mk | 6 +++--- src/lapack.mk | 2 +- src/libusb.mk | 6 +++--- src/metis.mk | 14 +++++++------- src/postgresql.mk | 4 ++-- src/pthreads.mk | 8 ++++---- src/suitesparse.mk | 26 +++++++++++++------------- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/blas.mk b/src/blas.mk index ee09b59..1f588ec 100644 --- a/src/blas.mk +++ b/src/blas.mk @@ -22,5 +22,5 @@ define $(PKG)_BUILD cd '$(1)' && $(TARGET)-ar cr libblas.a *.o $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libblas.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(1)/libblas.a' '$(PREFIX)/$(TARGET)/lib/' endef diff --git a/src/bzip2.mk b/src/bzip2.mk index 991b50c..d27c75c 100644 --- a/src/bzip2.mk +++ b/src/bzip2.mk @@ -28,7 +28,7 @@ define $(PKG)_BUILD AR='$(TARGET)-ar' \ RANLIB='$(TARGET)-ranlib' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libbz2.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(1)/libbz2.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' - $(INSTALL) -m664 '$(1)/bzlib.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/bzlib.h' '$(PREFIX)/$(TARGET)/include/' endef diff --git a/src/cblas.mk b/src/cblas.mk index b4b1f03..e049ace 100644 --- a/src/cblas.mk +++ b/src/cblas.mk @@ -26,8 +26,8 @@ define $(PKG)_BUILD cd '$(1)' && $(TARGET)-ar cr libcblas.a src/*.o $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libcblas.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(1)/libcblas.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' - $(INSTALL) -m664 '$(1)/src/cblas.h' '$(PREFIX)/$(TARGET)/include/' - $(INSTALL) -m664 '$(1)/src/cblas_f77.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/src/cblas.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/src/cblas_f77.h' '$(PREFIX)/$(TARGET)/include/' endef diff --git a/src/lapack.mk b/src/lapack.mk index 24fa70a..23a92e0 100644 --- a/src/lapack.mk +++ b/src/lapack.mk @@ -27,5 +27,5 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)/SRC' -j '$(JOBS)' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/lapack_MINGW32.a' '$(PREFIX)/$(TARGET)/lib/liblapack.a' + $(INSTALL) -m644 '$(1)/lapack_MINGW32.a' '$(PREFIX)/$(TARGET)/lib/liblapack.a' endef diff --git a/src/libusb.mk b/src/libusb.mk index 31ec635..80cea06 100644 --- a/src/libusb.mk +++ b/src/libusb.mk @@ -33,8 +33,8 @@ define $(PKG)_BUILD --output-lib libusb.a $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' - $(INSTALL) -m664 '$(1)/src/usb.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/src/usb.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libusb.a' '$(PREFIX)/$(TARGET)/lib/' - $(INSTALL) -m664 '$(1)/libusbd.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(1)/libusb.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(1)/libusbd.a' '$(PREFIX)/$(TARGET)/lib/' endef diff --git a/src/metis.mk b/src/metis.mk index 2a79b4d..8e15f91 100644 --- a/src/metis.mk +++ b/src/metis.mk @@ -24,12 +24,12 @@ define $(PKG)_BUILD $(SED) -i 's,ranlib,$(TARGET)-ranlib,' '$(1)/Makefile.in' $(MAKE) -C '$(1)/Lib' -j '$(JOBS)' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libmetis.a' '$(PREFIX)/$(TARGET)/lib/libmetis.a' + $(INSTALL) -m644 '$(1)/libmetis.a' '$(PREFIX)/$(TARGET)/lib/libmetis.a' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/metis/Lib' - $(INSTALL) -m664 '$(1)/Lib/metis.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/metis.h' - $(INSTALL) -m664 '$(1)/Lib/defs.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/defs.h' - $(INSTALL) -m664 '$(1)/Lib/struct.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/struct.h' - $(INSTALL) -m664 '$(1)/Lib/macros.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/macros.h' - $(INSTALL) -m664 '$(1)/Lib/rename.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/rename.h' - $(INSTALL) -m664 '$(1)/Lib/proto.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/proto.h' + $(INSTALL) -m644 '$(1)/Lib/metis.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/metis.h' + $(INSTALL) -m644 '$(1)/Lib/defs.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/defs.h' + $(INSTALL) -m644 '$(1)/Lib/struct.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/struct.h' + $(INSTALL) -m644 '$(1)/Lib/macros.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/macros.h' + $(INSTALL) -m644 '$(1)/Lib/rename.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/rename.h' + $(INSTALL) -m644 '$(1)/Lib/proto.h' '$(PREFIX)/$(TARGET)/include/metis/Lib/proto.h' endef diff --git a/src/postgresql.mk b/src/postgresql.mk index 05c9c33..10aaa34 100644 --- a/src/postgresql.mk +++ b/src/postgresql.mk @@ -54,8 +54,8 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install haslibarule= shlib= $(MAKE) -C '$(1)'/src/port -j '$(JOBS)' haslibarule= shlib= $(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install haslibarule= shlib= - $(INSTALL) -m664 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' - $(INSTALL) -m664 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' # Build a native pg_config. cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,postgresql) mv '$(1)/$(postgresql_SUBDIR)' '$(1).native' diff --git a/src/pthreads.mk b/src/pthreads.mk index 813a229..4c62ed8 100644 --- a/src/pthreads.mk +++ b/src/pthreads.mk @@ -26,11 +26,11 @@ define $(PKG)_BUILD $(SED) -i 's,#include "config.h",,' '$(1)/pthread.h' $(MAKE) -C '$(1)' -j 1 GC-static CROSS='$(TARGET)-' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m664 '$(1)/libpthreadGC2.a' '$(PREFIX)/$(TARGET)/lib/libpthread.a' + $(INSTALL) -m644 '$(1)/libpthreadGC2.a' '$(PREFIX)/$(TARGET)/lib/libpthread.a' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' - $(INSTALL) -m664 '$(1)/pthread.h' '$(PREFIX)/$(TARGET)/include/' - $(INSTALL) -m664 '$(1)/sched.h' '$(PREFIX)/$(TARGET)/include/' - $(INSTALL) -m664 '$(1)/semaphore.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/pthread.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/sched.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/semaphore.h' '$(PREFIX)/$(TARGET)/include/' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ diff --git a/src/suitesparse.mk b/src/suitesparse.mk index f445e3d..a9d958f 100644 --- a/src/suitesparse.mk +++ b/src/suitesparse.mk @@ -43,20 +43,20 @@ define $(PKG)_BUILD # install library files $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' find '$(1)' -name '*.a' \ - -exec $(INSTALL) -m664 {} '$(PREFIX)/$(TARGET)/lib/' \; + -exec $(INSTALL) -m644 {} '$(PREFIX)/$(TARGET)/lib/' \; # install include files $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/AMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/BTF/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/CAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/CCOLAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/CHOLMOD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/COLAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/CXSparse/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/KLU/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/LDL/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/SPQR/Include/'* '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/UFconfig/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' - $(INSTALL) -m664 '$(1)/UMFPACK/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/AMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/BTF/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/CAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/CCOLAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/CHOLMOD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/COLAMD/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/CXSparse/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/KLU/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/LDL/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/SPQR/Include/'* '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/UFconfig/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' + $(INSTALL) -m644 '$(1)/UMFPACK/Include/'*.h '$(PREFIX)/$(TARGET)/include/suitesparse/' endef -- cgit v0.12