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
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.
13 # Copyright 2021 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
16 set name=pkg.fmri value=pkg:/service/database/$(COMPONENT_NAME)-31@$(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=info.classification value="$(COMPONENT_CLASSIFICATION)"
20 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
21 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
22 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
24 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
26 depend type=require fmri=database/couchdb-31
27 depend type=require fmri=database/couchdb-common
29 file files/auth_attr path=etc/security/auth_attr.d/couchdb-31
30 file files/exec_attr path=etc/security/exec_attr.d/couchdb-31
31 file files/prof_attr path=etc/security/prof_attr.d/couchdb-31
32 file files/user_attr path=etc/user_attr.d/couchdb-31
34 file files/couchdb-31.xml path=lib/svc/manifest/application/couchdb-31.xml restart_fmri=svc:/system/manifest-import:default
36 dir path=var/couchdb/$(COMPONENT_VERSION_MAJOR)/data owner=couchdb group=couchdb mode=0755
37 dir path=var/couchdb/$(COMPONENT_VERSION_MAJOR)/index owner=couchdb group=couchdb mode=0755
38 dir path=var/couchdb/$(COMPONENT_VERSION_MAJOR)/home owner=couchdb group=couchdb mode=0755
39 dir path=var/couchdb/$(COMPONENT_VERSION_MAJOR)/log owner=couchdb group=couchdb mode=0755