Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

krb5: add library version 1.19.2 #16074

Merged
merged 37 commits into from
Jun 6, 2024
Merged

krb5: add library version 1.19.2 #16074

merged 37 commits into from
Jun 6, 2024

Conversation

xakod
Copy link
Contributor

@xakod xakod commented Feb 16, 2023

Specify library name and version: krb5/1.19.2


Closes #4102

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@xakod xakod closed this Feb 16, 2023
@xakod xakod reopened this Feb 16, 2023
@xakod xakod closed this Feb 16, 2023
@xakod xakod reopened this Feb 16, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Mar 18, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 18, 2023
@xakod xakod closed this Mar 20, 2023
@xakod xakod reopened this Mar 20, 2023
@stale stale bot removed the stale label Mar 20, 2023
@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Apr 25, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 25, 2023
@xakod xakod marked this pull request as draft May 8, 2023 22:14
@stale stale bot removed the stale label May 8, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Apr 5, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 5, 2024
@xakod
Copy link
Contributor Author

xakod commented Apr 10, 2024

@franramirez688 are there any chances for review?

@github-actions github-actions bot removed the stale label Apr 11, 2024
@xakod
Copy link
Contributor Author

xakod commented May 5, 2024

@RubenRBS sorry for ping. Can someone review it?

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jihadist Thank you for your PR! I submitted my suggestions to a PR, otherwise this PR would be very polluted: xakod#5

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

@Jihadist I'll take a look soon. I tested the current state of the recipe in Linux, locally and it's working. Let's see with official docker images to avoid any context from my machine.

@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member

@Jihadist I pushed some changes directly to your branch. Please, take a look in the commit e86a6a5

The linkage order is not respected when generating the k5tls, it uses other internal libraries that need openssl too, but openssl is passed as last argument in the list. It's possible to fix it, but it's another round to check with upstream.

For now, let's skip that configuration, using shared libraries is working fine.

Build log error:

: updated OBJS.SH
rm -f k5tls.so
building dynamic k5tls object
set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && gcc -shared -fPIC -Wl,-h,k5tls.so.0 -Wl,--no-undefined -o k5tls.so $objlist  -L../../../lib -lkrb5 -lkrb5support -L/home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib -lcrypto -lrt -L/home/uilian/.conan2/p/zlibcdd5270f9ab9f/p/lib -lz -lssl -ldl -lpthread  -m64 -L/home/uilian/.conan2/p/libvefefc13707f0f4/p/lib -L/home/uilian/.conan2/p/libev1ea723d423310/p/lib -L/home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib -L/home/uilian/.conan2/p/zlibcdd5270f9ab9f/p/lib -Wl,--version-script binutils.versions 
+ set -x
+ perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH
+ objlist= openssl.so notls.so
+ gcc -shared -fPIC -Wl,-h,k5tls.so.0 -Wl,--no-undefined -o k5tls.so openssl.so notls.so -L../../../lib -lkrb5 -lkrb5support -L/home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib -lcrypto -lrt -L/home/uilian/.conan2/p/zlibcdd5270f9ab9f/p/lib -lz -lssl -ldl -lpthread -m64 -L/home/uilian/.conan2/p/libvefefc13707f0f4/p/lib -L/home/uilian/.conan2/p/libev1ea723d423310/p/lib -L/home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib -L/home/uilian/.conan2/p/zlibcdd5270f9ab9f/p/lib -Wl,--version-script binutils.versions
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_cert_comp.o): in function `OSSL_COMP_CERT_from_uncompressed_data':
ssl_cert_comp.c:(.text+0x431): undefined reference to `COMP_CTX_free'
/usr/bin/ld: ssl_cert_comp.c:(.text+0x474): undefined reference to `COMP_CTX_new'
/usr/bin/ld: ssl_cert_comp.c:(.text+0x4bb): undefined reference to `COMP_compress_block'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_set_default_verify_dir':
ssl_lib.c:(.text+0x74c9): undefined reference to `X509_LOOKUP_hash_dir'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_set_default_verify_file':
ssl_lib.c:(.text+0x751e): undefined reference to `X509_LOOKUP_file'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_set_default_verify_store':
ssl_lib.c:(.text+0x758e): undefined reference to `X509_LOOKUP_store'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_get0_peer_scts':
ssl_lib.c:(.text+0x8cb0): undefined reference to `OCSP_response_get1_basic'
/usr/bin/ld: ssl_lib.c:(.text+0x8cce): undefined reference to `OCSP_resp_get0'
/usr/bin/ld: ssl_lib.c:(.text+0x8ce4): undefined reference to `OCSP_SINGLERESP_get1_ext_d2i'
/usr/bin/ld: ssl_lib.c:(.text+0x8d0a): undefined reference to `OCSP_resp_count'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `ssl_validate_ct':
ssl_lib.c:(.text+0x9045): undefined reference to `CT_POLICY_EVAL_CTX_new_ex'
/usr/bin/ld: ssl_lib.c:(.text+0x9070): undefined reference to `CT_POLICY_EVAL_CTX_set1_cert'
/usr/bin/ld: ssl_lib.c:(.text+0x907b): undefined reference to `CT_POLICY_EVAL_CTX_set1_issuer'
/usr/bin/ld: ssl_lib.c:(.text+0x908e): undefined reference to `CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE'
/usr/bin/ld: ssl_lib.c:(.text+0x90a9): undefined reference to `CT_POLICY_EVAL_CTX_set_time'
/usr/bin/ld: ssl_lib.c:(.text+0x9119): undefined reference to `CT_POLICY_EVAL_CTX_free'
/usr/bin/ld: ssl_lib.c:(.text+0x9158): undefined reference to `CT_POLICY_EVAL_CTX_free'
/usr/bin/ld: ssl_lib.c:(.text+0x919e): undefined reference to `CT_POLICY_EVAL_CTX_free'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_set_default_verify_paths':
ssl_lib.c:(.text+0x74b6): undefined reference to `X509_STORE_set_default_paths_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_load_verify_file':
ssl_lib.c:(.text+0x7606): undefined reference to `X509_STORE_load_file_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_load_verify_dir':
ssl_lib.c:(.text+0x7619): undefined reference to `X509_STORE_load_path'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_lib.o): in function `SSL_CTX_load_verify_store':
ssl_lib.c:(.text+0x7636): undefined reference to `X509_STORE_load_store_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-rec_layer_s3.o): in function `ssl_set_new_record_layer':
rec_layer_s3.c:(.text+0x2056): undefined reference to `BIO_s_dgram_mem'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_cert.o): in function `add_uris_recursive':
ssl_cert.c:(.text+0x156): undefined reference to `OSSL_STORE_open'
/usr/bin/ld: ssl_cert.c:(.text+0x174): undefined reference to `OSSL_STORE_eof'
/usr/bin/ld: ssl_cert.c:(.text+0x180): undefined reference to `OSSL_STORE_error'
/usr/bin/ld: ssl_cert.c:(.text+0x18c): undefined reference to `OSSL_STORE_load'
/usr/bin/ld: ssl_cert.c:(.text+0x19c): undefined reference to `OSSL_STORE_INFO_get_type'
/usr/bin/ld: ssl_cert.c:(.text+0x1ae): undefined reference to `OSSL_STORE_INFO_free'
/usr/bin/ld: ssl_cert.c:(.text+0x1b6): undefined reference to `OSSL_STORE_eof'
/usr/bin/ld: ssl_cert.c:(.text+0x1c7): undefined reference to `OSSL_STORE_close'
/usr/bin/ld: ssl_cert.c:(.text+0x1e8): undefined reference to `OSSL_STORE_INFO_get0_NAME'
/usr/bin/ld: ssl_cert.c:(.text+0x204): undefined reference to `OSSL_STORE_INFO_get0_CERT'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_ciph.o): in function `do_load_builtin_compressions_ossl_':
ssl_ciph.c:(.text+0x3a8): undefined reference to `COMP_get_type'
/usr/bin/ld: ssl_ciph.c:(.text+0x3e9): undefined reference to `COMP_get_name'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_ciph.o): in function `SSL_COMP_add_compression_method':
ssl_ciph.c:(.text+0x2bd1): undefined reference to `COMP_get_type'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_ciph.o): in function `SSL_COMP_get_name':
ssl_ciph.c:(.text+0x2d6a): undefined reference to `COMP_get_name'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-t1_lib.o): in function `ssl_get_auto_dh':
t1_lib.c:(.text+0x4100): undefined reference to `BN_get_rfc3526_prime_2048'
/usr/bin/ld: t1_lib.c:(.text+0x4141): undefined reference to `BN_get_rfc3526_prime_8192'
/usr/bin/ld: t1_lib.c:(.text+0x41c9): undefined reference to `BN_get_rfc3526_prime_4096'
/usr/bin/ld: t1_lib.c:(.text+0x41e9): undefined reference to `BN_get_rfc2409_prime_1024'
/usr/bin/ld: t1_lib.c:(.text+0x4271): undefined reference to `BN_get_rfc3526_prime_3072'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `ssl_srp_server_param_with_username_intern':
tls_srp.c:(.text+0x731): undefined reference to `SRP_Calc_B_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `SSL_set_srp_server_param_pw':
tls_srp.c:(.text+0x7cf): undefined reference to `SRP_get_default_gN'
/usr/bin/ld: tls_srp.c:(.text+0x85c): undefined reference to `SRP_create_verifier_BN_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `srp_generate_server_master_secret':
tls_srp.c:(.text+0xb48): undefined reference to `SRP_Verify_A_mod_N'
/usr/bin/ld: tls_srp.c:(.text+0xba2): undefined reference to `SRP_Calc_u_ex'
/usr/bin/ld: tls_srp.c:(.text+0xbd1): undefined reference to `SRP_Calc_server_key'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `srp_generate_client_master_secret':
tls_srp.c:(.text+0xca8): undefined reference to `SRP_Verify_B_mod_N'
/usr/bin/ld: tls_srp.c:(.text+0xcd4): undefined reference to `SRP_Calc_u_ex'
/usr/bin/ld: tls_srp.c:(.text+0xd28): undefined reference to `SRP_Calc_x_ex'
/usr/bin/ld: tls_srp.c:(.text+0xd63): undefined reference to `SRP_Calc_client_key_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `srp_verify_server_param':
tls_srp.c:(.text+0x104f): undefined reference to `SRP_check_known_gN_param'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_srp.o): in function `ssl_srp_calc_a_param_intern':
tls_srp.c:(.text+0x112e): undefined reference to `SRP_Calc_A'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls1_meth.o): in function `tls1_set_crypto_state':
tls1_meth.c:(.text+0x218): undefined reference to `COMP_CTX_new'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_common.o): in function `tls_int_free':
tls_common.c:(.text+0x5e6): undefined reference to `COMP_CTX_free'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_common.o): in function `tls_do_compress':
tls_common.c:(.text+0x25f3): undefined reference to `COMP_compress_block'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_common.o): in function `tls_do_uncompress':
tls_common.c:(.text+0x264e): undefined reference to `COMP_expand_block'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-tls_common.o): in function `tls_get_compression':
tls_common.c:(.text+0x381): undefined reference to `COMP_CTX_get_method'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-statem_clnt.o): in function `tls_construct_client_compressed_certificate':
statem_clnt.c:(.text+0x11f6): undefined reference to `COMP_CTX_free'
/usr/bin/ld: statem_clnt.c:(.text+0x137c): undefined reference to `COMP_CTX_new'
/usr/bin/ld: statem_clnt.c:(.text+0x13e7): undefined reference to `COMP_compress_block'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-statem_lib.o): in function `tls13_process_compressed_certificate':
statem_lib.c:(.text+0x56b7): undefined reference to `COMP_CTX_free'
/usr/bin/ld: statem_lib.c:(.text+0x5749): undefined reference to `COMP_CTX_new'
/usr/bin/ld: statem_lib.c:(.text+0x588e): undefined reference to `COMP_expand_block'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_ChainCAPath':
ssl_conf.c:(.text+0xfc8): undefined reference to `X509_STORE_load_path'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_ChainCAFile':
ssl_conf.c:(.text+0x108c): undefined reference to `X509_STORE_load_file_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_VerifyCAPath':
ssl_conf.c:(.text+0x1168): undefined reference to `X509_STORE_load_path'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_ChainCAStore':
ssl_conf.c:(.text+0x122c): undefined reference to `X509_STORE_load_store_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_VerifyCAStore':
ssl_conf.c:(.text+0x131c): undefined reference to `X509_STORE_load_store_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_conf.o): in function `cmd_VerifyCAFile':
ssl_conf.c:(.text+0x140c): undefined reference to `X509_STORE_load_file_ex'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_rsa.o): in function `SSL_CTX_use_certificate_chain_file':
ssl_rsa.c:(.text+0x1cc7): undefined reference to `PEM_read_bio_X509_AUX'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl_rsa.o): in function `SSL_use_certificate_chain_file':
ssl_rsa.c:(.text+0x1fe1): undefined reference to `PEM_read_bio_X509_AUX'
/usr/bin/ld: /home/uilian/.conan2/p/b/opens3911e469d37f6/p/lib/libssl.a(libssl-lib-ssl3_meth.o): in function `ssl3_set_crypto_state':
ssl3_meth.c:(.text+0x3b5): undefined reference to `COMP_CTX_new'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:670: k5tls.so] Error 1
make[1]: Leaving directory '/home/uilian/.conan2/p/b/krb509f4bcc5fe440/b/build-release/plugins/tls/k5tls'
make: *** [Makefile:1521: all-recurse] Error 1

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 3 (e86a6a5ea6f3b3a7f5c77491f39b727ba8006444):

  • krb5/1.21.2:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 3 (e86a6a5ea6f3b3a7f5c77491f39b727ba8006444):

  • krb5/1.21.2:
    All packages built successfully! (All logs)

@xakod
Copy link
Contributor Author

xakod commented Jun 6, 2024

@uilianries ok, I see, thank you! openssl need to fixed

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks for first version. So far we only build on Linux and as shared. There are several errors to build using other configurations, but could be checked with the upstream first.

@conan-center-bot conan-center-bot merged commit 27268ed into conan-io:master Jun 6, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[request] krb5/1.18.3
8 participants