Makefile revision 6909
5253N/A#
5253N/A# CDDL HEADER START
5253N/A#
5253N/A# The contents of this file are subject to the terms of the
5253N/A# Common Development and Distribution License (the "License").
5253N/A# You may not use this file except in compliance with the License.
5253N/A#
5253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5253N/A# or http://www.opensolaris.org/os/licensing.
5253N/A# See the License for the specific language governing permissions
5253N/A# and limitations under the License.
5253N/A#
5253N/A# When distributing Covered Code, include this CDDL HEADER in each
5253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5253N/A# If applicable, add the following below this CDDL HEADER, with the
5253N/A# fields enclosed by brackets "[]" replaced with your own identifying
5253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5253N/A#
5253N/A# CDDL HEADER END
5253N/A
5253N/A#
5253N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5343N/A#
5253N/A
5253N/ABUILD_BITS= 64
5254N/Ainclude ../../make-rules/shared-macros.mk
5254N/A
5254N/ACOMPONENT_NAME= openca-ocspd
5253N/ACOMPONENT_VERSION= 3.1.2
5253N/A# The new form includes the commit as a disambiguator, but the current archive
5253N/A# wasn't created with that in its name, so we use the old form until the next
5253N/A# update.
5253N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5525N/ACOMPONENT_PROJECT_URL= https://www.openca.org/projects/ocspd/
5253N/ACOMPONENT_ARCHIVE_SRC= git
5525N/ACOMPONENT_BUGDB= library/smartcard
5253N/A
5253N/AGIT_REPO= https://github.com/openca/openca-ocspd
5253N/AGIT_COMMIT_ID= 0f16341
5525N/AGIT_HASH= sha256:0f894c7f19d658bdbda88887a3d748e8a968c6fd5cfc5f7be8ace9399b2f878d
5253N/A
5253N/ATPNO = 28048
5253N/A
5253N/A# Skip test because of set up requirements.
5525N/A#
5253N/A# The upstream archive includes a test script (test.sh), which tries to run
5525N/A# "openssl ocsp" command multiple times. However, it assumes that we already
5253N/A# have necessary pem files (keys/certficates for CA, ocspd daemon, and others,
5253N/A# and also the CRL), and those files are not included in the archive.
5253N/A#
5253N/A# To test manually, follow a guide document for the smartcard project.
5256N/ATEST_TARGET= $(SKIP_TEST)
5256N/A
5256N/Ainclude $(WS_MAKE_RULES)/common.mk
5256N/A
5525N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/docs
5256N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/etc/ca.d
5525N/A
5256N/APOD2MAN_PATH = /usr/perl5/$(PERL_VERSION)/bin
5253N/A
5253N/ACOMPONENT_BUILD_ENV += PATH="$(PATH):$(POD2MAN_PATH)"
5253N/A
5253N/ACOMPONENT_PRE_BUILD_ACTION = $(CP) $(COMPONENT_SRC)/docs/ocspd.3.pod $(@D)/docs
5253N/A
5253N/AREQUIRED_PACKAGES += library/security/ocsp/libpki
5253N/AREQUIRED_PACKAGES += library/security/openssl
5253N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
5253N/AREQUIRED_PACKAGES += shell/bash
5253N/AREQUIRED_PACKAGES += shell/ksh93
5253N/AREQUIRED_PACKAGES += system/core-os
5253N/AREQUIRED_PACKAGES += system/network
5253N/A