| 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=3 | 
|---|
| 28 | SAMBA_VERSION_RELEASE=9 | 
|---|
| 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 | #                                                      # | 
|---|
| 76 | # <MAJOR>.<MINOR>.<RELEASE>[...]-<VENDOR_SUFFIX>       # | 
|---|
| 77 | #                                                      # | 
|---|
| 78 | # Note the '-' is automaticaly added                   # | 
|---|
| 79 | #                                                      # | 
|---|
| 80 | # e.g. SAMBA_VERSION_VENDOR_SUFFIX="VendorVersion"     # | 
|---|
| 81 | #  ->  "CVS 3.0.0rc2-VendorVersion"                    # | 
|---|
| 82 | #                                                      # | 
|---|
| 83 | # Note: If you want to use a function, take a look at  # | 
|---|
| 84 | #       SAMBA_VERSION_VENDOR_FUNCTION                  # | 
|---|
| 85 | #                                                      # | 
|---|
| 86 | ######################################################## | 
|---|
| 87 | SAMBA_VERSION_VENDOR_SUFFIX= | 
|---|
| 88 | SAMBA_VERSION_VENDOR_PATCH= | 
|---|
| 89 |  | 
|---|
| 90 | ######################################################## | 
|---|
| 91 | # This can be set by vendors if they want..            # | 
|---|
| 92 | # This have to be a function which returns a string    # | 
|---|
| 93 | # (const char *).                                      # | 
|---|
| 94 | #                                                      # | 
|---|
| 95 | # Patch for example lib/version.c and add something    # | 
|---|
| 96 | # like the following example:                          # | 
|---|
| 97 | #                                                      # | 
|---|
| 98 | # const char *samba_vendor_version(void)               # | 
|---|
| 99 | # {                                                    # | 
|---|
| 100 | #   return SAMBA_VERSION_OFFICIAL_STRING "-ENREDO-1.0" # | 
|---|
| 101 | # }                                                    # | 
|---|
| 102 | #                                                      # | 
|---|
| 103 | # -> "Version 3.2.0-ENREDO-1.0                         # | 
|---|
| 104 | ######################################################## | 
|---|
| 105 | SAMBA_VERSION_VENDOR_FUNCTION= | 
|---|