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