/[smeserver]/rpms/e-smith-horde/sme8/e-smith-horde-1.13.0-10.mimp.patch
ViewVC logotype

Annotation of /rpms/e-smith-horde/sme8/e-smith-horde-1.13.0-10.mimp.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Thu Jun 26 04:27:31 2008 UTC (16 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2
- Upgrade patch for Horde 3.2.1

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/125Authentication mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/125Authentication
2     --- e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/125Authentication 2006-09-28 22:14:12.000000000 -0500
3     +++ mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/125Authentication 2006-09-28 21:59:53.000000000 -0500
4     @@ -3,6 +3,9 @@
5     $conf['auth']['checkbrowser'] = true;
6     $conf['auth']['alternate_login'] = false;
7     $conf['auth']['redirect_on_logout'] = false;
8     -$conf['auth']['params']['app'] = 'imp';
9     -$conf['auth']['driver'] = 'application';
10     +{
11     +my $Mimp = $mimp{'status'} || 'disabled'; return "\$conf[\'auth\'][\'driver\'] = \'composite\'\;" unless ($Mimp eq "disabled");
12     +$OUT = '$conf[\'auth\'][\'params\'][\'app\'] = \'imp\';
13     +$conf[\'auth\'][\'driver\'] = \'application\';'
14     +}
15    
16     diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp
17     --- e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 1969-12-31 18:00:00.000000000 -0600
18     +++ mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 2006-09-28 22:07:30.000000000 -0500
19     @@ -0,0 +1,24 @@
20     +// 999mimp
21     +{
22     +my $Mimp = $mimp{'status'} || 'disabled'; return "#Mimp login is currently not enabled. To enable - config set mimp service status enabled"
23     + unless ($Mimp eq "enabled");
24     +$OUT = '$conf[\'auth\'][\'params\'][\'drivers\'] = array(
25     + \'imp\' => array(\'driver\' => \'application\',
26     + \'params\' => array(\'app\' => \'imp\')),
27     + \'mimp\' => array(\'driver\' => \'application\',
28     + \'params\' => array(\'app\' => \'mimp\')));
29     +$conf[\'auth\'][\'params\'][\'loginscreen_switch\'] = \'_horde_select_loginscreen\';
30     +
31     +if (!function_exists(\'_horde_select_loginscreen\')) \{
32     + function _horde_select_loginscreen()
33     + \{
34     + require_once \'Horde/Browser.php\';
35     + $browser = &new Browser();
36     + if ($browser->isMobile()) \{
37     + return \'mimp\';
38     + \}
39     + return \'imp\';
40     + \}
41     +\}'
42     +}
43     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed