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