openssl-vl.spec 30 KB

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