| 1 | Summary: A library implementing the SSH2 protocol |
|---|
| 2 | Summary(ja): SSH2プロトコルを実装するためのライブラリ |
|---|
| 3 | |
|---|
| 4 | Name: libssh |
|---|
| 5 | Version: 0.5.5 |
|---|
| 6 | Release: 3%{?_dist_release} |
|---|
| 7 | |
|---|
| 8 | Group: System Environment/Libraries |
|---|
| 9 | License: LGPLv2+ |
|---|
| 10 | URL: http://www.libssh.org/ |
|---|
| 11 | Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz |
|---|
| 12 | Patch0: libssh-0.2-libdir.patch |
|---|
| 13 | # security fix |
|---|
| 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 |
|---|
| 17 | |
|---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 19 | BuildRequires: openssl-devel >= 0.9.8 |
|---|
| 20 | BuildRequires: zlib-devel >= 1.2 |
|---|
| 21 | BuildRequires: cmake >= 2.6 |
|---|
| 22 | |
|---|
| 23 | Vendor: Project Vine |
|---|
| 24 | Distribution: Vine Linux |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | The SSH library with |
|---|
| 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 |
|---|
| 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 | |
|---|
| 48 | %patch100 -p1 -b .CVE-2014-8132 |
|---|
| 49 | %patch110 -p1 -b .CVE-2015-3146 |
|---|
| 50 | %patch120 -p1 -b .CVE-2016-0739 |
|---|
| 51 | |
|---|
| 52 | %build |
|---|
| 53 | mkdir obj |
|---|
| 54 | cd obj |
|---|
| 55 | %cmake .. |
|---|
| 56 | make |
|---|
| 57 | |
|---|
| 58 | %install |
|---|
| 59 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
|---|
| 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 |
|---|
| 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,-) |
|---|
| 76 | %doc AUTHORS ChangeLog COPYING README BSD |
|---|
| 77 | %{_libdir}/*.so.* |
|---|
| 78 | |
|---|
| 79 | %files devel |
|---|
| 80 | %defattr(-,root,root,-) |
|---|
| 81 | %{_includedir}/* |
|---|
| 82 | %{_libdir}/*.so |
|---|
| 83 | %{_datadir}/pkgconfig/*.pc |
|---|
| 84 | |
|---|
| 85 | %changelog |
|---|
| 86 | * Thu Mar 31 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.5-3 |
|---|
| 87 | - rebuilt with openssl 1.0.1s |
|---|
| 88 | |
|---|
| 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 | |
|---|
| 94 | * Sun Dec 8 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.5-1 |
|---|
| 95 | - new upstream release with security fix |
|---|
| 96 | |
|---|
| 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 | |
|---|
| 106 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1 |
|---|
| 107 | - new upstream release |
|---|
| 108 | |
|---|
| 109 | * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1 |
|---|
| 110 | - new upstream release |
|---|
| 111 | |
|---|
| 112 | * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1 |
|---|
| 113 | - new upstream release |
|---|
| 114 | |
|---|
| 115 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1 |
|---|
| 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 |
|---|