openssl-vl.spec 29 KB

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