#
# 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
#
#
# Version 3.1.2 of openca-ocspd has not been released, yet. There is no source
# tarball for it. In Solaris 12, Userland consolidation has infrastructure
# to fetch sources from SCM repository based on a specified git commit hash.
# Such infrastructure is not present in Solaris 11.3. So we take the latest
# tarball with 3.1.1 and apply few patches on top of it to get the same sources
# as in Solaris 12. These are named 001-*, 002-* and 003-*.
# Once version 3.1.2 is available, simply delete these patches.
http://downloads.sourceforge.net/project/openca/$(COMPONENT_NAME)/releases/v3.1.1/sources/$(COMPONENT_ARCHIVE)
# common targets
install: $(INSTALL_64)
# Skip test because of set up requirements.
#
# The upstream archive includes a test script (test.sh), which tries to run
# "openssl ocsp" command multiple times. However, it assumes that we already
# have necessary pem files (keys/certficates for CA, ocspd daemon, and others,
# and also the CRL), and those files are not included in the archive.
#
# To test manually, follow a guide document for the smartcard project.
test: $(NO_TEST)