[csw-devel] SF.net SVN: gar:[16182] csw/mgar/pkg/dovecot/trunk

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Sun Nov 13 17:37:28 CET 2011


Revision: 16182
          http://gar.svn.sourceforge.net/gar/?rev=16182&view=rev
Author:   jake_goerzen
Date:     2011-11-13 16:37:27 +0000 (Sun, 13 Nov 2011)
Log Message:
-----------
dovecot/trunk: fixed USERGROUP usage/integration

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

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

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2011-11-13 14:42:56 UTC (rev 16181)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2011-11-13 16:37:27 UTC (rev 16182)
@@ -1,6 +1,5 @@
 # TODO
 # - SSL certs to /etc/opt/csw/ssl?
-# - USERGROUP doesn't work yet, wrong usage?
 # - /var/run/dovecot instead of /var/opt/csw/run?
 NAME = dovecot
 VERSION = 2.0.15
@@ -77,8 +76,7 @@
 
 # cswclassutils integration
 INITSMF    = $(sysconfdir)/init.d/cswdovecot
-USERGROUP  = dovecot:dovecot:Dovecot IMAP Server:/var/opt/csw/run/dovecot/login:/bin/false
-USERGROUP += dovenull:dovenull:Dovecot IMAP Server:/var/opt/csw/run/dovenull/login:/bin/false
+USERGROUP = /etc/opt/csw/pkg/CSWdovecot/cswusergroup
 SAMPLECONF = .*/dovecot.pem $(sysconfdir)/dovecot.conf
 MIGRATE_FILES = dovecot.conf
 
@@ -132,4 +130,9 @@
 	ginstall -Dm 755 $(FILEDIR)/cswdovecot  \
 		$(DESTDIR)/etc/opt/csw/init.d/cswdovecot
 
+	# Copy cswusergroup
+	ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWdovecot
+	ginstall -m 444 $(FILEDIR)/cswusergroup \
+		$(DESTDIR)/etc/opt/csw/pkg/CSWdovecot/
+
 	@$(MAKECOOKIE)

Added: csw/mgar/pkg/dovecot/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/dovecot/trunk/files/cswusergroup	2011-11-13 16:37:27 UTC (rev 16182)
@@ -0,0 +1,2 @@
+dovecot:dovecot:Dovecot IMAP Server:/var/opt/csw/run/dovecot/login:/bin/false:::NP
+dovenull:dovenull:Dovecot IMAP Server:/var/opt/csw/run/dovenull/login:/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