[csw-devel] SF.net SVN: gar:[14113] csw/mgar/pkg/dcc/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Sat Apr 9 17:20:22 CEST 2011
Revision: 14113
http://gar.svn.sourceforge.net/gar/?rev=14113&view=rev
Author: bonivart
Date: 2011-04-09 15:20:22 +0000 (Sat, 09 Apr 2011)
Log Message:
-----------
dcc/trunk: Fix user creation
Modified Paths:
--------------
csw/mgar/pkg/dcc/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/dcc/trunk/files/cswusergroup
Modified: csw/mgar/pkg/dcc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dcc/trunk/Makefile 2011-04-09 10:43:10 UTC (rev 14112)
+++ csw/mgar/pkg/dcc/trunk/Makefile 2011-04-09 15:20:22 UTC (rev 14113)
@@ -45,6 +45,7 @@
SAMPLECONF += /var/opt/csw/dcc/whiteclnt
SAMPLECONF += /var/opt/csw/dcc/whitecommon
SAMPLECONF += /var/opt/csw/dcc/whitelist
+USERGROUP = /etc/opt/csw/pkg/CSWdcc/cswusergroup
# Fix ownership of map file
PROTOTYPE_MODIFIERS = 1
@@ -53,7 +54,7 @@
SPKG_SOURCEURL = http://www.rhyolite.com/dcc/
CONFFILES = dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
-DOCFILES = CHANGES FAQ.txt INSTALL.txt RESTRICTIONS misc/README misc/dcc.m4 misc/dccdnsbl.m4 misc/site.config.m4
+DOCFILES = CHANGES FAQ.html INSTALL.html RESTRICTIONS misc/README misc/dcc.m4 misc/dccdnsbl.m4 misc/site.config.m4
include gar/category.mk
@@ -69,15 +70,17 @@
cd .. ; \
gmake install )
@( cd $(DESTDIR)/var/opt/csw/$(NAME) ; \
- sed 's/bonivart/dcc/' dcc_conf > tmp.sed ; \
- mv tmp.sed dcc_conf )
+ sed 's/bonivart/dcc/' dcc_conf > tmp.sed ; \
+ mv tmp.sed dcc_conf )
@( cd $(DESTDIR)/opt/csw/libexec/$(NAME) ; \
- sed 's/bonivart/dcc/' fix-map > tmp.sed ; \
- mv tmp.sed fix-map )
+ sed 's/bonivart/dcc/' fix-map > tmp.sed ; \
+ mv tmp.sed fix-map )
# @$(foreach FILE, $(CONFFILES), mv $(DESTDIR)/var/opt/csw/$(NAME)/$(FILE) $(DESTDIR)/var/opt/csw/$(NAME) ;)
@ginstall -d $(DESTDIR)$(docdir)/$(NAME)/misc
@$(foreach FILE, $(DOCFILES), cp $(WORKSRC)/$(FILE) $(DESTDIR)$(docdir)/$(NAME)/$(FILE) ;)
@cp $(FILEDIR)/CSWdcc.INSTALL.CSW.txt $(DESTDIR)$(docdir)/$(NAME)/INSTALL.CSW.txt
@cp $(FILEDIR)/CSWdcc.dcc.xml $(DESTDIR)$(docdir)/$(NAME)/dcc.xml
@cp $(FILEDIR)/CSWdcc.svc-dcc $(DESTDIR)$(docdir)/$(NAME)/svc-dcc
+ @ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWdcc
+ @ginstall -m 444 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWdcc
@$(MAKECOOKIE)
Added: csw/mgar/pkg/dcc/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/dcc/trunk/files/cswusergroup (rev 0)
+++ csw/mgar/pkg/dcc/trunk/files/cswusergroup 2011-04-09 15:20:22 UTC (rev 14113)
@@ -0,0 +1 @@
+dcc:dcc:CSW DCC:/false:/bin/false:::NP
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