From: Eric Bollengier Date: Fri, 28 May 2010 07:15:24 +0000 (+0200) Subject: Fix #1571 and install libraries with 755 perms X-Git-Tag: Release-5.2.1~1330 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7dd38c00511e47e67a789292b2fc4a26ede6eb54;p=bacula%2Fbacula Fix #1571 and install libraries with 755 perms --- diff --git a/bacula/autoconf/Make.common.in b/bacula/autoconf/Make.common.in index f5583695f7..d871975d79 100644 --- a/bacula/autoconf/Make.common.in +++ b/bacula/autoconf/Make.common.in @@ -57,6 +57,7 @@ MKDIR = @BUILD_DIR@/autoconf/mkinstalldirs INSTALL = @INSTALL@ # add the -s to the following in PRODUCTION mode INSTALL_PROGRAM = $(INSTALL) -m @SBINPERM@ +INSTALL_LIB = $(INSTALL) -m 755 INSTALL_DATA = $(INSTALL) -m 644 INSTALL_SCRIPT = $(INSTALL) -m @SBINPERM@ INSTALL_CONFIG = $(INSTALL) -m 640 diff --git a/bacula/src/cats/Makefile.in b/bacula/src/cats/Makefile.in index 628bfa4de5..1f2b914bc1 100644 --- a/bacula/src/cats/Makefile.in +++ b/bacula/src/cats/Makefile.in @@ -131,7 +131,7 @@ uninstall-includes: libtool-install: all $(MKDIR) $(DESTDIR)$(libdir) - $(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir) + $(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir) libtool-uninstall: $(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbacsql.la diff --git a/bacula/src/findlib/Makefile.in b/bacula/src/findlib/Makefile.in index 41077f7c65..d581f6f9aa 100644 --- a/bacula/src/findlib/Makefile.in +++ b/bacula/src/findlib/Makefile.in @@ -78,7 +78,7 @@ uninstall-includes: libtool-install: all $(MKDIR) $(DESTDIR)$(libdir) - $(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacfind$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir) + $(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacfind$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir) libtool-uninstall: $(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbacfind.la diff --git a/bacula/src/lib/Makefile.in b/bacula/src/lib/Makefile.in index 9776622cd5..ed63d742d3 100644 --- a/bacula/src/lib/Makefile.in +++ b/bacula/src/lib/Makefile.in @@ -208,9 +208,9 @@ uninstall-includes: libtool-install: all $(MKDIR) $(DESTDIR)$(libdir) - $(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbac.la $(DESTDIR)$(libdir) - $(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbaccfg.la $(DESTDIR)$(libdir) - $(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacpy.la $(DESTDIR)$(libdir) + $(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbac.la $(DESTDIR)$(libdir) + $(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbaccfg.la $(DESTDIR)$(libdir) + $(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacpy.la $(DESTDIR)$(libdir) libtool-uninstall: $(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbac.la