HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/rpm/macros.d/macros.php83-pear
#
# Define full path to pear/pecl commands to be used in scriptlets:
#
%php83___pear /opt/remi/php83/root/usr/bin/pear
%php83___pecl /opt/remi/php83/root/usr/bin/pecl

#
# Define PEAR directories used in php-pear-* spec files
#
%pear_phpdir  %(%{__pear} config-get php_dir  2> /dev/null || echo /opt/remi/php83/root/usr/share/pear)
%pear_docdir  %(%{__pear} config-get doc_dir  2> /dev/null || echo /opt/remi/php83/root/usr/share/doc/pear)
%pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo /opt/remi/php83/root/usr/share/tests/pear)
%pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo /opt/remi/php83/root/usr/share/pear-data)
%pear_cfgdir  %(%{__pear} config-get cfg_dir  2> /dev/null || echo /etc/opt/remi/php83/pear)
%pear_wwwdir  %(%{__pear} config-get www_dir  2> /dev/null || echo /var/opt/remi/php83/www/html)
%php83_pear_metadir %(%{__pear} config-get metadata_dir 2> /dev/null || echo /var/opt/remi/php83/lib/pear)

#
# Define PECL directories used in php-pecl-* spec files:
#
%pecl_phpdir  %(%{__pecl} config-get php_dir  2> /dev/null || echo /opt/remi/php83/root/usr/share/pear)
%pecl_docdir  %(%{__pecl} config-get doc_dir  2> /dev/null || echo /opt/remi/php83/root/usr/share/doc/pecl)
%pecl_testdir %(%{__pecl} config-get test_dir 2> /dev/null || echo /opt/remi/php83/root/usr/share/tests/pecl)
%pecl_datadir %(%{__pecl} config-get data_dir 2> /dev/null || echo /opt/remi/php83/root/usr/share/pear-data)

#
# Define XML directories to store package registration information:
#
%php83_pear_xmldir /var/opt/remi/php83/lib/pear/pkgxml
%php83_pecl_xmldir /var/opt/remi/php83/lib/pear/pkgxml

#
# Define macros to be used in scriplets for php-pecl-* spec files:
#
%pecl_install %{__pecl} install --nodeps --soft --force --register-only --nobuild
%pecl_uninstall %{__pecl} uninstall --nodeps --ignore-errors --register-only