#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr/share/man/.+$ -> add mangler.bypass true >
set name=pkg.fmri \
value=pkg:/network/amqp/rabbitmq@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="A message broker implementing AMQP"
set name=pkg.description \
value="RabbitMQ is message broker software written in Erlang that implements the Advanced Message Queuing Protocol (AMQP) standard."
set name=com.oracle.info.description value="the RabbitMQ message broker"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value="org.opensolaris.category.2008:Web Services/Communications"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream value=rabbitmq-discuss@lists.rabbitmq.com
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2013/175
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
file files/rabbitmq-env.conf path=etc/rabbitmq/rabbitmq-env.conf mode=0644 \
overlay=allow preserve=renamenew
file files/rabbitmq.config path=etc/rabbitmq/rabbitmq.config mode=0644 \
overlay=allow preserve=renamenew
file files/svc-rabbitmq path=lib/svc/method/rabbitmq
file files/rmq-mplex path=usr/bin/rabbitmq-plugins
link path=usr/bin/rabbitmq-server target=rabbitmq-plugins
link path=usr/bin/rabbitmqctl target=rabbitmq-plugins
file path=usr/lib/rabbitmq/ebin/background_gc.beam
file path=usr/lib/rabbitmq/ebin/delegate.beam
file path=usr/lib/rabbitmq/ebin/delegate_sup.beam
file path=usr/lib/rabbitmq/ebin/dtree.beam
file path=usr/lib/rabbitmq/ebin/gatherer.beam
file path=usr/lib/rabbitmq/ebin/gm.beam
file path=usr/lib/rabbitmq/ebin/lqueue.beam
file path=usr/lib/rabbitmq/ebin/mnesia_sync.beam
file path=usr/lib/rabbitmq/ebin/mochinum.beam
file path=usr/lib/rabbitmq/ebin/pg2_fixed.beam
file path=usr/lib/rabbitmq/ebin/pg_local.beam
file path=usr/lib/rabbitmq/ebin/rabbit.app
file path=usr/lib/rabbitmq/ebin/rabbit.beam
file path=usr/lib/rabbitmq/ebin/rabbit_alarm.beam
file path=usr/lib/rabbitmq/ebin/rabbit_cli.beam
file path=usr/lib/rabbitmq/ebin/rabbit_direct.beam
file path=usr/lib/rabbitmq/ebin/rabbit_file.beam
file path=usr/lib/rabbitmq/ebin/rabbit_guid.beam
file path=usr/lib/rabbitmq/ebin/rabbit_hipe.beam
file path=usr/lib/rabbitmq/ebin/rabbit_log.beam
file path=usr/lib/rabbitmq/ebin/rabbit_mnesia.beam
file path=usr/lib/rabbitmq/ebin/rabbit_policy.beam
file path=usr/lib/rabbitmq/ebin/rabbit_router.beam
file path=usr/lib/rabbitmq/ebin/rabbit_ssl.beam
file path=usr/lib/rabbitmq/ebin/rabbit_sup.beam
file path=usr/lib/rabbitmq/ebin/rabbit_table.beam
file path=usr/lib/rabbitmq/ebin/rabbit_trace.beam
file path=usr/lib/rabbitmq/ebin/rabbit_types.beam
file path=usr/lib/rabbitmq/ebin/rabbit_vhost.beam
file path=usr/lib/rabbitmq/ebin/rabbit_vm.beam
file path=usr/lib/rabbitmq/ebin/tcp_listener.beam
file path=usr/lib/rabbitmq/ebin/truncate.beam
file path=usr/lib/rabbitmq/ebin/worker_pool.beam
file path=usr/lib/rabbitmq/include/gm_specs.hrl
file path=usr/lib/rabbitmq/include/rabbit.hrl
file path=usr/lib/rabbitmq/include/rabbit_cli.hrl
file path=usr/lib/rabbitmq/plugins/README
file path=usr/lib/rabbitmq/plugins/amqp_client-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/cowboy-1.0.3.ez
file path=usr/lib/rabbitmq/plugins/cowlib-1.0.1.ez
file path=usr/lib/rabbitmq/plugins/rabbit_common-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_amqp1_0-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_auth_backend_ldap-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_auth_mechanism_ssl-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_consistent_hash_exchange-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_event_exchange-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_federation-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_federation_management-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_management-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_management_agent-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_management_visualiser-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_mqtt-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_shovel-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_shovel_management-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_stomp-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_tracing-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_web_dispatch-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_web_stomp-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/rabbitmq_web_stomp_examples-$(COMPONENT_VERSION).ez
file path=usr/lib/rabbitmq/plugins/ranch-1.2.1.ez
file path=usr/lib/rabbitmq/plugins/sockjs-0.3.4.ez
file path=usr/lib/rabbitmq/sbin/rabbitmq-defaults
file path=usr/lib/rabbitmq/sbin/rabbitmq-env
file path=usr/lib/rabbitmq/sbin/rabbitmq-plugins
file path=usr/lib/rabbitmq/sbin/rabbitmq-server
file path=usr/lib/rabbitmq/sbin/rabbitmqctl
file path=usr/share/man/man1/rabbitmq-plugins.1
file path=usr/share/man/man1/rabbitmq-server.1
file path=usr/share/man/man1/rabbitmqctl.1
file path=usr/share/man/man5/rabbitmq-env.conf.5
dir path=var/lib/rabbitmq owner=rabbitmq
dir path=var/log/rabbitmq owner=rabbitmq
#
user username=rabbitmq gcos-field=RabbitMQ group=daemon \
home-dir=/var/lib/rabbitmq password=NP uid=48
#
license rabbitmq.license license="MPLv1.1, MIT, BSD, Apache 2.0"
# force a dependency on the erlang runtime
depend type=require fmri=__TBD pkg.debug.depend.file=erl \