tomcat-11: fix mediator version and license
[oi-userland.git] / components / network / hpn-ssh / patches / 0001-Skip-config-check.patch
blob61d6574f998f3176ca3b20d26e0af1854591897c
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
11 @@ -424,7 +424,16 @@
12 install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
14 check-config:
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
18 +# enforced:
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'
27 install-files:
28 $(MKDIR_P) $(DESTDIR)$(bindir)