Makefile revision 2247
205N/A#
205N/A# CDDL HEADER START
205N/A#
205N/A# The contents of this file are subject to the terms of the
205N/A# Common Development and Distribution License (the "License").
205N/A# You may not use this file except in compliance with the License.
205N/A#
205N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
205N/A# or http://www.opensolaris.org/os/licensing.
205N/A# See the License for the specific language governing permissions
205N/A# and limitations under the License.
205N/A#
205N/A# When distributing Covered Code, include this CDDL HEADER in each
205N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
205N/A# If applicable, add the following below this CDDL HEADER, with the
205N/A# fields enclosed by brackets "[]" replaced with your own identifying
205N/A# information: Portions Copyright [yyyy] [name of copyright owner]
205N/A#
205N/A# CDDL HEADER END
205N/A#
205N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
205N/A#
844N/Ainclude ../../make-rules/shared-macros.mk
205N/A
205N/ACOMPONENT_NAME= openssh
205N/ACOMPONENT_VERSION= 6.0
205N/ACOMPONENT_PORTABLE_VERSION = $(COMPONENT_VERSION)p1
205N/ACOMPONENT_PROJECT_URL= http://www.openssh.org/
205N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_PORTABLE_VERSION)
205N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
618N/ACOMPONENT_ARCHIVE_HASH= sha256:589d48e952d6c017e667873486b5df63222f9133d417d0002bd6429d9bd882de
205N/ACOMPONENT_ARCHIVE_URL= http://mirror.team-cymru.org/pub/OpenBSD/OpenSSH/portable/$(COMPONENT_ARCHIVE)
205N/ACOMPONENT_BUGDB=utility/openssh
844N/A
844N/Ainclude ../../make-rules/prep.mk
618N/Ainclude ../../make-rules/configure.mk
205N/Ainclude ../../make-rules/ips.mk
205N/A
205N/A# Enable ASLR for this component
205N/AASLR_MODE = $(ASLR_ENABLE)
205N/A
205N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DSET_USE_PAM -DDEPRECATE_SUNSSH_OPT -DLASTLOG_FIX -DKRB5_BUILD_FIX -DAUE_openssh=6172"
205N/A
205N/A# We need to disable lazyloading of dynamic dependent libraries. During the
205N/A# pre-authentication phase, sshd will chroot to /var/empty which doesn't
205N/A# contain any files. If we use lazyloading, sshd will fail to find any
205N/A# libraries that it needs.
205N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) -B direct -z nolazyload"
205N/A
205N/ACONFIGURE_OPTIONS += --with-audit=bsm
205N/ACONFIGURE_OPTIONS += --with-libedit
205N/ACONFIGURE_OPTIONS += --with-kerberos5
205N/ACONFIGURE_OPTIONS += --with-pam
205N/ACONFIGURE_OPTIONS += --with-sandbox=no
205N/ACONFIGURE_OPTIONS += --with-solaris-contracts
205N/ACONFIGURE_OPTIONS += --with-solaris-projects
205N/ACONFIGURE_OPTIONS += --with-tcp-wrappers
CONFIGURE_OPTIONS += --with-4in6
CONFIGURE_OPTIONS += --enable-strip=no
CONFIGURE_OPTIONS += --libexecdir=/usr/lib/ssh
CONFIGURE_OPTIONS += --sbindir=/usr/lib/ssh
CONFIGURE_OPTIONS += --sysconfdir=/etc/ssh
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
# Because of certain set up requirement, the regress test suite is ported to
# the STC gate.
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk