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

Revision 11854, 4.3 KB checked in by tomop, 5 years ago (diff)

libssh-0.8.5-1

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