diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 20:50:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 20:50:54 +0100 |
commit | 1ab3970274a99b42f555ca7959efe9ace063abd5 (patch) | |
tree | f59bf2700e2fde358e8df6d560a27e2334859061 /net-misc/putty | |
parent | ef89e12d3986ab87064b84e073b2a4a11f32c91c (diff) |
gentoo auto-resync : 25:08:2022 - 20:50:54
Diffstat (limited to 'net-misc/putty')
-rw-r--r-- | net-misc/putty/Manifest | 1 | ||||
-rw-r--r-- | net-misc/putty/putty-0.77-r2.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index 1b376b4a6207..ab81be6b9a71 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -3,5 +3,6 @@ DIST putty-0.77.tar.gz 2619481 BLAKE2B 83b0838a3923c93f95020297d6402872605609da8 DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71 EBUILD putty-0.76.ebuild 1707 BLAKE2B 5da5dbaf196d105ffcdeac1fba6b49f0be19d69d851bfbb0e79812aabc3573d717a440c693ffd96df62d8290c43581b08130c794f0000ed66c7018bbcc10e038 SHA512 93f499eb5fe6fbf3844cbc8a3c970d5329660d85da134b2811de6f9be0c930951057445cc7e663c91467e4e4646cf4f8e1c11d7f3f4de1ebce5a1ea5295d7161 EBUILD putty-0.77-r1.ebuild 1851 BLAKE2B 81beaf794457204d0e8cd5c54d11b61a47cc2541abf8722677727859ac2977d145645a317eb01254d248ee4e7dde5162edb131f435a0102b7a1a853fbe0cbd2d SHA512 e08e2470968a83cef9a8f225dcf316e00db231a4ce2f43dec93894735dbef3e8571d08b5c569bfb5888017e1d9b3ae91f56b8f69b7542f6503d53120c58b105d +EBUILD putty-0.77-r2.ebuild 1835 BLAKE2B 2095e36c135e9d5b304c33baaaf2c93c8f4e30ac4e19b436b9684fc179c64cb148a6da53349be83dd4d69039dcdc0959a0264fac37f92b63667e8c4bba6805bf SHA512 ded5d06ea54193fa4aecc1aecc33a4b336c81c520746342344efb05e2e9d1eb125cf2a3b44368f35bbad219997d1fd93e25d31e4880b183ea678f1eebb05c82c EBUILD putty-9999.ebuild 1851 BLAKE2B 81beaf794457204d0e8cd5c54d11b61a47cc2541abf8722677727859ac2977d145645a317eb01254d248ee4e7dde5162edb131f435a0102b7a1a853fbe0cbd2d SHA512 e08e2470968a83cef9a8f225dcf316e00db231a4ce2f43dec93894735dbef3e8571d08b5c569bfb5888017e1d9b3ae91f56b8f69b7542f6503d53120c58b105d MISC metadata.xml 1007 BLAKE2B 358ab09685c2020a9d0bd49a7c4845cf3b0f31776d7ad9d11c99b70b325b9d902bad73690e68aa991b0123a3a720eb55f50d07f6df35e7142ddddb5146b92ed8 SHA512 45ed3f5781db722328f6101496538c2d920c6cfe5f9422ba838e4d723b9ca53ad2fa783a6c0dd36557e7d0008071d7886bd7e5f1ca76e1b83465a6312c01d772 diff --git a/net-misc/putty/putty-0.77-r2.ebuild b/net-misc/putty/putty-0.77-r2.ebuild new file mode 100644 index 000000000000..6ec761621860 --- /dev/null +++ b/net-misc/putty/putty-0.77-r2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake desktop xdg-utils + +DESCRIPTION="A Free Telnet/SSH Client" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" +SRC_URI="https://dev.gentoo.org/~matthew/distfiles/${PN}-icons.tar.bz2" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.tartarus.org/simon/putty.git" +else + SRC_URI+=" https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +fi +LICENSE="MIT" + +SLOT="0" +IUSE="debug doc +gtk gtk2 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 + doc? ( app-doc/halibut ) +" + +REQUIRED_USE=" + gtk2? ( gtk ) +" + +src_unpack() { + [[ ${PV} == *9999 ]] && git-r3_src_unpack + default +} + +src_configure() { + cd "${S}"/unix || die + local mycmakeargs=( + -DPUTTY_DEBUG="$(usex debug)" + -DPUTTY_GSSAPI="$(usex gssapi DYNAMIC OFF)" + -DPUTTY_GTK_VERSION=$(usex gtk $(usex gtk2 2 3 ) '') + -DPUTTY_IPV6=yes + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile all doc +} + +src_install() { + cmake_src_install + + doman "${BUILD_DIR}"/doc/*.1 + + if use doc ; then + docinto html + dodoc "${BUILD_DIR}"/doc/html/*.html + fi + + if use gtk ; then + local i + 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 +} |