From 75b0997404b4e842477527bceffb2998f737b088 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 10 Aug 2012 14:02:33 +0000 Subject: testing/openssh-askpass: new aport A passphrase dialog for OpenSSH and GTK http://www.openssh.org/portable.html --- testing/openssh-askpass/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/openssh-askpass/APKBUILD (limited to 'testing/openssh-askpass/APKBUILD') diff --git a/testing/openssh-askpass/APKBUILD b/testing/openssh-askpass/APKBUILD new file mode 100644 index 0000000000..43eaf06a27 --- /dev/null +++ b/testing/openssh-askpass/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Natanael Copa +pkgname=openssh-askpass +pkgver=6.0_p1 +_myver=${pkgver%_*}${pkgver#*_} +pkgrel=0 +pkgdesc="A passphrase dialog for OpenSSH and GTK" +url="http://www.openssh.org/portable.html" +arch="all" +license="as-is" +depends="openssh-client" +makedepends="gtk+2.0-dev" +subpackages="" +source="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$_myver.tar.gz + " + +_builddir="$srcdir"/openssh-$_myver/contrib +prepare() { + cd "$_builddir" + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -N -i "$srcdir"/${i##*/} || return 1 + ;; + esac + done +} + +build () { + cd "$_builddir" + make gnome-ssh-askpass2 +} + +package() { + cd "$_builddir" + install -Dm755 gnome-ssh-askpass2 "$pkgdir"/usr/lib/ssh/gtk-ssh-askpass + install -d "$pkgdir"/etc/profile.d + cat > "$pkgdir"/etc/profile.d/openssh-askpass.sh <