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