From f29ceff27533b92c9cb2848660b6f008e11724dc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:15:55 +0100 Subject: [PATCH] install ssh-askpass tool in path required by virt-manager [release 6.7p1-2mamba;Thu Dec 11 2014] --- openssh.spec | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/openssh.spec b/openssh.spec index b464fb1..2bb26f8 100644 --- a/openssh.spec +++ b/openssh.spec @@ -7,7 +7,7 @@ Name: openssh Version: 6.7p1 -Release: 1mamba +Release: 2mamba Summary: OpenSSH free Secure Shell (SSH) implementation Group: Network/Security Vendor: openmamba @@ -24,12 +24,19 @@ Source6: openssh-sshd.conf Patch0: openssh-6.6p1-ssh_config.patch License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: bash BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk2-devel BuildRequires: libopenssl-devel -BuildRequires: libwrap-devel +BuildRequires: libpam-devel +BuildRequires: libpango-devel BuildRequires: libz-devel -BuildRequires: pam-devel ## AUTOBUILDREQ-END %if "%{stage1}" != "1" BuildRequires: %{_bindir}/xauth @@ -100,6 +107,13 @@ OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it up to d This package contains the secure shell daemon. The sshd is the server part of the secure shell protocol and allows ssh clients to connect to your host. +%package askpass +Summary: A Gtk2 SSH passphrase requester +Group: Graphical Desktop/Applications/Security + +%description askpass +A Gtk2 SSH passphrase requester. + %prep %setup -q %patch0 -p1 @@ -137,6 +151,7 @@ export CFLAGS="%{optflags} -DUSE_CHROOT" %make +make -C contrib gnome-ssh-askpass2 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -169,6 +184,8 @@ echo "AcceptEnv LANG LC_*" >> %{buildroot}%{_sysconfdir}/ssh/sshd_config install -m0755 contrib/ssh-copy-id %{buildroot}%{_bindir}/ssh-copy-id install -m0644 contrib/ssh-copy-id.1 %{buildroot}%{_mandir}/man1/ssh-copy-id.1 +install -m0755 contrib/gnome-ssh-askpass2 %{buildroot}%{_libexecdir}/openssh/ssh-askpass + %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -270,7 +287,14 @@ exit 0 %{_mandir}/man8/sshd.* %{_mandir}/man5/moduli.* +%files askpass +%defattr(-,root,root) +%{_libexecdir}/openssh/ssh-askpass + %changelog +* Thu Dec 11 2014 Silvan Calarco 6.7p1-2mamba +- install ssh-askpass tool in path required by virt-manager + * Tue Oct 07 2014 Automatic Build System 6.7p1-1mamba - automatic version update by autodist