summaryrefslogtreecommitdiff
path: root/app-misc/tmate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-03 11:20:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-03 11:20:10 +0100
commit7837a76c344b64e925519dd5e26233bb3b648beb (patch)
tree6851e50315ad02bb7a8a172f318905eca39313ec /app-misc/tmate
parent155cc74ccaea367efa88c8acfadcf25cb7dfe89c (diff)
gentoo auto-resync : 03:04:2023 - 11:20:10
Diffstat (limited to 'app-misc/tmate')
-rw-r--r--app-misc/tmate/Manifest2
-rw-r--r--app-misc/tmate/files/tmate-2.4.0-msgpack-6.patch26
-rw-r--r--app-misc/tmate/tmate-2.4.0-r2.ebuild42
3 files changed, 70 insertions, 0 deletions
diff --git a/app-misc/tmate/Manifest b/app-misc/tmate/Manifest
index 345e248453a1..a7c7c84eb2bf 100644
--- a/app-misc/tmate/Manifest
+++ b/app-misc/tmate/Manifest
@@ -1,3 +1,5 @@
+AUX tmate-2.4.0-msgpack-6.patch 638 BLAKE2B 60a4779b292fc62d312ff0109cb86908773748f8c76dbd17286d4d169b86366e331e383a967a433b9e306279ef2adec52c9cdc8842e487040aa9eaa294a97846 SHA512 bcd45b70b7302ed86030e707f719aa645822dd08d22e271f82dbf4f95c1308da6a91562bea6e13f4e16a9d4dfaf1f039c04a2efb5a12ff44cf8a425d7ad910db
DIST tmate-2.4.0.tar.gz 614179 BLAKE2B 9864f71255ceafb10cfd622346ef7d2db2a124d13599a7c8ae81e83950ba56216193e02633a9becd90fd430c6ddff66df763fe2733d58f45b02c74c8fb8f7fc4 SHA512 92d2ca354b295678bfc2747ca83a45ebafeaec40ebac94bd94c4926af4f820b3f3a087f365147f41c80d1c8ad032f52c697a2421839c39315d84f98f7eccada6
EBUILD tmate-2.4.0-r1.ebuild 682 BLAKE2B 185aaca5848ee568a47f5b53c4540c193ecfe9de0e305652bc8dadd707b412352562c89e04095b43b333063e571e92c6d8cce3dd2cb351c718d931392039d397 SHA512 4da65cc1f9a8eb57fd93b996ef742784dec3055725f550536252da41fd359097325a98faad3674837d6fe6dfa1fe2c6458e6117c52b78a08475460db2157e24d
+EBUILD tmate-2.4.0-r2.ebuild 720 BLAKE2B b8b1915f8b4111409455a5e2cb9f11f764109c0f96e639b1c88b9403187740a7931bd8a30bdd21c422c1c01c8d2d91900715e41d058a5dfc16599ac6344b6e6a SHA512 82dd58d8988ffcdba78050fb8b719e0654ae93c3d86536a38464299b2c5e41f0b3f89743b36f858955adf74947158f053ea3ed2cf77d7b257cb68ac261125bfc
MISC metadata.xml 330 BLAKE2B 70515c3c92cafb3eab48dcfc5a8dd5ab13f672b5d648202ed8c4022867b973c2f26e42cb4b4901bb7797d85c329dd4831804103f26d9ce492f72e6ea171d858a SHA512 b4b51f04cefbde53b8214be6cca9611b20f8caca391433a657c304da3eebc61a8df5e1dc3e1f840ee1667e27c67e1da56969df4055f48b3fbfaa5f90c546d68d
diff --git a/app-misc/tmate/files/tmate-2.4.0-msgpack-6.patch b/app-misc/tmate/files/tmate-2.4.0-msgpack-6.patch
new file mode 100644
index 000000000000..6fbda6197eef
--- /dev/null
+++ b/app-misc/tmate/files/tmate-2.4.0-msgpack-6.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/903657
+https://github.com/tmate-io/tmate/pull/281
+--- a/configure.ac
++++ b/configure.ac
+@@ -207,7 +207,20 @@ PKG_CHECK_MODULES(
+ LIBS="$MSGPACK_LIBS $LIBS"
+ found_msgpack=yes
+ ],
+- found_msgpack=no
++ [
++ found_msgpack=no
++ # msgpack.pc was renamed to msgpack-c.pc in 6.0.0.
++ PKG_CHECK_MODULES(
++ MSGPACKC,
++ msgpack-c >= 1.1.0,
++ [
++ CPPFLAGS="$MSGPACKC_CFLAGS $CPPFLAGS"
++ LIBS="$MSGPACKC_LIBS $LIBS"
++ found_msgpack=yes
++ ],
++ found_msgpack=no
++ )
++ ]
+ )
+ if test "x$found_msgpack" = xno; then
+ AC_MSG_ERROR("msgpack >= 1.1.0 not found")
diff --git a/app-misc/tmate/tmate-2.4.0-r2.ebuild b/app-misc/tmate/tmate-2.4.0-r2.ebuild
new file mode 100644
index 000000000000..2c24d7966261
--- /dev/null
+++ b/app-misc/tmate/tmate-2.4.0-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Instant terminal sharing"
+HOMEPAGE="https://tmate.io/"
+SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-libs/libevent
+ dev-libs/msgpack:=
+ dev-libs/openssl:=
+ >=net-libs/libssh-0.6.0
+ sys-libs/zlib
+ sys-libs/libutempter
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.0-msgpack-6.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ econf "${myeconfargs[@]}"
+}