#
# 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
# Copyright 2023 Andreas Wacknitz
#

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

file usr/sbin/xdmshell path=usr/lib/X11/xdm/xdmshell mode=0555
file files/README path=usr/lib/X11/xdm/README
file files/xdm.xml path=lib/svc/manifest/application/graphical-login/xdm.xml

file path=etc/X11/xdm/Xaccess
file path=etc/X11/xdm/Xresources
file path=etc/X11/xdm/Xservers
file path=etc/X11/xdm/xdm-config
file path=usr/lib/$(MACH64)/X11/xdm/GiveConsole mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/TakeConsole mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xaccess mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xreset mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xresources mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xservers mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xsession mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xsetup_0 mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xstartup mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/Xwilling mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/chooser mode=0555
file path=usr/lib/$(MACH64)/X11/xdm/libXdmGreet.so
file path=usr/lib/$(MACH64)/X11/xdm/pixmaps/xorg-bw.xpm
file path=usr/lib/$(MACH64)/X11/xdm/pixmaps/xorg.xpm
file path=usr/lib/$(MACH64)/X11/xdm/xdm-config
file path=usr/sbin/xdm
file path=usr/sbin/xdmshell
file path=usr/share/X11/app-defaults/Chooser
file path=usr/share/man/man8/xdm.8
file path=usr/share/man/man8/xdmshell.8