| 1 | ########################################################
 | 
|---|
| 2 | # SAMBA Version                                        #
 | 
|---|
| 3 | #                                                      #
 | 
|---|
| 4 | # Samba versions are as follows                        #
 | 
|---|
| 5 | # 3.0.x                New production series           #
 | 
|---|
| 6 | # 3.0.x{tp,pre,rc}y    Preview/Testing & RC            #
 | 
|---|
| 7 | # 3.0.x[a-z]           Patch releases                  #
 | 
|---|
| 8 | # 3.0.x[a-z]-VENDOR-z  Vendor patch releases           #
 | 
|---|
| 9 | #                                                      #
 | 
|---|
| 10 | # script/mkversion.sh                                  #
 | 
|---|
| 11 | # will use this file to create                         #
 | 
|---|
| 12 | # include/version.h                                    #
 | 
|---|
| 13 | #                                                      #
 | 
|---|
| 14 | ########################################################
 | 
|---|
| 15 | 
 | 
|---|
| 16 | ########################################################
 | 
|---|
| 17 | # This are the main SAMBA version numbers              #
 | 
|---|
| 18 | #                                                      #
 | 
|---|
| 19 | # <MAJOR>.<MINOR>.<RELEASE>                            #
 | 
|---|
| 20 | #                                                      #
 | 
|---|
| 21 | # e.g. SAMBA_VERSION_MAJOR=3                           #
 | 
|---|
| 22 | #      SAMBA_VERSION_MINOR=0                           #
 | 
|---|
| 23 | #      SAMBA_VERSION_RELEASE=0                         #
 | 
|---|
| 24 | #  ->  "3.0.0"                                         #
 | 
|---|
| 25 | ########################################################
 | 
|---|
| 26 | SAMBA_VERSION_MAJOR=4
 | 
|---|
| 27 | SAMBA_VERSION_MINOR=0
 | 
|---|
| 28 | SAMBA_VERSION_RELEASE=0
 | 
|---|
| 29 | 
 | 
|---|
| 30 | ########################################################
 | 
|---|
| 31 | # If a official release has a serious bug              #
 | 
|---|
| 32 | # a security release will have 'a' sufffix             #
 | 
|---|
| 33 | #                                                      #
 | 
|---|
| 34 | # so SAMBA's version will be                           #
 | 
|---|
| 35 | # <MAJOR>.<MINOR>.<RELEASE><REVISION>                  #
 | 
|---|
| 36 | #                                                      #
 | 
|---|
| 37 | # e.g. SAMBA_VERSION_REVISION=a                        #
 | 
|---|
| 38 | #  ->  "2.2.8a"                                        #
 | 
|---|
| 39 | ########################################################
 | 
|---|
| 40 | SAMBA_VERSION_REVISION=
 | 
|---|
| 41 | 
 | 
|---|
| 42 | ########################################################
 | 
|---|
| 43 | # For 'tp' releases the version will be                #
 | 
|---|
| 44 | #                                                      #
 | 
|---|
| 45 | # <MAJOR>.<MINOR>.<RELEASE>tp<TP_RELEASE>              #
 | 
|---|
| 46 | #                                                      #
 | 
|---|
| 47 | # e.g. SAMBA_VERSION_TP_RELEASE=1                      #
 | 
|---|
| 48 | #  ->  "4.0.0tp1"                                      #
 | 
|---|
| 49 | ########################################################
 | 
|---|
| 50 | SAMBA_VERSION_TP_RELEASE=
 | 
|---|
| 51 | 
 | 
|---|
| 52 | ########################################################
 | 
|---|
| 53 | # For 'alpha' releases the version will be             #
 | 
|---|
| 54 | #                                                      #
 | 
|---|
| 55 | # <MAJOR>.<MINOR>.<RELEASE>alpha<TP_RELEASE>           #
 | 
|---|
| 56 | #                                                      #
 | 
|---|
| 57 | # e.g. SAMBA_VERSION_ALPHA_RELEASE=1                   #
 | 
|---|
| 58 | #  ->  "4.0.0alpha1"                                   #
 | 
|---|
| 59 | ########################################################
 | 
|---|
| 60 | SAMBA_VERSION_ALPHA_RELEASE=15
 | 
|---|
| 61 | 
 | 
|---|
| 62 | ########################################################
 | 
|---|
| 63 | # For 'pre' releases the version will be               #
 | 
|---|
| 64 | #                                                      #
 | 
|---|
| 65 | # <MAJOR>.<MINOR>.<RELEASE>pre<PRE_RELEASE>            #
 | 
|---|
| 66 | #                                                      #
 | 
|---|
| 67 | # e.g. SAMBA_VERSION_PRE_RELEASE=1                     #
 | 
|---|
| 68 | #  ->  "2.2.9pre1"                                     #
 | 
|---|
| 69 | ########################################################
 | 
|---|
| 70 | SAMBA_VERSION_PRE_RELEASE=
 | 
|---|
| 71 | 
 | 
|---|
| 72 | ########################################################
 | 
|---|
| 73 | # For 'rc' releases the version will be                #
 | 
|---|
| 74 | #                                                      #
 | 
|---|
| 75 | # <MAJOR>.<MINOR>.<RELEASE>rc<RC_RELEASE>              #
 | 
|---|
| 76 | #                                                      #
 | 
|---|
| 77 | # e.g. SAMBA_VERSION_RC_RELEASE=1                      #
 | 
|---|
| 78 | #  ->  "3.0.0rc1"                                      #
 | 
|---|
| 79 | ########################################################
 | 
|---|
| 80 | SAMBA_VERSION_RC_RELEASE=
 | 
|---|
| 81 | 
 | 
|---|
| 82 | ########################################################
 | 
|---|
| 83 | # To mark SVN snapshots this should be set to 'yes'    #
 | 
|---|
| 84 | # in the development BRANCH, and set to 'no' only in   #
 | 
|---|
| 85 | # the SAMBA_X_X_RELEASE BRANCH                         #
 | 
|---|
| 86 | #                                                      #
 | 
|---|
| 87 | # <MAJOR>.<MINOR>.<RELEASE>[...]-SVN-build-xxx         #
 | 
|---|
| 88 | #                                                      #
 | 
|---|
| 89 | # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes               #
 | 
|---|
| 90 | #  ->  "3.0.0-SVN-build-199"                           #
 | 
|---|
| 91 | ########################################################
 | 
|---|
| 92 | SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
 | 
|---|
| 93 | 
 | 
|---|
| 94 | ########################################################
 | 
|---|
| 95 | # This is for specifying a release nickname            #
 | 
|---|
| 96 | #                                                      #
 | 
|---|
| 97 | # e.g. SAMBA_VERSION_RELEASE_NICKNAME=Nicky Nickname   #
 | 
|---|
| 98 | #      smbd --version will then give:                  #
 | 
|---|
| 99 | #  ->  "4.0.0-tp1-VendorVersion (Nicky Nickname)"      #
 | 
|---|
| 100 | ########################################################
 | 
|---|
| 101 | SAMBA_VERSION_RELEASE_NICKNAME=
 | 
|---|
| 102 | 
 | 
|---|
| 103 | ########################################################
 | 
|---|
| 104 | # This can be set by vendors if they want...           #
 | 
|---|
| 105 | # This can be a string constant or a function which    #
 | 
|---|
| 106 | # returns a string (const char *)                      #
 | 
|---|
| 107 | #                                                      #
 | 
|---|
| 108 | # <MAJOR>.<MINOR>.<RELEASE>[...]-<VENDOR_SUFFIX>       #
 | 
|---|
| 109 | #                                                      #
 | 
|---|
| 110 | # Note the '-' is automaticaly added                   #
 | 
|---|
| 111 | #                                                      #
 | 
|---|
| 112 | # e.g. SAMBA_VERSION_VENDOR_SUFFIX=VendorVersion       #
 | 
|---|
| 113 | #  ->  "3.0.0rc2-VendorVersion"                        #
 | 
|---|
| 114 | #                                                      #
 | 
|---|
| 115 | ########################################################
 | 
|---|
| 116 | SAMBA_VERSION_VENDOR_SUFFIX=
 | 
|---|
| 117 | SAMBA_VERSION_VENDOR_PATCH=
 | 
|---|