Page MenuHomeFreeBSD

Fix net-snmp ipv6 option handling when other options are also used.
ClosedPublic

Authored by ian on Feb 18 2016, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 4, 11:40 PM
Unknown Object (File)
Wed, Oct 2, 6:41 PM
Unknown Object (File)
Sep 28 2024, 1:10 PM
Unknown Object (File)
Sep 27 2024, 3:30 PM
Unknown Object (File)
Sep 27 2024, 2:16 PM
Unknown Object (File)
Sep 27 2024, 5:52 AM
Unknown Object (File)
Sep 26 2024, 5:38 AM
Unknown Object (File)
Sep 24 2024, 5:08 PM
Subscribers
None

Details

Summary

r381568 added CONFIGURE_ARGS+=--with-out-mib-modules="mibII/ipv6", but the handling of other options can result in two different --with-out-mib-modules arguments being passed to configure, and only the second one has effect. That leads to build failures because it tries to build the old mibII/ipv6 which is no longer supported on freebsd.

This change adds mibII/ipv6 to the list of excluded modules that gets turned into the --with-out-mib-modules argument.

Test Plan

Try to build the port on freebsd 11 using WITHOUT_SMUX.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

ian retitled this revision from to Fix net-snmp ipv6 option handling when other options are also used..
ian updated this object.
ian edited the test plan for this revision. (Show Details)
ian added reviewers: mat, sbruno, zi.
ian set the repository for this revision to rP FreeBSD ports repository.
mat edited edge metadata.

If it did not build before, this is good, if it may have, don't forget to bump PORTREVISION.

This revision is now accepted and ready to land.Feb 19 2016, 5:16 PM
sbruno edited edge metadata.
In D5329#114071, @mat wrote:

If it did not build before, this is good, if it may have, don't forget to bump PORTREVISION.

This change only allows option combos that used to cause build failure to now build successfully. Any combo of options that used to build okay will still build okay, yielding the same binaries as before.

This revision was automatically updated to reflect the committed changes.