[MacPorts] #20769: mcrypt, config.inc.php issues in phpmyadmin
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- There are (at least) two issues whith phpmyadmin @3.2.0.1 1. Extension mcrypt needs to be installed/enabled in PHP 2. File config.inc.php is not generated. I would expect that at least a warning message is shown during the installation that one needs to make sure that 'mcrypt' is enabled and how to do that (port install php5-mcryp for example). The second issue about that the blowfish secret needs to be set and each and every offical documentation tells us to do so by editing config.inc.php. This file would be created during an installation either manually or automatically. This port really sucks in not following the official way - this file does not exist. If this port decides to follow an alternative route, then for heavens sake, please document this proper!! -- Ticket URL: <http://trac.macports.org/ticket/20769> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => alakazam@… -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Changes (by jmr@…): * type: request => defect -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Description changed by ryandesign@…: Old description:
There are (at least) two issues whith phpmyadmin @3.2.0.1
1. Extension mcrypt needs to be installed/enabled in PHP 2. File config.inc.php is not generated.
I would expect that at least a warning message is shown during the installation that one needs to make sure that 'mcrypt' is enabled and how to do that (port install php5-mcryp for example).
The second issue about that the blowfish secret needs to be set and each and every offical documentation tells us to do so by editing config.inc.php. This file would be created during an installation either manually or automatically. This port really sucks in not following the official way - this file does not exist. If this port decides to follow an alternative route, then for heavens sake, please document this proper!!
New description: There are (at least) two issues whith phpmyadmin @3.2.0.1 1. Extension mcrypt needs to be installed/enabled in PHP 2. File config.inc.php is not generated. I would expect that at least a warning message is shown during the installation that one needs to make sure that 'mcrypt' is enabled and how to do that (port install php5-mcryp for example). The second issue about that the blowfish secret needs to be set and each and every offical documentation tells us to do so by editing config.inc.php. This file would be created during an installation either manually or automatically. This port really sucks in not following the official way - this file does not exist. If this port decides to follow an alternative route, then for heavens sake, please document this proper!! -- -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [ticket:20769 ora.et.labora@…]:
I would expect that at least a warning message is shown during the installation that one needs to make sure that 'mcrypt' is enabled and how to do that (port install php5-mcryp for example). The phpmyadmin port should simply declare a runtime dependency on the php5-mcrypt port, and the ports for any other modules it requires. Versions of the php5 port prior to 5.3.0_1 had mcrypt support always enabled, but it was recently moved into a separate module port along with many other modules. See #19091.
The second issue about that the blowfish secret needs to be set and each and every offical documentation tells us to do so by editing config.inc.php. This file would be created during an installation either manually or automatically. This port really sucks in not following the official way - this file does not exist. If this port decides to follow an alternative route, then for heavens sake, please document this proper!! The port does nothing unusual. It simply copies the phpmyadmin files into the right place. It is the user's responsibility to set it up correctly, which includes creating and editing the config.inc.php. It wouldn't hurt if the port printed a message explaining to the user that this file must be created (if the user has not already done so).
-- Ticket URL: <http://trac.macports.org/ticket/20769#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 ryandesign@…]:
The phpmyadmin port should simply declare a runtime dependency on the php5-mcrypt port, and the ports for any other modules it requires. The patch attached to #20818 addresses this.
-- Ticket URL: <http://trac.macports.org/ticket/20769#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Changes (by alakazam@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin ----------------------------------+----------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: phpmyadmin | Port: phpmyadmin ----------------------------------+----------------------------------------- Comment(by alakazam@…): r56365 fixes the mcrypt issues. -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20769: mcrypt, config.inc.php issues in phpmyadmin -----------------------------------+---------------------------------------- Reporter: ora.et.labora@… | Owner: alakazam@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: phpmyadmin Port: phpmyadmin | -----------------------------------+---------------------------------------- Changes (by alakazam@…): * status: assigned => closed * resolution: => fixed Comment: config.inc.php issues should be fixed by r57854. -- Ticket URL: <http://trac.macports.org/ticket/20769#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts