Commit 838ea47e authored by Pavel Vainerman's avatar Pavel Vainerman

fixed openssh confdir (eterbug #12796)

parent 86078da9
...@@ -28,6 +28,12 @@ Openssh portable (etersoft edition) ...@@ -28,6 +28,12 @@ Openssh portable (etersoft edition)
%prep %prep
%setup %setup
confdir=""
[ -r "/etc/openssh/ssh_config" ] && confdir="/openssh"
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh_config" ] && confdir="/"
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g" Makefile.in
%build %build
with_kerberos= with_kerberos=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment