summaryrefslogtreecommitdiff
path: root/extra/x11-ssh-askpass
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-20 23:14:58 +0000
committerroot <root@rshg054.dnsready.net>2011-10-20 23:14:58 +0000
commit1b21445a8e9097b0bb0542ed847fbb1eb832848f (patch)
treede9d1c80c9330efe48f043d8c6cc059ad5640151 /extra/x11-ssh-askpass
parent1a136cf48dd7f710f38ff998182508f5a0d41c35 (diff)
Thu Oct 20 23:14:58 UTC 2011
Diffstat (limited to 'extra/x11-ssh-askpass')
-rw-r--r--extra/x11-ssh-askpass/PKGBUILD44
-rw-r--r--extra/x11-ssh-askpass/profile.d4
2 files changed, 48 insertions, 0 deletions
diff --git a/extra/x11-ssh-askpass/PKGBUILD b/extra/x11-ssh-askpass/PKGBUILD
new file mode 100644
index 000000000..37b84c4d0
--- /dev/null
+++ b/extra/x11-ssh-askpass/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 140828 2011-10-19 22:29:39Z bisson $
+
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Mike Sampson <mike at sambodata dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Charles Mauch <cmauch@gmail.com>
+
+pkgname=x11-ssh-askpass
+pkgver=1.2.4.1
+pkgrel=3
+pkgdesc='Lightweight passphrase dialog for SSH'
+url='http://www.jmknoble.net/software/x11-ssh-askpass/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('libxt')
+makedepends=('imake')
+#source=("${url}${pkgname}-${pkgver}.tar.gz" # httpd only sends half the bits
+source=("http://pkgs.fedoraproject.org/repo/pkgs/openssh/x11-ssh-askpass-1.2.4.1.tar.gz/8f2e41f3f7eaa8543a2440454637f3c3/x11-ssh-askpass-1.2.4.1.tar.gz"
+ 'profile.d')
+sha1sums=('78c992951685d4dbffb77536f37b83ae2a6eafc7'
+ '28be56290d07e2625bc8e81ae8c7ea741d329c51')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/ssh \
+ --with-app-defaults-dir=/usr/share/X11/app-defaults \
+
+ xmkmf
+ make includes
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install install.man
+ install -Dm755 ../profile.d "${pkgdir}/etc/profile.d/${pkgname}.sh"
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ sed '109,174p;d' README > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/extra/x11-ssh-askpass/profile.d b/extra/x11-ssh-askpass/profile.d
new file mode 100644
index 000000000..955d6ad96
--- /dev/null
+++ b/extra/x11-ssh-askpass/profile.d
@@ -0,0 +1,4 @@
+if [ -f "/usr/lib/ssh/x11-ssh-askpass" ] ; then
+ SSH_ASKPASS="/usr/lib/ssh/x11-ssh-askpass"
+ export SSH_ASKPASS
+fi