From 30be33d68658cf8f5bf1d428158b9fba79ccefbb Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 28 May 2010 09:15:24 +0200 Subject: [PATCH] Fix #1571 and install libraries with 755 perms --- bacula/autoconf/Make.common.in | 1 + bacula/src/cats/Makefile.in | 2 +- bacula/src/findlib/Makefile.in | 2 +- bacula/src/lib/Makefile.in | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) 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 2ad0078d72..ca54865e2b 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 7c4ad8a432..fc2ac3cbaa 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 1379f9d21c..4d41a10da0 100644 --- a/bacula/src/lib/Makefile.in +++ b/bacula/src/lib/Makefile.in @@ -198,9 +198,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 -- 2.39.5