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