[590] | 1 | Summary: A library implementing the SSH2 protocol |
---|
| 2 | Summary(ja): SSH2プロトコルを実装するためのライブラリ |
---|
[521] | 3 | |
---|
| 4 | Name: libssh |
---|
[8046] | 5 | Version: 0.5.5 |
---|
[10107] | 6 | Release: 3%{?_dist_release} |
---|
[521] | 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | License: LGPLv2+ |
---|
[590] | 10 | URL: http://www.libssh.org/ |
---|
| 11 | Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz |
---|
[521] | 12 | Patch0: libssh-0.2-libdir.patch |
---|
[7748] | 13 | # security fix |
---|
[10043] | 14 | Patch100: https://www.libssh.org/security/patches/CVE-2014-8132-libssh-0.5.5.patch |
---|
| 15 | Patch110: https://www.libssh.org/security/patches/CVE-2015-3146-libssh-0.5.5.patch |
---|
| 16 | Patch120: https://www.libssh.org/security/patches/CVE-2016-0739-libssh-0.5.5.patch |
---|
[8046] | 17 | |
---|
[590] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[8046] | 19 | BuildRequires: openssl-devel >= 0.9.8 |
---|
| 20 | BuildRequires: zlib-devel >= 1.2 |
---|
| 21 | BuildRequires: cmake >= 2.6 |
---|
[521] | 22 | |
---|
[8046] | 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
[521] | 25 | |
---|
| 26 | %description |
---|
| 27 | The SSH library with |
---|
[590] | 28 | - Full C library functions for manipulating a client-side SSH connection |
---|
| 29 | - Fully configurable sessions |
---|
| 30 | - Support for AES-128,AES-192,AES-256,blowfish, in cbc mode |
---|
| 31 | - use multiple SSH connections in a same process, at same time. |
---|
| 32 | - usable SFTP implementation |
---|
| 33 | - Public key and password authentication |
---|
[521] | 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Development files for %{name} |
---|
| 37 | Summary(ja): %{name} の開発ファイル |
---|
| 38 | Group: Development/Libraries |
---|
| 39 | Requires: %{name} = %{version}-%{release} |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | The %{name}-devel package contains libraries and header files for |
---|
| 43 | developing applications that use %{name}. |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | |
---|
[10043] | 48 | %patch100 -p1 -b .CVE-2014-8132 |
---|
| 49 | %patch110 -p1 -b .CVE-2015-3146 |
---|
| 50 | %patch120 -p1 -b .CVE-2016-0739 |
---|
| 51 | |
---|
[521] | 52 | %build |
---|
[8046] | 53 | mkdir obj |
---|
| 54 | cd obj |
---|
[590] | 55 | %cmake .. |
---|
[8046] | 56 | make |
---|
[521] | 57 | |
---|
| 58 | %install |
---|
[590] | 59 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
[8046] | 60 | cd obj |
---|
| 61 | make install DESTDIR=%{buildroot} |
---|
| 62 | find %{buildroot} -name '*.la' -delete |
---|
| 63 | #chmod 644 %{buildroot}%{_includedir}/libssh/* |
---|
| 64 | install -d %{buildroot}%{_datadir} |
---|
| 65 | mv %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/usr/share |
---|
[521] | 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf $RPM_BUILD_ROOT |
---|
| 69 | |
---|
| 70 | %post -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | %postun -p /sbin/ldconfig |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %defattr(-,root,root,-) |
---|
[8046] | 76 | %doc AUTHORS ChangeLog COPYING README BSD |
---|
[521] | 77 | %{_libdir}/*.so.* |
---|
| 78 | |
---|
| 79 | %files devel |
---|
| 80 | %defattr(-,root,root,-) |
---|
| 81 | %{_includedir}/* |
---|
| 82 | %{_libdir}/*.so |
---|
[8046] | 83 | %{_datadir}/pkgconfig/*.pc |
---|
[521] | 84 | |
---|
| 85 | %changelog |
---|
[10107] | 86 | * Thu Mar 31 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.5-3 |
---|
| 87 | - rebuilt with openssl 1.0.1s |
---|
| 88 | |
---|
[10043] | 89 | * Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.5-2 |
---|
| 90 | - add Patch100 for fix CVE-2014-8132 |
---|
| 91 | - add Patch110 for fix CVE-2015-3146 |
---|
| 92 | - add Patch120 for fix CVE-2016-0739 |
---|
| 93 | |
---|
[8046] | 94 | * Sun Dec 8 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.5-1 |
---|
| 95 | - new upstream release with security fix |
---|
| 96 | |
---|
[7748] | 97 | * Mon Dec 3 2012 IWAI, Masaharu <iwai@alib.jp> 0.4.8-2 |
---|
| 98 | - SECURITY FIX: |
---|
| 99 | - add patches from Debian libssh 0.4.5-3+squeeze1 |
---|
| 100 | - CVE-2012-4559.patch (Patch10) |
---|
| 101 | - CVE-2012-4561.patch (Patch11) |
---|
| 102 | - CVE-2012-4562.patch (Patch12) |
---|
| 103 | - add patch based Red Hat BTS #871614 |
---|
| 104 | - CVE-2012-4560.patch (Patch13) |
---|
| 105 | |
---|
[2602] | 106 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[1224] | 109 | * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1 |
---|
[590] | 110 | - new upstream release |
---|
| 111 | |
---|
[1224] | 112 | * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[590] | 115 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1 |
---|
[521] | 116 | - initial build for Vine Linux |
---|
| 117 | |
---|
| 118 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4 |
---|
| 119 | - rebuilt with new openssl |
---|
| 120 | |
---|
| 121 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2 |
---|
| 125 | - Small changes during review |
---|
| 126 | |
---|
| 127 | * Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1 |
---|
| 128 | - Initial build |
---|