Bug 176858 - squirrelmail-1.4.9a-r1 config.sample.php not config.php.sample in secure_login
Bug#: 176858 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: eradicator@gentoo.org Reported By: Patrick.Fourniols@wanadoo.fr
Component: Ebuilds
URL: 
Summary: squirrelmail-1.4.9a-r1 config.sample.php not config.php.sample in secure_login
Keywords:  
Status Whiteboard: 
Opened: 2007-05-02 22:52 0000
Description:   Opened: 2007-05-02 22:52 0000
if ssl enabled ;) in secure_login plugin:
 mv config.php.sample... must be changed by mv config.sample.php... 


Reproducible: Always

Steps to Reproduce:
1.emerge squirrelmail
2.
3.

Actual Results:  
squirrelmail not installed

Expected Results:  
installed without any rename or ebuild change ;)

------- Comment #1 From Attila Tóth 2007-05-03 17:44:36 0000 -------
Has anybody actually verified this ebuild with ssl use flag for successful
installation?

Regards,
Dw.

------- Comment #2 From Patrick Fourniols 2007-05-03 21:59:27 0000 -------
yes, work fine with ssl use flag and patched ebuild

------- Comment #3 From Marcel van den Bosch 2007-05-04 14:47:24 0000 -------
I can't get it to install either with the ssl USE flag enabled.

------- Comment #4 From Target 2007-05-05 10:47:44 0000 -------
verified does not emerge.
The ebuild attempts to move config.php in the show_ssl_link plugin, but the
file is actually called config.php.sample.

* ebuild fault: file
'/usr/share/webapps/squirrelmail/1.4.9a-r1/htdocs/plugins/show_ssl_link/config.php'
not found
* Please report this as a bug at http://bugs.gentoo.org/

------- Comment #5 From Patrick Fourniols 2007-05-05 21:45:01 0000 -------
 nano -w $(equery which squirrelmail)
then change 
        use ssl &&
                unpack secure_login-${SECURELOGIN_VER}.tar.gz &&
                mv secure_login/config.php.sample secure_login/config.php &&
                unpack show_ssl_link-${SHOWSSL_VER}.tar.gz &&
                mv show_ssl_link/config.php.sample show_ssl_link/config.php
by:

        use ssl &&
                unpack secure_login-${SECURELOGIN_VER}.tar.gz &&
                mv secure_login/config.sample.php secure_login/config.php &&
                unpack show_ssl_link-${SHOWSSL_VER}.tar.gz &&
                mv show_ssl_link/config.php.sample show_ssl_link/config.php

(look on the third line at config.php.sample changed by config.sample.php )
save the modified ebuild, then:
ebuild $(equery which squirrelmail) digest
emerge squirrelmail

if you do that squirrelmail will emerge smoothly ;)

------- Comment #6 From Andrej Kacian (RETIRED) 2007-05-06 18:27:47 0000 -------
Fixed in CVS. Thanks and sorry for that.

------- Comment #7 From Jakub Moc (RETIRED) 2007-05-21 18:07:28 0000 -------
*** Bug 177151 has been marked as a duplicate of this bug. ***