2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Jim Klimov
16 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)/augeas@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.summary value="$(COMPONENT_SUMMARY) - NUT Augeas config-mgmt lenses"
18 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
19 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
20 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
21 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
23 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
25 # This binding needs Augeas to be functional, but we don't want to require
26 # installation of augtools if the end-user just installs the grouper package
27 # and really only wants NUT core, not the bindings. Vice-versa, the binding
28 # does not really require files from the NUT project itself.
29 # So: the main "nut.p5m" has a conditional dependency to install "nut-augeas"
30 # only if "augeas-tools" are installed; while the "nut-augeas" package simply
31 # requires augtools and does not depend on any of NUT packages to be present.
32 depend fmri=library/augeas-tools type=require
34 ### Augeas configuration licenses for NUT
35 file path=usr/share/augeas/lenses/nuthostsconf.aug
36 file path=usr/share/augeas/lenses/nutnutconf.aug
37 file path=usr/share/augeas/lenses/nutupsconf.aug
38 file path=usr/share/augeas/lenses/nutupsdconf.aug
39 file path=usr/share/augeas/lenses/nutupsdusers.aug
40 file path=usr/share/augeas/lenses/nutupsmonconf.aug
41 file path=usr/share/augeas/lenses/nutupsschedconf.aug
42 file path=usr/share/augeas/lenses/nutupssetconf.aug