Skip to content

Commit

Permalink
Rename NOTES*, README*, VERSION, HACKING, LICENSE to .md or .txt
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from openssl#12109)
  • Loading branch information
DDvO committed Jul 5, 2020
1 parent 915e7e7 commit 036cbb6
Show file tree
Hide file tree
Showing 47 changed files with 313 additions and 107 deletions.
28 changes: 18 additions & 10 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,13 @@ OpenSSL 3.0

*Richard Levitte*

* The main project documents (README, NEWS, CHANGES, INSTALL, SUPPORT)
* Project text documents not yet having a proper file name extension
(HACKING, LICENSE, NOTES*, README*, VERSION) have been renamed to *.md
as far as reasonable, else to *.txt, for better use with file managers.

*David von Oheimb*

* The main project documents (README, NEWS, CHANGES, INSTALL, SUPPORT)
have been converted to Markdown with the goal to produce documents
which not only look pretty when viewed online in the browser, but
remain well readable inside a plain text editor.
Expand Down Expand Up @@ -3104,12 +3110,12 @@ OpenSSL 1.1.0

* State machine rewrite. The state machine code has been significantly
refactored in order to remove much duplication of code and solve issues
with the old code (see ssl/statem/README for further details). This change
does have some associated API changes. Notably the SSL_state() function
has been removed and replaced by SSL_get_state which now returns an
"OSSL_HANDSHAKE_STATE" instead of an int. SSL_set_state() has been removed
altogether. The previous handshake states defined in ssl.h and ssl3.h have
also been removed.
with the old code (see [ssl/statem/README.md](ssl/statem/README.md) for
further details). This change does have some associated API changes.
Notably the SSL_state() function has been removed and replaced by
SSL_get_state which now returns an "OSSL_HANDSHAKE_STATE" instead of an int.
SSL_set_state() has been removed altogether. The previous handshake states
defined in ssl.h and ssl3.h have also been removed.

*Matt Caswell*

Expand Down Expand Up @@ -11587,7 +11593,8 @@ OpenSSL 0.9.7.]
of specific crypto interfaces. This change also introduces integrated
support for symmetric ciphers and digest implementations - so ENGINEs
can now accelerate these by providing EVP_CIPHER and EVP_MD
implementations of their own. This is detailed in crypto/engine/README
implementations of their own. This is detailed in
[crypto/engine/README.md](crypto/engine/README.md)
as it couldn't be adequately described here. However, there are a few
API changes worth noting - some RSA, DSA, DH, and RAND functions that
were changed in the original introduction of ENGINE code have now
Expand Down Expand Up @@ -11663,7 +11670,7 @@ OpenSSL 0.9.7.]
makes them more flexible to be built both as statically-linked ENGINEs
and self-contained shared-libraries loadable via the "dynamic" ENGINE.
Also, add stub code to each that makes building them as self-contained
shared-libraries easier (see README.ENGINE).
shared-libraries easier (see [README-Engine.md](README-Engine.md)).

*Geoff Thorpe*

Expand All @@ -11672,7 +11679,8 @@ OpenSSL 0.9.7.]
self-contained shared-libraries. The "dynamic" ENGINE exposes control
commands that can be used to configure what shared-library to load and
to control aspects of the way it is handled. Also, made an update to
the README.ENGINE file that brings its information up-to-date and
the [README-Engine.md](README-Engine.md) file
that brings its information up-to-date and
provides some information and instructions on the "dynamic" ENGINE
(ie. how to use it, how to build "dynamic"-loadable ENGINEs, etc).

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ guidelines:

5. When at all possible, patches should include tests. These can
either be added to an existing test, or completely new. Please see
test/README for information on the test framework.
test/README.md for information on the test framework.

6. New features or changed functionality must include
documentation. Please look at the "pod" files in doc/man[1357] for
Expand Down
2 changes: 1 addition & 1 deletion Configurations/15-android.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#### Android...
#
# See NOTES.ANDROID for details, and don't miss platform-specific
# See NOTES-Android.md for details, and don't miss platform-specific
# comments below...

{
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Configure
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ foreach ( reverse sort( 'aes', 'aria', 'bf', 'camellia', 'cast', 'des', 'dh',
my %version = ();

collect_information(
collect_from_file(catfile($srcdir,'VERSION')),
collect_from_file(catfile($srcdir,'VERSION.dat')),
qr/\s*(\w+)\s*=\s*(.*?)\s*$/ =>
sub {
# Only define it if there is a value at all
Expand All @@ -314,7 +314,7 @@ collect_information(
}
},
"OTHERWISE" =>
sub { die "Something wrong with this line:\n$_\nin $srcdir/VERSION" },
sub { die "Something wrong with this line:\n$_\nin $srcdir/VERSION.dat" },
);

$config{major} = $version{MAJOR} // 'unknown';
Expand All @@ -330,7 +330,7 @@ $config{release_date} = $version{RELEASE_DATE} // 'xx XXX xxxx';
$config{version} = "$config{major}.$config{minor}.$config{patch}";
$config{full_version} = "$config{version}$config{prerelease}$config{build_metadata}";

die "erroneous version information in VERSION: ",
die "erroneous version information in VERSION.dat: ",
"$config{version}, $config{shlib_version}\n"
unless (defined $version{MAJOR}
&& defined $version{MINOR}
Expand Down
File renamed without changes.
34 changes: 19 additions & 15 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ external test suites are currently supported:
- Python PYCA/Cryptography test suite
- krb5 test suite

See the file [test/README.external](test/README.external) for further details.
See the file [test/README-external.md](test/README-external.md)
for further details.

### no-filenames

Expand Down Expand Up @@ -1152,8 +1153,8 @@ run:
If your system isn't listed, you will have to create a configuration
file named `Configurations/{{ something }}.conf` and add the correct
configuration for your system. See the available configs as examples
and read [Configurations/README](Configurations/README)
and [Configurations/README.design](Configurations/README.design)
and read [Configurations/README.md](Configurations/README.md) and
[Configurations/README-design.md](Configurations/README-design.md)
for more information.

The generic configurations `cc` or `gcc` should usually work on 32 bit
Expand Down Expand Up @@ -1223,7 +1224,9 @@ be tested. Run:
**Warning:** you MUST run the tests from an unprivileged account (or disable
your privileges temporarily if your platform allows it).

See the file [test/README.md](test/README.md) for further details.
See [test/README.md](test/README.md) for further details how run tests.

See [test/README-dev.md](test/README-dev.md) for guidelines on adding tests.

Install OpenSSL
---------------
Expand Down Expand Up @@ -1359,7 +1362,8 @@ over the build process. Typically these should be defined prior to running
Use a different build file name than the platform default
("Makefile" on Unix-like platforms, "makefile" on native Windows,
"descrip.mms" on OpenVMS). This requires that there is a
corresponding build file template. See Configurations/README
corresponding build file template.
See [Configurations/README.md](Configurations/README.md)
for further information.

CC
Expand All @@ -1382,15 +1386,15 @@ over the build process. Typically these should be defined prior to running
templates for those platforms. The database is comprised of
".conf" files in the Configurations directory. The build
file templates reside there as well as ".tmpl" files. See the
file Configurations/README for further information about the
format of ".conf" files as well as information on the ".tmpl"
files.
file [Configurations/README.md](Configurations/README.md)
for further information about the format of ".conf" files
as well as information on the ".tmpl" files.
In addition to the standard ".conf" and ".tmpl" files, it is
possible to create your own ".conf" and ".tmpl" files and store
them locally, outside the OpenSSL source tree. This environment
variable can be set to the directory where these files are held
and will be considered by Configure before it looks in the
standard directories.
possible to create your own ".conf" and ".tmpl" files and
store them locally, outside the OpenSSL source tree.
This environment variable can be set to the directory where
these files are held and will be considered by Configure
before it looks in the standard directories.

PERL
The name of the Perl executable to use when building OpenSSL.
Expand Down Expand Up @@ -1534,8 +1538,8 @@ known targets. Using `grep`, you can lookup the target definition in the
The directory contains two README files, which explain the general syntax and
design of the configuration files.

- [Configurations/README](Configurations/README)
- [Configurations/README.design](Configurations/README.design)
- [Configurations/README.md](Configurations/README.md)
- [Configurations/README-design.md](Configurations/README-design.md)

If you need further help, try to search the [openssl-users][] mailing list
or the [GitHub Issues][] for existing solutions. If you don't find anything,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ OpenSSL 0.9.x
* Enhanced EVP interface.

[1] The support for external crypto devices is currently a separate
distribution. See the file README.ENGINE.
distribution. See the file README-Engine.md.

### Major changes between OpenSSL 0.9.5 and OpenSSL 0.9.5a [1 Apr 2000]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ OpenSSL is licensed under the Apache License 2.0, which means that
you are free to get and use it for commercial and non-commercial
purposes as long as you fulfill its conditions.

See the [LICENSE](LICENSE) file for more details.
See the [LICENSE.txt](LICENSE.txt) file for more details.

Support
=======
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MAJOR=3
MINOR=0
PATCH=0
PRE_RELEASE_TAG=alpha4-dev
BUILD_METADATA=
RELEASE_DATE=""
SHLIB_VERSION=3
2 changes: 1 addition & 1 deletion config.com
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Usage: @config [options]
-h This help.

Any other text will be passed to the Configure perl script.
See INSTALL for instructions.
See INSTALL.md for instructions.

$ EOD
$ ENDIF
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion demos/README → demos/README.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NOTE: Don't expect any of these programs to work with current
OpenSSL releases, or even with later SSLeay releases.

Original README:
Original README.md:
=============================================================================

Some demo programs sent to me by various people
Expand Down
1 change: 0 additions & 1 deletion demos/bio/README → demos/bio/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ to simplify socket programming.
The client-conf, server-conf, client-arg and client-conf include examples
of how to use the SSL_CONF API for configuration file or command line
processing.

3 changes: 0 additions & 3 deletions demos/certs/README → demos/certs/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@ client certificates.

The script ocspquery.sh queries the status of the certificates using the
test responder.



File renamed without changes.
4 changes: 2 additions & 2 deletions dev/release-aux/release-version-fn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# OpenSSL source directory as value.

get_version () {
eval $(git cat-file blob HEAD:VERSION)
eval $(git cat-file blob HEAD:VERSION.dat)
VERSION="$MAJOR.$MINOR.$PATCH"
SERIES="$MAJOR.$MINOR"
TYPE=$( echo "$PRE_RELEASE_TAG" \
Expand Down Expand Up @@ -102,7 +102,7 @@ set_version () {
PRE_RELEASE_TAG="$PRE_LABEL$PRE_NUM"
;;
esac
cat > "$SOURCEDIR/VERSION" <<EOF
cat > "$SOURCEDIR/VERSION.dat" <<EOF
MAJOR=$MAJOR
MINOR=$MINOR
PATCH=$PATCH
Expand Down
2 changes: 1 addition & 1 deletion dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ B<release.sh> recognises both forms.
=head1 VERSION AND STATE
With OpenSSL 3.0, all the version and state information is in the file
F<VERSION>, where the following variables are used and changed:
F<VERSION.dat>, where the following variables are used and changed:
=over 4
Expand Down
2 changes: 1 addition & 1 deletion doc/README → doc/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

README This file
README.md This file

fingerprints.txt
PGP fingerprints of authorised release signers
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 036cbb6

Please sign in to comment.