From 130caa6f323659550c1d5bd0055f537c9a2dd719 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 1 Nov 2019 15:16:19 -0400 Subject: WIP: openssl100 beginning Still struggling with Installed (but unpackaged) file(s) found: /usr/lib64/libcrypto.so.10 /usr/lib64/libssl.so.10 --- openssl100/0001-stackrpms.patch | 416 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 416 insertions(+) create mode 100644 openssl100/0001-stackrpms.patch (limited to 'openssl100/0001-stackrpms.patch') diff --git a/openssl100/0001-stackrpms.patch b/openssl100/0001-stackrpms.patch new file mode 100644 index 0000000..273df1b --- /dev/null +++ b/openssl100/0001-stackrpms.patch @@ -0,0 +1,416 @@ +Source: https://raw.githubusercontent.com/lanewittgen/hashstack/bf94a5ed81ba42020bb8247dc7e87b19dc05a0ba/pkgs/openssl/0001-POD-Fix-item-numbering.patch +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/apps/cms.pod openssl-1.0.0/doc/apps/cms.pod +--- openssl-1.0.0-pristine/doc/apps/cms.pod 2009-09-30 19:40:37.000000000 -0400 ++++ openssl-1.0.0/doc/apps/cms.pod 2019-11-01 11:58:55.835398205 -0400 +@@ -450,28 +450,28 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + the operation was completely successfully. + +-=item 1 ++=item Z<>1 + + an error occurred parsing the command options. + +-=item 2 ++=item Z<>2 + + one of the input files could not be read. + +-=item 3 ++=item Z<>3 + + an error occurred creating the CMS file or when reading the MIME + message. + +-=item 4 ++=item Z<>4 + + an error occurred decrypting or verifying the message. + +-=item 5 ++=item Z<>5 + + the message was verified correctly but an error occurred writing out + the signers certificates. +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/apps/smime.pod openssl-1.0.0/doc/apps/smime.pod +--- openssl-1.0.0-pristine/doc/apps/smime.pod 2009-09-30 19:40:39.000000000 -0400 ++++ openssl-1.0.0/doc/apps/smime.pod 2019-11-01 11:58:55.836398217 -0400 +@@ -308,28 +308,28 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + the operation was completely successfully. + +-=item 1 ++=item Z<>1 + + an error occurred parsing the command options. + +-=item 2 ++=item Z<>2 + + one of the input files could not be read. + +-=item 3 ++=item Z<>3 + + an error occurred creating the PKCS#7 file or when reading the MIME + message. + +-=item 4 ++=item Z<>4 + + an error occurred decrypting or verifying the message. + +-=item 5 ++=item Z<>5 + + the message was verified correctly but an error occurred writing out + the signers certificates. +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_accept.pod openssl-1.0.0/doc/ssl/SSL_accept.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_accept.pod 2003-06-03 05:59:44.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_accept.pod 2019-11-01 12:00:46.194679206 -0400 +@@ -44,12 +44,12 @@ + + =over 4 + +-=item 1 ++=item Z<>1 + + The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been + established. + +-=item 0 ++=item Z<>0 + + The TLS/SSL handshake was not successful but was shut down controlled and + by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_clear.pod openssl-1.0.0/doc/ssl/SSL_clear.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_clear.pod 2002-02-27 03:08:57.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_clear.pod 2019-11-01 11:58:55.842398287 -0400 +@@ -50,12 +50,12 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The SSL_clear() operation could not be performed. Check the error stack to + find out the reason. + +-=item 1 ++=item Z<>1 + + The SSL_clear() operation was successful. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_COMP_add_compression_method.pod openssl-1.0.0/doc/ssl/SSL_COMP_add_compression_method.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_COMP_add_compression_method.pod 2003-11-29 05:33:25.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_COMP_add_compression_method.pod 2019-11-01 11:58:55.836398217 -0400 +@@ -53,11 +53,11 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The operation succeeded. + +-=item 1 ++=item Z<>1 + + The operation failed. Check the error queue to find out the reason. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_connect.pod openssl-1.0.0/doc/ssl/SSL_connect.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_connect.pod 2003-06-03 05:59:44.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_connect.pod 2019-11-01 12:00:52.392751147 -0400 +@@ -41,12 +41,12 @@ + + =over 4 + +-=item 1 ++=item Z<>1 + + The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been + established. + +-=item 0 ++=item Z<>0 + + The TLS/SSL handshake was not successful but was shut down controlled and + by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_add_session.pod openssl-1.0.0/doc/ssl/SSL_CTX_add_session.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_add_session.pod 2002-10-28 19:33:01.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_add_session.pod 2019-11-01 11:58:55.837398228 -0400 +@@ -52,13 +52,13 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The operation failed. In case of the add operation, it was tried to add + the same (identical) session twice. In case of the remove operation, the + session was not found in the cache. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_load_verify_locations.pod openssl-1.0.0/doc/ssl/SSL_CTX_load_verify_locations.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_load_verify_locations.pod 2001-09-07 02:13:39.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_load_verify_locations.pod 2019-11-01 11:58:55.837398228 -0400 +@@ -100,13 +100,13 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The operation failed because B and B are NULL or the + processing at one of the locations specified failed. Check the error + stack to find out the reason. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_client_CA_list.pod openssl-1.0.0/doc/ssl/SSL_CTX_set_client_CA_list.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_client_CA_list.pod 2001-04-12 12:02:34.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_set_client_CA_list.pod 2019-11-01 12:00:41.054619541 -0400 +@@ -66,11 +66,11 @@ + + =over 4 + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +-=item 0 ++=item Z<>0 + + A failure while manipulating the STACK_OF(X509_NAME) object occurred or + the X509_NAME could not be extracted from B. Check the error stack +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_session_id_context.pod openssl-1.0.0/doc/ssl/SSL_CTX_set_session_id_context.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_session_id_context.pod 2004-06-14 09:27:28.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_set_session_id_context.pod 2019-11-01 11:58:55.839398252 -0400 +@@ -64,13 +64,13 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The length B of the session id context B exceeded + the maximum allowed length of B. The error + is logged to the error stack. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_ssl_version.pod openssl-1.0.0/doc/ssl/SSL_CTX_set_ssl_version.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_set_ssl_version.pod 2005-08-14 17:48:32.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_set_ssl_version.pod 2019-11-01 11:58:55.839398252 -0400 +@@ -42,11 +42,11 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The new choice failed, check the error stack to find out the reason. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_CTX_use_psk_identity_hint.pod openssl-1.0.0/doc/ssl/SSL_CTX_use_psk_identity_hint.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_CTX_use_psk_identity_hint.pod 2006-03-10 18:06:17.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_CTX_use_psk_identity_hint.pod 2019-11-01 13:23:45.440209021 -0400 +@@ -81,7 +81,9 @@ + + Return values from the server callback are interpreted as follows: + +-=item > 0 ++=over 4 ++ ++=item E 0 + + PSK identity was found and the server callback has provided the PSK + successfully in parameter B. Return value is the length of +@@ -94,9 +96,11 @@ + connection will fail with decryption_error before it will be finished + completely. + +-=item 0 ++=item Z<>0 + + PSK identity was not found. An "unknown_psk_identity" alert message + will be sent and the connection setup fails. + ++=back ++ + =cut +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_do_handshake.pod openssl-1.0.0/doc/ssl/SSL_do_handshake.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_do_handshake.pod 2002-07-19 07:05:49.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_do_handshake.pod 2019-11-01 12:00:32.635521816 -0400 +@@ -45,12 +45,12 @@ + + =over 4 + +-=item 1 ++=item Z<>1 + + The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been + established. + +-=item 0 ++=item Z<>0 + + The TLS/SSL handshake was not successful but was shut down controlled and + by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_read.pod openssl-1.0.0/doc/ssl/SSL_read.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_read.pod 2008-08-01 11:03:20.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_read.pod 2019-11-01 11:58:55.845398321 -0400 +@@ -86,7 +86,7 @@ + The read operation was successful; the return value is the number of + bytes actually read from the TLS/SSL connection. + +-=item 0 ++=item Z<>0 + + The read operation was not successful. The reason may either be a clean + shutdown due to a "close notify" alert sent by the peer (in which case +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_session_reused.pod openssl-1.0.0/doc/ssl/SSL_session_reused.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_session_reused.pod 2001-07-20 14:57:15.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_session_reused.pod 2019-11-01 11:58:55.845398321 -0400 +@@ -27,11 +27,11 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + A new session was negotiated. + +-=item 1 ++=item Z<>1 + + A session was reused. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_set_fd.pod openssl-1.0.0/doc/ssl/SSL_set_fd.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_set_fd.pod 2000-09-16 12:00:38.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_set_fd.pod 2019-11-01 11:58:55.846398333 -0400 +@@ -35,11 +35,11 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The operation failed. Check the error stack to find out why. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_set_session.pod openssl-1.0.0/doc/ssl/SSL_set_session.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_set_session.pod 2001-10-12 08:29:16.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_set_session.pod 2019-11-01 11:58:55.846398333 -0400 +@@ -37,11 +37,11 @@ + + =over 4 + +-=item 0 ++=item Z<>0 + + The operation failed; check the error stack to find out the reason. + +-=item 1 ++=item Z<>1 + + The operation succeeded. + +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_shutdown.pod openssl-1.0.0/doc/ssl/SSL_shutdown.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_shutdown.pod 2004-11-14 08:55:16.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_shutdown.pod 2019-11-01 12:00:16.723337115 -0400 +@@ -92,12 +92,12 @@ + + =over 4 + +-=item 1 ++=item Z<>1 + + The shutdown was successfully completed. The "close notify" alert was sent + and the peer's "close notify" alert was received. + +-=item 0 ++=item Z<>0 + + The shutdown is not yet finished. Call SSL_shutdown() for a second time, + if a bidirectional shutdown shall be performed. +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_write.pod openssl-1.0.0/doc/ssl/SSL_write.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_write.pod 2002-07-19 07:53:54.000000000 -0400 ++++ openssl-1.0.0/doc/ssl/SSL_write.pod 2019-11-01 11:58:55.848398356 -0400 +@@ -79,7 +79,7 @@ + The write operation was successful, the return value is the number of + bytes actually written to the TLS/SSL connection. + +-=item 0 ++=item Z<>0 + + The write operation was not successful. Probably the underlying connection + was closed. Call SSL_get_error() with the return value B to find out, +Patchset: build-on-fedora-30 +Source: bgstack15 +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/apps/genpkey.pod openssl-1.0.0/doc/apps/genpkey.pod +--- openssl-1.0.0-pristine/doc/apps/genpkey.pod 2009-04-10 12:42:27.000000000 -0400 ++++ openssl-1.0.0/doc/apps/genpkey.pod 2019-11-01 12:50:26.076673985 -0400 +@@ -114,6 +114,8 @@ + + The number of bits in the generated parameters. If not specified 1024 is used. + ++=back ++ + =head1 DH PARAMETER GENERATION OPTIONS + + =over 4 +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/crypto/X509_STORE_CTX_get_error.pod openssl-1.0.0/doc/crypto/X509_STORE_CTX_get_error.pod +--- openssl-1.0.0-pristine/doc/crypto/X509_STORE_CTX_get_error.pod 2009-10-18 11:28:59.000000000 -0400 ++++ openssl-1.0.0/doc/crypto/X509_STORE_CTX_get_error.pod 2019-11-01 12:54:43.346691887 -0400 +@@ -278,6 +278,8 @@ + an application specific error. This will never be returned unless explicitly + set by an application. + ++=back ++ + =head1 NOTES + + The above functions should be used instead of directly referencing the fields +Source: https://github.com/openssl/openssl/commit/fe7573042fa7f406fedb78d959659b39a7a1dcfb +diff -x '*.rej' -x '*.orig' -Naur openssl-1.0.0-pristine/doc/ssl/SSL_shutdown.pod openssl-1.0.0/doc/ssl/SSL_shutdown.pod +--- openssl-1.0.0-pristine/doc/ssl/SSL_shutdown.pod 2004-11-14 08:55:16.000000000 -0500 ++++ openssl-1.0.0/doc/ssl/SSL_shutdown.pod 2019-11-01 13:02:57.224487411 -0400 +@@ -104,7 +104,7 @@ + The output of L may be misleading, as an + erroneous SSL_ERROR_SYSCALL may be flagged even though no error occurred. + +-=item -1 ++=item E0 + + The shutdown was not successful because a fatal error occurred either + at the protocol level or a connection failure occurred. It can also occur if -- cgit