Changeset 901 for trunk/server/source3


Ignore:
Timestamp:
Apr 1, 2016, 5:22:52 PM (9 years ago)
Author:
Silvan Scherrer
Message:

samba server: remove -Zbin-files, open needed files as O_BINARY, fix version string in build.cmd

Location:
trunk/server/source3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/build.cmd

    r900 r901  
    7979 *   - added lxlite and emxomfstripe
    8080 *   - rename some variables eCS vs OS/2
     81 *
     82 * version 1.1.1 from 01.04.2016 Silvan
     83 *   - remove -Zbin-files switch
    8184*/
    8285
     
    8992
    9093/* init the version string (don't forget to change) */
    91 version      = "1.1.0"
    92 version_date = "24.03.2016"
     94version      = "1.1.1"
     95version_date = "01.04.2016"
    9396
    9497'@echo off'
     
    281284            parse var OS2Ver.I . '='vendor_suffix
    282285            vendor_suffix = strip(vendor_suffix,,'"')
    283             parse var vendor_suffix vendor suffix
    284286        end
    285287        if left(OS2Ver.I,14) = "MAINTAINED_BY=" then do
    286288            parse var OS2Ver.I . '='maintainedBy
    287289            maintainedBy = '"Maintained by: ' || strip(maintainedBy,,'"') || '"'
     290        end
     291        if left(OS2Ver.I,15) = "VENDOR_VERSION=" then do
     292            parse var OS2Ver.I . '='vendorVersion
     293            vendorVersion = strip(vendorVersion,,'"')
    288294        end
    289295    end
     
    295301    OS2Ver.0 = I
    296302
     303    if vendorVersion <> "" then do
     304        vendor_suffix = '"' || vendor_suffix || ' v' || vendorVersion || '"'
     305    end
     306
    297307    do until lines(VERSION) = 0
    298308        verline = linein(VERSION)
     
    310320            parse var OS2Ver.I tag'='strvalue
    311321            parse var verline stag'=' .
     322            if tag = 'SAMBA_VERSION_VENDOR_SUFFIX' then do
     323                strvalue = vendor_suffix
     324            end
    312325            if stag = tag then do
    313326                verline = tag'='strvalue
     
    321334    ok = stream(newVersion,'c','close')
    322335    address cmd "sh ./script/mkversion.sh "newVersion" >NUL"
    323     verstring = suffix'-'Major'.'minor'.'release'.'revision'-'vendor'-'date('S')
     336    verstring = vendorVersion'-'Major'.'minor'.'release'.'revision'-OS2-'date('S')
    324337    say 'Samba branded as: '
    325338    say '"'verstring'"'
     
    338351    call lineout scriptfile, "CXXFLAGS='-O2 -g -march=pentium'";
    339352    call lineout scriptfile, "export CXXFLAGS";
    340     call lineout scriptfile, "LDFLAGS=' -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -Zbin-files'";
     353    call lineout scriptfile, "LDFLAGS=' -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp'";
    341354    call lineout scriptfile, "export LDFLAGS";
    342355    call lineout scriptfile, "LIBS='-lmmap -lintl'";
  • trunk/server/source3/version.os2_

    r898 r901  
    1 SAMBA_VERSION_VENDOR_SUFFIX="OS/2 and OS/2-based systems v1.3.0"
     1SAMBA_VERSION_VENDOR_SUFFIX="OS/2 and OS/2-based systems"
     2VENDOR_VERSION="1.3.0"
    23MAINTAINED_BY="unknown"
Note: See TracChangeset for help on using the changeset viewer.