|
|
@@ -140,7 +140,7 @@ AutoReqProv: no
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/libexec/openssh/* 2> /dev/null || true
|
|
|
|
|
|
# install ssh-askpass wrapper
|
|
|
- %{l_shtool} install -c -m 755 -e "s;@l_prefix@;%{l_prefix};g" \
|
|
|
+ %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
%{SOURCE ssh-askpass} $RPM_BUILD_ROOT%{l_prefix}/libexec/openssh/
|
|
|
|
|
|
# make sure the state directory exists
|
|
|
@@ -148,7 +148,7 @@ AutoReqProv: no
|
|
|
|
|
|
# install run-command script
|
|
|
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
|
|
|
- %{l_shtool} install -c -m 755 -e "s;@l_prefix@;%{l_prefix};g" \
|
|
|
+ %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
-e 's;@l_fsusr@;%{l_fsusr};g' -e 's;@l_fsgrp@;%{l_fsgrp};g' \
|
|
|
%{SOURCE rc.openssh} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
@@ -159,11 +159,11 @@ AutoReqProv: no
|
|
|
*-solaris* ) uselogin=no; printmotd=yes ;; # "uselogin" does not work on Solaris!
|
|
|
esac
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
- -e "s;@l_prefix@;%{l_prefix};g" \
|
|
|
+ -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
-e "s;@uselogin@;$uselogin;" \
|
|
|
-e "s;@printmotd@;$printmotd;" \
|
|
|
%{SOURCE sshd_config} $RPM_BUILD_ROOT%{l_prefix}/etc/openssh/
|
|
|
- %{l_shtool} install -c -m 644 -e "s;@l_prefix@;%{l_prefix};g" \
|
|
|
+ %{l_shtool} install -c -m 644 -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
%{SOURCE ssh_config} $RPM_BUILD_ROOT%{l_prefix}/etc/openssh/
|
|
|
|
|
|
# determine installation files
|