diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-03 14:08:44 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-03 14:09:18 +0200 |
commit | 0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c (patch) | |
tree | e9120edc2fd842a2935b3e43cde1dc356ba7a6d4 /net-misc/putty | |
parent | dev-python/requests: Readd 2.11.1 for docker-compose (diff) | |
download | gentoo-0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c.tar.gz gentoo-0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c.tar.bz2 gentoo-0c195cb70f2dda3c2488ed6a727ac48c5b9d9d4c.zip |
net-misc/putty: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-misc/putty')
-rw-r--r-- | net-misc/putty/Manifest | 1 | ||||
-rw-r--r-- | net-misc/putty/putty-0.69.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index e99ecbaae2ee..b47b4b9c6a34 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 000000000000..448708462c89 --- /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 +} |