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