On Wed, Feb 13, 2002 at 05:45:32PM -0700, Jay wrote:
> 
> 
> Ok. For us non-coder-type people, can you recommend a good and simple
> "howto" online for creating a diff (real patch)? Thanks! :)

The best way :

- Use the CVS repository (http://www.nessus.org/cvs_manual.html),
  basically :

        export CVSROOT=":pserver:[EMAIL PROTECTED]:/usr/local/cvs"
        cvs login       # <- password is 'anon'
        cvs -z3 co nessus-plugins

- Then edit nessus-plugins/scripts to fix the mistakes
- Then do 
        cvs diff [name of modified plugins] in nessus-plugins/scripts/
  and redirect the output to a file.
  ie:

        cd nessus-plugins/scripts/
        cvs diff foo.nasl > patch       # patch for the file "foo" only 
        OR
        cvs diff foo.nasl bar.nasl > patch # patch for "foo" and "bar"
        OR
        cvs diff > patch # patch for every modified plugins



                                -- Renaud

Reply via email to