Skip to content

Conversation

@carlsmedstad
Copy link
Contributor

I'm currently rebuilding osquery for Boost 1.87 on Arch Linux and have produced this compatibility patch.

These changes are not backwards compatible with Boost 1.86, but that could be fixed with some #if BOOST_VERSION checks if needed. Let me know if that's the case.

Thanks!

@carlsmedstad carlsmedstad requested review from a team as code owners January 21, 2025 08:58
Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

The changes make sense to me based on the documented deprecations and removals.

@alessandrogario @Smjert do we need to update the submodule to be building with 1.87?

client_options_.remote_hostname_->c_str());

ssl_sock_->set_verify_callback(boost::asio::ssl::rfc2818_verification(
ssl_sock_->set_verify_callback(boost::asio::ssl::host_name_verification(
Copy link
Member

Choose a reason for hiding this comment

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

{
boost::system::error_code rc;
ioc_.run(rc);
ioc_.reset();
Copy link
Member

Choose a reason for hiding this comment

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


{
boost::system::error_code rc;
ioc_.run(rc);
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

We just discussed in office hours. As far as we can tell, the changes ARE compatible with boost 1.86. @carlsmedstad did we miss something?

Going to go ahead and merge this, but not bumping Boost at this time because we'd want to do some extensive testing.

@zwass zwass changed the title Booost 1.87 compatibility Boost 1.87 compatibility Mar 25, 2025
@zwass zwass merged commit 4ea1054 into osquery:master Mar 25, 2025
22 checks passed
@carlsmedstad
Copy link
Contributor Author

We just discussed in office hours. As far as we can tell, the changes ARE compatible with boost 1.86. @carlsmedstad did we miss something?

Don't have time to look into it again, but it's likely I mistakenly thought it wasn't backwards compatible.

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.

2 participants