|
|
@@ -186,15 +186,8 @@ AutoReqProv: no
|
|
|
%{SOURCE rc.openssh} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
# install reasonable ssh server and client configuration files
|
|
|
- case "%{l_target}" in
|
|
|
- *-freebsd* ) uselogin=yes; printmotd=no ;;
|
|
|
- *-linux* ) uselogin=yes; printmotd=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;@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' \
|
|
|
%{SOURCE ssh_config} $RPM_BUILD_ROOT%{l_prefix}/etc/openssh/
|