BB Unix Network Monitor - Message

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

RE: {bb} BBGEN help!! [bcc][faked-from][bayes]



Henrik,
 I stand corrected! I went back over the instructions and did it again and
the patches worked correctly as advertised. I now have new problems....conn
tests don't work ( I will figure this out) but also larrd no longer works
with respect to the "trends" column. Should I eliminate the lard entry from
bb-bbexttab?



-----Original Message-----
From: Henrik Storner [mailto:henrik-bb@hswn.dk] 
Sent: Monday, November 29, 2004 1:54 PM
To: bb@bb4.com
Subject: Re: {bb} BBGEN help!! [bcc][faked-from][bayes]
Importance: Low

In <4CD13C22AD120746998F4C066E38DCE102E9427B@satlexh04.novainfo.com>
Kevin.Hanrahan@novainfo.com writes:

>Thank you sir. The problem I ran into was in the syntax of the instructions
>that came with BBGEN. As I understand it, the syntax for patch should be:

>patch <original file> <patchfile>
>  
>But BBGEN instructions say:

>patch -p0 < $SRC/bbpatches/1.9e-server/bbd-background.patch

>There is no original file specified to patch! The utility comes back and
>asks me which file I want to patch but I have no idea!

>Am I just simply not understanding this correctly?

The "patch" command - at least, GNU patch as recommended by the
INSTALL docs - knows how to determine the filename from the contents
of the bbd-background.patch file. If you look at this file, it begins
with

diff -urN src-bb19e/dohostsvc.c src/dohostsvc.c
--- src-bb19e/dohostsvc.c       2004-01-02 22:08:44.000000000 +0100
+++ src/dohostsvc.c     2004-01-26 11:11:37.944637264 +0100

which tells the patch-utility to modify the file "src/dohostsvc.c".

(The "-p" option can be used to strip off directory elements from
that filename, but since the recommended method is to use "-p0",
that will not happen).

The man-page for GNU patch also shows this way of running the patch
utility:


NAME
       patch - apply a diff file to an original

SYNOPSIS
       patch [options] [originalfile [patchfile]]

       but usually just

       patch -pnum <patchfile



Regards,
Henrik

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index