diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-07-17 20:23:06 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-07-17 20:25:01 +0200 |
commit | fc1ef8f35eaf642458b997fe736f7a02dc7659c1 (patch) | |
tree | f14dced7dc5ebd5e5d097684909682c6ccfae2d1 /net-misc | |
parent | xfce-extra/xfce4-panel-profiles: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP (diff) | |
download | gentoo-fc1ef8f35eaf642458b997fe736f7a02dc7659c1.tar.gz gentoo-fc1ef8f35eaf642458b997fe736f7a02dc7659c1.tar.bz2 gentoo-fc1ef8f35eaf642458b997fe736f7a02dc7659c1.zip |
net-misc/putty: Security bump to version 0.76
Bug: https://bugs.gentoo.org/801517
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/putty/Manifest | 1 | ||||
-rw-r--r-- | net-misc/putty/putty-0.76.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index 816f3b817c2f..cf66d5d9533c 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -1,2 +1,3 @@ DIST putty-0.75.tar.gz 2731167 BLAKE2B 529b2c65853b8f915afd0563c1a055244d919794a71cff43573910fa2d4a81efca060c12320a0d07ddf3b03064b7e27d00ae396d6a2c1e46dc1a06403cae5c17 SHA512 3dbc15485008a98daf60236061253e66b94a6e5da123fc84c5f0ac006c84e17c70fe748987677775e3b54a12297eb826cccf70a4fc039b633bc2d512938b3028 +DIST putty-0.76.tar.gz 2735687 BLAKE2B 7994a8ea4eb735091e92438fd9558b1047b2ddffe53e3cd2ae7c182e333d21482de7c1a549b738d00af1e592e078648b153fa095a9e5310ee4a884c0cc9fb896 SHA512 4576b359593928c6eba923f2d7b66ac0f2cf00e0c217cdbbb124471c3b35feb090e623847bfc507a4ef106cb3067aac47419e241b11dd8bf4ae554061fa93c25 DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71 diff --git a/net-misc/putty/putty-0.76.ebuild b/net-misc/putty/putty-0.76.ebuild new file mode 100644 index 000000000000..de62fdf29a9f --- /dev/null +++ b/net-misc/putty/putty-0.76.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools desktop toolchain-funcs xdg-utils + +DESCRIPTION="A Free Telnet/SSH Client" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +SRC_URI=" + https://dev.gentoo.org/~polynomial-c/${PN}-icons.tar.bz2 + https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz +" +IUSE="doc +gtk gtk2 ipv6 gssapi" +RDEPEND=" + !net-misc/pssh + gtk? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf + x11-libs/libX11 + x11-libs/pango + gtk2? ( x11-libs/gtk+:2 ) + !gtk2? ( x11-libs/gtk+:3[X] ) + ) + gssapi? ( virtual/krb5 ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-lang/perl + virtual/pkgconfig +" +REQUIRED_USE=" + gtk2? ( gtk ) +" + +src_prepare() { + default + + sed -i \ + -e 's|-Werror||g' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + cd "${S}"/unix || die + econf \ + $(use_with gssapi) \ + $(usex gtk --with-gtk= --without-gtk $(usex gtk2 2 3 ) ) +} + +src_compile() { + emake -C "${S}"/doc + emake -C "${S}"/unix AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6) +} + +src_test() { + emake -C unix cgtest + unix/cgtest || die +} + +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_postinst() { + use gtk && xdg_icon_cache_update +} + +pkg_postrm() { + use gtk && xdg_icon_cache_update +} |