commit:     360df9d2383976d524cdc3f8043ebc24a1c3b93b
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Aug 24 07:10:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 22 11:34:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360df9d2

net-misc/mosh: drop 1.3.2-r3

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44225
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/mosh/Manifest                             |  1 -
 .../mosh/files/mosh-1.3.2-bind-misinterpret.patch  | 11 ----
 net-misc/mosh/metadata.xml                         |  1 -
 net-misc/mosh/mosh-1.3.2-r3.ebuild                 | 75 ----------------------
 4 files changed, 88 deletions(-)

diff --git a/net-misc/mosh/Manifest b/net-misc/mosh/Manifest
index 7bf67a1c1125..b00b1cdae7ec 100644
--- a/net-misc/mosh/Manifest
+++ b/net-misc/mosh/Manifest
@@ -1,2 +1 @@
-DIST mosh-1.3.2.tar.gz 359574 BLAKE2B 
0b7290da0c5e5af0bfed58594095cb2649fec049fda7c495df326742176033d1716752451d2a9f11ba2c2957e8b8fecd5caa4e8962c8597e8dd67d1de7582ec5
 SHA512 
f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769
 DIST mosh-1.4.0.tar.gz 393465 BLAKE2B 
076b70742292dfd012aff70cc7d76eb6568ddd92600ce3f834dfdcb5064526dd3744e1672dd9fd5f172c70f501a6114b016aa8c8256a8168d2ae0a75dd8e7344
 SHA512 
38c11f52ff1e42965b50a22bf6de80b0fa8ebbff841d825e760abf69c788a2bf5f34e6f7fc047574d595118334eef9edf8da5520b52cdde3ac1a79d7ad70312e

diff --git a/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch 
b/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch
deleted file mode 100644
index 0203cfff6b23..000000000000
--- a/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/network/network.cc
-+++ b/src/network/network.cc
-@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_low, 
int port_high )
-       }
-     }
- 
--    if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
-+    if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
-       set_MTU( local_addr.sa.sa_family );
-       return true;
-     } else if ( i == search_high ) { /* last port to search */

diff --git a/net-misc/mosh/metadata.xml b/net-misc/mosh/metadata.xml
index e0225c57d770..9b45b628d79d 100644
--- a/net-misc/mosh/metadata.xml
+++ b/net-misc/mosh/metadata.xml
@@ -8,7 +8,6 @@
        <use>
                <flag name="client">Build network client</flag>
                <flag name="examples">Include example scripts</flag>
-               <flag name="mosh-hardening">Enable compiler and linker options 
to frustrate memory corruption exploits</flag>
                <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for some 
cryptographic functions instead of <pkg>dev-libs/openssl</pkg>. With Nettle, 
some of mosh's own code is used for OCB.</flag>
                <flag name="server">Build network server</flag>
                <flag name="ufw">Install <pkg>net-firewall/ufw</pkg> rule 
set</flag>

diff --git a/net-misc/mosh/mosh-1.3.2-r3.ebuild 
b/net-misc/mosh/mosh-1.3.2-r3.ebuild
deleted file mode 100644
index e9fa08f642e0..000000000000
--- a/net-misc/mosh/mosh-1.3.2-r3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools bash-completion-r1 flag-o-matic
-
-DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
-HOMEPAGE="https://mosh.org";
-SRC_URI="https://mosh.org/${P}.tar.gz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="+client examples +mosh-hardening +server ufw +utempter"
-
-REQUIRED_USE="
-       || ( client server )
-       examples? ( client )"
-
-RDEPEND="
-       dev-libs/protobuf:=
-       sys-libs/ncurses:=
-       sys-libs/zlib
-       virtual/ssh
-       client? (
-               dev-lang/perl
-               dev-perl/IO-Tty
-       )
-       dev-libs/openssl:=
-       utempter? (
-               sys-libs/libutempter
-       )"
-
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-# [0] - avoid sandbox-violation calling git describe in Makefile.
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.2.5-git-version.patch
-       "${FILESDIR}"/${P}-bind-misinterpret.patch
-)
-
-src_prepare() {
-       MAKEOPTS+=" V=1"
-       default
-
-       eautoreconf
-}
-
-src_configure() {
-       # protobuf needs >=c++14
-       append-cxxflags -std=gnu++14
-
-       econf \
-               --disable-completion \
-               $(use_enable client) \
-               $(use_enable server) \
-               $(use_enable examples) \
-               $(use_enable ufw) \
-               $(use_enable mosh-hardening hardening) \
-               $(use_with utempter)
-}
-
-src_install() {
-       default
-
-       for myprog in $(find src/examples -type f -perm /0111) ; do
-               newbin ${myprog} ${PN}-$(basename ${myprog})
-               elog "${myprog} installed as ${PN}-$(basename ${myprog})"
-       done
-
-       # bug 477384
-       dobashcomp conf/bash-completion/completions/mosh
-}

Reply via email to