On Thu, 20 Jan 2005, Hadmut Danisch wrote: > Richard A Nelson wrote: > > > > > It doesn't sound like it broke your setup - just that you > > can't take advantage of some of the features (like Makefile) > > > After upgrading from 8.12 to 8.13 the mail system doesn't > work anymore. I'd call this 'break'.
There isn't alot of difference in what 8.12 and 8.13 do with respect to the m4 environment... So, yes, I'll accept that you can't take advantage of some of the tools because of the way you've used m4! I'm failing to see how the change from 8.12 to 8.13 did anything that an upgrade to a newer 8.12 wouldn't have. > >>The reason is that programs like > >>/usr/share/sendmail/update_mk > >>try to analyze the m4 structures to build a list of > >>included files and configuration files to update > >>/etc/mail/databases and /etc/mail/Makefile > > > > True, that is exactly how things run > > And this is wrong. M4 macros are written for M4 > and not perl. I have a decent grasp of M4 function, thank you... I even use it in the generation of the sendmail packages :) > If the scripts don't expand macros in the > include file names, then it is broken. This is intended to > be M4-compatible, and the debian script breaks this > compatibilty. Then do not use the debian scripts, or extend them to support what you need and send me patches. > > That is debatable... again, this prevents you from using some of > > the features provided for the simpler installations, but doesn't > > really impact your full use of m4 to manage sendmail. > > > It keeps the package from proper installation. A package that > doesn't install cleanly is broken. I'm going to need more than this to go anywhere - install logs? > >>The correct way would be to run the configuration through m4 > >>and trace it to find the included files and take the configuration > >>file paths from the final output (or .cf file). > > > > > > That would be an improvement - but I refuse to use the .cf file, > > and for good reasons... amongst them, the next big sendmail update > > (sendmail-X) will not use the same sendmail.cf - at this point it > > isn't even clear if sendmail.mc will be used (but likely not). > > > > I'd gladly take patches (full, or partial) to improve my support of > > sendmail.mc :) > > > No. I mean instead of trying to parse the m4 files and to fail, > your perl script could simply run M4 to properly expand all > macros. Like I said, I'll gladly take patches :) and you might want to peek at the "HANDS_OFF" variable in sendmail.conf -- Rick Nelson <Knghtbrd> This font is starting to come out very nicely <stu> Knghtbrd: oh dear, are you hacking up another quake font in vi? :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]