source: projects/specs/branches/6/lib/libs/libssh/libssh-vl.spec @ 10107

Revision 10107, 3.7 KB checked in by iwamoto, 8 years ago (diff)

libssh: rebuilt with openssl 1.0.1s

RevLine 
[590]1Summary:        A library implementing the SSH2 protocol
2Summary(ja):    SSH2プロトコルを実装するためのライブラリ
[521]3
4Name:           libssh
[8046]5Version:        0.5.5
[10107]6Release:        3%{?_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
[7748]13# security fix
[10043]14Patch100:       https://www.libssh.org/security/patches/CVE-2014-8132-libssh-0.5.5.patch
15Patch110:       https://www.libssh.org/security/patches/CVE-2015-3146-libssh-0.5.5.patch
16Patch120:       https://www.libssh.org/security/patches/CVE-2016-0739-libssh-0.5.5.patch
[8046]17
[590]18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[8046]19BuildRequires:  openssl-devel >= 0.9.8
20BuildRequires:  zlib-devel >= 1.2 
21BuildRequires:  cmake >= 2.6
[521]22
[8046]23Vendor:         Project Vine
24Distribution:   Vine Linux
[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
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]53mkdir obj
54cd obj
[590]55%cmake ..
[8046]56make
[521]57
58%install
[590]59[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[8046]60cd obj
61make install DESTDIR=%{buildroot}
62find %{buildroot} -name '*.la' -delete
63#chmod 644 %{buildroot}%{_includedir}/libssh/*
64install -d %{buildroot}%{_datadir}
65mv %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/usr/share
[521]66
67%clean
68rm -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
Note: See TracBrowser for help on using the repository browser.