Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37535642
en ru br
Репозитории ALT
S:5.4p1-alt1
5.1: 5.1p1-alt2
4.1: 3.6.1p1-alt3
4.0: 3.6.1p1-alt3
3.0: 3.6.1p1-alt1.1
www.altlinux.org/Changes

Группа :: Сети/Удалённый доступ
Пакет: gtk2-ssh-askpass

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: gtk2-ssh-askpass
Version: 3.6.1p1
Release: alt1.1

Packager: Dmitry V. Levin <ldv at altlinux.org>

Summary: A Gtk2-based passphrase dialog for use with OpenSSH
License: BSD
Group: Networking/Remote access
Url: http://www.openssh.com/

Source: %name.c

%define openssh_askpass_dir /usr/lib/openssh

PreReq: alternatives >= 0.0.6 , %openssh_askpass_dir
Requires: openssh-askpass-common
Provides: %openssh_askpass_dir/ssh-askpass
Provides: openssh-askpass-gtk2 = %version-%release
Provides: openssh-askpass-gnome = %version-%release
Obsoletes: openssh-askpass-gnome

# Automatically added by buildreq on Mon May 05 2003

BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 glib2-devel libXft libalternatives-devel libatk-devel libexpat libgtk+2-devel libpango-devel pkgconfig

%description
This is a Gtk2-based passphrase dialog for use with OpenSSH.
These dialogs are intended to be called from the ssh-add program and
not invoked directly.

There is only two run-time options: if you set the environment variable
"GNOME_SSH_ASKPASS_GRAB_SERVER=true" then %name will grab
the X server.  If you set "GNOME_SSH_ASKPASS_GRAB_POINTER=true", then the
pointer will be grabbed too.  These may have some benefit to security if
you don't trust your X server.  We grab the keyboard always.

%prep
%setup -qcT

%build
gcc $RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0` \
%SOURCE0 `pkg-config --libs gtk+-2.0` -o %name

%install
%__install -pD -m755 %name $RPM_BUILD_ROOT%openssh_askpass_dir/%name

install -d $RPM_BUILD_ROOT%_altdir
cat <<EOF >$RPM_BUILD_ROOT%_altdir/%name
<group name="candidate">
   <option name="link">%openssh_askpass_dir/ssh-askpass</option>
   <option name="real">%openssh_askpass_dir/%name</option>
   <option name="weight" type="number">10</option>
</group>
EOF

%post
%register_alternatives %name -- ssh-askpass

%preun
%unregister_alternatives %name

%triggerpostun -- openssh-askpass-gnome
%register_alternatives %name -- ssh-askpass

%files
%_altdir/%name
%openssh_askpass_dir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin