components/rabbitmq/Makefile
branchs11u3-sru
changeset 6035 c9748fcc32de
parent 3996 20c0f21bbe1e
child 6124 0a6b764b6ad6
equal deleted inserted replaced
6016:a477397bba8b 6035:c9748fcc32de
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
       
    28 PATH=/usr/gnu/bin:/usr/bin:/usr/sbin
       
    29 
    28 COMPONENT_NAME=		rabbitmq-server
    30 COMPONENT_NAME=		rabbitmq-server
    29 COMPONENT_VERSION=	3.1.3
    31 COMPONENT_VERSION=	3.5.6
    30 COMPONENT_PROJECT_URL=	http://www.rabbitmq.com/
    32 COMPONENT_PROJECT_URL=	http://www.rabbitmq.com/
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    34 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    33 COMPONENT_ARCHIVE_HASH=	\
    35 COMPONENT_ARCHIVE_HASH=	\
    34     sha256:ebb8b0dba8ef82e5523194072f465f2abe451783e09255bf1474c560667a67a5
    36     sha256:24be1433234112db391e0c5ef32bfb2ca111e51b2e57998cc0f3d97ba361671f
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    37 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    36 COMPONENT_BUGDB=	service/rabbitmq
    38 COMPONENT_BUGDB=	service/rabbitmq
    37 
    39 
    38 TPNO=			14503
    40 TPNO=			25764
    39 
    41 
    40 include $(WS_MAKE_RULES)/prep.mk
    42 include $(WS_MAKE_RULES)/prep.mk
    41 include $(WS_MAKE_RULES)/justmake.mk
    43 include $(WS_MAKE_RULES)/justmake.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    44 include $(WS_MAKE_RULES)/ips.mk
    43 
    45 
    45 
    47 
    46 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    48 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    47 
    49 
    48 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)
    50 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)
    49 
    51 
       
    52 COMPONENT_INSTALL_ENV +=	TARGET_DIR=$(PROTO_DIR)
       
    53 COMPONENT_INSTALL_ENV +=	SBIN_DIR=$(PROTO_DIR)/usr/sbin
       
    54 COMPONENT_INSTALL_ENV +=	MAN_DIR=$(PROTO_DIR)/usr/share/man
       
    55 
       
    56 # We delegate the running of the tests to a script because it's easier to find
       
    57 # and use unique free ports in a single process, and it's easier to make sure
       
    58 # that we don't leave any servers running if the tests themselves fail.
       
    59 COMPONENT_TEST_DIR =		$(COMPONENT_DIR)
       
    60 COMPONENT_TEST_CMD =		$(PYTHON)
       
    61 COMPONENT_TEST_TARGETS =	test.py $(TEST_32)
       
    62 
    50 # common targets
    63 # common targets
    51 build:		$(BUILD_32)
    64 build:		$(BUILD_32)
    52 
    65 
    53 # The install target in the rabbitmq makefile isn't useful to us.
    66 install:	$(INSTALL_32)
    54 install:
       
    55 
    67 
    56 test:		$(TEST_32)
    68 test:		$(TEST_32)
    57 
    69 
    58 
    70 
    59 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
    71 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
    60 
    72 
       
    73 REQUIRED_PACKAGES += compress/zip
    61 REQUIRED_PACKAGES += runtime/erlang
    74 REQUIRED_PACKAGES += runtime/erlang
       
    75 REQUIRED_PACKAGES += shell/bash
    62 REQUIRED_PACKAGES += shell/ksh93
    76 REQUIRED_PACKAGES += shell/ksh93
       
    77