Skip to content

Commit

Permalink
mosh: Autospec creation for update from version 1.3.2 to version 1.4.0
Browse files Browse the repository at this point in the history
Alex Chernyakhovsky (22):
      Add support for generating coverage reports
      Ignore generated protobufs for coverage
      Add code coverage instructions to README.md
      Add fuzzing infrastructure
      Add fuzzer for the terminal
      Revert "Remove redundant malloc/free"
      Use OpenSSL native OCB-AES implementation
      Add nettle to the CI matrix
      Stop using deprecated Nettle functions
      Correct memory leak in ocb-aes test
      Fixes for distcheck
      Add release action on Linux
      Add macOS release steps to Github Actions
      Remove obsolete Travis CI configuration
      Add -Wno-unused-parameter
      Switch macOS multi-arch to x86_64+arm64
      Tag mosh 1.4.0 Release Candidate
      Fetch forcibly while fetching tags
      Actually evaluate the github actions contains() expression for prerelease
      Bump release candidate to 1.4.0-rc1
      Switch 1.4.0-rc1 version to 1.3.2.95rc1
      Disable emulation-attributes-bce on tmux 3.3a

Alex Cornejo (1):
      support osc 52 clipboard copy integration.

Anders Kaseorg (12):
      Remove unused Action::operator==
      mosh.pl: Fix the error message if getaddrinfo is missing
      mosh.pl: Allow shell expansion of --server with --local
      Type Select::got_signal as volatile sig_atomic_t
      configure.ac: Fix underquoted AC_HELP_STRING call
      configure: Add --enable-static-LIBRARY options for selective static linking
      configure: Another flag for macOS distcheck: -Wno-error=nested-anon-types
      configure: Set language to C++ globally
      configure: Remove unused tests
      configure: Fix forkpty test code indentation
      configure: Fix FD_ISSET test under -Werror
      configure: Add test for whether protoc matches protobuf

Benjamin Barenblat (18):
      Separate OpenSSL-based OCB implementation from others
      Go back to internal OCB implementation
      Put -lnettle back on the link line when using Nettle
      Delete unused ROUNDS macro
      OCB: Make primitive AES API explicit
      OCB: Heap-allocate keys
      OCB: Use OpenSSL EVP instead of deprecated AES
      Audit and fix up format strings
      Bump release candidate to 1.3.2.95rc2
      Start updating Debian packaging for 1.3.2.95rc2
      Update to Debhelper 12
      Update debian/watch to version 4
      Update Standards-Version
      Add Rules-Requires-Root
      Support nocheck profile
      Release for Debian experimental
      Release for Debian experimental, take 2
      Bump version to 1.4.0

Harry Sintonen (2):
      Use CLOCK_MONOTONIC_RAW when available
      Only use CLOCK_MONOTONIC_RAW with __APPLE__ systems.

John Hood (67):
      Reformat printed strings in source
      Don't do prediction on large pastes into mosh-client.
      Allow non-inserting prediction.
      --predict-overwrite was still inserting one column sometimes.  Fix.
      Rename and document --predict-overwrite.
      Fix utempter #ifdefs.
      Add missing shared::make_shared<T>()
      Remove redundant new/delete
      remove unneeded new/delete in Compressor
      Remove redundant malloc/free
      Convert strdup/free to string
      Convert new/delete to shared_ptr.
      Deref a shared pointer in a per-byte loop
      Use shared_ptr and references for Actions.
      Simplify some conditionals in terminaloverlay.cc.
      Improve targets for existing static checkers.
      Add support for OCLint static checker.
      Split a long printf format string.
      Collapse nested conditionals.
      Eliminate unnecessary, trailing else conditional blocks.
      Prefer early exit/break to large conditional blocks.
      Remove excessive parentheses
      Various switch statement fixes.
      Remove private static class methods.
      Do not set function parameters.
      Remove an unnecessary conditional.
      Fix Debian GCC7 FTBFS: remove default constructors
      Remove various assert(constant) calls
      Safeguard tmux sanity check.
      Restore asserts and error handling
      Always use non-blocking sockets for recvmsg()
      Fix a minor uninitialized-variable warning.
      Add Perl compile
      Perl compile on Appveyor/Cygwin requires perl_pods package
      Check tmux version for truecolor test.
      Make Terminal::Renditions smaller, and its members private.
      Minor SGR printf type signedness fixes.
      Overlays were getting set to the wrong colors.  Fix.
      Make Renditions::sgr() more compact in both code and output.
      Fix issue with incorrect true-color background erase colors.
      Extend true color test to include background color erase.
      Revert "Extend true color test to include background color erase."
      Add a separate test for BCE
      Construct socket name correctly for tmux_check()
      Switch to MacOS 10.12 for builds and deployment target.
      Fix gcc8 snprintf truncation warning.
      Fix/workaround Homebrew failure on Travis MacOS XCode 9.1 image.
      Require C++11 if protobuf version >= 3.6.0 is installed
      Fix Homebrew failure on Travis.
      Allow Travis to use its preferred MacOS/XCode image.
      mosh-server: improve error logging
      Ignore select() errors on Travis/MacOS.
      Display CPU count on Travis/MacOS.
      C++03 bound functions are not available in C++17; remove
      src/statesync/completeterminal.cc: fix bad iterator type
      Fix more inappropriate const_iterator usage.
      Fix bind(2) being misinterpreted as std::bind() with libc++7 on FreeBSD.
      Always use std::min, std::max.
      Remove "using namespace std;".
      Some more namespace hygiene for "using decl;".
      unicode-later-combining.test: Document slightly.
      Restrict cppcheck to src/ directory to avoid Git worktrees.
      Fix Appveyor build.
      "Fix" Travis OS X builds.
      Use Travis Homebrew addon.
      Move generated includes to their own directory to avoid conflicts.
      If exec()ing the remote command fails, pause briefly

Kalle Samuels (1):
      Don't sometimes hang just after launching ssh

Kang.Jianbin (2):
      Add true color support.
      Add emulation-attributes test for true color.

Keith Winstein (4):
      debian/control: update standards version
      terminalframebuffer.cc: ignore unknown renditions
      debian/changelog: update for Debian 1.3.2-2 release
      debian/control: update standards version

Michael Jarvis (1):
      Use HAVE_UTEMPTER instead of HAVE_UPTEMPTER

Naïm Favier (1):
      Add tmux and alacritty to title_term_types

Peter Edwards (1):
      Apply latest consecutive resize, not earliest.

Tom Judge (1):
      Add syslog logging of connections

Wolfgang E. Sanyer (3):
      Add github action for CI build
      Replace Travis-CI badge with Github Actions badge.
      Disable clang warning in order to mitigate protocolbuffers/protobuf#9181

black_desk (2):
      .gitignore: add compile_commands.json
      .gitignore: fix path

buZz (1):
      fixed the irc channel link in README
  • Loading branch information
bwarden committed Jan 27, 2023
1 parent 55f4722 commit 8fa5cc9
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 34 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := mosh
URL = https://mosh.mit.edu/mosh-1.3.2.tar.gz
URL = https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 2 additions & 0 deletions buildreq_cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1.4.0
openssl-dev
15 changes: 8 additions & 7 deletions configure_misses
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Configure miss: library containing utempter_remove_record
Configure miss: pledge
Configure miss: CommonCrypto/CommonCrypto.h usability
Configure miss: CommonCrypto/CommonCrypto.h presence
Configure miss: C/C++ restrict keyword
Configure miss: CommonCrypto/CommonCrypto.h
Configure miss: whether forkpty is declared
Configure miss: whether mach_absolute_time is declared
Configure miss: g++ -std=gnu++11 options needed to detect all undeclared functions
Configure miss: g++ option to enable C++11 features
Configure miss: pledge
Configure miss: utempter_remove_record in -lutempter
Configure miss: whether betoh64 is declared
Configure miss: whether bswap64 is declared
Configure miss: whether bswap64 is declared
Configure miss: whether forkpty is declared
Configure miss: whether mach_absolute_time is declared
36 changes: 20 additions & 16 deletions mosh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,30 @@
# Generated by: autospec.py
#
Name : mosh
Version : 1.3.2
Release : 32
URL : https://mosh.mit.edu/mosh-1.3.2.tar.gz
Source0 : https://mosh.mit.edu/mosh-1.3.2.tar.gz
Version : 1.4.0
Release : 33
URL : https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz
Source0 : https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz
Summary : No detailed summary available
Group : Development/Tools
License : GPL-3.0
Requires: mosh-bin = %{version}-%{release}
Requires: mosh-license = %{version}-%{release}
Requires: mosh-man = %{version}-%{release}
BuildRequires : openssl-dev
BuildRequires : pkgconfig(bash-completion)
BuildRequires : pkgconfig(nettle)
BuildRequires : pkgconfig(openssl)
BuildRequires : pkgconfig(protobuf)
BuildRequires : pkgconfig(tinfo)
BuildRequires : zlib
BuildRequires : zlib-dev
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}

%description
[![Build Status](https://travis-ci.org/mobile-shell/mosh.svg?branch=master)](https://travis-ci.org/mobile-shell/mosh)
[![ci](https://github.com/mobile-shell/mosh/actions/workflows/ci.yml/badge.svg)](https://github.com/mobile-shell/mosh/actions/workflows/ci.yml)

%package bin
Summary: bin components for the mosh package.
Expand Down Expand Up @@ -50,23 +54,23 @@ man components for the mosh package.


%prep
%setup -q -n mosh-1.3.2
cd %{_builddir}/mosh-1.3.2
%setup -q -n mosh-1.4.0
cd %{_builddir}/mosh-1.4.0

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1582862898
export SOURCE_DATE_EPOCH=1674852267
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
%configure --disable-static
make %{?_smp_mflags}

Expand All @@ -75,14 +79,14 @@ export LANG=C.UTF-8
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
make VERBOSE=1 V=1 %{?_smp_mflags} check
make %{?_smp_mflags} check

%install
export SOURCE_DATE_EPOCH=1582862898
export SOURCE_DATE_EPOCH=1674852267
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/mosh
cp %{_builddir}/mosh-1.3.2/COPYING %{buildroot}/usr/share/package-licenses/mosh/8624bcdae55baeef00cd11d5dfcfa60f68710a02
cp %{_builddir}/mosh-1.3.2/COPYING.iOS %{buildroot}/usr/share/package-licenses/mosh/23bf40f764b6aabac3b6492b6e1306d46190b2d5
cp %{_builddir}/mosh-%{version}/COPYING %{buildroot}/usr/share/package-licenses/mosh/8624bcdae55baeef00cd11d5dfcfa60f68710a02 || :
cp %{_builddir}/mosh-%{version}/COPYING.iOS %{buildroot}/usr/share/package-licenses/mosh/23bf40f764b6aabac3b6492b6e1306d46190b2d5 || :
%make_install

%files
Expand Down
13 changes: 11 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = mosh
url = https://mosh.mit.edu/mosh-1.3.2.tar.gz
url = https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz
archives =
giturl =
giturl = https://github.com/mobile-shell/mosh.git
domain =
alias =

[autospec]
# build 32 bit libraries
Expand All @@ -26,6 +27,8 @@ conservative_flags = false
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# compile full (traditional) debug info
full-debug-info = false
# optimize build for speed over size
funroll-loops = false
# set flags to smallest -02 flags possible
Expand All @@ -34,16 +37,22 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not use the replacement pattern for file matching
no_glob = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
nostrip = false
# configure build also for openmpi
openmpi = false
# optimize build for size over speed
optimize_size = false
# set profile for pgo
pgo = false
# set flags for security-sensitive builds
security_sensitive = false
# package is only used by servers
server = false
# do not run test suite
skip_tests = false
# add .so files to the lib package instead of dev
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
33
4 changes: 2 additions & 2 deletions testresults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Total : 29
Total : 31
Pass : 5
Fail : 0
Skip : 24
Skip : 26
XFail : 0
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
58411e5f4ccd27252e55ef2411411aa1502da89a/mosh-1.3.2.tar.gz
b6e135529e5787b8c2acc16dd5e59b5bb1dd11d4/mosh-1.4.0.tar.gz
5 changes: 2 additions & 3 deletions used_libs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
libc.so.6
libcrypto.so.1.1
libcrypto.so.3
libgcc_s.so.1
libm.so.6
libprotobuf.so.22
libprotobuf.so.32
libstdc++.so.6
libtinfo.so.6
libutil.so.1
libz.so.1
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.2
1.4.0

0 comments on commit 8fa5cc9

Please sign in to comment.