Re: [EXIM] Exim version 3.02

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Haber
Data:  
Para: exim-users
Assunto: Re: [EXIM] Exim version 3.02
On Wed, 2 Jun 1999 16:04:59 +0100 (BST), you wrote:
>On Wed, 2 Jun 1999, Marc Haber wrote:
>> >ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/exim-patch-3.01-3.02.gz
>> The patch creates a bunch of "missing header for context diff" errors,
>> but exit code 0. This makes me cringe, but it seems to work.
>
>There are no such errors when I apply it according to the instructions
>at the top of the patch file. This is on a Solaris 2.5.1 system. Are
>there different versions of patch on different systems?


|mh@torres:/mnt/main6/home/mh > head -n 20 exim-patch-3.01-3.02
|==============================================================================
|This is a patch file for updating Exim release 3.01 to release 3.02.
|To apply this patch, proceed as follows:
|
|1. Make current the directory containing the distribution tree for release
| 3.01, in other words, the directory that contains the exim-3.01 directory.

|
|2. Run the command
|
|     patch -p0 <this-patch-file

|
|3. Immediately afterwards, run the command
|
|     echo $?

|
| This shows the return code from the patch command; if all went well it
| should be zero.

|
|4. The patch command writes its output to the standard error stream, so it you
| want to capture this in order to check it, you need to use

|mh@torres:/mnt/main6/home/mh > patch -p0 < exim-patch-3.01-3.02
|missing header for context diff at line 30 of patch
|patching file `exim-3.01/Makefile'
|missing header for context diff at line 136 of patch
|patching file `exim-3.01/README.UPDATING'
|missing header for context diff at line 199 of patch
|patching file `exim-3.01/OS/Makefile-Base'
|missing header for context diff at line 339 of patch
|patching file `exim-3.01/OS/Makefile-HP-UX'
|missing header for context diff at line 351 of patch
|patching file `exim-3.01/OS/Makefile-HP-UX-9'
|missing header for context diff at line 363 of patch
|patching file `exim-3.01/OS/Makefile-SunOS4'
|missing header for context diff at line 374 of patch
|patching file `exim-3.01/doc/ChangeLog'
|missing header for context diff at line 448 of patch
|patching file `exim-3.01/doc/spec.txt'
|missing header for context diff at line 470 of patch
|patching file `exim-3.01/scripts/arch-type'
|missing header for context diff at line 488 of patch
|patching file `exim-3.01/scripts/os-type'
|missing header for context diff at line 510 of patch
|patching file `exim-3.01/src/EDITME'
|missing header for context diff at line 526 of patch
|patching file `exim-3.01/src/accept.c'
|missing header for context diff at line 740 of patch
|patching file `exim-3.01/src/daemon.c'
|missing header for context diff at line 812 of patch
|patching file `exim-3.01/src/deliver.c'
|missing header for context diff at line 985 of patch
|patching file `exim-3.01/src/direct.c'
|missing header for context diff at line 1038 of patch
|patching file `exim-3.01/src/dns.c'
|missing header for context diff at line 1056 of patch
|patching file `exim-3.01/src/exim.c'
|missing header for context diff at line 1180 of patch
|patching file `exim-3.01/src/expand.c'
|missing header for context diff at line 1249 of patch
|patching file `exim-3.01/src/functions.h'
|missing header for context diff at line 1267 of patch
|patching file `exim-3.01/src/globals.c'
|missing header for context diff at line 1288 of patch
|patching file `exim-3.01/src/globals.h'
|missing header for context diff at line 1309 of patch
|patching file `exim-3.01/src/host.c'
|missing header for context diff at line 1329 of patch
|patching file `exim-3.01/src/macros.h'
|missing header for context diff at line 1347 of patch
|patching file `exim-3.01/src/match.c'
|missing header for context diff at line 1428 of patch
|patching file `exim-3.01/src/queue.c'
|missing header for context diff at line 1648 of patch
|patching file `exim-3.01/src/readconf.c'
|missing header for context diff at line 1938 of patch
|patching file `exim-3.01/src/route.c'
|missing header for context diff at line 2038 of patch
|patching file `exim-3.01/src/smtp_in.c'
|missing header for context diff at line 2317 of patch
|patching file `exim-3.01/src/transport.c'
|missing header for context diff at line 2429 of patch
|patching file `exim-3.01/src/verify.c'
|missing header for context diff at line 2466 of patch
|patching file `exim-3.01/src/version.c'
|missing header for context diff at line 2484 of patch
|patching file `exim-3.01/src/directors/smartuser.c'
|missing header for context diff at line 2511 of patch
|patching file `exim-3.01/src/routers/iplookup.c'
|missing header for context diff at line 2529 of patch
|patching file `exim-3.01/src/routers/lookuphost.c'
|missing header for context diff at line 2569 of patch
|patching file `exim-3.01/src/transports/smtp.c'
|mh@torres:/mnt/main6/home/mh > echo $?
|0
|mh@torres:/mnt/main6/home/mh > uname -a
|Linux torres 2.0.36 #5 Sun Apr 4 15:47:37 CEST 1999 i586 unknown
|mh@torres:/mnt/main6/home/mh > patch --version
|patch 2.5
|Copyright 1988 Larry Wall
|Copyright 1997 Free Software Foundation, Inc.
|
|This program comes with NO WARRANTY, to the extent permitted by law.
|You may redistribute copies of this program
|under the terms of the GNU General Public License.
|For more information about these matters, see the file named COPYING.
|
|written by Larry Wall with lots o' patches by Paul Eggert
|mh@torres:/mnt/main6/home/mh >

>> Is it done on purpose that the build number is not set back to 1 by
>> the patch?
>
>Yes, in a sense. There is no cnumber.h file in the src directory. When
>you first try to build for a specific architecture, a file containing
>"0" is placed in the build directory. So if you build for different
>architectures from the same source, each one has its own build number.
>However, this does mean that patching cannot reset it.


I see. I will try to remember to delete the build directory after
applying a patch.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***