Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 19:12:54 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Adam Weinberger <adamw@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r382128 - in head/mail/dovecot2: . files
Message-ID:  <20150324181253.GC37936@ivaldir.etoilebsd.net>
In-Reply-To: <5511A5C3.7060903@FreeBSD.org>
References:  <201503241738.t2OHcYnp092783@svn.freebsd.org> <5511A5C3.7060903@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--aT9PWwzfKXlsBJM1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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/
> >=20
> > Log:
> >   Move the sample configuration files into ETCDIR.
> >  =20
> >   After talking more with Rozhuk Ivan (submitter of 198792, see r381930=
),
> >   the sample configuration files don't belong in DOCSDIR, and they real=
ly
> >   don't belong underneath an OPTION that many people have disabled by
> >   default.
> >  =20
> >   I still don't think that they're good candidates for @sample, but they
> >   make more sense living in ETCDIR.
> >  =20
> >   While here, shuffle around a few other docs/examples files.
> >  =20
> >   PORTREVISION bump for the plist changes.
>=20
>=20
> 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.
>=20
> So for this example:
>=20
> @sample %%EXAMPLESDIR%%example-config/conf.d/10-auth.conf
>=20
> This would copy a .conf to ETCDIR/10-auth.conf. It gets tricky if you
> want it in ETCDIR/conf.d/ though.
>=20
> We need parameters for @keywords to do anything like this.
>=20
> 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.
>=20
With pkg 1.5 we can have arguments with keywords, my goal is to add @exampl=
e (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

--aT9PWwzfKXlsBJM1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlURqSUACgkQ8kTtMUmk6Ewj8QCeNVfu8FEAEsiWyq+ZfK7bIbhn
LKkAn3H9l5Mxwb4CWh/ztTGcWuvEyzBR
=SIyv
-----END PGP SIGNATURE-----

--aT9PWwzfKXlsBJM1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150324181253.GC37936>