In message <20200629190958.56a010736905355abb924...@bidouilliste.com>, 
Emmanuel
 Vadot writes:
> On Mon, 29 Jun 2020 09:52:15 -0700
> Cy Schubert <cy.schub...@cschubert.com> wrote:
>
> > In message <475e0172-0a4a-0201-3e2f-9e231b75f...@freebsd.org>, John Baldwin
>  
> > wri
> > tes:
> > > On 6/1/20 7:38 PM, Kyle Evans wrote:
> > > > Author: kevans
> > > > Date: Tue Jun  2 02:38:54 2020
> > > > New Revision: 361720
> > > > URL: https://svnweb.freebsd.org/changeset/base/361720
> > > > 
> > > > Log:
> > > >   pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAIL
> > > >   
> > > >   When WITHOUT_SENDMAIL is set, we end up with two different mailer.con
> f th
> > > at
> > > >   conflict, and hilarity ensues. There's currently three different plac
> es t
> > > hat
> > > >   we might install mailer.conf:
> > >
> > > Something about this change has made etcupdate stop updating this file.
> > > Perhaps it is now a "plain" FILE instead of a config file, so 'installcon
> fig'
> > > no longer installs it?  Given that users do edit this file (e.g. if using
> > > postfix from ports), it does seem like this should be treated as a config
> > > file?
> > 
> > Yes, plain file vs config file. There was a change a couple of months ago 
> > by someone else that changed config files to plain files which totally 
> > messed up /etc after etcupdate was run. It also affected mergemaster BTW.
>
>  This was https://svnweb.freebsd.org/base?view=revision&revision=359294
>
> > If pkgbase needs config files to be plain files we might need a knob to 
> > make it so when pkgbase is invoking make.
>
>  It doesn't, pkg needs to know about config files, the problem with my
> commit is more an etcupdate/mergemaster problem than a pkgbase one.
>  iirc etcupdate do a make distribution to find new files and diffs and
> switching a config file from a plain files will cause the file to be
> installed by installworld so etcupdate thinks that it was deleted. I've
> tried a bit to fix that in etcupdate but couldn't find a proper way to
> do it.
Mergemaster also does make distribution.


-- 
Cheers,
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  https://FreeBSD.org
NTP:           <c...@nwtime.org>    Web:  https://nwtime.org

        The need of the many outweighs the greed of the few.


_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to