openssl-vl.spec 31 KB

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