libarchive-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. Name: libarchive
  2. Summary: A library for handling streaming archive formats
  3. Version: 3.6.1
  4. Release: 2%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: BSD
  9. URL: https://www.libarchive.org/
  10. Source0: https://www.libarchive.org/downloads/%{name}-%{version}.tar.gz
  11. # When configured against OpenSSL 1.1, the RIPEMD-160 support was not detected,
  12. # so it was not compiled in previously. With OpenSSL 3.0, it's now detected as
  13. # being available, but it only actually works when the legacy provider is
  14. # loaded, which breaks the RIPEMD-160 test. This patch disables the RIPEMD-160
  15. # support explicitly.
  16. Patch0001: 0001-Drop-rmd160-from-OpenSSL.patch
  17. # https://github.com/libarchive/libarchive/commit/fd180c36036df7181a64931264732a10ad8cd024
  18. Patch1000: CVE-2022-36227.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: bzip2-devel
  21. BuildRequires: libacl-devel
  22. BuildRequires: libattr-devel
  23. BuildRequires: libxml2-devel
  24. BuildRequires: libzstd-devel
  25. BuildRequires: lz4-devel
  26. BuildRequires: openssl-devel
  27. BuildRequires: xz-devel
  28. BuildRequires: zlib-devel
  29. %description
  30. Libarchive is a programming library that can create and read several different
  31. streaming archive formats, including most popular tar variants, several cpio
  32. formats, and both BSD and GNU ar variants. It can also write shar archives and
  33. read ISO9660 CDROM images and ZIP archives.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Group: programming
  37. Requires: %{name} = %{version}-%{release}
  38. %description devel
  39. The %{name}-devel package contains libraries and header files for
  40. developing applications that use %{name}.
  41. %debug_package
  42. %prep
  43. %autosetup -p1
  44. autoreconf -vif
  45. %build
  46. %configure \
  47. --disable-static \
  48. --disable-bsdtar --disable-bsdcpio --disable-bsdcat
  49. make %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  55. find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
  56. find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
  57. find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %files
  61. %defattr(-,root,root,-)
  62. %license COPYING
  63. %doc README* NEWS
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %doc
  68. %{_includedir}/*
  69. %{_mandir}/*/*
  70. %{_libdir}/*.so
  71. %{_libdir}/pkgconfig/*.pc
  72. %changelog
  73. * Tue Nov 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-2
  74. - imported Patch1000 from upstream to fix CVE-2022-36227.
  75. * Fri May 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-1
  76. - new upstream release.
  77. - dropped Patch0: fixed in upstream.
  78. - imported Patch0001 from rawhide.
  79. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.2-1
  80. - new upstream release.
  81. - built with openssl-3.0.0.
  82. - imported Patch0 from rawhide.
  83. - dropped ldconfig scriptlets.
  84. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
  85. - new upstream release.
  86. * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.3-1
  87. - new upstream release.
  88. - added BR:lz4-devel.
  89. - added BR:libzstd-devel.
  90. * Sun Feb 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.2-1
  91. - new upstream release.
  92. * Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  93. - new upstream release.
  94. * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.3-1
  95. - new upstream release.
  96. * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.2-1
  97. - new upstream release.
  98. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  99. - new upstream release
  100. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  101. - update to 3.1.2
  102. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  103. - new upstream release
  104. * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
  105. - add BuildRequires: openssl-devel, libxml2-devel
  106. * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
  107. - rebuild against liblzma.so.5
  108. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
  109. - rebuild with rpm-4.8.1 for pkg-config file
  110. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
  111. - new upstream release
  112. * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
  113. - new upstream release
  114. - built with new toolchain
  115. * Tue Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  116. - new upstream release
  117. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  118. - Build for Vine Linux
  119. * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  120. - Initial packaging