|
@@ -3,13 +3,17 @@
|
|
Summary: A library implementing the SSH2 protocol
|
|
Summary: A library implementing the SSH2 protocol
|
|
Summary(ja): SSH2 プロトコルを実装するためのライブラリ
|
|
Summary(ja): SSH2 プロトコルを実装するためのライブラリ
|
|
Name: libssh2
|
|
Name: libssh2
|
|
-Version: 1.7.0
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 1.8.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: BSD
|
|
License: BSD
|
|
URL: http://www.libssh2.org/
|
|
URL: http://www.libssh2.org/
|
|
Source0: http://downloads.sourceforge.net/libssh2/%{name}-%{version}.tar.gz
|
|
Source0: http://downloads.sourceforge.net/libssh2/%{name}-%{version}.tar.gz
|
|
|
|
+Patch1: 0001-scp-do-not-NUL-terminate-the-command-for-remote-exec.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: openssl-devel
|
|
@@ -58,6 +62,15 @@ SECSH-DHGEX(04), and SECSH-NUMBERS(10).
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
|
|
+# scp: do not NUL-terminate the command for remote exec
|
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1489736
|
|
|
|
+# https://github.com/libssh2/libssh2/pull/208
|
|
|
|
+%patch1 -p1
|
|
|
|
+
|
|
|
|
+# Replace hard wired port number in the test suite to avoid collisions
|
|
|
|
+# between 32-bit and 64-bit builds running on a single build-host
|
|
|
|
+sed -i s/4711/47%{__isa_bits}/ tests/ssh2.{c,sh}
|
|
|
|
+
|
|
# make sure things are UTF-8...
|
|
# make sure things are UTF-8...
|
|
for i in ChangeLog NEWS ; do
|
|
for i in ChangeLog NEWS ; do
|
|
iconv --from=ISO-8859-1 --to=UTF-8 $i > new
|
|
iconv --from=ISO-8859-1 --to=UTF-8 $i > new
|
|
@@ -120,6 +133,10 @@ rm -rf %{buildroot}
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- built-with openssl-1.1.1.
|
|
|
|
+
|
|
* Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.7.0-2
|
|
* Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.7.0-2
|
|
- rebuilt with openssl 1.0.2g
|
|
- rebuilt with openssl 1.0.2g
|
|
|
|
|