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

Revision 12513, 4.8 KB checked in by tomop, 3 years ago (diff)

updated 9 packages

curl-7.74.0-1

freerdp-2.2.0-1

golang-1.15.6-1

jasper-2.0.23-1

libssh-0.9.5-1

nghttp2-1.42.0-1

nodejs-14.15.1-1

pulseaudio-14.0-1

samba-4.13.3-1

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