Re: NNTPC: Re: Passwords for upstream servers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 Nov 1999 21:28:06 +1100, Matt Jackson <mjj-news@frogdream.com>
wrote:

>Well here's what I use, it's not pretty but it's effective for
>me. Basically, it adds two optional parameters (user and password) to
>the server line in nntpcache.servers

For some reason the patch won't work. I am not too familiar with
patch, but I have earlier managed to patch my wine source, and I had
hoped that this would be just as easy :o)

It seems that the patch only affects 4 files, ll.h, sockets.c,
nntpcache.c and nnconf.c, total size 61 kB. Could you instead post
these files?

...or perhaps the patch problem could be solved. Here is what I did:
 - placed the patch in /usr/src,
 - cd'ed to usr/src/nntpcache-2.3.3/src
 - patch -p1 -N --verbose <../../nntpcache.patch

Here is the output:
>mm...(Fascinating -- this is really a new-style context diff but without
>the telltale extra asterisks on the *** line that usually indicate
>the new style...)
>  Looks like a context diff to me...
>The text leading up to this was:
>--------------------------
>|# This is a patch for nntpcache-2.3.3.orig/src to update it to nntpcache-2.3.3/src.
>|# It was generated by makepatch 1.93 (2.0BETA) on Tue Nov 16 21:23:29 1999.
>|#
>|# To apply this patch, chdir to source directory nntpcache-2.3.3.orig/src and enter
>|#
>|#     patch -p1 -N < <this-file>
>|
>|exit
>|# End of preamble.
>|
>|# Patch input follows.
>|__DATA__
>|Index: ll.h
>|Prereq:  1.2
>|####### nntpcache-2.3.3/src/ => src
>|*** src/ll.h   Mon Aug  3 06:35:01 1998
>|--- src/ll.h   Thu Oct 14 19:28:30 1999
>--------------------------
>Good.  This file appears to be the 1.2 version.
>Patching file `ll.h' using Plan A...
>(Fascinating -- this is really a new-style context diff but without
>the telltale extra asterisks on the *** line that usually indicate
>the new style...)
>Hunk #1 FAILED at 96.
>1 out of 1 hunk FAILED -- saving rejects to ll.h.rej
(The rest is snipped - it is the same for the following files)

My system is vanila RH6.0 with patch version 2.5. I have checked that
ll.h.rej exists, and the lines from 96 through 101 looks like
expected.

Suggestions?

-- 
Allan Olesen, Lunderskov
Postet fra Agent - den bedste newsreader til Linux.


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux