| |
@@ -51,14 +51,14 @@
|
| |
|
| |
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
| |
%global openssh_ver 8.4p1
|
| |
- %global openssh_rel 5
|
| |
+ %global openssh_rel 6
|
| |
%global pam_ssh_agent_ver 0.10.4
|
| |
%global pam_ssh_agent_rel 1
|
| |
|
| |
Summary: An open source implementation of SSH protocol version 2
|
| |
Name: openssh
|
| |
Version: %{openssh_ver}
|
| |
- Release: %{openssh_rel}%{?dist}.2
|
| |
+ Release: %{openssh_rel}%{?dist}
|
| |
URL: http://www.openssh.com/portable.html
|
| |
#URL1: https://github.com/jbeverly/pam_ssh_agent_auth/
|
| |
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
| |
@@ -75,6 +75,7 @@
|
| |
Source12: sshd-keygen@.service
|
| |
Source13: sshd-keygen
|
| |
Source15: sshd-keygen.target
|
| |
+ Source16: ssh-agent.service
|
| |
|
| |
#https://bugzilla.mindrot.org/show_bug.cgi?id=2581
|
| |
Patch100: openssh-6.7p1-coverity.patch
|
| |
@@ -216,6 +217,7 @@
|
| |
BuildRequires: openssl-devel >= 0.9.8j
|
| |
BuildRequires: perl-podlators
|
| |
BuildRequires: systemd-devel
|
| |
+ BuildRequires: systemd-rpm-macros
|
| |
BuildRequires: gcc make
|
| |
BuildRequires: p11-kit-devel
|
| |
BuildRequires: libfido2-devel
|
| |
@@ -517,6 +519,7 @@
|
| |
install -m644 %{SOURCE11} $RPM_BUILD_ROOT/%{_unitdir}/sshd.service
|
| |
install -m644 %{SOURCE12} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen@.service
|
| |
install -m644 %{SOURCE15} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen.target
|
| |
+ install -m644 %{SOURCE16} $RPM_BUILD_ROOT/%{_unitdir}/ssh-agent.service
|
| |
install -m744 %{SOURCE13} $RPM_BUILD_ROOT/%{_libexecdir}/openssh/sshd-keygen
|
| |
install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}/
|
| |
install contrib/ssh-copy-id.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
| |
@@ -584,6 +587,12 @@
|
| |
%attr(2555,root,ssh_keys) %{_libexecdir}/openssh/ssh-keysign
|
| |
%attr(0644,root,root) %{_mandir}/man8/ssh-keysign.8*
|
| |
|
| |
+ %post clients
|
| |
+ %systemd_user_post ssh-agent.service
|
| |
+
|
| |
+ %preun clients
|
| |
+ %systemd_user_preun ssh-agent.service
|
| |
+
|
| |
%files clients
|
| |
%attr(0755,root,root) %{_bindir}/ssh
|
| |
%attr(0644,root,root) %{_mandir}/man1/ssh.1*
|
| |
@@ -607,6 +616,7 @@
|
| |
%attr(0644,root,root) %{_mandir}/man1/ssh-copy-id.1*
|
| |
%attr(0644,root,root) %{_mandir}/man8/ssh-pkcs11-helper.8*
|
| |
%attr(0644,root,root) %{_mandir}/man8/ssh-sk-helper.8*
|
| |
+ %attr(0644,root,root) %{_unitdir}/ssh-agent.service
|
| |
|
| |
%files server
|
| |
%dir %attr(0711,root,root) %{_datadir}/empty.sshd
|
| |
@@ -648,6 +658,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Tue Mar 02 2021 Rex Dieter <rdieter@fedoraproject.org> - 8.4p1-6
|
| |
+ - -clients: provide ssh-agent.service (#1761817)
|
| |
+
|
| |
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 8.4p1-5.2
|
| |
- Rebuilt for updated systemd-rpm-macros
|
| |
See https://pagure.io/fesco/issue/2583.
|
| |
Per feedback in
https://bugzilla.redhat.com/show_bug.cgi?id=1761817#c24
An initial implementation of adding a systemd user unit for ssh-agent