On Fri, Feb 01, 2008 at 08:40:01PM -0600, Aaron wrote:
> Douglas A. Tutty wrote:
> >However, there have been threads here detailing the recompilation
> >necessary for sendmail to handle SSL Auth (or whatever its called). If
> >you have to recompile sendmail (as opposed to changing a config),
> >presumably you'd have to make the same changes to the source and
> >recompile whenever the source is changed by an update/upgrade. Is this
> >correct?
> >
> Exactly the type of thing i'm talking about.
>
> Albeit i don't have to alter my /etc config files, the .mc files that
> have to be edited lie in the /usr/src directory and these files are
> edited to compile the new sendmail.cf files, so whenever I
> update/upgrade (I know the difference, but ty for being clear in case i
> didn't) do edited files within src get overwritten or ......????
>
> Along the same lines.... Lets say i'm following -stable.. a fix comes
> out, i do an update but the fix had nothing to do with sendmail. Does
> cvs do anything to the sendmail files, and how do i see what stuff was
> actually altered? {find -ctime ? } ??
>
Well, you have a few options of which I am aware; there are likely many
more:
You could copy the origional (and your chages) to files in src to your
home directory. You could then have a script that does a diff of your
changed file with what should be in src. If it changed, then do a diff
with the origional. If it has simply been reverted to what it was, the
script can copy your changes back and then you do the recompile. If it
was not reverted but updated, then you'll have to manually go and make
the changes again. Then recompile.
There's the install.site/upgrade.site scripts that get automatically
run.
Or, for e.g. mail, just run postfix instead of the standard sendmail.
Doug.