Makefile revision 5533
2426N/A#
2426N/A# CDDL HEADER START
2426N/A#
2426N/A# The contents of this file are subject to the terms of the
2426N/A# Common Development and Distribution License (the "License").
2426N/A# You may not use this file except in compliance with the License.
2426N/A#
2426N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2426N/A# or http://www.opensolaris.org/os/licensing.
2426N/A# See the License for the specific language governing permissions
2426N/A# and limitations under the License.
2426N/A#
2426N/A# When distributing Covered Code, include this CDDL HEADER in each
2426N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2426N/A# If applicable, add the following below this CDDL HEADER, with the
2426N/A# fields enclosed by brackets "[]" replaced with your own identifying
2426N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2426N/A#
2426N/A# CDDL HEADER END
2426N/A#
2850N/A
2850N/A#
6033N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2426N/A#
4070N/A
2426N/Ainclude ../../make-rules/shared-macros.mk
2426N/A
2426N/ACOMPONENT_NAME= tomcat
6033N/ACOMPONENT_VERSION= 6.0.45
2426N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
2426N/ACOMPONENT_SRC_NAME= apache-tomcat
2426N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src
6033N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4070N/ACOMPONENT_ARCHIVE_HASH= \
4070N/A sha256:d464b3e770197f026bf802d19be0195b941e8c3be7e552dc2f8eb563f9cc010e
2850N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-6/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
2426N/ACOMPONENT_BUGDB= utility/tomcat
6033N/A
3661N/A# Tomcat subcomponents
3996N/ACOMPONENT_ARCHIVE_1= commons-dbcp-1.4-src.tar.gz
3996N/ACOMPONENT_ARCHIVE_HASH_1= \
3996N/A sha256:f5f10846e79fc71121fe7402c61d71575506b01b59e719e974ebc4d99e6df283
2426N/ACOMPONENT_ARCHIVE_URL_1= http://archive.apache.org/dist/commons/dbcp/source/$(COMPONENT_ARCHIVE_1)
2426N/ACOMPONENT_ARCHIVE_2= commons-pool-1.5.7-src.tar.gz
4070N/ACOMPONENT_ARCHIVE_HASH_2= \
4070N/A sha256:e9f414555c41e9584da1f6953af28208ece5cd4664ef2fea297e6a6aadc4377e
4070N/ACOMPONENT_ARCHIVE_URL_2= http://archive.apache.org/dist/commons/pool/source/$(COMPONENT_ARCHIVE_2)
4070N/ACOMPONENT_ARCHIVE_3= ecj-4.3.1.jar
2426N/ACOMPONENT_ARCHIVE_HASH_3= \
2426N/A sha256:5f86314f67dc57a0a9865265a48fd7831f16ab177c0c1349eea798c2c6297295
2426N/ACOMPONENT_ARCHIVE_URL_3= http://download.eclipse.org/eclipse/downloads/drops4/R-4.3.1-201309111000/$(COMPONENT_ARCHIVE_3)
2426N/A
2426N/ATPNO= 26982
2426N/A
2426N/Ainclude $(WS_MAKE_RULES)/prep.mk
2426N/Ainclude $(WS_MAKE_RULES)/ant.mk
4070N/Ainclude $(WS_MAKE_RULES)/ips.mk
4070N/A
2426N/APATCH_LEVEL=0
COMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
COMPONENT_BUILD_TARGETS=download deploy
# Create configuration backup archive for custom user's deployments.
COMPONENT_POST_BUILD_ACTION= \
(cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
gtar cfz conf/CONF.tar.gz conf/* )
COMPONENT_TEST_ARGS = $(COMPONENT_BUILD_ARGS) -Djunit.home=/usr/share/lib/java
COMPONENT_TEST_TARGETS = test
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
build: $(BUILD_32)
install: build
test: $(TEST_32)
REQUIRED_PACKAGES += runtime/java/jre-8
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/network