Package: php-respect-validation
Version: 1.1.15-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

The dependency upon php-symfony-polyfill-mbstring can safely be replaced with
php-mstring, which provides the extension itself. There is some relevant
discussion in #911832 as well. It's unlikely that the php-symfony-polyfill
package will be included at Buster at this time.

See attached patch.

- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.12-301.fc29.x86_64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-respect-validation depends on:
ii  php-common                     2:69
ii  php-symfony-polyfill-mbstring  1.9.0-1

php-respect-validation recommends no packages.

Versions of packages php-respect-validation suggests:
pn  php-bcmath                        <none>
pn  php-egulias-email-validator       <none>
pn  php-fabpot-php-cs-fixer           <none>
ii  php-mbstring                      2:7.3+69
pn  php-symfony-validator             <none>
pn  php-zendframework-zend-validator  <none>
ii  php7.3-mbstring [php-mbstring]    7.3.0-2

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlwv3EoTHGxlZ29rdG1A
ZGViaWFuLm9yZwAKCRBS/I577bf8oqM1D/4j8fH4b95XILGV7vf0QEpheW6K0soe
/1cKpa4cOqCrwihSCgqKAG6Bv56fQczio5UMsE+Y8Y/L6kkSS0vDSk9SZXG9LENt
akpCPfT7BChCbCTVjn/Efz67eApqELIkGGTS99XU887ia4k+BijKrJybzfJOXZOl
b/01FmqzN0zEtoY32zqNjSrSWS8oPlzfabxekh070M60aDW7OnRKe5B7o4yE4tsX
vIdgICOCsmsd1Za7e/3XNVutObZ9AZe4zcWiM4rUvDIsaktMopGqrCTY2sMEXJT+
RqNBBQpYd4dNA3jcr3mMbznoBetneUhxt//fbIlc1yRBrVNo6rFL7GYzVndSj/jX
7O+dO2UtecrRGwivDBuOwv0RsKjzXSyPKAhsOk/bTRajNXIN/oKAhelOqnXEvLzh
FNC7pHXxjLUYqazwmWtQw+fEn0rFUu/xyYTKT4XJ7BFUX/4DFIBraMBFJuhN2xwA
rDNlxlzYsS48QeL0RKTTfbJhbmhTT3wL8tKPQhOQyaZJz/bPcNR/Qs4Q/PlA4ncv
Wz5shKZf/fzpctqnmDKX/sy7ngiPSw6YGmbNMlAfYvh9Vt2GPcCL8R79XDmGxl60
ekByNFdF87rZNb7bNkWaaJKPGFnQ92wo/Z+Y6JC9AE61d6Cq5p8DP2u8e71Ei0RG
xw7oB5PX7zzkMQ==
=bd+z
-----END PGP SIGNATURE-----
>From 025b159765ca33f2c49b66c2e68b3964a7491e30 Mon Sep 17 00:00:00 2001
From: Kunal Mehta <lego...@debian.org>
Date: Fri, 4 Jan 2019 14:15:03 -0800
Subject: [PATCH] Drop dependency upon php-symfony-polyfill-mbstring in favor
 of php-mbstring

Instead of using a polyfill, we can simply depend upon the actual PHP
extension. There's some relevant discussion in #911832 as well.

Using the override file, we can disable the automatic dependency and add
php-mbstring in d/control.

Closes: #-1
---
 debian/control                 | 2 +-
 debian/pkg-php-tools-overrides | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 debian/pkg-php-tools-overrides

diff --git a/debian/control b/debian/control
index 832d20f..892e2f8 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: 
https://salsa.debian.org/tdtf-team/php-respect-validation
 
 Package: php-respect-validation
 Architecture: all
-Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
+Depends: ${misc:Depends}, php-mbstring, ${phpcomposer:Debian-require}
 Recommends: ${phpcomposer:Debian-recommend}
 Suggests: ${phpcomposer:Debian-suggest}
 Replaces: ${phpcomposer:Debian-replace}
diff --git a/debian/pkg-php-tools-overrides b/debian/pkg-php-tools-overrides
new file mode 100644
index 0000000..f295d3d
--- /dev/null
+++ b/debian/pkg-php-tools-overrides
@@ -0,0 +1 @@
+symfony polyfill-mbstring none
-- 
2.20.1

Reply via email to