Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2013 22:44:39 +0100
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        Greg Rivers <gcr+freebsd-ports@tharned.org>
Cc:        bra@fsn.hu, freebsd-ports@freebsd.org
Subject:   Re: No examples or default configuration for mail/dovecot2 ?
Message-ID:  <87a9frcke0.wl%hskuhra@eumx.net>
In-Reply-To: <alpine.BSF.2.00.1312231443440.23531@roadkill.tharned.org>
References:  <alpine.BSF.2.00.1312231443440.23531@roadkill.tharned.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Dec 2013 15:12:27 -0600 (CST)
Greg Rivers wrote:

> I built mail/dovecot2 from ports on a recent 9.2-STABLE machine using
> the default options and found that neither the examples nor a default
> configuration seem to be installed:
> 
> $ pkg info dovecot | head -25
> dovecot-2.2.9
> [...]
> $ pkg info -l dovecot | fgrep /etc/
> 	/usr/local/etc/rc.d/dovecot
> 
> In particular, no /usr/local/etc/dovecot/ directory is created.
> 
> The distfile contains the example files in doc/example-config/, but
> with the exception of dovecot-openssl.cnf and mkcert.sh, they aren't
> installed. Setting option DOCS on does not result in any additional
> files being installed either.
> 
> Is this intentional?

% pkg info dovecot
dovecot-2.2.9
Name           : dovecot
Version        : 2.2.9
[..]

% ls -l /usr/local/etc/dovecot/
total 1
-r--r--r--  1 root  wheel  122 Dec 23 22:35 README

% cat /usr/local/etc/dovecot/README 
Configuration files go to this directory. See example configuration files in
/usr/local/share/doc/dovecot/example-config/

% ls -l /usr/local/share/doc/dovecot
total 355
-r--r--r--  1 root  wheel     661 Dec 23 22:35 AUTHORS
-r--r--r--  1 root  wheel    3980 Dec 23 22:35 COPYING
-r--r--r--  1 root  wheel   26536 Dec 23 22:35 COPYING.LGPL
-r--r--r--  1 root  wheel    1023 Dec 23 22:35 COPYING.MIT
-r--r--r--  1 root  wheel    1070 Dec 23 22:35 INSTALL
-r--r--r--  1 root  wheel  139602 Dec 23 22:35 NEWS
-r--r--r--  1 root  wheel    2937 Dec 23 22:35 README
-r--r--r--  1 root  wheel   16689 Dec 23 22:35 TODO
-r--r--r--  1 root  wheel    5055 Dec 23 22:35 documentation.txt
-r--r--r--  1 root  wheel     496 Dec 23 22:35 dovecot-openssl.cnf
drwxr-xr-x  3 root  wheel       8 Dec 23 22:35 example-config
-r--r--r--  1 root  wheel     861 Dec 23 22:35 mkcert.sh
-r--r--r--  1 root  wheel    5667 Dec 23 22:35 securecoding.txt
-r--r--r--  1 root  wheel    2953 Dec 23 22:35 solr-schema.xml
-r--r--r--  1 root  wheel    8802 Dec 23 22:35 thread-refs.txt
drwxr-xr-x  2 root  wheel     232 Dec 23 22:35 wiki

% ls -l /usr/local/share/doc/dovecot/example-config/
total 22
drwxr-xr-x  2 root  wheel    26 Dec 23 22:35 conf.d
-r--r--r--  1 root  wheel   698 Dec 23 22:35 dovecot-dict-auth.conf.ext
-r--r--r--  1 root  wheel   852 Dec 23 22:35 dovecot-dict-sql.conf.ext
-r--r--r--  1 root  wheel  5292 Dec 23 22:35 dovecot-ldap.conf.ext
-r--r--r--  1 root  wheel  5447 Dec 23 22:35 dovecot-sql.conf.ext
-r--r--r--  1 root  wheel  4416 Dec 23 22:35 dovecot.conf

So, maybe you should provide a build log.

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87a9frcke0.wl%hskuhra>