Summary: A library implementing the SSH2 protocol Summary(ja): SSH2プロトコルを実装するためのライブラリ Name: libssh Version: 0.5.5 Release: 3%{?_dist_release} Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libssh.org/ Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz Patch0: libssh-0.2-libdir.patch # security fix Patch100: https://www.libssh.org/security/patches/CVE-2014-8132-libssh-0.5.5.patch Patch110: https://www.libssh.org/security/patches/CVE-2015-3146-libssh-0.5.5.patch Patch120: https://www.libssh.org/security/patches/CVE-2016-0739-libssh-0.5.5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: openssl-devel >= 0.9.8 BuildRequires: zlib-devel >= 1.2 BuildRequires: cmake >= 2.6 Vendor: Project Vine Distribution: Vine Linux %description The SSH library with - Full C library functions for manipulating a client-side SSH connection - Fully configurable sessions - Support for AES-128,AES-192,AES-256,blowfish, in cbc mode - use multiple SSH connections in a same process, at same time. - usable SFTP implementation - Public key and password authentication %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch100 -p1 -b .CVE-2014-8132 %patch110 -p1 -b .CVE-2015-3146 %patch120 -p1 -b .CVE-2016-0739 %build mkdir obj cd obj %cmake .. make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT cd obj make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -delete #chmod 644 %{buildroot}%{_includedir}/libssh/* install -d %{buildroot}%{_datadir} mv %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/usr/share %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README BSD %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_datadir}/pkgconfig/*.pc %changelog * Thu Mar 31 2016 Satoshi IWAMOTO 0.5.5-3 - rebuilt with openssl 1.0.1s * Fri Feb 26 2016 Satoshi IWAMOTO 0.5.5-2 - add Patch100 for fix CVE-2014-8132 - add Patch110 for fix CVE-2015-3146 - add Patch120 for fix CVE-2016-0739 * Sun Dec 8 2013 Satoshi IWAMOTO 0.5.5-1 - new upstream release with security fix * Mon Dec 3 2012 IWAI, Masaharu 0.4.8-2 - SECURITY FIX: - add patches from Debian libssh 0.4.5-3+squeeze1 - CVE-2012-4559.patch (Patch10) - CVE-2012-4561.patch (Patch11) - CVE-2012-4562.patch (Patch12) - add patch based Red Hat BTS #871614 - CVE-2012-4560.patch (Patch13) * Sat Jan 29 2011 Yoji TOYODA 0.4.8-1 - new upstream release * Sun Jun 20 2010 Ryoichi INAGAKI 0.4.4-1 - new upstream release * Sun Mar 7 2010 Ryoichi INAGAKI 0.4.1-1 - new upstream release * Tue Sep 15 2009 Daisuke SUZUKI 0.2-1 - initial build for Vine Linux * Fri Aug 21 2009 Tomas Mraz - 0.2-4 - rebuilt with new openssl * Sat Jul 25 2009 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 02 2009 Jan F. Chadima - 0.2-2 - Small changes during review * Mon Jun 01 2009 Jan F. Chadima - 0.2-1 - Initial build