| 1 | ######################################################## | 
|---|
| 2 | # SAMBA Version                                        # | 
|---|
| 3 | #                                                      # | 
|---|
| 4 | # Samba versions are as follows                        # | 
|---|
| 5 | # 3.0.x                New production series           # | 
|---|
| 6 | # 3.0.x{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=3 | 
|---|
| 27 | SAMBA_VERSION_MINOR=0 | 
|---|
| 28 | SAMBA_VERSION_RELEASE=37 | 
|---|
| 29 |  | 
|---|
| 30 | ######################################################## | 
|---|
| 31 | # Bug fix releases use a letter for the patch revision # | 
|---|
| 32 | #                                                      # | 
|---|
| 33 | # so SAMBA's version will be                           # | 
|---|
| 34 | # <MAJOR>.<MINOR>.<RELEASE><REVISION>                  # | 
|---|
| 35 | #                                                      # | 
|---|
| 36 | # e.g. SAMBA_VERSION_REVISION=a                        # | 
|---|
| 37 | #  ->  "2.2.8a"                                        # | 
|---|
| 38 | ######################################################## | 
|---|
| 39 | SAMBA_VERSION_REVISION= | 
|---|
| 40 |  | 
|---|
| 41 | ######################################################## | 
|---|
| 42 | # For 'pre' releases the version will be               # | 
|---|
| 43 | #                                                      # | 
|---|
| 44 | # <MAJOR>.<MINOR>.<RELEASE>pre<PRE_RELEASE>            # | 
|---|
| 45 | #                                                      # | 
|---|
| 46 | # e.g. SAMBA_VERSION_PRE_RELEASE=1                     # | 
|---|
| 47 | #  ->  "2.2.9pre1"                                     # | 
|---|
| 48 | ######################################################## | 
|---|
| 49 | SAMBA_VERSION_PRE_RELEASE= | 
|---|
| 50 |  | 
|---|
| 51 | ######################################################## | 
|---|
| 52 | # For 'rc' releases the version will be                # | 
|---|
| 53 | #                                                      # | 
|---|
| 54 | # <MAJOR>.<MINOR>.<RELEASE>rc<RC_RELEASE>              # | 
|---|
| 55 | #                                                      # | 
|---|
| 56 | # e.g. SAMBA_VERSION_RC_RELEASE=1                      # | 
|---|
| 57 | #  ->  "3.0.0rc1"                                      # | 
|---|
| 58 | ######################################################## | 
|---|
| 59 | SAMBA_VERSION_RC_RELEASE= | 
|---|
| 60 |  | 
|---|
| 61 | ######################################################## | 
|---|
| 62 | # To mark SVN snapshots this should be set to 'yes'    # | 
|---|
| 63 | # in the development BRANCH, and set to 'no' only in   # | 
|---|
| 64 | # the SAMBA_X_X_RELEASE BRANCH                         # | 
|---|
| 65 | #                                                      # | 
|---|
| 66 | # <MAJOR>.<MINOR>.<RELEASE>[...]cvs                    # | 
|---|
| 67 | #                                                      # | 
|---|
| 68 | # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes               # | 
|---|
| 69 | #  ->  "3.0.0-SVN-build-199"                           # | 
|---|
| 70 | ######################################################## | 
|---|
| 71 | SAMBA_VERSION_IS_GIT_SNAPSHOT= | 
|---|
| 72 |  | 
|---|
| 73 | ######################################################## | 
|---|
| 74 | # This can be set by vendors if they want...           # | 
|---|
| 75 | # This can be a string constant or a function which    # | 
|---|
| 76 | # returns a string (const char *)                      # | 
|---|
| 77 | #                                                      # | 
|---|
| 78 | # <MAJOR>.<MINOR>.<RELEASE>[...]-<VENDOR_SUFFIX>       # | 
|---|
| 79 | #                                                      # | 
|---|
| 80 | # Note the '-' is automaticaly added                   # | 
|---|
| 81 | #                                                      # | 
|---|
| 82 | # e.g. SAMBA_VERSION_VENDOR_SUFFIX="VendorVersion"     # | 
|---|
| 83 | #  ->  "CVS 3.0.0rc2-VendorVersion"                    # | 
|---|
| 84 | #                                                      # | 
|---|
| 85 | # Note: If you want to use a function,                 # | 
|---|
| 86 | #       then patch lib/version.c and add this function # | 
|---|
| 87 | #       there, because the symbol must be available in # | 
|---|
| 88 | #       binary.                                        # | 
|---|
| 89 | #                                                      # | 
|---|
| 90 | # const char *vendor_version(void)                     # | 
|---|
| 91 | # {                                                    # | 
|---|
| 92 | #    return "VendorVersion";                           # | 
|---|
| 93 | # }                                                    # | 
|---|
| 94 | #                                                      # | 
|---|
| 95 | # e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version()    # | 
|---|
| 96 | #  ->  "CVS 3.0.0rc2-VendorVersion"                    # | 
|---|
| 97 | ######################################################## | 
|---|
| 98 | SAMBA_VERSION_VENDOR_SUFFIX= | 
|---|
| 99 | SAMBA_VERSION_VENDOR_PATCH= | 
|---|