equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 COMPILER= gcc |
25 COMPILER= gcc |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= openssh |
28 COMPONENT_NAME= openssh |
52 ASLR_MODE = $(ASLR_ENABLE) |
52 ASLR_MODE = $(ASLR_ENABLE) |
53 |
53 |
54 CFLAGS += -DSET_USE_PAM |
54 CFLAGS += -DSET_USE_PAM |
55 CFLAGS += -DDEPRECATE_SUNSSH_OPT |
55 CFLAGS += -DDEPRECATE_SUNSSH_OPT |
56 CFLAGS += -DKRB5_BUILD_FIX |
56 CFLAGS += -DKRB5_BUILD_FIX |
|
57 CFLAGS += -DDTRACE_SFTP |
57 CFLAGS += -DDISABLE_BANNER |
58 CFLAGS += -DDISABLE_BANNER |
58 CFLAGS += -DPAM_ENHANCEMENT |
59 CFLAGS += -DPAM_ENHANCEMENT |
59 CFLAGS += -DPAM_BUGFIX |
60 CFLAGS += -DPAM_BUGFIX |
60 CFLAGS += -DOPTION_DEFAULT_VALUE |
61 CFLAGS += -DOPTION_DEFAULT_VALUE |
61 CFLAGS += -DPER_SESSION_XAUTHFILE |
62 CFLAGS += -DPER_SESSION_XAUTHFILE |
89 CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/ssh |
90 CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/ssh |
90 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/ssh |
91 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/ssh |
91 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR) |
92 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR) |
92 CONFIGURE_OPTIONS += --disable-lastlog |
93 CONFIGURE_OPTIONS += --disable-lastlog |
93 |
94 |
|
95 # Copy the sftp dtrace provider file and the header file to source directory |
|
96 COMPONENT_PRE_BUILD_ACTION = \ |
|
97 ( echo "Copying dtrace sftp files..."; \ |
|
98 $(LN) -fs $(COMPONENT_DIR)/dtrace_sftp/*.[dh] $(SOURCE_DIR); \ |
|
99 ) |
|
100 |
94 MANLIST= moduli.5 scp.1 sftp-server.8 sftp.1 ssh-add.1 ssh-agent.1 \ |
101 MANLIST= moduli.5 scp.1 sftp-server.8 sftp.1 ssh-add.1 ssh-agent.1 \ |
95 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh-pkcs11-helper.8 \ |
102 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh-pkcs11-helper.8 \ |
96 ssh.1 ssh_config.5 sshd.8 sshd_config.5 |
103 ssh.1 ssh_config.5 sshd.8 sshd_config.5 |
97 |
104 |
98 # To avoid complexity with updates, after patching for specific code-related |
105 # To avoid complexity with updates, after patching for specific code-related |