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

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

libssh-0.8.5-1

RevLine 
[11854]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[590]3Summary:        A library implementing the SSH2 protocol
4Summary(ja):    SSH2プロトコルを実装するためのライブラリ
[521]5
6Name:           libssh
[11854]7Version:        0.8.5
8Release:        1%{?_dist_release}
[521]9
10Group:          System Environment/Libraries
11License:        LGPLv2+
[590]12URL:            http://www.libssh.org/
[10047]13Source0:        http://www.libssh.org/files/%{name}-%{version}.tar.xz
[11854]14Patch0:         libssh-0.8.3-strict-overflow.patch
15
[7200]16# security fix
[10047]17# Nothing so far.
18# Patch100:             libssh-0.4.8-pkgconfig.patch
[9670]19
[11854]20Vendor: Project Vine
21Distribution: Vine Linux
22
[590]23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[521]24
25BuildRequires:  openssl-devel
26BuildRequires:  zlib-devel   
[590]27BuildRequires:  cmake
[521]28
29%description
30The SSH library with
[590]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
[521]37
38%package devel
39Summary:         Development files for %{name}
40Summary(ja):     %{name} の開発ファイル
41Group:           Development/Libraries
42Requires:        %{name} = %{version}-%{release}
[9670]43Requires:        pkgconfig
[521]44
45%description devel
46The %{name}-devel package contains libraries and header files for
47developing applications that use %{name}.
48
[11854]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
[521]63%prep
64%setup -q
[11854]65%patch0 -p1 -b .strict-overflow
[521]66
67%build
[590]68mkdir -p %{_target_platform}
69pushd %{_target_platform}
70%cmake ..
71popd
[521]72
[590]73make %{?_smp_mflags} -C %{_target_platform}
74
75#configure --disable-static --enable-shared
76#make # doesn't build with %{?_smp_mflags}
77
[521]78%install
[590]79[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[521]80
[590]81make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
82
[521]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,-)
[590]92%doc AUTHORS ChangeLog COPYING README
[521]93%{_libdir}/*.so.*
94
95%files devel
96%defattr(-,root,root,-)
97%{_includedir}/*
98%{_libdir}/*.so
[10047]99%{_libdir}/pkgconfig/%{name}*.pc
[11854]100%dir %{_libdir}/cmake/
101%{_libdir}/cmake/libssh/
[521]102
[11854]103%if %{build_compat32}
104%files -n compat32-%{name}
105%{_libdir}/*.so.*
106%endif
107
[521]108%changelog
[11854]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
[10072]115* Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-2
116- rebuilt with openssl 1.0.2g
117
[10047]118* Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-1
119- new upstream release with security fixes
120
[9670]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
[7200]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
[2602]133* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1
134- new upstream release
135
[1224]136* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
[590]137- new upstream release
138
[1224]139* Sun Mar  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1
140- new upstream release
141
[590]142* Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1
[521]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.