From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E2BDC139694 for ; Wed, 3 May 2017 12:09:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E46C3E0BF5; Wed, 3 May 2017 12:09:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE7F9E0BF5 for ; Wed, 3 May 2017 12:09:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 635563416BA for ; Wed, 3 May 2017 12:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 108DB7447 for ; Wed, 3 May 2017 12:09:34 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1493813358.0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/putty/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/putty/Manifest net-misc/putty/putty-0.69.ebuild X-VCS-Directories: net-misc/putty/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c X-VCS-Branch: master Date: Wed, 3 May 2017 12:09:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e207819-9840-4585-bbe5-86e73126d5ae X-Archives-Hash: 4bd5ad971d877ffba395cde135ded822 commit: 0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c Author: Jeroen Roovers gentoo org> AuthorDate: Wed May 3 12:08:44 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed May 3 12:09:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c195cb7 net-misc/putty: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-misc/putty/Manifest | 1 + net-misc/putty/putty-0.69.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index e99ecbaae2e..b47b4b9c6a3 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -1,2 +1,3 @@ DIST putty-0.68.tar.gz 2114499 SHA256 7ba256f46e5a353cafe811ce7914d0e22a52bdfc0e6e2d183ad28b5af44cd09c SHA512 e3a6e4f45e1fce70d4cbb6d4769ab72b23c10920e48a88bba95b3f4c225b0193ddc1444e69d572bdec5e505d2c56fed365f07d990c156b35f272b56f978ef5d3 WHIRLPOOL d24ceb3ed62eca52bb3a8f4fae08256269002265650e6fc42af10fc10a7b85b677b70c68e6b0a98915371921eabfbcbfa8a9b64b6be1a51cff418aef2feb6650 +DIST putty-0.69.tar.gz 2122306 SHA256 b7dad241ff01b0cbb9dc4c1471ec7cacf8f08d98a581aeb2f336da3c0eb96ad1 SHA512 2739829adec60df5658709d61f8539d431f6b5d71b9b893fcefb2a04ac52bf2ace26f9ca784156d6540fa3f3e5858a86eb2921002b4cc05f9fbf22da7931ec2a WHIRLPOOL 7f003a0bc0f94c14aa3ea5c0b38bbe7fd9dbc6e92d7fac1a4aa004c775d567db49526439c7ed6fe37eb5e345b499ace3a27dd218cdf97d81eeb4bf4d0ea83343 DIST putty-icons.tar.bz2 4878 SHA256 960b189069dbfb20a1f49e378ab88bed716c6457593815e414d51ad7a3fa93a7 SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71 WHIRLPOOL ec96fe682582bfa58ce73c3e5cb7bb61d2363b7a5e9d3259dfd11cd6396512b5b9ed954f6a431baab36b1f17963714b30c239cdf4c08191d27b5abb858f54a57 diff --git a/net-misc/putty/putty-0.69.ebuild b/net-misc/putty/putty-0.69.ebuild new file mode 100644 index 00000000000..448708462c8 --- /dev/null +++ b/net-misc/putty/putty-0.69.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils gnome2-utils toolchain-funcs + +DESCRIPTION="A Free Telnet/SSH Client" +HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc +gtk ipv6 kerberos" +SRC_URI=" + https://dev.gentoo.org/~jer/${PN}-icons.tar.bz2 + http://the.earth.li/~sgtatham/${PN}/latest/${P}.tar.gz +" + +RDEPEND=" + !net-misc/pssh + gtk? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/pango + ) + kerberos? ( virtual/krb5 ) +" +DEPEND=" + ${RDEPEND} + dev-lang/perl + virtual/pkgconfig +" + +src_prepare() { + default + + sed -i \ + -e '/AM_PATH_GTK(/d' \ + -e 's|-Werror||g' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + cd "${S}"/unix || die + econf \ + $(use_with kerberos gssapi) \ + $(use_with gtk) +} + +src_compile() { + cd "${S}"/unix || die + emake AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6) +} + +src_install() { + dodoc doc/puttydoc.txt + + if use doc; then + docinto html + dodoc doc/*.html + fi + + cd "${S}"/unix || die + default + + if use gtk ; then + for i in 16 22 24 32 48 64 128 256; do + newicon -s ${i} "${WORKDIR}"/${PN}-icons/${PN}-${i}.png ${PN}.png + done + + # install desktop file provided by Gustav Schaffter in #49577 + make_desktop_entry ${PN} PuTTY ${PN} Network + fi +} + +pkg_preinst() { + use gtk && gnome2_icon_savelist +} + +pkg_postinst() { + use gtk && gnome2_icon_cache_update +} + +pkg_postrm() { + use gtk && gnome2_icon_cache_update +}