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