You are not logged in.

#1 2004-08-22 02:03:18

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

[network] ssh-askpass-fullscreen

ssh-askpass-fullscreen is an SSH passphrase entry dialog written for GTK2.  When used with ssh-agent and ssh-add you only need to enter your passphrase once when you login.

# Contributor: K. Piche <kpiche@rogers.com>
pkgname=ssh-askpass-fullscreen
# The project has been renamed, but not the source yet.
oldname=gtk2-ssh-askpass
pkgver=0.3
pkgrel=1
pkgdesc="A small SSH passphrase requestor written with GTK2. Features fullscreen dialog and translucent background."
url=(http://www.cgabriel.org/sw/ssh-askpass-fullscreen/)
source=(http://www.cgabriel.org/sw/$pkgname/$oldname-$pkgver.tar.gz ssh-askpass-fullscreen.sh ssh-askpass-fullscreen.install)
depends=('gtk2')
install=ssh-askpass-fullscreen.install
md5sums=('14ca8c653ad19699b7299198d7a94e0a' '522842a100f4a466caabe839d3af8640'
         '15e76065899a94242a06a4f411dcb888')

build() {
  cd $startdir/src/$oldname-$pkgver
  make || return 1
  install -D -m755 $oldname $startdir/pkg/usr/lib/ssh/$oldname
  install -D -m755 $startdir/src/ssh-askpass-fullscreen.sh 
      $startdir/pkg/etc/profile.d/ssh-askpass-fullscreen.sh
}

ssh-askpass-fullscreen.sh:

SSH_ASKPASS=/usr/lib/ssh/gtk2-ssh-askpass
export SSH_ASKPASS

ssh-askpass-fullscreen.install:

# arg 1:  the new package version
post_install() {
  /bin/true
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  echo
  echo "To use with GNOME, click on the GNOME main menu then Desktop"
  echo "Preferences -> Advanced -> Sessions.  On the Startup Programs"
  echo "tab click Add, enter the command '/usr/bin/ssh-add', and click"
  echo "OK.  Logout, login, and enter your passphrase."
  echo
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

op=$1
shift

$op $*

The binary package, PKGBUILD, and extra files are also available from http://ca.geocities.com/kpiche@rogers.com/

Offline

#2 2005-02-06 18:15:50

timmy
Member
From: Christiansfeld - Denmark
Registered: 2005-01-25
Posts: 45
Website

Re: [network] ssh-askpass-fullscreen

Hey, thanks man, it seems to work, although the file wasn't found at the old mirror, but i managed to find it here: http://mirror.isurf.ca/download.sourcemage.org/mirror/


Know your rights - http://rwxr-xr-x.dk

Offline

Board footer

Powered by FluxBB