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

Change the default for building with net-snmp from auto to no #13168

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented Aug 23, 2023

Short description

We have had a fair amount of issues with net-snmp adding unexpected and unwanted values to both CXXFLAGS and LDFLAGS, and it was just reported to also define HAVE_LIBSSL in its public header, which messes up our own feature detection. Therefore it is likely better for everyone to prevent net-snmp from being enabled without the user intending it. For our own packages we explicitly enable net-snmp when supported, and this commit also enables it in our CI for dnsdist (it was already done for the recursor) so it should not have any impact.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

We have had a fair amount of issues with `net-snmp` adding unexpected
and unwanted values to both `CXXFLAGS` and `LDFLAGS`, and it was just
reported to also define `HAVE_LIBSSL` is in public header, which messes
up our own feature detection. Therefore it is likely better for everyone
to prevent net-snmp from being enabled without the user intending it.
For our own packages we explicitly enable net-snmp when supported,
and this commit also enables it in our CI for dnsdist (it was already
done for the recursor) so it should not have any impact.
@rgacogne rgacogne added this to the dnsdist-1.9 milestone Aug 23, 2023
@rgacogne rgacogne requested review from Habbie and omoerbeek August 23, 2023 15:06
@rgacogne rgacogne merged commit 93aa712 into PowerDNS:master Aug 23, 2023
@rgacogne rgacogne deleted the default-net-snmp-to-no branch August 23, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants