1 |
commit: 99e693f934db388866a779c3911947df28738bc9 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 30 14:55:16 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 30 14:55:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e693f9 |
7 |
|
8 |
net-misc/putty: Version 0.73 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-misc/putty/Manifest | 1 + |
14 |
net-misc/putty/putty-0.73.ebuild | 86 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 87 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest |
18 |
index ab6270aef2f..950f334bf02 100644 |
19 |
--- a/net-misc/putty/Manifest |
20 |
+++ b/net-misc/putty/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST putty-0.71.tar.gz 2423752 BLAKE2B fa4202d76d3b96e016a62c805db3835a6f61b05e7f63900919ffcd5bbec5159ef0e06b643398ed33aef5cd9ecf04eb9a981828683de7d565b88abbd4552237f6 SHA512 f8791210bd5925b26d51b13f0558eea15dbac40808051165b236d6436226f5c2b0aa7d69288ed9e2bddc1066455678cfd0af73ef6b715a136c42f3b6f754ac07 |
23 |
DIST putty-0.72.tar.gz 2449516 BLAKE2B 8d5b2e812bb7bb0bfabf210b2bd6f9e0858cb80b9f7edc241a1426f4a520896c9acc214fb732cb169c88914c89461968afdf73a7b9392e85113e6653902f3221 SHA512 a963985e55dcd589c08ef51085808a6364629edd8ce6708ebdf516e0339a41b7f186f91d7d7f26b1fec03d60767f365246e6fa06e9ef042898355c2f90f355dd |
24 |
+DIST putty-0.73.tar.gz 2459115 BLAKE2B 594ad1ebd66bdb27ac8d297525c0c5d846f8a15f7c9c5e750da8a57b08367b5c94a9d1439d6a42862e7e7b7a7d7c0dea285e9197fa45651d9eb12757b57e82a7 SHA512 4ada4b8c6d68be44afede2676bc661fedfd1ea0b574b8232ad9aaa6f3a48baa9f4f0ded2955b3f2677a14db85a508f53c965cb00fcd7538a1ed9844031f0c5e5 |
25 |
DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71 |
26 |
|
27 |
diff --git a/net-misc/putty/putty-0.73.ebuild b/net-misc/putty/putty-0.73.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ca57ab5f550 |
30 |
--- /dev/null |
31 |
+++ b/net-misc/putty/putty-0.73.ebuild |
32 |
@@ -0,0 +1,86 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit autotools desktop toolchain-funcs xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="A Free Telnet/SSH Client" |
40 |
+HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" |
41 |
+LICENSE="MIT" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="doc +gtk gtk2 ipv6 gssapi" |
46 |
+SRC_URI=" |
47 |
+ https://dev.gentoo.org/~jer/${PN}-icons.tar.bz2 |
48 |
+ https://the.earth.li/~sgtatham/${PN}/latest/${P}.tar.gz |
49 |
+" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ !net-misc/pssh |
53 |
+ gtk? ( |
54 |
+ dev-libs/glib:2 |
55 |
+ x11-libs/gdk-pixbuf |
56 |
+ x11-libs/libX11 |
57 |
+ x11-libs/pango |
58 |
+ gtk2? ( x11-libs/gtk+:2 ) |
59 |
+ !gtk2? ( x11-libs/gtk+:3[X] ) |
60 |
+ ) |
61 |
+ gssapi? ( virtual/krb5 ) |
62 |
+" |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ dev-lang/perl |
66 |
+ virtual/pkgconfig |
67 |
+" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ sed -i \ |
73 |
+ -e 's|-Werror||g' \ |
74 |
+ configure.ac || die |
75 |
+ |
76 |
+ eautoreconf |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ cd "${S}"/unix || die |
81 |
+ econf \ |
82 |
+ $(use_with gssapi) \ |
83 |
+ $(usex gtk --with-gtk= --without-gtk $(usex gtk2 2 3 ) ) |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ emake -C "${S}"/doc |
88 |
+ emake -C "${S}"/unix AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6) |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ dodoc doc/puttydoc.txt |
93 |
+ |
94 |
+ if use doc; then |
95 |
+ docinto html |
96 |
+ dodoc doc/*.html |
97 |
+ fi |
98 |
+ |
99 |
+ cd "${S}"/unix || die |
100 |
+ default |
101 |
+ |
102 |
+ if use gtk ; then |
103 |
+ for i in 16 22 24 32 48 64 128 256; do |
104 |
+ newicon -s ${i} "${WORKDIR}"/${PN}-icons/${PN}-${i}.png ${PN}.png |
105 |
+ done |
106 |
+ |
107 |
+ # install desktop file provided by Gustav Schaffter in #49577 |
108 |
+ make_desktop_entry ${PN} PuTTY ${PN} Network |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ use gtk && xdg_icon_cache_update |
114 |
+} |
115 |
+ |
116 |
+pkg_postrm() { |
117 |
+ use gtk && xdg_icon_cache_update |
118 |
+} |