#
# 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 2021 David Stes
#

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

group groupname=fcron
user username=fcron group=fcron home-dir=/ password=NP

# legacy modified start/stop script from the fcron distribution
file sysVinit-launcher path=etc/init.d/fcron mode=0555
link path=etc/rc2.d/S99fcron target=../init.d/fcron
link path=etc/rc0.d/K99fcron target=../init.d/fcron

# for some config files the preserve=true is important
# so that update of the package preserves the configuration
# overlay=allow allows one (1) additional package to add entries to the file
dir path=var/spool/fcron owner=fcron group=fcron mode=0770
file root.orig path=var/spool/fcron/root.orig owner=root group=fcron mode=0600 overlay=allow preserve=true
file systab.orig path=var/spool/fcron/systab.orig owner=root group=fcron mode=0600 overlay=allow preserve=true

file path=etc/fcron.allow owner=root group=fcron mode=0640 preserve=true
file path=etc/fcron.conf owner=root group=fcron mode=0640 preserve=true
file path=etc/fcron.deny owner=root group=fcron mode=0640 preserve=true
file path=usr/bin/fcrondyn owner=fcron group=fcron mode=6111
file path=usr/bin/fcronsighup owner=root group=fcron mode=4110
file path=usr/bin/fcrontab owner=fcron group=fcron mode=6111
file path=usr/sbin/fcron owner=root group=root mode=0110
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/LEGALNOTICE.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/changes.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/faq.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fcron.8.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fcron.conf.5.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fcrondyn.1.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fcrontab.1.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fcrontab.5.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/fdl.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/gpl.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/how-and-why.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/index.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/install.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/manpages.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/readme.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/relnotes.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/thanks.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/todo.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/HTML/using-fcron.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/changes.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/faq.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/gpl.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/install.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/readme.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/relnotes.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/thanks.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/en/txt/todo.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/LEGALNOTICE.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/changes.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/faq.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fcron.8.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fcron.conf.5.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fcrondyn.1.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fcrontab.1.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fcrontab.5.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/fdl.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/gpl.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/how-and-why.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/index.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/install.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/manpages.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/readme.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/relnotes.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/thanks.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/todo.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/HTML/using-fcron.html
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/changes.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/faq.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/gpl.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/install.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/readme.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/relnotes.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/thanks.txt
file path=usr/share/doc/fcron-$(COMPONENT_VERSION)/fr/txt/todo.txt
file path=usr/share/man/fr/man1/fcrondyn.1
file path=usr/share/man/fr/man1/fcrontab.1
file path=usr/share/man/fr/man3/bitstring.3
file path=usr/share/man/fr/man5/fcron.conf.5
file path=usr/share/man/fr/man5/fcrontab.5
file path=usr/share/man/fr/man8/fcron.8
file path=usr/share/man/man1/fcrondyn.1
file path=usr/share/man/man1/fcrontab.1
file path=usr/share/man/man3/bitstring.3
file path=usr/share/man/man5/fcron.conf.5
file path=usr/share/man/man5/fcrontab.5
file path=usr/share/man/man8/fcron.8