2 # This change is to remove some misleading error messages when running
3 # "gmake install". OpenSSH mixes the building and running together. Some
4 # system setup checking for running the program needs to be removed, because
5 # they are not suitable in a build system. This is for OpenIndiana only, so we
6 # will not contribute back this change to the upstream community.
9 --- hpn-ssh-hpn-18.4.2/Makefile.in.orig
10 +++ hpn-ssh-hpn-18.4.2/Makefile.in
12 install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
15 - -$(DESTDIR)$(sbindir)/hpnsshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
16 +# On OpenIndiana, to workaround OpenSSH's unlucky mixing of 'building ssh' and
17 +# 'running ssh', on build machine the following requisites shouldn't be
19 +# 1) existence of privsep user hpnsshd
20 +# 2) existence of privsep directory /var/empty
21 +# 3) read permissions for /etc/hpnssh/ssh_host_[rsa,dsa]_key
23 +# -$(DESTDIR)$(sbindir)/hpnsshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
25 + @echo 'OpenIndiana: skipping check-config'
28 $(MKDIR_P) $(DESTDIR)$(bindir)