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