source: projects/specs/trunk/lib/libs/libssh/libssh-vl.spec @ 7200

Revision 7200, 3.2 KB checked in by iwaim, 12 years ago (diff)

libssh 0.4.8-2

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