[exim-dev] [Bug 1164] New: EXIM_COMPILE_NUMBER set wrong

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Juergen Daubert
Data:  
Para: exim-dev
Temas novos: [exim-dev] [Bug 1164] EXIM_COMPILE_NUMBER set wrong, [exim-dev] [Bug 1164] EXIM_COMPILE_NUMBER set wrong, [exim-dev] [Bug 1164] EXIM_COMPILE_NUMBER set wrong, [exim-dev] [Bug 1164] EXIM_COMPILE_NUMBER set wrong
Asunto: [exim-dev] [Bug 1164] New: EXIM_COMPILE_NUMBER set wrong
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1164
           Summary: EXIM_COMPILE_NUMBER set wrong
           Product: Exim
           Version: 4.77
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Packaging
        AssignedTo: nigel@???
        ReportedBy: jue@???
                CC: exim-dev@???



Created an attachment (id=507)
--> (http://bugs.exim.org/attachment.cgi?id=507)
Patch to fix exim compile number

The version.h target of Makefile-Base is always run for each call of make
because of a typo in Makefile-Base. Therefor the EXIM_COMPILE_NUMBER is
incremented and leads to a wrong exim name. For a typical 'make; make install'
we get a version of 4.77-3.

One would expect that we get 4.77-2, but in src/version.sh EXIM_COMPILE_NUMBER
is already set to "1", which leads to the final "3".

Attached trivial patch fixes both issues.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email