Commit Graph

4 Commits

Author SHA1 Message Date
fbrosson
48adfbdd60 openssl: allow co-installation of 1.0.2 and 1.1.0. (#1793)
The changes detailed below allow to co-install the base
packages of 1.0.2 and 1.1.0 (as well as their debuginfo).
The _devel (or _man) packages cannot be co-installed.

* Define a debuginfo package for openssl11.
* Fix typo in call to defineDebugInfoPackage for openssl,
  which was producing an incorrect debuginfo on 2nd arch.
* Also add cmd:openssl{,-1.1} to their debuginfo packages.
* Move $docDir/html/man3 to openssl11_devel.
* Add a "-1.1" suffix to each cmd:{openssl,c_rehash} for
  openssl11 to allow the co-installation of 1.0.2 & 1.1.
* Create new _man sub-packages for openssl and openssl11 and
  move all man pages (other than the man3 section) there to
  avoid overlaps when the 2 base packages are installed.
* Add symetric (openssl vs openssl11) CONFLICTS for their
  _devel and _man sup-packages.
* openssl{,11}_man REQUIRES and SUPPLEMENTS openssl{,11}.

* Introduce 4 custom variables (after portVersion):
    portVersion  1.0.2*  1.1.0*
    libVersion   1.0.0   1.1
    cmdSuffix            -1.1
    mySuffix             11
    altSuffix    11
  These are used inside both recipes at the same places to make
  it easier to spot the real differences between 1.0.2 & 1.1.0.
2017-12-05 01:13:13 +01:00
waddlesplash
7f54918490 openssl11: Deactivate recipe completely.
It conflicts with the original openssl package and is not needed, it seems
2017-11-16 23:55:41 +01:00
Augustin Cavalier
668a481ab3 openssl11: Fix source dir. 2017-10-28 23:47:15 +02:00
Adrien Destugues
8c5c0dcc27 openssl: rename recipe to avoid conflicts
As for libpng and others, there is ABI breakage between openSSL
versions, and we want to keep both versions installable side by side.
2017-08-19 21:12:00 +02:00