Re: Error in patching Qmail with Krzysztof Dabrowski 's SMTP-AUTH patch

2001-06-28 Thread Adrian Ho

On Thu, Jun 28, 2001 at 09:36:49AM -0400, Joshua Nichols wrote:
> Well first, if you're using gnu patch (which you should be) that
> command is malformed.

Probably a typo, since there was obviously some data for patch to work on.

> If it weren't, I may guess "wrong -pnum".

No, the output clearly shows that qmail-smtpd.c was correctly found, so -p
problems don't factor into this.

My guess is that Charrua applied another patch before this one that
inserted a whole bunch of stuff at the top of qmail-smtpd.c, thus throwing
this patch off.  Either that, or he typo'd again and accidentally blanked
qmail-smtpd.c (it's happened to me before 8-).

Charrua, your best bet is to delete the whole source tree and unpack it
again.  If you applied more than one patch that affects qmail-smtpd.c, try
changing the order in which you apply them.

- Adrian



RE: Error in patching Qmail with Krzysztof Dabrowski 's SMTP-AUTH patch

2001-06-28 Thread Charrua


I've already solved my problem. The file qmail-smtpd.patch was
damaged. I used a new file and it worked ok.

Thanks.
Andrés  



RE: Error in patching Qmail with Krzysztof Dabrowski 's SMTP-AUTH patch

2001-06-28 Thread Joshua Nichols


> >
> > patch > qmail-smtpd.patch
> >

> > What might be happening
> >


Well first, if you're using gnu patch (which you should be) that command is
malformed.  If it weren't, I may guess "wrong -pnum".

'man patch'


--joshua.





Error in patching Qmail with Krzysztof Dabrowski 's SMTP-AUTH patch

2001-06-28 Thread Charrua

> Hi ,
> I have tried to install the Krzysztof Dabrowski 's SMTP-AUTH patch and
> when we execute the command:
>  
> patch > qmail-smtpd.patch
> 
> I get the following error list,
> 
> patching file `qmail-smtpd.c'
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 19.
> Hunk #3 FAILED at 29.
> Hunk #4 FAILED at 53.
> Hunk #5 FAILED at 96.
> Hunk #6 FAILED at 111.
> Hunk #7 FAILED at 126.
> Hunk #8 FAILED at 156.
> Hunk #9 FAILED at 239.
> Hunk #10 FAILED at 320.
> Hunk #11 FAILED at 389.
> Hunk #12 FAILED at 397.
> Hunk #13 FAILED at 414.
> Hunk #14 FAILED at 784.
> 14 out of 14 hunks FAILED -- saving rejects to qmail-smtpd.c.rej
> 
> What might be happening
> 
> Thanks and regards.
> 
> Andres