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