alt-php55-pecl-mongodb (1.5.5-1) stable; urgency=medium

  * ALTPHP-2397: first deb release of this lineup. The deb macros bottomed out
    at the 1.7.x lineup, so php54/55 built 1.7.5, which requires PHP >= 5.6.
    alt.spec already selects 1.5.x for php55 and 1.2.x below that.
  * ALTPHP-2397: tolerate the 1.2.11 tarball layout. It contains only
    mongodb-1.2.11/ with no root-level package.xml, so dpkg-source strips the
    directory and the flatten step in override_dh_auto_build had nothing to
    move; 1.5.5+ ship package.xml alongside it and still need the flatten.
  * ALTPHP-2397: add libssl-dev and pkg-config to Build-Depends for the 1.2.x
    and 1.5.x lineups. alt.spec has always BuildRequired openssl-devel while the
    deb side never did; it went unnoticed because neither lineup had ever been
    built here. 1.2.11 fails outright without it ("Cannot find OpenSSL's
    <evp.h>"), but 1.5.5 fails silently: configure reports
    "checking for PHP_MONGODB_SSL... no" and produces an extension with SSL
    disabled, whose only symptom is manager-ctor-ssl-001.phpt fataling with
    "Cannot create SSL client. SSL is not enabled in this build." That was the
    single failing test out of 1626 for php55 on Debian 13.
  * ALTPHP-2397: use the 1.2.x bundled-source include paths. That release
    vendors libbson at src/libbson/src, while the hardcoded paths assumed the
    later src/libmongoc/ layout.
  * ALTPHP-2397: mirror the php_version-le-55 test-removal block from alt.spec.
    The spec drops some 45 test patterns for PHP 5.x (bson-binary-compare,
    bug0572/0720/1045/1151/1152, causal-consistency, cursor-session, session-*,
    standalone-ssl-*, standalone-x509-auth-*, transaction-integration-*,
    bson-toJSON-001); debian/rules had none of them. This aligns the two sides,
    though it was not what ailed php55 -- see the OpenSSL entry above.
 -- Sergey Fokin <sfokin@cloudlinux.com>  Mon, 10 Aug 2026 12:00:00 +0200
