From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7 Description of problem: The core packages do not offer the mcrypt support. OK. I know the reason: it uses the libmcrypt package that resides in the extras repository; enabling mcrypt support would introduce a cross-repository dependency problem. I think libmcrypt should be part of FC5: PHP may then use it directly from a binary RPM. My actual problem is that I have to download the update source RPM, modify the spec file and recompile it each time an update is available for PHP. A workaround to the FC4 dependency problem would be to have conditional "php-mcrypt" package creation in the spec file; this will allow people like me to recompile php more easily with "rpmbuild -D '_with_mcrypt 1' ...", without having to modify the spec file for mcrypt. Note: people maintaining phprpms on sourceforge do not react to FC4 updates... I include a patch to the RPM spec file (of version 5.0.4-10.5) to introduce such a conditional compilation. It would be fine if the next php source update may contain such a feature. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: Call an mcrypt procedure from PHP Actual Results: procedure not present Expected Results: Correct execution of procedure Additional info:
Created attachment 120838 [details] Patch to the RPM spec file to introduce conditional compilation of "php-mcrypt"
I'm probably going to remove all these conditional compilation things for FC5, they are more hassle to maintain than they are worth. There is nothing stopping anybody from maintaining a php-mcrypt package in Extras too.