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