add python/ipaddress-1.0.18
[unleashed-userland.git] / components / sysutils / nut / nut-bins.p5m
blob3b990bc1c1bf097e34811a3c45668d22aeb60dd4
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
5 # 1.0 of the CDDL.
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)/bins@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.summary value="$(COMPONENT_SUMMARY) - NUT Command-line binaries and scripts"
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 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
26 <transform file path=usr/share/man/man1m/(.+) -> set action.hash usr/share/man/man1/%<1> >
28 depend fmri=$(COMPONENT_FMRI)-common@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
30 ### NUT Command-line binaries and scripts (daemons, clients)
32 ### Note: While nut-scanner can use snmp, neon/xml, ipmi and usb libs, it loads
33 ### them truly dynamically (if available) and skips otherwise. Installing the
34 ### NUT driver packages should pull their relevant libs by harder ELF reqs.
35 ### Reasonably, if you don't want those UPSes (got no drivers) why scan them? :)
37 file path=usr/bin/nut-scanner
38 file path=usr/bin/upsc
39 file path=usr/bin/upscmd
40 file path=usr/bin/upslog
41 file path=usr/bin/upsrw
43 file path=usr/sbin/upsd
44 file path=usr/sbin/upsdrvctl
45 file path=usr/sbin/upsmon
46 file path=usr/sbin/upssched
48 # Example notification script for UPSMON
49 file files/notifyme path=usr/lib/nut/bin/notifyme mode=0755 preserve=renamenew
51 # This is an example script for handling upssched
52 file path=usr/bin/upssched-cmd preserve=renamenew
54 # Init-scripts for NUT, not perfect - but better than nothing for a start.
55 # NUT should start generally after networking (if SNMP or NetXML is used,
56 # or if this box is a client to remote upsd). Ending is trickier - could
57 # want it to issue killpower late in shutdown, but have network to be able
58 # to do so (for remote UPSes). This can be tuned in XML manifest by user.
59 file files/svc-nut path=lib/svc/method/svc-nut
60 file files/nut.xml path=var/svc/manifest/application/nut.xml
62 file files/svc-nut-client path=lib/svc/method/svc-nut-client
63 file files/nut-client.xml path=var/svc/manifest/application/nut-client.xml
65 file path=usr/share/man/man5/hosts.conf.5
66 file path=usr/share/man/man5/ups.conf.5
67 file path=usr/share/man/man5/upsd.conf.5
68 file path=usr/share/man/man5/upsd.users.5
69 file path=usr/share/man/man5/upsmon.conf.5
70 file path=usr/share/man/man5/upssched.conf.5
72 file path=usr/share/man/man1m/nut-scanner.1m
73 file path=usr/share/man/man1m/upsc.1m
74 file path=usr/share/man/man1m/upscmd.1m
75 file path=usr/share/man/man1m/upsd.1m
76 file path=usr/share/man/man1m/upsdrvctl.1m
77 file path=usr/share/man/man1m/upslog.1m
78 file path=usr/share/man/man1m/upsmon.1m
79 file path=usr/share/man/man1m/upsrw.1m
80 file path=usr/share/man/man1m/upssched.1m
82 # We deliver the sample configs as the ones to use,
83 # at worst they have no actual information inside and do nothing.
84 file etc/nut/ups.conf.sample path=etc/nut/ups.conf \
85     group=nut owner=root mode=0640 preserve=true
86 file etc/nut/upsd.conf.sample path=etc/nut/upsd.conf \
87     group=nut owner=root mode=0640 preserve=true
88 file etc/nut/upsd.users.sample path=etc/nut/upsd.users \
89     group=nut owner=root mode=0640 preserve=true
90 file etc/nut/upsmon.conf.sample path=etc/nut/upsmon.conf \
91     group=nut owner=root mode=0640 preserve=true
92 file etc/nut/upssched.conf.sample path=etc/nut/upssched.conf \
93     group=nut owner=root mode=0640 preserve=true
95 file build/$(MACH64)/scripts/avahi/nut.service path=$(NUT_AVAHI_SERVICE_SAMPLE)
97 file scripts/logrotate/nutlogd path=usr/share/nut/nutlogd.example
99 file scripts/misc/nut.bash_completion path=usr/share/bash-completion/completions/nut