BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} BBGEN help!!
Very good sir, I will re-attempt it tonight.
-----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!!
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.
Note: The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited. The recipient should check this email and
any attachments for the presence of viruses. Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer. This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you. NOVA Information Systems, Inc.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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