[CentOS] Re: patching postfix with VDA

Mon Aug 1 19:37:39 UTC 2005
Mark Quitoriano <markquitoriano at gmail.com>

btw here's the line of my spec file where i put my patch

# Patches

Patch1: postfix-2.1.1-config.patch
Patch2: postfix-smtp_sasl_proto.c.patch
Patch3: postfix-alternatives.patch
Patch4: postfix-hostname-fqdn.patch
Patch5: postfix-2.1.1-pie.patch
Patch6: postfix-2.1.1-obsolete.patch
Patch7: postfix-2.1.5-aliases.patch
Patch8: postfix-2.1.5-trash.patch
# Optional patches - set the appropriate environment variables to include
#                    them when building the package/spec file

BuildRoot: %{_tmppath}/%{name}-buildroot

# Determine the different packages required for building postfix



and yes i got the filename right...



On 8/2/05, Mark Quitoriano <markquitoriano at gmail.com> wrote:
> hi guys can anyone give me info how to patch postfix with VDA? im
> using centos 4 with  postfix-2.1.5-4.2.
> 
> I downloaded the postfix-2.1.5-4.2.RHEL4.src.rpm to recompile it with
> VDA. i also downloaded the patch for postfix to support VDA. i added a
> line in postfix.spec Patch8: postfix-2.1.5-trash.patch for the VDA.
> 
> but when i compiled it it seems that it doesn't compile with the given
> patch here's a snip of log for the compilation.
> 
> --start of logfile---
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.48249
> TLS and IPv6, patching with
> /home/s0lid/rpm/SOURCES/tls+ipv6-1.26-pf-2.1.5.patch.gz
> patching file IPv6-ChangeLog
> patching file Makefile.in
> patching file README_FILES/IPV6_README
> patching file conf/master.cf
> patching file conf/postfix-files
> patching file conf/sample-ipv6.cf
> patching file conf/sample-tls.cf
> patching file makedefs
> patching file man/man8/tlsmgr.8
> --snip many unnecessary lines--
> patching file src/lmtp/lmtp.c
> patching file src/lmtp/lmtp_addr.c
> patching file src/lmtp/lmtp_connect.c
> patching file src/master/master_ent.c
> patching file src/master/master_listen.c
> patching file src/qmqpd/qmqpd_peer.c
> patching file src/smtp/Makefile.in
> patching file src/smtp/smtp.c
> patching file src/smtp/smtp.h
> patching file src/smtp/smtp_addr.c
> patching file src/smtp/smtp_connect.c
> patching file src/smtp/smtp_proto.c
> patching file src/smtp/smtp_session.c
> patching file src/smtp/smtp_unalias.c
> patching file src/smtpd/smtpd.c
> patching file src/smtpd/smtpd.h
> patching file src/smtpd/smtpd_check.c
> patching file src/smtpd/smtpd_peer.c
> patching file src/smtpd/smtpd_state.c
> patching file src/smtpstone/qmqp-sink.c
> patching file src/smtpstone/smtp-sink.c
> patching file src/tlsmgr/Makefile.in
> patching file src/tlsmgr/tlsmgr.c
> patching file src/util/Makefile.in
> patching file src/util/dict_cidr.c
> patching file src/util/dict_open.c
> patching file src/util/dict_sdbm.c
> patching file src/util/dict_sdbm.h
> patching file src/util/get_port.c
> patching file src/util/get_port.h
> patching file src/util/inet_addr_host.c
> patching file src/util/inet_addr_list.c
> patching file src/util/inet_addr_list.h
> patching file src/util/inet_addr_local.c
> patching file src/util/inet_addr_local.h
> patching file src/util/inet_connect.c
> patching file src/util/inet_listen.c
> patching file src/util/inet_util.c
> patching file src/util/listen.h
> patching file src/util/match_list.c
> patching file src/util/match_ops.c
> patching file src/util/match_ops.h
> patching file src/util/sdbm.c
> patching file src/util/sdbm.h
> patching file src/util/sys_defs.h
> patching file src/util/valid_hostname.c
> Patch #1 (postfix-2.1.1-config.patch):
> Patch #2 (postfix-smtp_sasl_proto.c.patch):
> Patch #3 (postfix-alternatives.patch):
> Patch #4 (postfix-hostname-fqdn.patch):
> missing header for unified diff at line 3 of patch
> Patch #5 (postfix-2.1.1-pie.patch):
> Patch #6 (postfix-2.1.1-obsolete.patch):
> Patch #7 (postfix-2.1.5-aliases.patch):
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.31103
> make -f Makefile.in MAKELEVEL= Makefiles
> 
> --snip--
> 
> It only read until patch #7 but there's no Patch #8 on my logfile.
> 


-- 
Regards,
Mark Quitoriano, CCNA
http://www.atamanetworks.com

Fan the flame...
http://www.spreadfirefox.com/?q=user/register&r=19441