From owner-freebsd-pkgbase@freebsd.org Fri Aug 11 14:00:24 2017 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87F1CDD0978 for ; Fri, 11 Aug 2017 14:00:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66E0E730FA; Fri, 11 Aug 2017 14:00:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by freefall.freebsd.org (Postfix, from userid 1235) id 54DDD1366C; Fri, 11 Aug 2017 14:00:20 +0000 (UTC) Date: Fri, 11 Aug 2017 16:00:20 +0200 From: Baptiste Daroussin To: Matthew Seaman Cc: freebsd-pkgbase@freebsd.org Subject: Re: pkgbase update and progress Message-ID: <20170811140019.h2elquhljvhuwopo@ivaldir.net> References: <20170810140615.GD63224@FreeBSD.org> <1218488026.1377609.1502378299872.JavaMail.zimbra@ixsystems.com> <20170810152151.GB82820@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jdhecmaoichglwar" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170714 (1.8.3) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 14:00:24 -0000 --jdhecmaoichglwar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 10, 2017 at 04:34:58PM +0100, Matthew Seaman wrote: > On 10/08/2017 16:21, Glen Barber wrote: > >> * Since we have no mechanism of properly merging changes to /etc > >> we simply copy files as needed with pc-updatemanager, and it is > >> difficult to maintain what should be updated, merged, or removed. > >> > > This is another long-standing item in the list of things to fix, indeed. >=20 > The idea floated at BSDCam was to have a package that would install a > pristine copy of the /etc files under /var/db/etcupdate and prompt the > user to then use that tool to update or install their configs. That > should provide a nice compromise between having the files available from > pkgs and not enforcing a specific mechanism (tools, not policy) to > update /etc. >=20 Why we do not stick with what was discussed before? pkg know how to do 3 way merge and is configurable not to break anything. The only thing that is needed is to prepend the plist entry with an @config That's all. Why do we need something else? Bapt --jdhecmaoichglwar Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlmNuHEACgkQY4mL3PG3 PlqVzA/+ICrorbLmXAn82tW0iV7ugW137f9nRYUh1V7CuXKk51Qhpp2Ev9kY/UXB ErDrXRm89gkDxrt49FFUwuvNqSq2wnq4YBTwKvcSSrj5y6ioCYH3+iOcJJ1vphbb 4ZnL0gvsr9aumi63WfVXvAnCiDST+N3Q7jYQXdGN+XGoVNRN/TE1d1E6wvaQjmAt jnomqKuTlAnTUbDLRUUcmBotV/9nMcJhWbAAoDZjmb5bpz3yW6Wf4UophW3aiEOl hp0DtrNFcQKEqHWiWeA3iI18OyRAgSrgEd+jYKbwVRdCW2BAm1pUiM5xCfOsBmil B9MX2d1FwDKFj1qTIsHDkdd9hqQrmSRxjinsr1icISuHhp3dLk4vjMm42fa0+9wj 5FetyC8oAmbchOmjx+3iECJtzimuTEzlpgVnthuBAUFjoArxq6Wk5s+0gpbb+k8Y /pXBSOP+jE35ns3C8whmm8g0oBBymdqxi7MyMRjoruI3c2L+YGu3V6nAor3g90u7 x/2LpFGlRhiaDJ88JQegINMQAhCd9YcJrEoZF4s5vSm3D+OO6AISk1dq30YaOG9Y B9nM5QzLBpT9ujH9h5yErej5irF4SEctnBoHQGlJzPQXoLVWlSnvlOV0HdyIdEWL LKa4MMIK2Ew1mFZAsHorqu2d84QpCkZCnH+hh4nG9ohzNtGJ4es= =C0f1 -----END PGP SIGNATURE----- --jdhecmaoichglwar--