[packages/mosh] build with ssh-agent forwarding
glen
glen at pld-linux.org
Sat May 2 15:32:11 CEST 2015
commit 501df8d16e22bc7177b9a7f6b96468714a449511
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 2 16:28:44 2015 +0300
build with ssh-agent forwarding
https://github.com/keithw/mosh/pull/583
https://github.com/keithw/mosh/pull/423
https://github.com/keithw/mosh/issues/120
mosh.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/mosh.spec b/mosh.spec
index 20e6d45..d2f243f 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -11,13 +11,15 @@
Summary: Mosh mobile shell
Name: mosh
Version: 1.2.4
-Release: 3
+Release: 4
License: GPL v3+
Group: X11/Applications
Source0: http://mosh.mit.edu/%{name}-%{version}.tar.gz
# Source0-md5: c2d918f4d91fdc32546e2e089f9281b2
Patch100: https://github.com/keithw/mosh/compare/%{name}-1.2.4...c6cd99b.patch
# Patch100-md5: 3e8455f30b5fb6cd7b24a203c00a549c
+Patch0: https://github.com/keithw/mosh/pull/583.patch
+# Patch0-md5: 7eb14665ef06072591e5bcd80780c0e4
URL: http://mosh.mit.edu/
BuildRequires: autoconf
BuildRequires: automake
@@ -44,6 +46,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# https://github.com/keithw/mosh/issues/203
%define _ssp_cflags %{nil}
+%define specflags -Wno-error=non-virtual-dtor
+
%description
Remote terminal application that allows roaming, supports intermittent
connectivity, and provides intelligent local echo and line editing of
@@ -57,6 +61,7 @@ especially over Wi-Fi, cellular, and long-distance links.
filterdiff -p1 -x 'debian/*' -x 'fedora/*' -x 'macosx/*' %{PATCH100} > branch.diff
sed -i -e '/^diff /d' branch.diff
%{__patch} -p1 < branch.diff
+%patch0 -p1
%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
%build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/501df8d16e22bc7177b9a7f6b96468714a449511
More information about the pld-cvs-commit
mailing list