Makefile revision 7243
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Version for IPS. The encoding rules are:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# OpenSSH <x>.<y>p<n> => IPS <x>.<y>.0.<n>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# OpenSSH <x>.<y>.<z>p<n> => IPS <x>.<y>.<z>.<n>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_HASH= sha256:3ffb989a6dcaa69594c3b550d4855a5a2e1718ccdde7f5e36387b424220fbecc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_URL= http://mirrors.sonic.net/pub/OpenBSD/OpenSSH/portable/$(COMPONENT_ARCHIVE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Because of set up requirements, test suite is in stc gate.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# 11.3 has conflicts with ON's SunSSH package, which had not yet added
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# mediated links, thus cannot be updated to.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# We need to disable lazyloading of dynamic dependent libraries. During the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# pre-authentication phase, sshd will chroot to /var/empty which doesn't
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# contain any files. If we use lazyloading, sshd will fail to find any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# libraries that it needs.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Enable adiheap and adistack security extensions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Build PIE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Fix 64-bit linking via compiler.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzCONFIGURE_OPTIONS += --with-xauth=$(USRBINDIR)/xauth
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copy the sftp dtrace provider file and the header file to source directory
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LN) -fs $(COMPONENT_DIR)/dtrace_sftp/*.[dh] $(SOURCE_DIR); \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copy Solaris specific source files and generate configuration script