public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/putty/
Date: Mon, 15 Apr 2024 20:54:16 +0000 (UTC)	[thread overview]
Message-ID: <1713214446.bd80e49457a8d2ae823f8c1fd9329733cfdf7c6e.matthew@gentoo> (raw)

commit:     bd80e49457a8d2ae823f8c1fd9329733cfdf7c6e
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 20:53:51 2024 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 20:54:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd80e494

net-misc/putty: add 0.81

Bug: https://bugs.gentoo.org/930082
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 net-misc/putty/Manifest          |  1 +
 net-misc/putty/putty-0.81.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest
index beb1f064be86..8e8ee4148932 100644
--- a/net-misc/putty/Manifest
+++ b/net-misc/putty/Manifest
@@ -1,2 +1,3 @@
 DIST putty-0.80.tar.gz 2831433 BLAKE2B 95769ed372ee57f1cd0b9c9b26aab47c710b3eac2dd2f40b511179f1e06dae6c59ef5fd270eddc6b0531d8ed135897490ea029e0ca8c1febefe64743ddada341 SHA512 c8a6b6fa54ecd8bcf4ec274fef51343dd9996e6458b250b5555c4dc88ded25e87f97277da482c29858510e65635112d541f559ab683635bd950572d850129f90
+DIST putty-0.81.tar.gz 2844616 BLAKE2B f4f687555ae6d043f9eb868eccb1086227a0fa3ec1a5eff68ab7ccd96c877fd87afad9c9639930e899e0fc16058ea0f4553a3035ab477761038d6257332d64af SHA512 d86f2fd0e126b18275d58cf64334b3b27c450899a1c2be2502de9faa2ef58f7fc8efc5d45f25c8395623f1e21917aa02407343bb2fee44c4c00b9f81267d5ecd
 DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71

diff --git a/net-misc/putty/putty-0.81.ebuild b/net-misc/putty/putty-0.81.ebuild
new file mode 100644
index 000000000000..777cb2365198
--- /dev/null
+++ b/net-misc/putty/putty-0.81.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 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 gssapi"
+
+RDEPEND="
+	!net-misc/pssh
+	gtk? (
+		dev-libs/glib:2
+		x11-libs/cairo
+		x11-libs/gdk-pixbuf:2
+		x11-libs/gtk+:3[X]
+		x11-libs/libX11
+		x11-libs/pango
+	)
+	gssapi? ( virtual/krb5 )
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	dev-lang/perl
+	virtual/pkgconfig
+	doc? ( app-text/halibut )
+"
+
+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 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
+}


             reply	other threads:[~2024-04-15 20:54 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 20:54 Matthew Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-31 17:51 [gentoo-commits] repo/gentoo:master commit in: net-misc/putty/ Matthew Smith
2024-04-18 16:42 Matthew Smith
2024-04-18 16:42 Matthew Smith
2024-04-18  7:27 Matthew Smith
2024-04-17 22:01 Sam James
2024-04-17  6:54 Sam James
2024-04-16  1:25 Sam James
2024-04-15 23:08 Sam James
2024-04-15 23:08 Sam James
2023-12-20  9:26 Matthew Smith
2023-12-20  6:23 Arthur Zamarin
2023-12-20  6:23 Arthur Zamarin
2023-12-20  3:44 Sam James
2023-12-20  1:40 Sam James
2023-12-20  1:40 Sam James
2023-12-19 19:59 Matthew Smith
2023-12-19 19:59 Matthew Smith
2022-12-03 18:12 Arthur Zamarin
2022-12-03 17:42 Arthur Zamarin
2022-12-03 14:59 Arthur Zamarin
2022-12-03 10:54 Sam James
2022-12-03 10:37 Arthur Zamarin
2022-11-04 19:00 Matthew Smith
2022-09-29  9:32 Matthew Smith
2022-09-29  8:44 Matthew Smith
2022-09-29  8:44 Matthew Smith
2022-09-29  8:44 Matthew Smith
2022-09-17  5:38 Arthur Zamarin
2022-09-10  4:46 Sam James
2022-09-10  0:48 Sam James
2022-09-09 22:26 Jakov Smolić
2022-08-25 16:32 Matthew Smith
2022-07-10  8:40 Matthew Smith
2022-07-10  8:40 Matthew Smith
2022-07-10  8:40 Matthew Smith
2022-05-27 10:11 Lars Wendler
2022-05-27 10:11 Lars Wendler
2022-03-26  0:01 Sam James
2021-07-26  6:59 Lars Wendler
2021-07-26  4:37 Sam James
2021-07-26  2:14 Sam James
2021-07-18  6:35 Agostino Sarubbo
2021-07-18  6:34 Agostino Sarubbo
2021-07-18  6:33 Agostino Sarubbo
2021-07-17 18:25 Lars Wendler
2021-07-12  7:38 Lars Wendler
2021-06-09  6:24 Agostino Sarubbo
2021-06-08  6:59 Agostino Sarubbo
2021-06-07 13:19 Agostino Sarubbo
2021-06-06 23:19 Sam James
2021-06-06 23:19 Sam James
2021-05-09  8:35 Lars Wendler
2021-04-19 20:56 Lars Wendler
2020-11-03 22:58 Lars Wendler
2020-07-23  9:19 Jeroen Roovers
2020-07-23  9:05 Jeroen Roovers
2020-07-23  8:56 Sergei Trofimovich
2020-07-22 15:43 Jeroen Roovers
2020-07-18 18:35 Sam James
2020-07-17 23:25 Sam James
2020-07-17 23:25 Sam James
2020-07-17  0:07 Sam James
2020-07-16 23:49 Sam James
2020-06-28  7:00 Jeroen Roovers
2020-01-13  3:09 Jeroen Roovers
2019-10-14  5:46 Jeroen Roovers
2019-10-14  2:41 Matt Turner
2019-10-07  9:53 Agostino Sarubbo
2019-10-07  9:47 Agostino Sarubbo
2019-10-07  8:42 Agostino Sarubbo
2019-10-06 21:18 Thomas Deutschmann
2019-09-30 14:55 Jeroen Roovers
2019-07-23 10:42 Jeroen Roovers
2019-05-11 12:40 Jeroen Roovers
2019-04-08 16:02 Jeroen Roovers
2019-04-08  6:46 Mikle Kolyada
2019-04-06 11:38 Jeroen Roovers
2019-04-05 19:03 Sergei Trofimovich
2019-04-02  9:09 Mikle Kolyada
2019-04-02  1:37 Thomas Deutschmann
2019-03-18 16:40 Jeroen Roovers
2019-03-18  0:26 Jeroen Roovers
2019-03-17 23:58 Jeroen Roovers
2019-03-17 23:52 Jeroen Roovers
2019-03-17 23:35 Jeroen Roovers
2019-01-26 14:39 Jeroen Roovers
2019-01-21 11:39 Jeroen Roovers
2019-01-20 13:40 Jeroen Roovers
2019-01-20 12:24 Jeroen Roovers
2018-05-27 16:11 Aaron Bauman
2017-07-09  4:26 Jeroen Roovers
2017-05-03 12:09 Jeroen Roovers
2017-04-10 22:41 Jeroen Roovers
2017-03-01  6:12 Jeroen Roovers
2017-03-01  6:12 Jeroen Roovers
2017-03-01  6:12 Jeroen Roovers
2017-02-28 11:22 Tobias Klausmann
2017-02-25 10:03 Agostino Sarubbo
2017-02-24 14:07 Agostino Sarubbo
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-02-23  9:16 Jeroen Roovers
2017-02-22 16:31 Jeroen Roovers
2016-04-19 13:12 Michał Górny
2016-04-18  9:43 Patrice Clement
2016-04-03  8:25 Jeroen Roovers
2016-03-15 20:50 Tobias Klausmann
2016-03-15 16:38 Agostino Sarubbo
2016-03-08 13:41 Jeroen Roovers
2016-03-07  8:04 Agostino Sarubbo
2016-03-06 18:10 Jeroen Roovers
2016-01-10 21:52 Jeroen Roovers
2015-12-25 20:00 Mikle Kolyada
2015-11-12 10:25 Agostino Sarubbo
2015-11-09  8:40 Agostino Sarubbo
2015-11-09  8:40 Agostino Sarubbo
2015-11-09  4:33 Jeroen Roovers
2015-11-08  6:57 Jeroen Roovers
2015-11-08  6:02 Jeroen Roovers
2015-10-12  3:48 Jeroen Roovers
2015-09-22  8:57 Agostino Sarubbo
2015-09-21 11:27 Agostino Sarubbo
2015-09-19 12:32 Agostino Sarubbo
2015-09-18 18:31 Tobias Klausmann
2015-09-18  5:33 Jeroen Roovers
2015-09-18  5:33 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713214446.bd80e49457a8d2ae823f8c1fd9329733cfdf7c6e.matthew@gentoo \
    --to=matthew@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox