Red Hat Bugzilla – Bug 457886
RFE: moodle: consider switching to using system Smarty if possible
Last modified: 2008-09-09 15:14:30 EDT
Description of problem:
Current moodle packages contain a private copy of Smarty, which is also packaged in Fedora as php-Smarty. Any bug (or security issue) in Smarty now requires update of both php-Smarty and all applications having own copy.
Please investigate if moodle can be used with system Smarty, or depends on some project-specific customizations.
Possible straight forward way to use system smarty is to do something like:
rm -rf /var/www/moodle/web/lib/smarty
ln -s /usr/share/php/Smarty/ /var/www/moodle/web/lib/smarty
+ depends on php-Smarty
Ideally, there may be a way to use system smarty without exposing it in the directory served by web server, as was done in php-pear-PhpDocumentor:
Version-Release number of selected component (if applicable):
Other libraries with local copies in lib/ may also have system package counterpart.
Smarty dep fixed with symlink in rawhide. Looking into others, please document here if found. . .
Working on adodb. Noticed that the symlink approach fails on upgrade, testing a %pre script to remedy this.
Built in rawhide using system adodb and magpierss.
Not finding similarly droppable deps. Fulfilled scope of initial request. Closing.