Marcel Telka
2024-04-07 8a23b876d5e0a9d2a1ae972f152fad47a355daa4
commit | author | age
6bf8d7 1 #
AW 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2023 Andreas Wacknitz
14 #
15
16 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.human-version value=$(HUMAN_VERSION)
18 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
19 set name=pkg.description value="$(COMPONENT_DESCRIPTION)"
20 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
21 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
22 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
23 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
24
25 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
26
27 group groupname=chrony gid=23
28 user ftpuser=false username=chrony uid=23 group=chrony \
29     gcos-field="chrony user" \
30     home-dir=/var/lib/chrony password=NP
31
32 <transform dir path=var/lib/chrony$ -> set owner chrony>
33 <transform dir path=var/lib/chrony$ -> set group chrony>
34
35 # Restart chrony on binary change
36 <transform file path=usr/sbin/chronyd$ -> \
37     set restart_fmri svc:/network/chrony:default>
38
39 # Install files
40 file files/chrony.xml path=lib/svc/manifest/network/chrony.xml
41 file files/chrony.conf path=etc/inet/chrony.conf owner=root group=chrony \
42     mode=0644 overlay=allow preserve=renamenew
43 file files/chrony.keys path=etc/inet/chrony.keys owner=root group=chrony \
44     mode=0640 overlay=allow preserve=renamenew
45
46 file path=usr/bin/chronyc
47 file path=usr/sbin/chronyd
48 file path=usr/share/man/man1/chronyc.1
49 file path=usr/share/man/man5/chrony.conf.5
50 file path=usr/share/man/man8/chronyd.8