openssl-vl.spec 31 KB

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