From d6e8a994f1384ed6cf3f454bd3eff43a0a9fade3 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 13 Oct 2015 09:10:31 -0300 Subject: Ticket #5300: Add a workaround to fix the issue of extensions.ini out of order ending up breaking PHP. Since the only dependency we have is suhosin that depends of session, alphabetical sort does the trick for now while a proper solution is not handled by the ports tree --- src/usr/local/sbin/pfSense-upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 2aaf563..4bee713 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -338,6 +338,10 @@ pkg_upgrade() { fi fi + # XXX: workaround for #5300 + sort -u ${chroot_dir}/usr/local/etc/php/extensions.ini > /tmp/extensions.ini + mv /tmp/extensions.ini /usr/local/etc/php/extensions.ini + pkg ${pkg_chroot} annotate -q -M ${kernel_pkg} next_stage 3 next_stage=3 -- cgit v1.1