commit dbfa4526fe0cb100d85a3b5eb993130eb820162a
Author: Jan Palus <[email protected]>
Date:   Thu Oct 17 12:58:06 2019 +0200

    fix sshd-keygen location in on demand service; rel 2

 openssh.spec  | 3 ++-
 [email protected] | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index ae1b8dd..9910979 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -36,7 +36,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       8.1p1
-Release:       1
+Release:       2
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -629,6 +629,7 @@ install -p %{SOURCE10} 
$RPM_BUILD_ROOT%{_libexecdir}/sshd-keygen
 %{__sed} -i -e 's|@@LIBEXECDIR@@|%{_libexecdir}|g' \
        $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd \
        $RPM_BUILD_ROOT%{systemdunitdir}/sshd.service \
+       $RPM_BUILD_ROOT%{systemdunitdir}/[email protected] \
        $RPM_BUILD_ROOT%{_libexecdir}/sshd-keygen
 
 %if %{with gnome}
diff --git a/[email protected] b/[email protected]
index 7a8db43..92d1ee0 100644
--- a/[email protected]
+++ b/[email protected]
@@ -4,6 +4,6 @@ After=syslog.target auditd.service
 
 [Service]
 EnvironmentFile=/etc/sysconfig/sshd
-ExecStartPre=/usr/sbin/sshd-keygen
+ExecStartPre=@@LIBEXECDIR@@/sshd-keygen
 ExecStart=-/usr/sbin/sshd -i $OPTIONS
 StandardInput=socket
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/dbfa4526fe0cb100d85a3b5eb993130eb820162a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to