X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=source3%2FVERSION;h=51bb2b1ab44c9dee11df27610c1f07e0b2bb3de3;hb=144c23893ec580eed1a38b2fd577b4bd4ebf491d;hp=83b019fdc7ca71a2d4be38dfe5ff8abb968de67d;hpb=80a5b023267e45b58e7a3fe3b495d6317943080b;p=ira%2Fwip.git diff --git a/source3/VERSION b/source3/VERSION index 83b019fdc7c..51bb2b1ab44 100644 --- a/source3/VERSION +++ b/source3/VERSION @@ -1,6 +1,12 @@ ######################################################## # SAMBA Version # # # +# Samba versions are as follows # +# 3.0.x New production series # +# 3.0.x{pre,rc}y Preview/Testing & RC # +# 3.0.x[a-z] Patch releases # +# 3.0.x[a-z]-VENDOR-z Vendor patch releases # +# # # script/mkversion.sh # # will use this file to create # # include/version.h # @@ -18,8 +24,19 @@ # -> "3.0.0" # ######################################################## SAMBA_VERSION_MAJOR=3 -SAMBA_VERSION_MINOR=0 -SAMBA_VERSION_RELEASE=10 +SAMBA_VERSION_MINOR=6 +SAMBA_VERSION_RELEASE=0 + +######################################################## +# Bug fix releases use a letter for the patch revision # +# # +# so SAMBA's version will be # +# .. # +# # +# e.g. SAMBA_VERSION_REVISION=a # +# -> "2.2.8a" # +######################################################## +SAMBA_VERSION_REVISION= ######################################################## # For 'pre' releases the version will be # @@ -29,7 +46,7 @@ SAMBA_VERSION_RELEASE=10 # e.g. SAMBA_VERSION_PRE_RELEASE=1 # # -> "2.2.9pre1" # ######################################################## -SAMBA_VERSION_PRE_RELEASE=1 +SAMBA_VERSION_PRE_RELEASE= ######################################################## # For 'rc' releases the version will be # @@ -51,12 +68,10 @@ SAMBA_VERSION_RC_RELEASE= # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes # # -> "3.0.0-SVN-build-199" # ######################################################## -SAMBA_VERSION_IS_SVN_SNAPSHOT=yes +SAMBA_VERSION_IS_GIT_SNAPSHOT=yes ######################################################## # This can be set by vendors if they want... # -# This can be a string constant or a function which # -# returns a string (const char *) # # # # ..[...]- # # # @@ -65,17 +80,26 @@ SAMBA_VERSION_IS_SVN_SNAPSHOT=yes # e.g. SAMBA_VERSION_VENDOR_SUFFIX="VendorVersion" # # -> "CVS 3.0.0rc2-VendorVersion" # # # -# Note: If you want to use a function, # -# then patch lib/version.c and add this function # -# there, because the symbol must be available in # -# binary. # +# Note: If you want to use a function, take a look at # +# SAMBA_VERSION_VENDOR_FUNCTION # # # -# const char *vendor_version(void) # +######################################################## +SAMBA_VERSION_VENDOR_SUFFIX="devel" +SAMBA_VERSION_VENDOR_PATCH= + +######################################################## +# This can be set by vendors if they want.. # +# This have to be a function which returns a string # +# (const char *). # +# # +# Patch for example lib/version.c and add something # +# like the following example: # +# # +# const char *samba_vendor_version(void) # # { # -# return "VendorVersion"; # +# return SAMBA_VERSION_OFFICIAL_STRING "-ENREDO-1.0" # # } # # # -# e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version() # -# -> "CVS 3.0.0rc2-VendorVersion" # +# -> "Version 3.2.0-ENREDO-1.0 # ######################################################## -SAMBA_VERSION_VENDOR_SUFFIX= +SAMBA_VERSION_VENDOR_FUNCTION=