1 ########################################################
4 # script/mkversion.sh #
5 # will use this file to create #
8 ########################################################
10 ########################################################
11 # This are the main SAMBA version numbers #
13 # <MAJOR>.<MINOR>.<RELEASE> #
15 # e.g. SAMBA_VERSION_MAJOR=3 #
16 # SAMBA_VERSION_MINOR=0 #
17 # SAMBA_VERSION_RELEASE=0 #
19 ########################################################
22 SAMBA_VERSION_RELEASE=0
24 ########################################################
25 # If a official release has a serious bug #
26 # a security release will have 'a' sufffix #
28 # so SAMBA's version will be #
29 # <MAJOR>.<MINOR>.<RELEASE><REVISION> #
31 # e.g. SAMBA_VERSION_REVISION=a #
33 ########################################################
34 SAMBA_VERSION_REVISION=
36 ########################################################
37 # For 'tp' releases the version will be #
39 # <MAJOR>.<MINOR>.<RELEASE>tp<TP_RELEASE> #
41 # e.g. SAMBA_VERSION_PRE_RELEASE=1 #
43 ########################################################
44 SAMBA_VERSION_TP_RELEASE=1
46 ########################################################
47 # For 'pre' releases the version will be #
49 # <MAJOR>.<MINOR>.<RELEASE>pre<PRE_RELEASE> #
51 # e.g. SAMBA_VERSION_PRE_RELEASE=1 #
53 ########################################################
54 SAMBA_VERSION_PRE_RELEASE=
56 ########################################################
57 # For 'rc' releases the version will be #
59 # <MAJOR>.<MINOR>.<RELEASE>rc<RC_RELEASE> #
61 # e.g. SAMBA_VERSION_RC_RELEASE=1 #
63 ########################################################
64 SAMBA_VERSION_RC_RELEASE=
66 ########################################################
67 # To mark SVN snapshots this should be set to 'yes' #
68 # in the development BRANCH, and set to 'no' only in #
69 # the SAMBA_X_X_RELEASE BRANCH #
71 # <MAJOR>.<MINOR>.<RELEASE>[...]cvs #
73 # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes #
74 # -> "3.0.0-SVN-build-199" #
75 ########################################################
76 SAMBA_VERSION_IS_SVN_SNAPSHOT=yes
78 ########################################################
79 # This is for specifying a release nickname #
81 # e.g. SAMBA_VERSION_RELEASE_NICKNAME="Nicky Nickname" #
82 # smbd --version will then give: #
83 # -> "4.0.0-tp1-VendorVersion (Nicky Nickname)" #
84 ########################################################
85 SAMBA_VERSION_RELEASE_NICKNAME=
87 ########################################################
88 # This can be set by vendors if they want... #
89 # This can be a string constant or a function which #
90 # returns a string (const char *) #
92 # <MAJOR>.<MINOR>.<RELEASE>[...]-<VENDOR_SUFFIX> #
94 # Note the '-' is automaticaly added #
96 # e.g. SAMBA_VERSION_VENDOR_SUFFIX="VendorVersion" #
97 # -> "CVS 3.0.0rc2-VendorVersion" #
99 # Note: If you want to use a function, #
100 # then patch lib/version.c and add this function #
101 # there, because the symbol must be available in #
104 # const char *vendor_version(void) #
106 # return "VendorVersion"; #
109 # e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version() #
110 # -> "CVS 3.0.0rc2-VendorVersion" #
111 ########################################################
112 SAMBA_VERSION_VENDOR_SUFFIX=