[csw-devel] SF.net SVN: gar:[14361] csw/mgar/pkg/bacula/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Apr 20 21:47:32 CEST 2011


Revision: 14361
          http://gar.svn.sourceforge.net/gar/?rev=14361&view=rev
Author:   bdwalton
Date:     2011-04-20 19:47:32 +0000 (Wed, 20 Apr 2011)

Log Message:
-----------
bacula/trunk: add a generic postmsg file to each of the packages requiring password synchronization

Modified Paths:
--------------
    csw/mgar/pkg/bacula/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/bacula/trunk/files/postmsg

Modified: csw/mgar/pkg/bacula/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bacula/trunk/Makefile	2011-04-20 19:14:23 UTC (rev 14360)
+++ csw/mgar/pkg/bacula/trunk/Makefile	2011-04-20 19:47:32 UTC (rev 14361)
@@ -18,6 +18,7 @@
 DISTFILES += CSWbacula-sd.postinstall
 DISTFILES += CSWbacula-fd.postinstall
 DISTFILES += CSWbacula-console.postinstall
+DISTFILES += postmsg
 PATCHFILES += 0001-Update-AC_INIT-use-to-make-configure-handle-docdir.patch
 PATCHFILES += 0002-Clean-up-solaris-install-autostart-targets.patch
 
@@ -125,6 +126,7 @@
 PKGFILES_CSWbacula-fd += .*/bpipe-fd.so .*sbin/bacula-fd .*bacula/working
 PKGFILES_CSWbacula-fd += .*man8/bacula-fd.8.gz .*bacula/bacula-fd.conf.CSW
 PKGFILES_CSWbacula-fd += /var/opt/csw/run
+PKGFILES_CSWbacula-fd += .*bacula_fd/.*postmsg
 
 CATALOGNAME_CSWbacula-sd = bacula_sd
 SPKG_DESC_CSWbacula-sd = $(DESCRIPTION) - Storage Daemon
@@ -147,6 +149,7 @@
 PKGFILES_CSWbacula-sd += .*man8/bcopy.8.gz .*man8/bscan.8.gz
 PKGFILES_CSWbacula-sd += /var/opt/csw/run
 PKGFILES_CSWbacula-sd += $(localstatedir)/$(NAME)/archive
+PKGFILES_CSWbacula-sd += .*bacula_sd/.*postmsg
 
 CATALOGNAME_CSWbacula-director = bacula_director
 SPKG_DESC_CSWbacula-director = $(DESCRIPTION) - Director
@@ -169,6 +172,7 @@
 PKGFILES_CSWbacula-director += .*man8/bacula-dir.8.gz .*man8/dbcheck.8.gz
 PKGFILES_CSWbacula-director += /var/opt/csw/run
 PKGFILES_CSWbacula-director += .*share/doc/bacula_director/README.CSW
+PKGFILES_CSWbacula-director += .*bacula_director/.*postmsg
 
 # force libraries into a separate subdirectory
 libdir = $(prefix)/lib/$(NAME)
@@ -205,6 +209,11 @@
 PRESERVECONF = $(sysconfdir)/bacula-dir.conf $(sysconfdir)/bacula-sd.conf
 PRESERVECONF += $(sysconfdir)/bacula-fd.conf $(sysconfdir)/bconsole.conf
 
+POSTMSG  = /opt/csw/share/doc/bacula_director/README.postmsg
+POSTMSG += /opt/csw/share/doc/bacula_console/README.postmsg
+POSTMSG += /opt/csw/share/doc/bacula_sd/README.postmsg
+POSTMSG += /opt/csw/share/doc/bacula_fd/README.postmsg
+
 include gar/category.mk
 
 pre-configure-modulated:
@@ -226,6 +235,10 @@
 			ginstall -m 0755 bacula-$$s $(INITD)/cswbacula-$$s; \
 		done )
 	@(ginstall -d -m 0755 $(DESTDIR)/var/opt/csw/run)
+	@(for p in console director sd fd; do \
+		ginstall -d -m 0755 $(DOCD)_$$p; \
+		ginstall -m 0644 $(WORKDIR)/postmsg $(DOCD)_$$p/README.postmsg; \
+	done)
 	@(ginstall -d -m 0755 $(DOCD) $(DOCD)_director; \
 		 gcp -pR $(WORKSRC)/examples $(DOCD); \
 		ginstall -m 0644 $(WORKDIR)/README.CSW $(DESTDIR)/$(docdir)/$(NAME)_director/)

Added: csw/mgar/pkg/bacula/trunk/files/postmsg
===================================================================
--- csw/mgar/pkg/bacula/trunk/files/postmsg	                        (rev 0)
+++ csw/mgar/pkg/bacula/trunk/files/postmsg	2011-04-20 19:47:32 UTC (rev 14361)
@@ -0,0 +1,20 @@
+This package relies on several components sharing several password
+values.  As the components will be installed on multiple machines,
+there is no point in changing the default values as we could not make
+the same change on all systems without using a similarly well-known
+default value.
+
+You are urged to change all Password values in the files:
+/etc/opt/csw/bacula/bacula-dir.conf
+/etc/opt/csw/bacula/bacula-fd.conf
+/etc/opt/csw/bacula/bacula-sd.conf
+/etc/opt/csw/bacula/bconsole.conf
+
+This should be done on all nodes running any or all of:
+CSWbacula-director
+CSWbacula-sd
+CSWbacula-fd
+CSWbacula-console
+
+For details, please see:
+http://www.bacula.org/5.0.x-manuals/en/main/main/Customizing_Configuration_F.html#SECTION001740000000000000000


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list