Makefile revision 5680
5329N/A#
5329N/A# CDDL HEADER START
5329N/A#
5329N/A# The contents of this file are subject to the terms of the
5329N/A# Common Development and Distribution License (the "License").
5329N/A# You may not use this file except in compliance with the License.
5329N/A#
5329N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5329N/A# or http://www.opensolaris.org/os/licensing.
5329N/A# See the License for the specific language governing permissions
5329N/A# and limitations under the License.
5329N/A#
5329N/A# When distributing Covered Code, include this CDDL HEADER in each
5329N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5329N/A# If applicable, add the following below this CDDL HEADER, with the
5329N/A# fields enclosed by brackets "[]" replaced with your own identifying
5329N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5329N/A#
5329N/A# CDDL HEADER END
5329N/A#
5329N/A
5329N/A#
5426N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
5329N/A#
5713N/ABUILD_BITS= 64
5713N/Ainclude ../../make-rules/shared-macros.mk
5713N/A
5329N/ACOMPONENT_NAME= stunnel
5329N/ACOMPONENT_VERSION= 5.18
5329N/ACOMPONENT_PROJECT_URL= http://www.stunnel.org/
5329N/ACOMPONENT_ARCHIVE_HASH= \
5329N/A sha256:0532c0a2f8de3da1ab625e384146501ce5936fac63d01561c3a9bf652b692317
5329N/A
5329N/ACOMPONENT_ARCHIVE_URL= http://pkgs.fedoraproject.org/repo/pkgs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)/04f90ffbb65ffa289a5b1db2c52950f5/$(COMPONENT_ARCHIVE)
5329N/A
5426N/ACOMPONENT_PREP_ACTION += (cd $(@D) ; autoreconf -f)
5329N/A
5329N/ATPNO= 24738
5329N/A
5329N/ATEST_TARGET= $(NO_TESTS)
5329N/Ainclude $(WS_MAKE_RULES)/common.mk
5329N/A
5329N/A# need /usr/perl5/bin on path to access pod2man perl script, used by
5329N/A# the build to create docs
5329N/ACOMPONENT_BUILD_ENV += PATH=$(USRDIR)/perl5/bin:$(PATH)
5329N/A
5329N/ACPPFLAGS += "-DPIDFILE='\"/var/run/stunnel.pid\"'"
5329N/A
5329N/A# used to generate the 64-bit interposer location
5329N/ACPPFLAGS += -DMACH64='\"$(MACH64)\"'
5329N/A
5329N/ACONFIGURE_OPTIONS += --disable-fips
5713N/ACONFIGURE_OPTIONS += --enable-ipv6
5329N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
5329N/A
5329N/A# used to generate LD_PRELOAD_* interposer pathnames
5329N/ACOMPONENT_BUILD_ARGS += pkglibdir=$(USRLIBDIR)/stunnel
5329N/A
5329N/ACOMPONENT_PRE_INSTALL_ACTION = \
5329N/A $(MKDIR) $(PROTOETCDIR)/stunnel ; \
5329N/A $(TOUCH) $(PROTOETCDIR)/stunnel/stunnel.pem
5329N/A
5329N/AREQUIRED_PACKAGES += library/security/openssl
5329N/AREQUIRED_PACKAGES += system/core-os
5329N/AREQUIRED_PACKAGES += system/network
5329N/A