Репозиторий Sisyphus
Последнее обновление: 19 октября 2019 | Пакетов: 17506 | Посещений: 15301403
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: alt3

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 %_libexecdir/openssh

PreReq: alternatives >= 0:0.2.0-alt0.12, %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

BuildPreReq: alternatives libgtk+2-devel xorg-x11-devel

%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 %optflags `pkg-config --cflags gtk+-2.0` \
%SOURCE0 `pkg-config --libs gtk+-2.0` -o %name

%install
install -pD -m755 %name %buildroot%openssh_askpass_dir/%name

mkdir -p %buildroot%_altdir
cat >%buildroot%_altdir/%name<<EOF
%openssh_askpass_dir/ssh-askpass %openssh_askpass_dir/%name 10
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