summaryrefslogtreecommitdiff
path: root/libssh2.spec
diff options
context:
space:
mode:
authorJakub Bogusz2016-02-28 08:41:15 (GMT)
committerJakub Bogusz2016-02-28 08:41:15 (GMT)
commit658acb40e567a4d1ff20e602d374fe28bba23d8f (patch)
treef70ba03c704407f4a50e6d28e7bc6b85fb29af75 /libssh2.spec
parentb9c3468f9067328ece776a6b07759958354c6750 (diff)
downloadlibssh2-658acb40e567a4d1ff20e602d374fe28bba23d8f.zip
libssh2-658acb40e567a4d1ff20e602d374fe28bba23d8f.tar.gz
- updated to 1.7.0 (fixes CVE-2016-0787)auto/th/libssh2-1.7.0-1
Diffstat (limited to 'libssh2.spec')
-rw-r--r--libssh2.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/libssh2.spec b/libssh2.spec
index c3a2ab1..af31dc4 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -1,15 +1,16 @@
Summary: Library implementing the SSH2 protocol
Summary(pl.UTF-8): Biblioteka implementująca protokół SSH2
Name: libssh2
-Version: 1.6.0
+Version: 1.7.0
Release: 1
License: BSD
Group: Libraries
-Source0: http://www.libssh2.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 00aabd6e714a5f42a4fb82ace20db1dd
-URL: http://libssh2.org/
+Source0: https://www.libssh2.org/download/%{name}-%{version}.tar.gz
+# Source0-md5: b01662a210e94cccf2f76094db7dac5c
+URL: https://libssh2.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
+BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -114,9 +115,13 @@ Biblioteka statyczna libssh2.
%setup -q
%build
-cp -f /usr/share/automake/config.sub .
+%{__libtoolize}
+%{__aclocal} -I m4
%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --disable-silent-rules \
--with-openssl=%{_prefix}
# AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
%{__make} \