openssl-vl.spec 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. %bcond_with fips
  2. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  3. %{!?_pkgdocdir:%global _pkgdocdir %{_docdir}}
  4. # 1.0.0 soversion = 10
  5. # 1.1.0 soversion = 1.1 (same as upstream although presence of some symbols
  6. # depends on build configuration options)
  7. %define soversion 3
  8. Summary: Secure Sockets Layer Toolkit
  9. Name: openssl
  10. Version: 3.0.0
  11. Release: 1%{_dist_release}
  12. Group: system,security
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: daisuke, iwamoto
  16. License: BSDish
  17. URL: https://www.openssl.org/
  18. # We have to remove certain patented algorithms from the openssl source
  19. # tarball with the hobble-openssl script which is included below.
  20. # The original openssl upstream tarball cannot be shipped in the .src.rpm.
  21. Source: openssl-%{version}-hobbled.tar.xz
  22. Source1: hobble-openssl
  23. Source2: Makefile.certificate
  24. Source6: make-dummy-cert
  25. Source7: renew-dummy-cert
  26. Source9: configuration-switch.h
  27. Source10: configuration-prefix.h
  28. Source12: ec_curve.c
  29. Source13: ectest.c
  30. # Patches exported from source git
  31. # Aarch64 and ppc64le use lib64
  32. #Patch1: 0001-Aarch64-and-ppc64le-use-lib64.patch
  33. # Use more general default values in openssl.cnf
  34. Patch2: 0002-Use-more-general-default-values-in-openssl.cnf.patch
  35. # Do not install html docs
  36. Patch3: 0003-Do-not-install-html-docs.patch
  37. # Override default paths for the CA directory tree
  38. Patch4: 0004-Override-default-paths-for-the-CA-directory-tree.patch
  39. # apps/ca: fix md option help text
  40. Patch5: 0005-apps-ca-fix-md-option-help-text.patch
  41. # Disable signature verification with totally unsafe hash algorithms
  42. Patch6: 0006-Disable-signature-verification-with-totally-unsafe-h.patch
  43. # Add support for PROFILE=SYSTEM system default cipherlist
  44. Patch7: 0007-Add-support-for-PROFILE-SYSTEM-system-default-cipher.patch
  45. # Add FIPS_mode() compatibility macro
  46. Patch8: 0008-Add-FIPS_mode-compatibility-macro.patch
  47. # Add check to see if fips flag is enabled in kernel
  48. #Patch9: 0009-Add-Kernel-FIPS-mode-flag-support.patch
  49. # remove unsupported EC curves
  50. Patch11: 0011-Remove-EC-curves.patch
  51. # Instructions to load legacy provider in openssl.cnf
  52. #Patch24: 0024-load-legacy-prov.patch
  53. # security fix
  54. # none
  55. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  56. BuildRequires: perl, sed
  57. BuildRequires: zlib-devel, krb5-devel
  58. BuildRequires: lksctp-tools-devel
  59. Requires: mktemp
  60. Requires: ca-certificates
  61. Requires: %{name}-libs = %{version}-%{release}
  62. Obsoletes: openssl111 < 3.0.0
  63. %define solibbase %(echo %version | sed 's/[[:alpha:]]//g')
  64. %description
  65. The OpenSSL certificate management tool and the shared libraries that
  66. provide various cryptographic algorithms and protocols.
  67. %package libs
  68. Summary: A general purpose cryptography library with TLS implementation
  69. Group: system
  70. %description libs
  71. OpenSSL is a toolkit for supporting cryptography. The openssl-libs
  72. package contains the libraries that are used by various applications which
  73. support cryptographic algorithms and protocols.
  74. %package devel
  75. Summary: OpenSSL libraries and development headers.
  76. Group: programming
  77. Requires: %{name}-libs = %{version}-%{release}
  78. Requires: krb5-devel
  79. Conflicts: openssl111-devel < 3.0.0
  80. %description devel
  81. The static libraries and include files needed to compile apps
  82. with support for various the cryptographic algorithms and protocols
  83. supported by OpenSSL.
  84. Patches for many networking apps can be found at:
  85. ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/
  86. %package static
  87. Summary: Libraries for static linking of applications which will use OpenSSL
  88. Group: programming
  89. Requires: %{name}-devel = %{version}-%{release}
  90. Conflicts: openssl111-static < 3.0.0
  91. %description static
  92. OpenSSL is a toolkit for supporting cryptography. The openssl-static
  93. package contains static libraries needed for static linking of
  94. applications which support various cryptographic algorithms and
  95. protocols.
  96. %package perl
  97. Summary: OpenSSL scripts which require Perl.
  98. Group: security
  99. Requires: %{name}-libs = %{version}-%{release}
  100. Obsoletes: openssl111-perl < 3.0.0
  101. Requires: perl
  102. %description perl
  103. Perl scripts provided with OpenSSL for converting certificates and keys
  104. from other formats to those used by OpenSSL.
  105. ## to build compat32 for x86_64 architecture support
  106. %package -n compat32-%{name}
  107. Summary: Secure Sockets Layer Toolkit
  108. Group: system
  109. Requires: %{name} = %{version}-%{release}
  110. %description -n compat32-%{name}
  111. The OpenSSL certificate management tool and the shared libraries that
  112. provide various cryptographic algorithms and protocols.
  113. %package -n compat32-%{name}-devel
  114. Summary: OpenSSL libraries and development headers.
  115. Group: programming
  116. Requires: compat32-%{name} = %{version}-%{release}
  117. Requires: compat32-krb5-devel
  118. Conflicts: compat32-openssl111-devel < 3.0.0
  119. %description -n compat32-%{name}-devel
  120. The static libraries and include files needed to compile apps
  121. with support for various the cryptographic algorithms and protocols
  122. supported by OpenSSL.
  123. %debug_package
  124. %prep
  125. %setup -q -n %{name}-%{version}
  126. %autopatch -p1
  127. # The hobble_openssl is called here redundantly, just to be sure.
  128. # The tarball has already the sources removed.
  129. %{SOURCE1} > /dev/null
  130. cp %{SOURCE12} crypto/ec/
  131. cp %{SOURCE13} test/
  132. %build
  133. # Figure out which flags we want to use.
  134. # default
  135. sslarch=%{_os}-%{_target_cpu}
  136. #
  137. %ifarch %ix86
  138. sslarch=linux-elf
  139. if ! echo %{_target} | grep -q i686 ; then
  140. sslflags="no-asm 386"
  141. fi
  142. %endif
  143. %ifarch x86_64
  144. sslflags=enable-ec_nistp_64_gcc_128
  145. %endif
  146. # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
  147. # marked as not requiring an executable stack.
  148. # Also add -DPURIFY to make using valgrind with openssl easier as we do not
  149. # want to depend on the uninitialized memory as a source of entropy anyway.
  150. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS"
  151. export HASHBANGPERL=/usr/bin/perl
  152. perl -pi -e 's|/engines-|/%{name}/engines-|' ./Configurations/unix-Makefile.tmpl
  153. # ia64, x86_64, ppc are OK by default
  154. # Configure the build tree. Override OpenSSL defaults with known-good defaults
  155. # usable on all platforms. The Configure script already knows to use -fPIC and
  156. # RPM_OPT_FLAGS, so we can skip specifiying them here.
  157. ./Configure \
  158. --prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
  159. --system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
  160. zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \
  161. enable-cms enable-md2 enable-rc5 enable-ktls enable-fips \
  162. no-mdc2 no-ec2m no-sm2 no-sm4 \
  163. shared ${sslarch} $RPM_OPT_FLAGS '-DDEVRANDOM="\"/dev/urandom\""'
  164. # Do not run this in a production package the FIPS symbols must be patched-in
  165. #util/mkdef.pl crypto update
  166. make -s %{?_smp_mflags} all
  167. # Clean up the .pc files
  168. for i in libcrypto.pc libssl.pc openssl.pc ; do
  169. sed -i '/^Libs.private:/{s/-L[^ ]* //;s/-Wl[^ ]* //}' $i
  170. done
  171. %check
  172. # Verify that what was compiled actually works.
  173. # Hack - either enable SCTP AUTH chunks in kernel or disable sctp for check
  174. (sysctl net.sctp.addip_enable=1 && sysctl net.sctp.auth_enable=1) || \
  175. (echo 'Failed to enable SCTP AUTH chunks, disabling SCTP for tests...' &&
  176. sed '/"msan" => "default",/a\ \ "sctp" => "default",' configdata.pm > configdata.pm.new && \
  177. touch -r configdata.pm configdata.pm.new && \
  178. mv -f configdata.pm.new configdata.pm)
  179. # We must revert patch4 before tests otherwise they will fail
  180. patch -p1 -R < %{PATCH4}
  181. LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  182. export LD_LIBRARY_PATH
  183. OPENSSL_ENABLE_MD5_VERIFY=
  184. export OPENSSL_ENABLE_MD5_VERIFY
  185. OPENSSL_SYSTEM_CIPHERS_OVERRIDE=xyz_nonexistent_file
  186. export OPENSSL_SYSTEM_CIPHERS_OVERRIDE
  187. make test HARNESS_JOBS=8
  188. %if 0
  189. # Add generation of HMAC checksum of the final stripped library
  190. %define __spec_install_post \
  191. %{?__debug_package:%{__debug_install_post}} \
  192. %{__arch_install_post} \
  193. %{__os_install_post} \
  194. %{nil}
  195. %endif
  196. %define __provides_exclude_from %{_libdir}/openssl
  197. %install
  198. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  199. # Install OpenSSL.
  200. install -d $RPM_BUILD_ROOT{/%{_lib},%{_bindir},%{_includedir},%{_libdir},%{_mandir},%{_libdir}/openssl,%{_pkgdocdir}}
  201. make DESTDIR=$RPM_BUILD_ROOT install
  202. mv $RPM_BUILD_ROOT%{_libdir}/lib*.so.%{soversion} $RPM_BUILD_ROOT/%{_lib}/
  203. rename so.%{soversion} so.%{version} $RPM_BUILD_ROOT/%{_lib}/*.so.%{soversion}
  204. for lib in $RPM_BUILD_ROOT/%{_lib}/*.so.%{version} ; do
  205. chmod 755 ${lib}
  206. ln -s -f ../../%{_lib}/`basename ${lib}` $RPM_BUILD_ROOT/%{_libdir}/`basename ${lib} .%{version}`
  207. ln -s -f `basename ${lib}` $RPM_BUILD_ROOT/%{_lib}/`basename ${lib} .%{version}`.%{soversion}
  208. done
  209. # Install a makefile for generating keys and self-signed certs, and a script
  210. # for generating them on the fly.
  211. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs
  212. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_pkgdocdir}/Makefile.certificate
  213. install -m755 %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/make-dummy-cert
  214. install -m755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/renew-dummy-cert
  215. # Move runable perl scripts to bindir
  216. mv $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/misc/*.pl $RPM_BUILD_ROOT%{_bindir}
  217. mv $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/misc/tsget $RPM_BUILD_ROOT%{_bindir}
  218. # Rename man pages so that they don't conflict with other system man pages.
  219. pushd $RPM_BUILD_ROOT%{_mandir}
  220. mv man5/config.5ossl man5/openssl.cnf.5
  221. popd
  222. mkdir -m755 $RPM_BUILD_ROOT%{_sysconfdir}/pki/CA
  223. mkdir -m700 $RPM_BUILD_ROOT%{_sysconfdir}/pki/CA/private
  224. mkdir -m755 $RPM_BUILD_ROOT%{_sysconfdir}/pki/CA/certs
  225. mkdir -m755 $RPM_BUILD_ROOT%{_sysconfdir}/pki/CA/crl
  226. mkdir -m755 $RPM_BUILD_ROOT%{_sysconfdir}/pki/CA/newcerts
  227. # Ensure the config file timestamps are identical across builds to avoid
  228. # mulitlib conflicts and unnecessary renames on upgrade
  229. touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/openssl.cnf
  230. touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/ct_log_list.cnf
  231. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/openssl.cnf.dist
  232. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/ct_log_list.cnf.dist
  233. %ifarch i686
  234. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/fipsmodule.cnf
  235. %endif
  236. # Determine which arch opensslconf.h is going to try to #include.
  237. basearch=%{_arch}
  238. %ifarch %{ix86}
  239. basearch=i386
  240. %endif
  241. # Next step of gradual disablement of SSL3.
  242. # Make SSL3 disappear to newly built dependencies.
  243. sed -i '/^\#ifndef OPENSSL_NO_SSL_TRACE/i\
  244. #ifndef OPENSSL_NO_SSL3\
  245. # define OPENSSL_NO_SSL3\
  246. #endif' $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf.h
  247. %ifarch %{multilib_arches}
  248. # Do an opensslconf.h switcheroo to avoid file conflicts on systems where you
  249. # can have both a 32- and 64-bit version of the library, and they each need
  250. # their own correct-but-different versions of opensslconf.h to be usable.
  251. install -m644 %{SOURCE10} \
  252. $RPM_BUILD_ROOT/%{_prefix}/include/openssl/configuration-${basearch}.h
  253. cat $RPM_BUILD_ROOT/%{_prefix}/include/openssl/configuration.h >> \
  254. $RPM_BUILD_ROOT/%{_prefix}/include/openssl/configuration-${basearch}.h
  255. install -m644 %{SOURCE9} \
  256. $RPM_BUILD_ROOT/%{_prefix}/include/openssl/configuration.h
  257. %endif
  258. %clean
  259. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  260. %files
  261. %defattr(-,root,root)
  262. %{!?_licensedir:%global license %%doc}
  263. %license LICENSE.txt
  264. %doc NEWS.md README.md
  265. %{_pkgdocdir}/Makefile.certificate
  266. %{_bindir}/make-dummy-cert
  267. %{_bindir}/renew-dummy-cert
  268. %{_bindir}/openssl
  269. %dir %{_mandir}/man1*
  270. %{_mandir}/man1*/*
  271. %dir %{_mandir}/man5*
  272. %{_mandir}/man5*/*
  273. %dir %{_mandir}/man7*
  274. %{_mandir}/man7*/*
  275. %exclude %{_mandir}/man1/*.pl*
  276. %exclude %{_mandir}/man1/tsget*
  277. %files libs
  278. %{!?_licensedir:%global license %%doc}
  279. %license LICENSE.txt
  280. %dir %{_sysconfdir}/pki/tls
  281. %dir %{_sysconfdir}/pki/tls/certs
  282. %dir %{_sysconfdir}/pki/tls/misc
  283. %dir %{_sysconfdir}/pki/tls/private
  284. %config(noreplace) %{_sysconfdir}/pki/tls/openssl.cnf
  285. %config(noreplace) %{_sysconfdir}/pki/tls/ct_log_list.cnf
  286. %attr(0755,root,root) /%{_lib}/libcrypto.so.%{version}
  287. /%{_lib}/libcrypto.so.%{soversion}
  288. %attr(0755,root,root) /%{_lib}/libssl.so.%{version}
  289. /%{_lib}/libssl.so.%{soversion}
  290. %attr(0755,root,root) %{_libdir}/%{name}/engines-%{soversion}
  291. %attr(0755,root,root) %{_libdir}/ossl-modules
  292. %ifnarch i686
  293. %config(noreplace) %{_sysconfdir}/pki/tls/fipsmodule.cnf
  294. %endif
  295. %files devel
  296. %doc CHANGES.md doc/dir-locals.example.el doc/openssl-c-indent.el
  297. %{_prefix}/include/openssl
  298. %exclude %{_libdir}/lib*.a
  299. %{_libdir}/*.so
  300. %attr(0644,root,root) %{_libdir}/pkgconfig/*.pc
  301. %dir %{_mandir}/man3*
  302. %{_mandir}/man3*/*
  303. %files static
  304. %defattr(-,root,root)
  305. %attr(0644,root,root) %{_libdir}/*.a
  306. %files perl
  307. %defattr(-,root,root)
  308. %{_bindir}/c_rehash
  309. %{_bindir}/*.pl
  310. %{_bindir}/tsget
  311. %{_mandir}/man1*/*.pl*
  312. %{_mandir}/man1*/tsget*
  313. %dir %{_sysconfdir}/pki/CA
  314. %dir %{_sysconfdir}/pki/CA/private
  315. %dir %{_sysconfdir}/pki/CA/certs
  316. %dir %{_sysconfdir}/pki/CA/crl
  317. %dir %{_sysconfdir}/pki/CA/newcerts
  318. ## to build compat32 for x86_64 architecture support
  319. %if %{build_compat32}
  320. %files -n compat32-%{name}
  321. %defattr(-,root,root)
  322. %attr(0755,root,root) /%{_lib}/*.so.*
  323. %files -n compat32-%{name}-devel
  324. %defattr(-,root,root)
  325. %exclude %{_libdir}/lib*.a
  326. %attr(0755,root,root) %{_libdir}/*.so
  327. %attr(0644,root,root) %{_libdir}/pkgconfig/*.pc
  328. %endif
  329. %changelog
  330. * Thu Sep 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.0-1
  331. - new upstream release.
  332. * Wed Aug 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1l-1
  333. - new upstream release.
  334. * Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1k-1
  335. - new upstream release.
  336. - dropped ldconfig scriptlets.
  337. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1j-1
  338. - new upstream release.
  339. * Wed Dec 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1i-1
  340. - new upstream release.
  341. * Sat Nov 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1h-1
  342. - new upstream release.
  343. - dropped Patch43: fixed in upstream.
  344. - imported Patch55-70 from rawhide.
  345. - updated Source13.
  346. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1g-1
  347. - new upstream release.
  348. * Wed Apr 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1f-1
  349. - new upstream release.
  350. - updated Patch1.
  351. - dropped Patch54: fixed in upstream.
  352. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1e-1
  353. - new upstream release.
  354. - dropped Patch100 and 1000: fixed in upstream.
  355. * Fri Dec 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1d-2
  356. - imported Patch1000 from upstream.
  357. * Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1d-1
  358. - new upstream release.
  359. - updated Source12 and 13.
  360. - updated all patches.
  361. - imported Patch100 from upstream.
  362. * Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1c-1
  363. - new upstream release.
  364. - updated Patch37 and 41.
  365. - imported Patch52-54 from rawhide.
  366. * Mon May 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1b-2
  367. - fixed openssl.cnf
  368. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1b-1
  369. - new upstream release.
  370. - imported Patch36 from rawhide.
  371. - updated Patch32.
  372. * Sat Dec 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1a-1
  373. - new upstream release.
  374. - updated Patch2.
  375. - dropped Patch36 and 46: fixed in upstream.
  376. * Thu Nov 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
  377. - fixed symlinks.
  378. * Thu Nov 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
  379. - new upstream release (newest LTS version).
  380. - imported fedora stuff (except FIPS).
  381. * Sun Apr 1 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.2o-1
  382. - new upstream release with security fixes
  383. * Sun Jan 21 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.2n-1
  384. - new upstream release with security fixes
  385. * Wed Nov 15 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.2m-1
  386. - new upstream release with security fixes
  387. * Sun Jan 29 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.2k-1
  388. - new upstream release with security fixes
  389. * Thu May 5 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.2h-1
  390. - new upstream release with security fixes
  391. * Wed Mar 9 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.2g-1
  392. - new upstream release 1.0.2 with security fixes
  393. - Patch2 is merged into Patch0
  394. * Mon Dec 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1q-1
  395. - new upstream release with security fixes
  396. * Fri Jul 10 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1p-1
  397. - new upstream release with security fixes
  398. * Wed Jul 1 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1o-1
  399. - new upstream release
  400. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1m-1
  401. - merged into Vine6
  402. * Fri Mar 20 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1m-1
  403. - new upstream release with security fixes
  404. - update Patch2,5
  405. * Mon Jan 12 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1k-1
  406. - new upstream release with security fixes
  407. * Mon Oct 20 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1j-1
  408. - new upstream release with security fixes
  409. - add patch8 from fc21 (fix perl find.pl)
  410. * Fri Jun 6 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.1h-1
  411. - new upstream release with security fixes.
  412. * Tue Apr 8 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1g-1
  413. - new upstream release with security fixes
  414. * Thu Jan 9 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.1f-1
  415. - new upstream release with security fixes
  416. * Tue Sep 24 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1e-2
  417. - move root CA bundle to ca-certificates package
  418. * Tue Feb 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1e-1
  419. - update to 1.0.1e
  420. - 1.0.1d has major regressions from 1.0.1c
  421. * Sat Feb 9 2013 IWAI, Masaharu <iwai@alib.jp> 1.0.1d-2
  422. - remove tsget script to delete dependency perl(WWW::Curl::Easy)
  423. - openssl-perl package contains it in docdir
  424. * Fri Feb 08 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1d-1
  425. - new upstream release with security fix (CVE-2012-2686, CVE-2013-0166, 0169)
  426. - fixed %%files
  427. * Tue May 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1c-1
  428. - update to 1.0.1c
  429. - enable configure options:
  430. enable-camellia enable-seed enable-tlsext enable-rfc3779
  431. enable-cms enable-md2
  432. - remove no-asm option from ai64/x86_64/ppc/ppc64/i686
  433. - generate a table with the compile settings before configure
  434. * Fri Jan 20 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0g-1
  435. - new upstream release with security fix (CVE-2012-0050)
  436. * Fri Jan 6 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0f-1
  437. - new upstream release with security fix
  438. (CVE-2011-4108,09, CVE-2011-4576,77, CVE-2011-4619, CVE-2012-0027)
  439. * Wed Sep 7 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0e-1
  440. - new upstream release with security fix (CVE-2011-3207, 3210)
  441. * Sun Mar 20 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0d-2
  442. - rebuild with krb5-libs 1.8
  443. * Fri Feb 11 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0d-1
  444. - new upstream release with security fix
  445. * Sat Jan 15 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0c-4
  446. - use upstream openssl.pc instead of vine original one (SOURCE6)
  447. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0c-3
  448. - move tsget to docs to delete dependency perl(WWW::Curl::Easy)
  449. * Sat Jan 1 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0c-2
  450. - add R: krb5-devel into devel pkg
  451. - add R: compat32-krb5-devel into compat32-devel pkg
  452. * Fri Dec 31 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0c-1
  453. - new upstream release 1.0.0x
  454. - separate static libs into static package
  455. - change configure options
  456. - change so version 10
  457. - add tsget into perl package
  458. - update all patches
  459. * Thu Dec 30 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8q-2
  460. - fix changelog typo...
  461. * Tue Dec 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8q-1
  462. - new upstream release with security fix (CVE-2010-4180)
  463. * Wed Nov 17 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8p-1
  464. - new upstream release with security fix (CVE-2010-3864)
  465. - drop patches included in new release
  466. - update patch4
  467. * Sun Jan 17 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8k-5
  468. - add patch12 for fix CVE-2009-3555 (renegotiation)
  469. * Fri Jan 15 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8k-4
  470. - add patch11 for fix CVE-2009-4355 (memory leak)
  471. * Tue Jun 23 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8k-3
  472. - add patch10 to fix CVE-2009-1377, 78, 79 (from fc11)
  473. * Mon Jun 22 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.8k-2
  474. - removed unnecessary %%if %{build_compat32} statements
  475. - removed lib*.a from devel package
  476. * Mon Mar 30 2009 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8k-1
  477. - new upstream release with security fix (CVE-2000-0590,0591,0789)
  478. * Sun Jan 11 2009 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8j-1
  479. - new upstream release with security fix (CVE-2008-5077)
  480. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.8i-1
  481. - new upstream release
  482. * Sat Jul 12 2008 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.8h-1
  483. - new upstream release
  484. - new versioning policy
  485. * Sat Oct 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.8g-0vl1
  486. - new upstream release
  487. - drop patch10,20 which is merged in upstream
  488. * Fri Sep 28 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.8e-0vl3
  489. - add security patch in advance for CVE-2007-5135
  490. http://www.securityfocus.com/archive/1/archive/1/480855/100/0/threaded
  491. http://marc.info/?l=openssl-cvs&m=119020417919619&w=2
  492. * Fri Aug 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.8e-0vl2
  493. - add security patch for CVE-2007-3108
  494. (http://openssl.org/news/patch-CVE-2007-3108.txt)
  495. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.8e-0vl1
  496. - new upstream release
  497. * Sun Dec 24 2006 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.7l-0vl2
  498. - update (fix) openssl.pc <BTS:437>
  499. * Fri Sep 29 2006 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.7l-0vl1
  500. - new upstream release (with security fix)
  501. * Mon Sep 11 2006 Satosh IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.9.7k-0vl1
  502. - new upstream release
  503. - add patch2 to use RPM_OPT macro
  504. * Mon Feb 06 2006 Shu KONNO <owa@bg.wakwak.com> 0.9.7i-0vl3
  505. - moved macros _lib to /usr/lib/rpm/rpmrc or macros files
  506. * Fri Feb 03 2006 Shu KONNO <owa@bg.wakwak.com> 0.9.7i-0vl2
  507. - added compat32-* packages for x86_64 architecture support
  508. - added openssl-0.9.7i.Configure-compat32.patch
  509. - changed '/lib' to '/%{_lib}'
  510. * Mon Oct 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7i-0vl1
  511. - new upstream release
  512. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7d-0vl4
  513. - rebuild on VineSeed
  514. * Sun Jan 09 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.7d-0vl3.1
  515. - added a security patch from Gentoo.
  516. - Patch1: openssl-0.9.7c-tempfile.patch
  517. * Sun Mar 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.7d-0vl3
  518. - sslarch for ppc was missing... added.
  519. * Fri Mar 26 2004 Tomoya TAKA <taka@vinelinux.org> 0.9.7d-0vl2
  520. - use sslarch=linux-alpha-gcc instead of alpha-gcc
  521. * Mon Mar 22 2004 Satoshi MACHINO <machino@vinelinux.org> 0.9.7d-0vl1
  522. - new upstream version
  523. - clean up of spec file
  524. -- removed old patches
  525. * Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6m-0vl1
  526. - new upstream release
  527. - SECURITY fix.
  528. - http://www.openssl.org/news/secadv_20040317.txt
  529. * Wed Oct 1 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6k-0vl1
  530. - new upstream release
  531. - [Security fix]
  532. - Vulnerabilities in ASN.1 parsing
  533. http://www.openssl.org/news/secadv_20030930.txt
  534. - see %{_docdir}/%{name}-%{version}/CHANGES for other changes
  535. * Wed Jun 04 2003 HOTTA Michihide <hotta@net-newbie.com> 0.9.6j-0vl2
  536. - add openssl.pc for pkgconfig
  537. * Tue Mar 11 2003 Satoshi MACHINO <machino@vinelinux.org> 0.9.6j-0vl1
  538. - New upstream version
  539. - dropped patch10, 11
  540. -- merged upstream version
  541. * Sun Feb 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6i-0vl1
  542. - rebuild for VineSeed
  543. * Sun Feb 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6i-0vl0.26.1
  544. - [Security Fix]
  545. - Timing-based attacks on RSA keys
  546. http://www.openssl.org/news/secadv_20030317.txt
  547. - Klima-Pokorny0Rosa attack on RSA in SSL/TLS
  548. http://www.openssl.org/news/secadv_20030317.txt
  549. * Sun Feb 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6i-0vl0.26
  550. - new upstream release 0.9.6i
  551. - [Security Fix]
  552. - build for Vine Linux 2.6 errata
  553. * Mon Nov 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6h-0vl1
  554. - new upstream release 0.9.6h
  555. * Mon Nov 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6g-0vl1
  556. - new upstream release 0.9.6g
  557. * Mon Oct 28 2002 IWAI Masaharu <iwai@alib.jp> 0.9.6b-1vl6
  558. - SECURITY: CAN-2002-0659 fixed
  559. - added Patch101 from RedHat 7.2 updates 0.9.6b-28
  560. * Fri Aug 02 2002 Nalin Dahyabhai <nalin@redhat.com> 0.9.6b-28
  561. - update asn patch to fix accidental reversal of a logic check
  562. * Thu Aug 01 2002 Nalin Dahyabhai <nalin@redhat.com> 0.9.6b-27
  563. - update asn patch to reduce chance that compiler optimization will remove
  564. one of the added tests
  565. * Thu Aug 01 2002 Nalin Dahyabhai <nalin@redhat.com> 0.9.6b-26
  566. - rebuild
  567. * Tue Jul 30 2002 Nalin Dahyabhai <nalin@redhat.com> 0.9.6b-25
  568. - add patch to fix ASN.1 vulnerabilities
  569. * Wed Jul 31 2002 IWAI Masaharu <iwai@alib.jp> 0.9.6b-1vl5
  570. - rename spec file name
  571. - SECURITY: CA-2002-23 fixed
  572. - added Patch100 from RedHat 7.2 updates 0.9.6b-24
  573. * Thu Jul 25 2002 Nalin Dahyabhai <nalin@redhat.com> 0.9.6b-24
  574. - add backport of Ben Laurie's patches for OpenSSL 0.9.6d
  575. * Mon Sep 10 2001 Satoshi MACHINO <machino@vinelinux.org> 0.9.6b-1vl4
  576. - added ${PATH} in LD_LIBRARY_PATH
  577. - added install -m 755 *.so.* $RPM_BUILD_ROOT%{_libdir} in %install
  578. * Sun Jul 15 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6b-1vl3
  579. - remove --no-<cipher>
  580. * Sun Jul 15 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6b-1vl2
  581. - add Patch10 for mipsel shared ( Configure )
  582. * Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6b-1vl1
  583. - build for Vine Linux
  584. - use openssl-engine-0.9.6b.tar.gz
  585. * Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
  586. - update to 0.9.6b
  587. * Thu Jul 5 2001 Nalin Dahyabhai <nalin@redhat.com>
  588. - move .so symlinks back to %%{_libdir}
  589. * Tue Jul 3 2001 Nalin Dahyabhai <nalin@redhat.com>
  590. - move shared libraries to /lib (#38410)
  591. * Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
  592. - switch to engine code base
  593. * Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
  594. - add a script for creating dummy certificates
  595. - move man pages from %%{_mandir}/man?/foo.?ssl to %%{_mandir}/man?ssl/foo.?
  596. * Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  597. - add s390x support
  598. * Fri Jun 1 2001 Nalin Dahyabhai <nalin@redhat.com>
  599. - change two memcpy() calls to memmove()
  600. - don't define L_ENDIAN on alpha
  601. * Tue May 15 2001 Nalin Dahyabhai <nalin@redhat.com>
  602. - make subpackages depend on the main package
  603. * Tue May 1 2001 Nalin Dahyabhai <nalin@redhat.com>
  604. - adjust the hobble script to not disturb symlinks in include/ (fix from
  605. Joe Orton)
  606. * Thu Apr 26 2001 Nalin Dahyabhai <nalin@redhat.com>
  607. - drop the m2crypo patch we weren't using
  608. * Tue Apr 24 2001 Nalin Dahyabhai <nalin@redhat.com>
  609. - configure using "shared" as well
  610. * Sun Apr 8 2001 Nalin Dahyabhai <nalin@redhat.com>
  611. - update to 0.9.6a
  612. - use the build-shared target to build shared libraries
  613. - bump the soversion to 2 because we're no longer compatible with
  614. our 0.9.5a packages or our 0.9.6 packages
  615. - drop the patch for making rsatest a no-op when rsa null support is used
  616. - put all man pages into <section>ssl instead of <section>
  617. - break the m2crypto modules into a separate package
  618. * Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com>
  619. - use BN_LLONG on s390
  620. * Mon Mar 12 2001 Nalin Dahyabhai <nalin@redhat.com>
  621. - fix the s390 changes for 0.9.6 (isn't supposed to be marked as 64-bit)
  622. * Sat Mar 3 2001 Nalin Dahyabhai <nalin@redhat.com>
  623. - move c_rehash to the perl subpackage, because it's a perl script now
  624. * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  625. - update to 0.9.6
  626. - enable MD2
  627. - use the libcrypto.so and libssl.so targets to build shared libs with
  628. - bump the soversion to 1 because we're no longer compatible with any of
  629. the various 0.9.5a packages circulating around, which provide lib*.so.0
  630. * Wed Feb 28 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  631. - change hobble-openssl for disabling MD2 again
  632. * Tue Feb 27 2001 Nalin Dahyabhai <nalin@redhat.com>
  633. - re-disable MD2 -- the EVP_MD_CTX structure would grow from 100 to 152
  634. bytes or so, causing EVP_DigestInit() to zero out stack variables in
  635. apps built against a version of the library without it
  636. * Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com>
  637. - disable some inline assembly, which on x86 is Pentium-specific
  638. - re-enable MD2 (see http://www.ietf.org/ietf/IPR/RSA-MD-all)
  639. * Thu Feb 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  640. - fix s390 patch
  641. * Fri Dec 8 2000 Than Ngo <than@redhat.com>
  642. - added support s390
  643. * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com>
  644. - remove -Wa,* and -m* compiler flags from the default Configure file (#20656)
  645. - add the CA.pl man page to the perl subpackage
  646. * Thu Nov 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  647. - always build with -mcpu=ev5 on alpha
  648. * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com>
  649. - add a symlink from cert.pem to ca-bundle.crt
  650. * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  651. - add a ca-bundle file for packages like Samba to reference for CA certificates
  652. * Tue Oct 24 2000 Nalin Dahyabhai <nalin@redhat.com>
  653. - remove libcrypto's crypt(), which doesn't handle md5crypt (#19295)
  654. * Mon Oct 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  655. - add unzip as a buildprereq (#17662)
  656. - update m2crypto to 0.05-snap4
  657. * Tue Sep 26 2000 Bill Nottingham <notting@redhat.com>
  658. - fix some issues in building when it's not installed
  659. * Wed Sep 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  660. - make sure the headers we include are the ones we built with (aaaaarrgh!)
  661. * Fri Sep 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  662. - add Richard Henderson's patch for BN on ia64
  663. - clean up the changelog
  664. * Tue Aug 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  665. - fix the building of python modules without openssl-devel already installed
  666. * Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
  667. - byte-compile python extensions without the build-root
  668. - adjust the makefile to not remove temporary files (like .key files when
  669. building .csr files) by marking them as .PRECIOUS
  670. * Sat Aug 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  671. - break out python extensions into a subpackage
  672. * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  673. - tweak the makefile some more
  674. * Tue Jul 11 2000 Nalin Dahyabhai <nalin@redhat.com>
  675. - disable MD2 support
  676. * Thu Jul 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  677. - disable MDC2 support
  678. * Sun Jul 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  679. - tweak the disabling of RC5, IDEA support
  680. - tweak the makefile
  681. * Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  682. - strip binaries and libraries
  683. - rework certificate makefile to have the right parts for Apache
  684. * Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
  685. - use %%{_perl} instead of /usr/bin/perl
  686. - disable alpha until it passes its own test suite
  687. * Fri Jun 9 2000 Nalin Dahyabhai <nalin@redhat.com>
  688. - move the passwd.1 man page out of the passwd package's way
  689. * Fri Jun 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  690. - update to 0.9.5a, modified for U.S.
  691. - add perl as a build-time requirement
  692. - move certificate makefile to another package
  693. - disable RC5, IDEA, RSA support
  694. - remove optimizations for now
  695. * Wed Mar 1 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  696. - Bero told me to move the Makefile into this package
  697. * Wed Mar 1 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  698. - add lib*.so symlinks to link dynamically against shared libs
  699. * Tue Feb 29 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  700. - update to 0.9.5
  701. - run ldconfig directly in post/postun
  702. - add FAQ
  703. * Sat Dec 18 1999 Bernhard Rosenkrdnzer <bero@redhat.de>
  704. - Fix build on non-x86 platforms
  705. * Fri Nov 12 1999 Bernhard Rosenkrdnzer <bero@redhat.de>
  706. - move /usr/share/ssl/* from -devel to main package
  707. * Tue Oct 26 1999 Bernhard Rosenkrdnzer <bero@redhat.de>
  708. - inital packaging
  709. - changes from base:
  710. - Move /usr/local/ssl to /usr/share/ssl for FHS compliance
  711. - handle RPM_OPT_FLAGS