HomeFreeBSD

devel/libvirt: improve configuration handling

Description

devel/libvirt: improve configuration handling

libvirt stores various configuration objects in XML files and
also uses symlinks to enable/disable various things. While
using @sample could prevent from touching user-modified configs,
it is quite cumbersome to preserve state of enabled or disabled
symlink controlled objects across reinstall.

In order to address this situation:

  • Install these configuration files into %%EXAMPLESDIR%%,
  • Update pkg-message with instructions how to apply the default configuration if user wants to. Also, pkg-message moved to files/pkg-message.in to allow substitution,
  • While here, convert virtlockd.conf to @sample
  • Bump PORTREVISION

PR: 203865
Differential Revision: D3938

Details

Provenance
novelAuthored on
Differential Revision
D3938: devel/libvirt: improve configuration file handling
Parents
rP400618: Mark BROKEN: fails to compile
Branches
Unknown
Tags
Unknown