Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2017 11:47:33 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: pkgbase and conf files (was Re: svn commit: r318441 - in head/etc: . cron.d)
Message-ID:  <20170520094732.4qzvcbp2nt5cz7yb@ivaldir.net>
In-Reply-To: <3548472.irpQCNYL7x@ralph.baldwin.cx>
References:  <201705180625.v4I6Pd9j062495@repo.freebsd.org> <9570430.uB7Ojud3DG@ralph.baldwin.cx> <20170519163355.rs5w3hr6dltdx7kv@ivaldir.net> <3548472.irpQCNYL7x@ralph.baldwin.cx>

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

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

On Fri, May 19, 2017 at 10:43:30AM -0700, John Baldwin wrote:
> On Friday, May 19, 2017 06:33:55 PM Baptiste Daroussin wrote:
> > On Fri, May 19, 2017 at 09:17:23AM -0700, John Baldwin wrote:
> > > On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote:
> > > I think an upgrade won't bring the file back necessarily (etcupdate w=
arns you
> > > that a removed file changed, but it doesn't bring it back, I think a =
similar
> > > strategy might be sensible for pkg as well).
> >=20
> > I need to check, I do not remember what I did here and I will certainly=
 add a
> > regression test for that to ensure this behaviour is always working as =
expected.
>=20
> One nice "feature" to have in pkg for pkgbase would be a way to ask pkg t=
o restore
> a stock configuration file (perhaps with an option to restore it to an al=
ternate
> directory or filename?)  This would imply that packages would need to kee=
p the
> "pristine" conf files around somewhere.  This would also let you do 'pkg =
confdiff'
> or the like (as a replacement for 'etcupdate diff')

Yes this is in my TODO list

Bapt

--uzzwgxho2hksozcd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlkgELQACgkQY4mL3PG3
PlrWVg//UD9qBFMOpPSdPda44oy9M/3nDHlU5Xh/4ificVpNz1g7qqIjNm2Fk7us
6QMLLBk+STba8yz0S25ISfGbLwObhvbh0cJOXsldOhw9jq1Ku+6K/trAwkiDebV1
/7XAdl3Xb9rPTua3XItYG2InfITKVKWY3l/p5hfMFagn8IfVItFtB9cHCXNUxt0T
4PebY5RPWiAQRBju6piPP86iiGaR9GtNBGgTPZR9eAdV5f0d6y/U8cZ4iX3pg9R6
NDHzqoHpGiR/zWqVrVqH/hdVbJ5txSfhwEYrCnnjCqKaN+akryLPVWS/Xj9Q9I5d
zcmUwc+8y6KAp8o1PKujhmrsyjGfPSJg5jvAPXFs7FrUfcBjUmInTh5JqxPq+lK1
NI2B84CwjerntR6ckLZH63XE9bHxW1HP6ZlHfyxvyP66DW/tg1L2E4VRUJo7m32H
9e8UuKv3c1oh8camDC65/U7uFOgxLG+T0zP/hT63Nz4+ZlL4XBXz397GdIblmXjp
Zv96BcSY3rBApToeQXmDUr0HbqImHV4TOAo7Jv2XRzXS1RIJ40iIyFJ4tnGR7Hrr
D4cmuvIu6KC84niJxLWucn7KqFT4J20PdZQpfw7WR9ACKh5T7OOMGEuJ1kFZT1Oj
GFl0TVm8n75me0Eqtyo1MRlV0w93GnFxn9H9J4ZPABNgf5pS0t0=
=nkTU
-----END PGP SIGNATURE-----

--uzzwgxho2hksozcd--



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