From: Sebastian B. <sb...@us...> - 2013-12-24 09:05:26
|
Update of /cvsroot/simplemail/simplemail/tests In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29857/tests Modified Files: makefile Log Message: Added some more targets to copy (and generate) the dovecot config. We set the default users as recommened by https://github.com/bdraco/dovecot/blob/master/doc/wiki/HowTo.Rootless.txt Index: makefile =================================================================== RCS file: /cvsroot/simplemail/simplemail/tests/makefile,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- makefile 24 Dec 2013 08:59:52 -0000 1.28 +++ makefile 24 Dec 2013 09:05:24 -0000 1.29 @@ -126,5 +126,15 @@ tar -xzf $(DOVECOT_TGZ) cd $(DOVECOT_DIR); ./configure --prefix=$(shell pwd)/$(DOVECOT_DIR)-root; $(MAKE) ; $(MAKE) install +.PHONY: dovecot-bin +dovecot-bin: $(DOVECOT_DIR)-root + .PHONY: dovecot -dovecot: $(DOVECOT_DIR)-root +dovecot: dovecot-bin + rm -Rf $(DOVECOT_DIR)-root/etc/dovecot + cp -R dovecot-conf -Rf $(DOVECOT_DIR)-root/etc/dovecot + echo 'default_internal_user = $(USER)' >>$(DOVECOT_DIR)-root/etc/dovecot/conf.d/00-default-user.conf + echo 'default_login_user = $(USER)' >>$(DOVECOT_DIR)-root/etc/dovecot/conf.d/00-default-user.conf + +dovecot-conf: dovecot-bin + cp -R $(DOVECOT_DIR)-root/share/doc/dovecot/example-config $(DOVECOT_DIR)-root/etc/dovecot |