Home | History | Annotate | Line # | Download | only in man7
      1  1.1  christos =pod
      2  1.1  christos 
      3  1.1  christos =head1 NAME
      4  1.1  christos 
      5  1.1  christos VERSION - OpenSSL version information
      6  1.1  christos 
      7  1.1  christos =head1 SYNOPSIS
      8  1.1  christos 
      9  1.1  christos  MAJOR=3
     10  1.1  christos  MINOR=0
     11  1.1  christos  PATCH=0
     12  1.1  christos  PRE_RELEASE_TAG=dev
     13  1.1  christos  BUILD_METADATA=
     14  1.1  christos  RELEASE_DATE=
     15  1.1  christos  SHLIB_VERSION=3
     16  1.1  christos 
     17  1.1  christos =head1 DESCRIPTION
     18  1.1  christos 
     19  1.1  christos This file is a set of keyed information looking like simple variable
     20  1.1  christos assignments.  When given an empty value, they are seen as unassigned.
     21  1.1  christos The keys that are recognised are:
     22  1.1  christos 
     23  1.1  christos =over 4
     24  1.1  christos 
     25  1.1  christos =item B<MAJOR>, B<MINOR>, B<PATCH>
     26  1.1  christos 
     27  1.1  christos The three parts of OpenSSL's 3 numbered version number, MAJOR.MINOR.PATCH.
     28  1.1  christos These are used to compose the values for the C macros B<OPENSSL_VERSION_MAJOR>,
     29  1.1  christos B<OPENSSL_VERSION_MINOR>, B<OPENSSL_VERSION_PACTH>.
     30  1.1  christos 
     31  1.1  christos =item B<PRE_RELEASE_TAG>
     32  1.1  christos 
     33  1.1  christos This is the added pre-release tag, which is added to the version separated by
     34  1.1  christos a dash.  For a value C<foo>, the C macro B<OPENSSL_VERSION_PRE_RELEASE> gets
     35  1.1  christos the string C<-foo> (dash added).
     36  1.1  christos 
     37  1.1  christos =item B<BUILD_METADATA>
     38  1.1  christos 
     39  1.1  christos Extra metadata to be used by anyone for their own purposes.  This is added to
     40  1.1  christos the version and possible pre-release tag, separated by a plus sign.  For a
     41  1.1  christos value C<bar>, the C macro B<OPENSSL_VERSION_BUILD_METADATA> gets the string
     42  1.1  christos C<+bar>.
     43  1.1  christos 
     44  1.1  christos =item B<RELEASE_DATE>
     45  1.1  christos 
     46  1.1  christos Defined in releases.  When not set, it gets the value C<xx XXX xxxx>.
     47  1.1  christos 
     48  1.1  christos =item B<SHLIB_VERSION>
     49  1.1  christos 
     50  1.1  christos The shared library version, which is something other than the project version.
     51  1.1  christos 
     52  1.1  christos =back
     53  1.1  christos 
     54  1.1  christos It is a configuration error if B<MAJOR>, B<MINOR>, B<PATCH> and B<SHLIB_VERSION>
     55  1.1  christos don't have values.  Configuration will stop in that case.
     56  1.1  christos 
     57  1.1  christos =head2 Affected configuration data
     58  1.1  christos 
     59  1.1  christos The following items in %config from F<configdata.pm> are affected:
     60  1.1  christos 
     61  1.1  christos =over 4
     62  1.1  christos 
     63  1.1  christos =item $config{major}, $config{minor}, $config{patch}, $config{shlib_version}
     64  1.1  christos 
     65  1.1  christos These items get their values from B<MAJOR>, B<MINOR>, B<PATCH>, and
     66  1.1  christos B<SHLIB_VERSION>, respectively.
     67  1.1  christos 
     68  1.1  christos =item $config{prerelease}
     69  1.1  christos 
     70  1.1  christos If B<PRERELEASE> is assigned a value, $config{prerelease} gets that same value,
     71  1.1  christos prefixed by a dash, otherwise the empty string.
     72  1.1  christos 
     73  1.1  christos =item $config{build_metadata}
     74  1.1  christos 
     75  1.1  christos If B<BUILD_METADATA> is assigned a value, $config{build_metadata} gets that same
     76  1.1  christos value, prefixed by a plus sign, otherwise the empty string.
     77  1.1  christos 
     78  1.1  christos =item $config{release_date}
     79  1.1  christos 
     80  1.1  christos If B<RELEASE_DATE> is assigned a value, $config{release_date} gets that same
     81  1.1  christos value, otherwise the string C<xx XXX yyyy>.
     82  1.1  christos 
     83  1.1  christos =item $config{version}
     84  1.1  christos 
     85  1.1  christos The minimal version number, a string composed from B<MAJOR>, B<MINOR> and
     86  1.1  christos B<PATCH>, separated by periods.  For C<MAJOR=3>, C<MINOR=0> and C<PATCH=0>,
     87  1.1  christos the string will be C<3.0.0>.
     88  1.1  christos 
     89  1.1  christos =item $config{full_version}
     90  1.1  christos 
     91  1.1  christos The fully loaded version number, a string composed from $config{version},
     92  1.1  christos $config{prerelease} and $config{build_metadata}.  See   See L</EXAMPLES> for
     93  1.1  christos a few examples.
     94  1.1  christos 
     95  1.1  christos =back
     96  1.1  christos 
     97  1.1  christos =head1 EXAMPLES
     98  1.1  christos 
     99  1.1  christos =over 4
    100  1.1  christos 
    101  1.1  christos =item 1.
    102  1.1  christos 
    103  1.1  christos  MAJOR=3
    104  1.1  christos  MINOR=0
    105  1.1  christos  PATCH=0
    106  1.1  christos  PRE_RELEASE_TAG=dev
    107  1.1  christos  BUILD_METADATA=
    108  1.1  christos 
    109  1.1  christos The fully loaded version number ($config{full_version}) will be
    110  1.1  christos C<3.0.0-dev>.
    111  1.1  christos 
    112  1.1  christos =item 2.
    113  1.1  christos 
    114  1.1  christos  MAJOR=3
    115  1.1  christos  MINOR=0
    116  1.1  christos  PATCH=0
    117  1.1  christos  PRE_RELEASE_TAG=
    118  1.1  christos  BUILD_METADATA=something
    119  1.1  christos 
    120  1.1  christos The fully loaded version number ($config{full_version}) will be
    121  1.1  christos C<3.0.0+something>.
    122  1.1  christos 
    123  1.1  christos =item 3.
    124  1.1  christos 
    125  1.1  christos  MAJOR=3
    126  1.1  christos  MINOR=0
    127  1.1  christos  PATCH=0
    128  1.1  christos  PRE_RELEASE_TAG=alpha3
    129  1.1  christos  BUILD_METADATA=something
    130  1.1  christos 
    131  1.1  christos The fully loaded version number ($config{full_version}) will be
    132  1.1  christos C<3.0.0-alpha3+something>.
    133  1.1  christos 
    134  1.1  christos =back
    135  1.1  christos 
    136  1.1  christos =head1 SEE ALSO
    137  1.1  christos 
    138  1.1  christos L<OpenSSL_version(3)>
    139  1.1  christos 
    140  1.1  christos =head1 COPYRIGHT
    141  1.1  christos 
    142  1.1  christos Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
    143  1.1  christos 
    144  1.1  christos Licensed under the Apache License 2.0 (the "License").  You may not use
    145  1.1  christos this file except in compliance with the License.  You can obtain a copy
    146  1.1  christos in the file LICENSE in the source distribution or at
    147  1.1  christos L<https://www.openssl.org/source/license.html>.
    148  1.1  christos 
    149  1.1  christos =cut
    150