#
# 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 2015 Alexander Pyhalov
#

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)'

<transform file path=etc/.* ->  default preserve renameold>

dir group=root mode=0755 owner=root path=var/log/ConsoleKit
dir group=root mode=0755 owner=root path=usr/lib/ConsoleKit/run-seat.d
dir group=root mode=0755 owner=root path=usr/lib/ConsoleKit/run-session.d
dir group=sys mode=0755 owner=root path=etc/ConsoleKit/run-seat.d
dir group=sys mode=0755 owner=root path=etc/ConsoleKit/run-session.d

file files/ck-history.1 path=usr/share/man/man1/ck-history.1
file files/ck-launch-session.1 path=usr/share/man/man1/ck-launch-session.1
file files/ck-list-sessions.1 path=usr/share/man/man1/ck-list-sessions.1
file files/ck-seat-tool.1m path=usr/share/man/man1m/ck-seat-tool.1m
file files/console-kit-daemon.1m path=usr/share/man/man1m/console-kit-daemon.1m
file files/consolekit.xml path=lib/svc/manifest/system/consolekit.xml
file files/svc-consolekit path=/lib/svc/method/svc-consolekit mode=0555

file path=etc/ConsoleKit/displays.d/Headless.display
file path=etc/ConsoleKit/displays.d/HotPlug.display
file path=etc/ConsoleKit/displays.d/Local.display
file path=etc/ConsoleKit/displays.d/LocalVNC.display
file path=etc/ConsoleKit/displays.d/MultiDCU.display
file path=etc/ConsoleKit/displays.d/RemoteMachine.display
file path=etc/ConsoleKit/displays.d/Sunray.display
file path=etc/ConsoleKit/seats.d/00-primary.seat
file path=etc/ConsoleKit/sessions.d/Headless.session
file path=etc/ConsoleKit/sessions.d/Local.session
file path=etc/ConsoleKit/sessions.d/LocalVNC.session
file path=etc/ConsoleKit/sessions.d/MultiDCU0.session
file path=etc/ConsoleKit/sessions.d/MultiDCU1.session
file path=etc/ConsoleKit/sessions.d/MultiDCU2.session
file path=etc/ConsoleKit/sessions.d/MultiDCU3.session
file path=etc/ConsoleKit/sessions.d/Remote.session
file path=etc/dbus-1/system.d/ConsoleKit.conf
file path=usr/bin/ck-history
file path=usr/bin/ck-launch-session
file path=usr/bin/ck-list-sessions
file path=usr/include/ConsoleKit/ck-connector/ck-connector.h
link path=usr/lib/$(MACH64)/libck-connector.so target=libck-connector.so.0.0.0
link path=usr/lib/$(MACH64)/libck-connector.so.0 target=libck-connector.so.0.0.0
file path=usr/lib/$(MACH64)/libck-connector.so.0.0.0
file path=usr/lib/$(MACH64)/pkgconfig/ck-connector.pc
file path=usr/lib/ConsoleKit/scripts/ck-system-hibernate mode=0555
file path=usr/lib/ConsoleKit/scripts/ck-system-hybridsleep mode=0555
file path=usr/lib/ConsoleKit/scripts/ck-system-restart mode=0555
file path=usr/lib/ConsoleKit/scripts/ck-system-stop mode=0555
file path=usr/lib/ConsoleKit/scripts/ck-system-suspend mode=0555
link path=usr/lib/libck-connector.so target=libck-connector.so.0.0.0
link path=usr/lib/libck-connector.so.0 target=libck-connector.so.0.0.0
file path=usr/lib/libck-connector.so.0.0.0
file path=usr/lib/pkgconfig/ck-connector.pc
file path=usr/libexec/ck-collect-session-info
file path=usr/libexec/ck-get-x11-display-device
file path=usr/libexec/ck-get-x11-server-pid
file path=usr/sbin/ck-log-system-restart
file path=usr/sbin/ck-log-system-start
file path=usr/sbin/ck-log-system-stop
file path=usr/sbin/ck-seat-tool
file path=usr/sbin/console-kit-daemon
file path=usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Manager.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Seat.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Session.xml
file path=usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
file path=usr/share/man/man8/pam_ck_connector.8