#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2016 Alexander Pyhalov
# Copyright 2022 Niklas Poslovski
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

# service methods use nawk
depend fmri=__TBD pkg.debug.depend.file=usr/bin/nawk type=require

file files/ipmievd.xml path=lib/svc/manifest/network/ipmievd.xml
file files/svc-ipmievd path=lib/svc/method/svc-ipmievd

file path=usr/bin/ipmitool
file path=usr/lib/ipmievd mode=0555
file path=usr/share/doc/ipmitool/AUTHORS
file path=usr/share/doc/ipmitool/COPYING
file path=usr/share/doc/ipmitool/ChangeLog
file path=usr/share/doc/ipmitool/README
file path=usr/share/ipmitool/oem_ibm_sel_map
file path=usr/share/man/man1/ipmitool.1
file path=usr/share/man/man8/ipmievd.8
file path=usr/share/misc/enterprise-numbers