[csw-devel] SF.net SVN: gar:[14489] csw/mgar/pkg/bacula/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Mon May 2 19:25:30 CEST 2011
Revision: 14489
http://gar.svn.sourceforge.net/gar/?rev=14489&view=rev
Author: bdwalton
Date: 2011-05-02 17:25:30 +0000 (Mon, 02 May 2011)
Log Message:
-----------
bacula/trunk: make unique user/group entries for director and sd, only create group for fd
Modified Paths:
--------------
csw/mgar/pkg/bacula/trunk/Makefile
Modified: csw/mgar/pkg/bacula/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bacula/trunk/Makefile 2011-05-02 10:50:39 UTC (rev 14488)
+++ csw/mgar/pkg/bacula/trunk/Makefile 2011-05-02 17:25:30 UTC (rev 14489)
@@ -311,10 +311,12 @@
post-merge:
@echo Adding user/group creation info...
@(cd $(PKGROOT)/etc/opt/csw; \
- for p in director sd fd; do \
- mkdir -p pkg/CSWbacula-$$p; \
- echo "bacula:bacula:Bacula:/var/opt/csw/bacula/:/bin/false:::NP" > pkg/CSWbacula-$$p/cswusergroup; \
- done; \
+ mkdir -p pkg/CSWbacula-director; \
+ echo "bacula-dir:bacula:Bacula Director:/var/opt/csw/bacula/:/bin/false:::NP" > pkg/CSWbacula-director/cswusergroup; \
echo "bacula-dir 9101/tcp" > pkg/CSWbacula-director/services; \
- echo "bacula-fd 9102/tcp" > pkg/CSWbacula-fd/services; \
- echo "bacula-sd 9103/tcp" > pkg/CSWbacula-sd/services )
+ mkdir -p pkg/CSWbacula-sd; \
+ echo "bacula-sd:bacula:Bacula Storage Daemon:/var/opt/csw/bacula/:/bin/false:::NP" > pkg/CSWbacula-sd/cswusergroup; \
+ echo "bacula-sd 9103/tcp" > pkg/CSWbacula-sd/services; \
+ mkdir -p pkg/CSWbacula-fd; \
+ echo ":bacula::::::" > pkg/CSWbacula-fd/cswusergroup; \
+ echo "bacula-fd 9102/tcp" > pkg/CSWbacula-fd/services)
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