/[packages]/updates/3/phpmyadmin/current/SPECS/phpmyadmin.spec
ViewVC logotype

Diff of /updates/3/phpmyadmin/current/SPECS/phpmyadmin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 319515 by fwang, Sun Nov 18 17:08:06 2012 UTC revision 332802 by oden, Wed Dec 19 11:16:57 2012 UTC
# Line 12  Source1:       phpmyadmin-16x16.png Line 12  Source1:       phpmyadmin-16x16.png
12  Source2:        phpmyadmin-32x32.png  Source2:        phpmyadmin-32x32.png
13  Source3:        phpmyadmin-48x48.png  Source3:        phpmyadmin-48x48.png
14  Requires:       apache-mod_php  Requires:       apache-mod_php
15    Requires:       apache-mod_ssl
16  Requires:       php-mysqli  Requires:       php-mysqli
17  Requires:       php-mbstring  Requires:       php-mbstring
18  Requires:       php-mcrypt  Requires:       php-mcrypt
# Line 69  cat > %{buildroot}%{_webappconfdir}/%{na Line 70  cat > %{buildroot}%{_webappconfdir}/%{na
70  Alias /%{name} %{_datadir}/%{name}  Alias /%{name} %{_datadir}/%{name}
71    
72  <Directory %{_datadir}/%{name}>  <Directory %{_datadir}/%{name}>
73    %if %{mgaversion} < 3
74        Order deny,allow
75        Deny from all
76        Allow from 127.0.0.1
77    %endif
78    %if %{mgaversion} >= 3
79      Require local granted      Require local granted
80    %endif
81      ErrorDocument 403 "Access denied per %{_webappconfdir}/%{name}.conf"      ErrorDocument 403 "Access denied per %{_webappconfdir}/%{name}.conf"
82    
83      php_flag session.auto_start 0      php_flag session.auto_start 0
84  </Directory>  </Directory>
85    
86    <Location "/%{name}">
87        Options +FollowSymLinks
88        RewriteEngine On
89        RewriteCond %{SERVER_PORT} ^80$
90        RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
91    </Location>
92    
93  <Directory %{_datadir}/%{name}/libraries>  <Directory %{_datadir}/%{name}/libraries>
94    %if %{mgaversion} < 3
95        Order deny,allow
96        Deny from all
97    %endif
98    %if %{mgaversion} >= 3
99      Require all denied      Require all denied
100    %endif
101    
102  </Directory>  </Directory>
103  EOF  EOF
104    
# Line 96  cat > %{buildroot}%{_datadir}/applicatio Line 118  cat > %{buildroot}%{_datadir}/applicatio
118  [Desktop Entry]  [Desktop Entry]
119  Name=phpMyAdmin  Name=phpMyAdmin
120  Comment=%{summary}  Comment=%{summary}
121  Exec=%{_bindir}/www-browser http://localhost/%{name}/  Exec=%{_bindir}/www-browser https://localhost/%{name}/
122  Icon=%{name}  Icon=%{name}
123  Terminal=false  Terminal=false
124  Type=Application  Type=Application

Legend:
Removed from v.319515  
changed lines
  Added in v.332802

  ViewVC Help
Powered by ViewVC 1.1.30