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