libssh-vl.spec 4.7 KB

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