[csw-devel] SF.net SVN: gar:[15696] csw/mgar/pkg/squid/branches/squid3

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Wed Sep 21 11:12:43 CEST 2011


Revision: 15696
          http://gar.svn.sourceforge.net/gar/?rev=15696&view=rev
Author:   wilbury
Date:     2011-09-21 09:12:43 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
Add user/group creation.

Modified Paths:
--------------
    csw/mgar/pkg/squid/branches/squid3/Makefile

Added Paths:
-----------
    csw/mgar/pkg/squid/branches/squid3/files/cswusergroup

Modified: csw/mgar/pkg/squid/branches/squid3/Makefile
===================================================================
--- csw/mgar/pkg/squid/branches/squid3/Makefile	2011-09-21 00:50:20 UTC (rev 15695)
+++ csw/mgar/pkg/squid/branches/squid3/Makefile	2011-09-21 09:12:43 UTC (rev 15696)
@@ -35,6 +35,7 @@
 MASTER_SITES = http://www.squid-cache.org/Versions/v$(RELVER)/$(VERSION)/
 DISTFILES = $(DISTNAME).tar.bz2
 DISTFILES += cswsquid
+DISTFILES += cswusergroup
 
 PATCHFILES =  0000-Use-opt-csw-bin-bash-for-bootstrap.sh.patch
 PATCHFILES += 0001-Use-opt-csw-bin-ggrep-instead-of-egrep.patch
@@ -83,6 +84,9 @@
 PROTOTYPE_USER_varuser   = $(NAME)
 PROTOTYPE_GROUP_varuser  = $(NAME)
 
+USERGROUP = /var/opt/csw/$(NAME)/cache
+USERGROUP += /var/opt/csw/$(NAME)/logs
+
 include gar/category.mk
 
 SPKG_REVSTAMP := $(SPKG_REVSTAMP)_$(RELEASE)
@@ -96,5 +100,6 @@
 	ginstall -d $(DESTDIR)/var/opt/csw/$(NAME)/logs
 	ginstall -d $(DESTDIR)/var/opt/csw/$(NAME)/cache
 	ginstall -m 755 $(DOWNLOADDIR)/cswsquid $(DESTDIR)/etc/opt/csw/init.d/csw$(NAME)
+	ginstall -m 755 $(DOWNLOADDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/$(NAME)/cswusergroup
 	@$(MAKECOOKIE)
 

Added: csw/mgar/pkg/squid/branches/squid3/files/cswusergroup
===================================================================
--- csw/mgar/pkg/squid/branches/squid3/files/cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/squid/branches/squid3/files/cswusergroup	2011-09-21 09:12:43 UTC (rev 15696)
@@ -0,0 +1 @@
+squid:squid::::::

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