Browse Source

libssh2-1.8.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11855 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
fabef6f595
1 changed files with 19 additions and 2 deletions
  1. 19 2
      lib/libs/libssh2/libssh2-vl.spec

+ 19 - 2
lib/libs/libssh2/libssh2-vl.spec

@@ -3,13 +3,17 @@
 Summary:        A library implementing the SSH2 protocol
 Summary(ja):    SSH2 プロトコルを実装するためのライブラリ
 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
 License:        BSD
 URL:            http://www.libssh2.org/
 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
 
 BuildRequires:  openssl-devel
@@ -58,6 +62,15 @@ SECSH-DHGEX(04), and SECSH-NUMBERS(10).
 %prep
 %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...
 for i in ChangeLog NEWS ; do
     iconv --from=ISO-8859-1 --to=UTF-8 $i > new
@@ -120,6 +133,10 @@ rm -rf %{buildroot}
 %endif
 
 %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
 - rebuilt with openssl 1.0.2g