Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/putty/
Date: Mon, 12 Jul 2021 07:38:36
Message-Id: 1626075498.79a3c9fa813fb996bb1ba757f221de4697d3b5a2.polynomial-c@gentoo
1 commit: 79a3c9fa813fb996bb1ba757f221de4697d3b5a2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 12 07:31:37 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 12 07:38:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a3c9fa
7
8 net-misc/putty: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 net-misc/putty/Manifest | 1 -
13 net-misc/putty/putty-0.74.ebuild | 95 ----------------------------------------
14 2 files changed, 96 deletions(-)
15
16 diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest
17 index faad2287b25..816f3b817c2 100644
18 --- a/net-misc/putty/Manifest
19 +++ b/net-misc/putty/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST putty-0.74.tar.gz 2476513 BLAKE2B 3b3acd8ce1deb5d1659dd2ce77c9e7316e2c639c5f0e962c472b109afc1a54854d30123c4732f9b9e8ba28d9324508894faaa78f3b484c99c0063d1ea2f499b7 SHA512 0da86849ea764cd88643bd2c1984ac7211ae72dd7c41232307b1960a29ca9518044b022d87c60272d6db71a3357026862a112bedb90ee732b41494fca3acde9b
22 DIST putty-0.75.tar.gz 2731167 BLAKE2B 529b2c65853b8f915afd0563c1a055244d919794a71cff43573910fa2d4a81efca060c12320a0d07ddf3b03064b7e27d00ae396d6a2c1e46dc1a06403cae5c17 SHA512 3dbc15485008a98daf60236061253e66b94a6e5da123fc84c5f0ac006c84e17c70fe748987677775e3b54a12297eb826cccf70a4fc039b633bc2d512938b3028
23 DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71
24
25 diff --git a/net-misc/putty/putty-0.74.ebuild b/net-misc/putty/putty-0.74.ebuild
26 deleted file mode 100644
27 index 62ac436ba4c..00000000000
28 --- a/net-misc/putty/putty-0.74.ebuild
29 +++ /dev/null
30 @@ -1,95 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit autotools desktop toolchain-funcs xdg-utils
36 -
37 -DESCRIPTION="A Free Telnet/SSH Client"
38 -HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
39 -LICENSE="MIT"
40 -
41 -SLOT="0"
42 -KEYWORDS="~alpha amd64 ~arm64 ~hppa ppc ppc64 sparc x86"
43 -SRC_URI="
44 - https://dev.gentoo.org/~polynomial-c/${PN}-icons.tar.bz2
45 - https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz
46 -"
47 -IUSE="doc +gtk gtk2 ipv6 gssapi"
48 -RDEPEND="
49 - !net-misc/pssh
50 - gtk? (
51 - dev-libs/glib:2
52 - x11-libs/gdk-pixbuf
53 - x11-libs/libX11
54 - x11-libs/pango
55 - gtk2? ( x11-libs/gtk+:2 )
56 - !gtk2? ( x11-libs/gtk+:3[X] )
57 - )
58 - gssapi? ( virtual/krb5 )
59 -"
60 -DEPEND="
61 - ${RDEPEND}
62 -"
63 -BDEPEND="
64 - dev-lang/perl
65 - virtual/pkgconfig
66 -"
67 -REQUIRED_USE="
68 - gtk2? ( gtk )
69 -"
70 -
71 -src_prepare() {
72 - default
73 -
74 - sed -i \
75 - -e 's|-Werror||g' \
76 - configure.ac || die
77 -
78 - eautoreconf
79 -}
80 -
81 -src_configure() {
82 - cd "${S}"/unix || die
83 - econf \
84 - $(use_with gssapi) \
85 - $(usex gtk --with-gtk= --without-gtk $(usex gtk2 2 3 ) )
86 -}
87 -
88 -src_compile() {
89 - emake -C "${S}"/doc
90 - emake -C "${S}"/unix AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6)
91 -}
92 -
93 -src_test() {
94 - emake -C unix cgtest
95 - unix/cgtest || die
96 -}
97 -
98 -src_install() {
99 - dodoc doc/puttydoc.txt
100 -
101 - if use doc; then
102 - docinto html
103 - dodoc doc/*.html
104 - fi
105 -
106 - cd "${S}"/unix || die
107 - default
108 -
109 - if use gtk ; then
110 - for i in 16 22 24 32 48 64 128 256; do
111 - newicon -s ${i} "${WORKDIR}"/${PN}-icons/${PN}-${i}.png ${PN}.png
112 - done
113 -
114 - # install desktop file provided by Gustav Schaffter in #49577
115 - make_desktop_entry ${PN} PuTTY ${PN} Network
116 - fi
117 -}
118 -
119 -pkg_postinst() {
120 - use gtk && xdg_icon_cache_update
121 -}
122 -
123 -pkg_postrm() {
124 - use gtk && xdg_icon_cache_update
125 -}