diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-08 14:09:43 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-08 14:10:14 +0200 |
commit | e1eb1e96f1122253167b4e2226f6c96ff95fca7a (patch) | |
tree | fea66fc2a5ff5fbcba8bedcb9b0c1548b2a4394a /testing/openssh-askpass | |
parent | 8c704d3917bee4e41a2ee09c9cc955262459b57b (diff) | |
download | alpine_aports-e1eb1e96f1122253167b4e2226f6c96ff95fca7a.tar.bz2 alpine_aports-e1eb1e96f1122253167b4e2226f6c96ff95fca7a.tar.xz alpine_aports-e1eb1e96f1122253167b4e2226f6c96ff95fca7a.zip |
testing/openssh-askpass: move from unmaintained
Diffstat (limited to 'testing/openssh-askpass')
-rw-r--r-- | testing/openssh-askpass/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/openssh-askpass/APKBUILD b/testing/openssh-askpass/APKBUILD new file mode 100644 index 0000000000..76109697ce --- /dev/null +++ b/testing/openssh-askpass/APKBUILD | |||
@@ -0,0 +1,33 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | pkgname=openssh-askpass | ||
3 | pkgver=7.6_p1 | ||
4 | _myver=${pkgver%_*}${pkgver#*_} | ||
5 | pkgrel=0 | ||
6 | pkgdesc="A passphrase dialog for OpenSSH and GTK" | ||
7 | url="http://www.openssh.org/portable.html" | ||
8 | arch="all" | ||
9 | license="as-is" | ||
10 | depends="openssh-client" | ||
11 | options="!check" | ||
12 | makedepends="gtk+2.0-dev" | ||
13 | subpackages="" | ||
14 | source="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$_myver.tar.gz" | ||
15 | builddir="$srcdir"/openssh-$_myver/contrib | ||
16 | |||
17 | build () { | ||
18 | cd "$builddir" | ||
19 | make gnome-ssh-askpass2 | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$builddir" | ||
24 | install -Dm755 gnome-ssh-askpass2 "$pkgdir"/usr/lib/ssh/gtk-ssh-askpass | ||
25 | install -d "$pkgdir"/etc/profile.d | ||
26 | cat > "$pkgdir"/etc/profile.d/openssh-askpass.sh <<- EOF | ||
27 | SSH_ASKPASS=/usr/lib/ssh/gtk-ssh-askpass | ||
28 | export SSH_ASKPASS | ||
29 | EOF | ||
30 | chmod +x "$pkgdir"/etc/profile.d/openssh-askpass.sh | ||
31 | } | ||
32 | |||
33 | sha512sums="de17fdcb8239401f76740c8d689a8761802f6df94e68d953f3c70b9f4f8bdb403617c48c1d01cc8c368d88e9d50aee540bf03d5a36687dfb39dfd28d73029d72 openssh-7.6p1.tar.gz" | ||