Makefile revision 1378
325N/A#
325N/A# CDDL HEADER START
325N/A#
325N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License (the "License").
325N/A# You may not use this file except in compliance with the License.
325N/A#
325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
325N/A# or http://www.opensolaris.org/os/licensing.
325N/A# See the License for the specific language governing permissions
325N/A# and limitations under the License.
325N/A#
325N/A# When distributing Covered Code, include this CDDL HEADER in each
325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
325N/A# If applicable, add the following below this CDDL HEADER, with the
325N/A# fields enclosed by brackets "[]" replaced with your own identifying
325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
325N/A#
325N/A# CDDL HEADER END
325N/A#
325N/A
325N/A#
325N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
325N/A#
325N/A
325N/Ainclude ../../make-rules/shared-macros.mk
325N/A
325N/ACOMPONENT_NAME= stunnel
325N/ACOMPONENT_VERSION= 4.29
325N/ACOMPONENT_PROJECT_URL= http://stunnel.mirt.net/
325N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
325N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
325N/ACOMPONENT_ARCHIVE_HASH= \
325N/A sha256:018064e852a2a125bcfb4b81baa77b5701ccf6aabe6a47564bfc046b18d11f9b
325N/A
493N/A# ftp://stunnel.mirt.net/stunnel/stunnel-4.29.tar.gz is no longer there.
325N/ACOMPONENT_ARCHIVE_URL= http://pkgs.fedoraproject.org/repo/pkgs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)/14dc3f8412947f0548975cbce74d6863/$(COMPONENT_ARCHIVE)
325N/A
493N/ACOMPONENT_BUGDB= utility/stunnel
325N/A
911N/Ainclude ../../make-rules/prep.mk
911N/Ainclude ../../make-rules/configure.mk
911N/Ainclude ../../make-rules/ips.mk
911N/A
325N/A# need /usr/perl5/bin on path to access pod2man perl script, used by
325N/A# the build to create docs
325N/ACOMPONENT_BUILD_ENV += PATH=/usr/perl5/bin:$(PATH)
325N/A
325N/ACPPFLAGS += "-DPIDFILE='\"/var/run/stunnel.pid\"'"
325N/A
325N/ACONFIGURE_OPTIONS += --disable-fips
325N/ACONFIGURE_OPTIONS += --enable-ipv6
325N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
493N/ACONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
493N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
325N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
325N/A
325N/ACOMPONENT_PRE_INSTALL_ACTION = \
493N/A $(MKDIR) $(PROTOETCDIR)/stunnel ; \
325N/A $(TOUCH) $(PROTOETCDIR)/stunnel/stunnel.pem
493N/A
325N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
493N/A
325N/A# common targets
325N/Abuild: $(BUILD_32_and_64)
493N/A
325N/Ainstall: $(INSTALL_32_and_64)
493N/A
325N/Atest: $(NO_TESTS)
325N/A
325N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
325N/A
325N/Ainclude ../../make-rules/depend.mk