svn commit: r382128 - in head/mail/dovecot2: . files

Baptiste Daroussin bapt at FreeBSD.org
Tue Mar 24 18:13:02 UTC 2015


On Tue, Mar 24, 2015 at 12:58:27PM -0500, Bryan Drewery wrote:
> On 3/24/2015 12:38 PM, Adam Weinberger wrote:
> > Author: adamw
> > Date: Tue Mar 24 17:38:34 2015
> > New Revision: 382128
> > URL: https://svnweb.freebsd.org/changeset/ports/382128
> > QAT: https://qat.redports.org/buildarchive/r382128/
> > 
> > Log:
> >   Move the sample configuration files into ETCDIR.
> >   
> >   After talking more with Rozhuk Ivan (submitter of 198792, see r381930),
> >   the sample configuration files don't belong in DOCSDIR, and they really
> >   don't belong underneath an OPTION that many people have disabled by
> >   default.
> >   
> >   I still don't think that they're good candidates for @sample, but they
> >   make more sense living in ETCDIR.
> >   
> >   While here, shuffle around a few other docs/examples files.
> >   
> >   PORTREVISION bump for the plist changes.
> 
> 
> Having had @sample for a while now I do wish that there was a way to
> specify that a file should be copied to ETCDIR.
> 
> So for this example:
> 
> @sample %%EXAMPLESDIR%%example-config/conf.d/10-auth.conf
> 
> This would copy a .conf to ETCDIR/10-auth.conf. It gets tricky if you
> want it in ETCDIR/conf.d/ though.
> 
> We need parameters for @keywords to do anything like this.
> 
> Also going back to the real root issue I do not like pkg-plist at all. I
> much prefer the declarative way gentoo ebuilds are written.
> 
With pkg 1.5 we can have arguments with keywords, my goal is to add @example (or
extend @sample so that you will right something like:
@example %%EXAMPLESDIR%%/plop.default_or_what_ever_upstream_want %%ETCDIR%%/prog/plop.conf

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20150324/4697b86a/attachment.sig>


More information about the svn-ports-head mailing list