Files
haikuports/dev-libs/openssl
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
..
2017-11-23 09:16:10 +01:00