Revision: 4335
          http://gar.svn.sourceforge.net/gar/?rev=4335&view=rev
Author:   idogan23
Date:     2009-04-15 22:42:02 +0000 (Wed, 15 Apr 2009)

Log Message:
-----------
nsd: user & group for nsd are handled with cswusergroup class

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

Added Paths:
-----------
    csw/mgar/pkg/nsd/trunk/files/cswusergroup

Modified: csw/mgar/pkg/nsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nsd/trunk/Makefile     2009-04-15 21:55:57 UTC (rev 4334)
+++ csw/mgar/pkg/nsd/trunk/Makefile     2009-04-15 22:42:02 UTC (rev 4335)
@@ -11,7 +11,13 @@
 MASTER_SITES = http://ww$(GARNAME)w.nlnetlabs.nl/downloads/nsd/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 DISTFILES += $(call admfiles,CSWnsd,)
+DISTFILES += cswusergroup
 
+SPKG_CLASSES = none cswusergroup
+PROTOTYPE_FILTER = awk '$$$$3 ~ /\/nsd\/cswusergroup$$$$/ { $$$$2 = 
"cswusergroup" } { print }'
+
+REQUIRED_PKGS = CSWcswclassutils
+
 # We define upstream file regex so we can be notifed of new upstream software 
release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
@@ -22,4 +28,8 @@
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-ssl=/opt/csw
 
+post-install-modulated:
+       @ginstall -d $(DESTDIR)/etc/opt/csw/nsd
+       @ginstall -m 755 $(FILEDIR)/cswusergroup 
$(DESTDIR)/etc/opt/csw/nsd/cswusergroup
+
 include gar/category.mk

Added: csw/mgar/pkg/nsd/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/nsd/trunk/files/cswusergroup                           (rev 0)
+++ csw/mgar/pkg/nsd/trunk/files/cswusergroup   2009-04-15 22:42:02 UTC (rev 
4335)
@@ -0,0 +1 @@
+nsd:nsd:Name Server Daemon:/:/bin/false::


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to