summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>2021-02-25 22:20:21 +0100
committerKhem Raj <raj.khem@gmail.com>2021-02-25 19:44:48 -0800
commitc4ffcaa2ab3fbdef1ce58c253b32d82a57a3e2a8 (patch)
tree53cc1755f1883bcd0311b007ed3de59c8a76c442
parent2acf3058f4316afa22f24247d431584b55f14ab1 (diff)
downloadmeta-openembedded-c4ffcaa2ab3fbdef1ce58c253b32d82a57a3e2a8.tar.gz
php: split out phpdbg into a separate package
Since PHP 7.0 the phpdbg debugger is built by default and gets shipped in the main php package, increasing its size by several MB; split it out into a php-phpdbg package, following Debian naming. Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php_7.4.9.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php_7.4.9.bb b/meta-oe/recipes-devtools/php/php_7.4.9.bb
index 25b813792..f8a8755b9 100644
--- a/meta-oe/recipes-devtools/php/php_7.4.9.bb
+++ b/meta-oe/recipes-devtools/php/php_7.4.9.bb
@@ -205,7 +205,7 @@ php_sysroot_preprocess () {
205 205
206MODPHP_PACKAGE = "${@bb.utils.contains('PACKAGECONFIG', 'apache2', '${PN}-modphp', '', d)}" 206MODPHP_PACKAGE = "${@bb.utils.contains('PACKAGECONFIG', 'apache2', '${PN}-modphp', '', d)}"
207 207
208PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-phar ${MODPHP_PACKAGE} ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-opcache ${PN}" 208PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-phpdbg ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-phar ${MODPHP_PACKAGE} ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-opcache ${PN}"
209 209
210RDEPENDS_${PN} += "libgcc" 210RDEPENDS_${PN} += "libgcc"
211RDEPENDS_${PN}-pear = "${PN}" 211RDEPENDS_${PN}-pear = "${PN}"
@@ -221,6 +221,7 @@ FILES_${PN}-dbg =+ "${bindir}/.debug \
221 ${libexecdir}/apache2/modules/.debug" 221 ${libexecdir}/apache2/modules/.debug"
222FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc" 222FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc"
223FILES_${PN}-cli = "${bindir}/php" 223FILES_${PN}-cli = "${bindir}/php"
224FILES_${PN}-phpdbg = "${bindir}/phpdbg"
224FILES_${PN}-phar = "${bindir}/phar*" 225FILES_${PN}-phar = "${bindir}/phar*"
225FILES_${PN}-cgi = "${bindir}/php-cgi" 226FILES_${PN}-cgi = "${bindir}/php-cgi"
226FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm ${systemd_unitdir}/system/php-fpm.service ${sysconfdir}/php-fpm.d/www.conf.default" 227FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm ${systemd_unitdir}/system/php-fpm.service ${sysconfdir}/php-fpm.d/www.conf.default"