mosh: Update net/mosh to 1.3.2 pkgsrc changes: - Remove patches/patch-aa, no longer needed (config.h is now included and HAVE_DECL_BSWAP64 is now properly checked) - perl is needed in the test phase and at runtime, add it to USE_TOOLS - Remove no longer needed dependency to p5-IO-tty - Add support for the test target (and REPLACE_PERL test target scripts) Changes: 1.3.2 ----- * Platform support: * Explicitly enable binding to both IPv4 and IPv6 addresses. (Giel van Schijndel) * Restore perl 5.8.8 support for RHEL5. (Alexander Chernyakhovsky) * Make tests detect UTF-8 locale with a helper executable. (John Hood) * Don't print /etc/motd on IllumOS. (John Hood) * Print {,/var}/run/motd.dynamic on Ubuntu. (John Hood) * Fix build on Haiku. (Adrien Destugues) * Disable unicode-later-combining.test for tmux 2.4. This fixes build failures. (John Hood) * Bug fixes: * In tests, explicitly set 80x24 tmux window, for newer versions of tmux. (John Hood) * Work around JuiceSSH rendering bug. (John Hood) * Do not move cursor for SCROLL UP and SCROLL DOWN-- fixes an issue with tmux 2.4. (John Hood) Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/net/mosh/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 4 Aug 2018 21:38:59 -0000 1.20 +++ Makefile 21 Nov 2018 13:25:10 -0000 @@ -1,7 +1,6 @@ # $NetBSD: Makefile,v 1.20 2018/08/04 21:38:59 minskim Exp $ -DISTNAME= mosh-1.3.0 -PKGREVISION= 3 +DISTNAME= mosh-1.3.2 CATEGORIES= net MASTER_SITES= http://mosh.mit.edu/ @@ -10,13 +9,16 @@ HOMEPAGE= http://mosh.mit.edu/ COMMENT= Remote terminal application which allows roaming LICENSE= gnu-gpl-v3 -DEPENDS+= p5-IO-tty>=1.08:../../devel/p5-IO-Tty - GNU_CONFIGURE= yes -USE_TOOLS+= pkg-config +USE_TOOLS+= perl:run pkg-config USE_LANGUAGES+= c c++11 REPLACE_PERL+= scripts/mosh.pl +REPLACE_PERL+= src/tests/genbase64.pl +REPLACE_PERL+= src/tests/hold-stdin +REPLACE_PERL+= src/tests/print-exitstatus + +TEST_TARGET= check .include "../../devel/protobuf/buildlink3.mk" BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.0.4 Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/net/mosh/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 24 May 2017 21:59:47 -0000 1.7 +++ distinfo 21 Nov 2018 13:25:10 -0000 @@ -1,7 +1,6 @@ $NetBSD: distinfo,v 1.7 2017/05/24 21:59:47 agc Exp $ -SHA1 (mosh-1.3.0.tar.gz) = 846698806d940c84028c04f68e289e31d9540d5f -RMD160 (mosh-1.3.0.tar.gz) = 83f737acdbd79a217d55bbb41631a7a8fb865b30 -SHA512 (mosh-1.3.0.tar.gz) = 2b43e3e3fb2ccf6c29a889f10dfc0d5504dbca6fabaf10419f4e355e4b73d64cc1e632324e447b25ac24ee18bb88d8a9a23f9c4824b267343fb86e26e7d5c54b -Size (mosh-1.3.0.tar.gz) = 356220 bytes -SHA1 (patch-aa) = 3ff5f586641dede161ba91018cfbae6f2413b78c +SHA1 (mosh-1.3.2.tar.gz) = 58411e5f4ccd27252e55ef2411411aa1502da89a +RMD160 (mosh-1.3.2.tar.gz) = 09cec7da65f525c4a414c1506d153ac72ea38c8a +SHA512 (mosh-1.3.2.tar.gz) = f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769 +Size (mosh-1.3.2.tar.gz) = 359574 bytes Index: patches/patch-aa =================================================================== RCS file: patches/patch-aa diff -N patches/patch-aa --- patches/patch-aa 24 Aug 2016 10:34:10 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2016/08/24 10:34:10 wiz Exp $ - -make sure we get the defs in place before checking for them - ---- src/crypto/ocb.cc.orig 2016-08-10 10:58:28.000000000 +0000 -+++ src/crypto/ocb.cc -@@ -23,6 +23,8 @@ - / Comments are welcome: Ted Krovetz - Dedicated to Laurel K - /------------------------------------------------------------------------- */ - -+#include "config.h" -+ - /* ----------------------------------------------------------------------- */ - /* Usage notes */ - /* ----------------------------------------------------------------------- */ -@@ -117,6 +119,7 @@ - #endif - #endif - -+#ifndef bswap64 - #if _MSC_VER - #define bswap64(x) _byteswap_uint64(x) - #elif HAVE_DECL_BSWAP64 -@@ -136,6 +139,7 @@ - return out.u64; - } - #endif -+#endif - - #if _MSC_VER - static inline unsigned ntz(unsigned x) {_BitScanForward(&x,x);return x;}