Bug 253480 - [patch] dns/bind916: make libxml2 dependency optional
Summary: [patch] dns/bind916: make libxml2 dependency optional
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
Keywords: easy, patch-ready
Depends on:
Reported: 2021-02-13 11:17 UTC by Eugene Grosbein
Modified: 2021-02-17 00:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)
eugen: maintainer-feedback?

re-add options LIBXML2 (1.30 KB, patch)
2021-02-13 11:17 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein freebsd_committer 2021-02-13 11:17:42 UTC
Created attachment 222407 [details]
re-add options LIBXML2

The PR 186890 and following commit http://svnweb.freebsd.org/changeset/ports/347284 made libxml2 non-optional dependency in 2014 for bind99.

The problem mentioned in the PR 186890 is not reproducible for bind916. Time showed the libxml2 library has its own unpleasant backlog of security vulnerabilities. Upstream code of ISC BIND fully supports libxml2 as optional dependency. Let us make it optional dependency again for out port, too keeping it enabled by default to preserve POLA.

Attached patch re-adds option LIBXML2 so one could disable it. PORTREVISION not changed because default built is not affected.