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