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

Revision 10072, 3.3 KB checked in by iwamoto, 8 years ago (diff)

libssh: rebuilt with openssl 1.0.2g

Line 
1Summary:        A library implementing the SSH2 protocol
2Summary(ja):    SSH2プロトコルを実装するためのライブラリ
3
4Name:           libssh
5Version:        0.7.3
6Release:        2%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://www.libssh.org/
11Source0:        http://www.libssh.org/files/%{name}-%{version}.tar.xz
12# Patch0:         libssh-0.2-libdir.patch
13# security fix
14# Nothing so far.
15# Patch100:             libssh-0.4.8-pkgconfig.patch
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19BuildRequires:  openssl-devel
20BuildRequires:  zlib-devel   
21BuildRequires:  cmake
22
23%description
24The SSH library with
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
31
32%package devel
33Summary:         Development files for %{name}
34Summary(ja):     %{name} の開発ファイル
35Group:           Development/Libraries
36Requires:        %{name} = %{version}-%{release}
37Requires:        pkgconfig
38
39%description devel
40The %{name}-devel package contains libraries and header files for
41developing applications that use %{name}.
42
43%prep
44%setup -q
45# %patch100 -p0 -b .pkgconfig
46
47%build
48mkdir -p %{_target_platform}
49pushd %{_target_platform}
50%cmake ..
51popd
52
53make %{?_smp_mflags} -C %{_target_platform}
54
55#configure --disable-static --enable-shared
56#make # doesn't build with %{?_smp_mflags}
57
58%install
59[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
60
61make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%post -p /sbin/ldconfig
67
68%postun -p /sbin/ldconfig
69
70%files
71%defattr(-,root,root,-)
72%doc AUTHORS ChangeLog COPYING README
73%{_libdir}/*.so.*
74
75%files devel
76%defattr(-,root,root,-)
77%{_includedir}/*
78%{_libdir}/*.so
79%{_libdir}/pkgconfig/%{name}*.pc
80
81%changelog
82* Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-2
83- rebuilt with openssl 1.0.2g
84
85* Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-1
86- new upstream release with security fixes
87
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
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
100* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1
101- new upstream release
102
103* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
104- new upstream release
105
106* Sun Mar  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1
107- new upstream release
108
109* Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1
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
Note: See TracBrowser for help on using the repository browser.