On Monday 23 March 2009 18:29:40 James A R Brown wrote:
> Rod, This is the reject file. Think I will look at the possibility of
> tweaking the postfix-files.patch as clearly the patch is finding a
> difference it is not expecting.
>
> I think you are right... its something to do with Fedora, but patching a
> file should not really change.
>
> /usr/src/redhat/BUILD/postfix-2.5.6/conf/postfix-files.rej
>
> ***************
> *** 141,149 ****
>   $manpage_directory/man1/postmap.1:f:root:-:644
>   $manpage_directory/man1/postqueue.1:f:root:-:644
>   $manpage_directory/man1/postsuper.1:f:root:-:644
> - $manpage_directory/man1/sendmail.1:f:root:-:644
>   $manpage_directory/man5/access.5:f:root:-:644
> - $manpage_directory/man5/aliases.5:f:root:-:644
>   $manpage_directory/man5/body_checks.5:f:root:-:644
>   $manpage_directory/man5/canonical.5:f:root:-:644
>   $manpage_directory/man5/cidr_table.5:f:root:-:644
> --- 141,149 ----
>   $manpage_directory/man1/postmap.1:f:root:-:644
>   $manpage_directory/man1/postqueue.1:f:root:-:644
>   $manpage_directory/man1/postsuper.1:f:root:-:644
> + $manpage_directory/man1/sendmail.postfix.1:f:root:-:644
>   $manpage_directory/man5/access.5:f:root:-:644
> + $manpage_directory/man5/aliases.postfix.5:f:root:-:644
>   $manpage_directory/man5/body_checks.5:f:root:-:644
>   $manpage_directory/man5/canonical.5:f:root:-:644
>   $manpage_directory/man5/cidr_table.5:f:root:-:644

This isn't OS specific. The patch in the rpm is wrong, because since a few 
versions there is a bounce(5) manpage at line 148.

As a side-note, a change like this can be much easier implemented and be 
forward compatible, using sed[1] rather then patch, but I'm rpm-liberated so 
do not know whether rpm can run replace commands on sources.

[1] sed -i.bak -e 's/sendmail\.1/sendmail.postfix.1/' -e 
's/aliases.5/aliases.postfix.5/' conf/postfix-files
-- 
Melvyn Sopacua

Reply via email to