Changeset 778


Ignore:
Timestamp:
Jul 11, 2013, 6:25:21 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5: add a maintained message

Location:
branches/samba-3.5.x/source3
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/build.cmd

    r775 r778  
    1818/* version 0.3.9 from 12.11.2012 Silvan (never use ksh, now using sh) */
    1919/* version 0.3.10 from 12.11.2012 Herwig (make libc switching really optional) */
     20/* version 0.3.11 from 15.11.2012 Silvan (python also in unixroot) */
     21/* version 0.3.12 from 30.11.2012 Silvan (maintained by) */
    2022                                         
    2123/* load the sysfuncs if not already loaded */
     
    2729
    2830/* init the version string (don't forget to change) */
    29 version = "0.3.10"
    30 version_date = "15.11.2012"
     31version = "0.3.12"
     32version_date = "30.11.2012"
    3133
    3234/* number of make jobs to execute at the same time */
     
    153155        end
    154156    end
     157    else do
     158    sEnvVar = EnvGet('UNIXROOT');
     159    if sEnvVar <> '' then do
     160        sEnvVar = sEnvVar || '/usr'
     161        sPythonVersion = PythonVersion(sEnvVar|| '/lib');
     162        if sPythonVersion <> '-1' then do
     163            call lineout cacheFile, "ac_cv_path_PYTHON_CONFIG='" || sEnvVar || "/lib/" || sPythonVersion || "'";
     164            call lineout cacheFile, "ac_cv_path_PYTHON='" || sEnvVar || "/include'";
     165        end
     166    end
     167    end
    155168
    156169    ok = stream(cacheFile, 'c', 'close');
     
    197210    /* eComStation Version file */
    198211    VerFile = "VERSION.ECS"
     212    maintainedBy = "unknown"
    199213
    200214    /* is the file available */
     
    219233            parse var vendor_suffix vendor suffix
    220234        end
     235        if left(eCSVer.I,14) = "MAINTAINED_BY=" then do
     236            parse var eCSver.I . '='maintainedBy
     237            maintainedBy = '"Maintained by: ' || strip(maintainedBy,,'"') || '"'
     238        end
    221239    end
    222240    ok = stream(VerFile, 'c', 'close')
     
    248266        if Verline <> "=" then call lineout NewVersion, verline
    249267    end
     268    if maintainedBy <> "" then call lineout NewVersion, "MAINTAINED_BY="maintainedBy
    250269
    251270    ok = stream(Version,'c','close')
     
    255274    verstring = suffix'-'Major'.'minor'.'release'.'revision'-'vendor'-'date('S')
    256275    say "Samba branded as: "verstring
     276    say maintainedBy
    257277    say
    258278return
  • branches/samba-3.5.x/source3/lib/version.c

    r414 r778  
    2626        return SAMBA_VERSION_STRING;
    2727}
     28#ifdef __OS2__
     29const char *maintained_by_string(void)
     30{
     31        return MAINTAINED_BY;
     32}
     33#endif
  • branches/samba-3.5.x/source3/nmbd/nmbd.c

    r736 r778  
    876876        DEBUG(0,("nmbd version %s started.\n", samba_version_string()));
    877877        DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
     878#ifdef __OS2__
     879        DEBUGADD(0,("%s\n", maintained_by_string()));
     880#endif
    878881
    879882        if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
  • branches/samba-3.5.x/source3/script/mkversion.sh

    r414 r778  
    3232
    3333SAMBA_VERSION_VENDOR_FUNCTION=`sed -n 's/^SAMBA_VERSION_VENDOR_FUNCTION=//p' $SOURCE_DIR$VERSION_FILE`
     34MAINTAINED_BY=`sed -n 's/^MAINTAINED_BY=//p' $SOURCE_DIR$VERSION_FILE`
    3435
    3536echo "/* Autogenerated by script/mkversion.sh */" > $OUTPUT_FILE
     
    3839echo "#define SAMBA_VERSION_MINOR ${SAMBA_VERSION_MINOR}" >> $OUTPUT_FILE
    3940echo "#define SAMBA_VERSION_RELEASE ${SAMBA_VERSION_RELEASE}" >> $OUTPUT_FILE
    40 
     41echo "#define MAINTAINED_BY ${MAINTAINED_BY}" >> $OUTPUT_FILE
    4142
    4243##
  • branches/samba-3.5.x/source3/smbd/server.c

    r776 r778  
    11531153        DEBUG(0,("smbd version %s started.\n", samba_version_string()));
    11541154        DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
     1155#ifdef __OS2__
     1156        DEBUGADD(0,("%s\n", maintained_by_string()));
     1157#endif
    11551158
    11561159        DEBUG(2,("uid=%d gid=%d euid=%d egid=%d\n",
  • branches/samba-3.5.x/source3/version.ec_

    r586 r778  
    11SAMBA_VERSION_VENDOR_SUFFIX="eCS 1.2.0"
    22SAMBA_VERSION_VENDOR_PATCH=432
     3MAINTAINED_BY="unknown"
  • branches/samba-3.5.x/source3/winbindd/winbindd.c

    r738 r778  
    11141114        DEBUG(0,("winbindd version %s started.\n", samba_version_string()));
    11151115        DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
     1116#ifdef __OS2__
     1117        DEBUGADD(0,("%s\n", maintained_by_string()));
     1118#endif
    11161119
    11171120        if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
Note: See TracChangeset for help on using the changeset viewer.