rpms/phpMyAdmin/EL-6 phpMyAdmin-3.3.3-vendor.patch, NONE, 1.1 .cvsignore, 1.46, 1.47 phpMyAdmin-config.inc.php, 1.2, 1.3 phpMyAdmin.htaccess, 1.6, 1.7 phpMyAdmin.spec, 1.52, 1.53 sources, 1.46, 1.47
Robert Scheck
robert at fedoraproject.org
Sat Jun 26 21:13:57 UTC 2010
- Previous message: File phpMyAdmin-3.3.3-all-languages.tar.bz2 uploaded to lookaside cache by robert
- Next message: rpms/phpMyAdmin/F-12 phpMyAdmin-3.3.3-vendor.patch, NONE, 1.1 .cvsignore, 1.46, 1.47 phpMyAdmin-config.inc.php, 1.2, 1.3 phpMyAdmin.htaccess, 1.6, 1.7 phpMyAdmin.spec, 1.52, 1.53 sources, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robert
Update of /cvs/pkgs/rpms/phpMyAdmin/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1710/EL-6
Modified Files:
.cvsignore phpMyAdmin-config.inc.php phpMyAdmin.htaccess
phpMyAdmin.spec sources
Added Files:
phpMyAdmin-3.3.3-vendor.patch
Log Message:
Upstream released 3.3.3 (#558322, #589288, #589487)
phpMyAdmin-3.3.3-vendor.patch:
common.inc.php | 4 ++--
vendor_config.php | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
--- NEW FILE phpMyAdmin-3.3.3-vendor.patch ---
Patch by Remi Collet <rpms at famillecollet.com> for phpMyAdmin >= 3.3.0, which adds the possibility to put
config.inc.php into a FHS conform path (e.g. /etc/phpMyAdmin/) without the use of a symlink. More details
can be found at: https://sourceforge.net/tracker/?func=detail&aid=2965613&group_id=23067&atid=377411
--- phpMyAdmin-3.3.3-all-languages/libraries/common.inc.php 2010-05-10 18:32:36.000000000 +0200
+++ phpMyAdmin-3.3.3-all-languages/libraries/common.inc.php.vendor 2010-06-26 21:50:25.000000000 +0200
@@ -536,7 +536,7 @@
* force reading of config file, because we removed sensitive values
* in the previous iteration
*/
-$_SESSION['PMA_Config'] = new PMA_Config('./config.inc.php');
+$_SESSION['PMA_Config'] = new PMA_Config(CONFIG_FILE);
if (!defined('PMA_MINIMUM_COMMON')) {
$_SESSION['PMA_Config']->checkPmaAbsoluteUri();
@@ -586,7 +586,7 @@
if ($_SESSION['PMA_Config']->error_config_file) {
$error = $strConfigFileError
. '<br /><br />'
- . ($_SESSION['PMA_Config']->getSource() == './config.inc.php' ?
+ . ($_SESSION['PMA_Config']->getSource() == CONFIG_FILE ?
'<a href="show_config_errors.php"'
.' target="_blank">' . $_SESSION['PMA_Config']->getSource() . '</a>'
:
--- phpMyAdmin-3.3.3-all-languages/libraries/vendor_config.php 2010-05-10 18:32:36.000000000 +0200
+++ phpMyAdmin-3.3.3-all-languages/libraries/vendor_config.php.vendor 2010-06-26 21:51:06.000000000 +0200
@@ -11,6 +11,11 @@
* @package phpMyAdmin
*/
+ /**
+ * Path to Configuration file
+ */
+define('CONFIG_FILE', './config.inc.php');
+
/**
* Path to changelog file, can be gzip compressed. Useful when you want to
* have documentation somewhere else, eg. /usr/share/doc.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/phpMyAdmin/EL-6/.cvsignore,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- .cvsignore 10 Jan 2010 21:46:37 -0000 1.46
+++ .cvsignore 26 Jun 2010 21:13:56 -0000 1.47
@@ -1 +1 @@
-phpMyAdmin-3.2.5-all-languages.tar.bz2
+phpMyAdmin-3.3.3-all-languages.tar.bz2
Index: phpMyAdmin-config.inc.php
===================================================================
RCS file: /cvs/pkgs/rpms/phpMyAdmin/EL-6/phpMyAdmin-config.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- phpMyAdmin-config.inc.php 3 Dec 2009 22:10:00 -0000 1.2
+++ phpMyAdmin-config.inc.php 26 Jun 2010 21:13:56 -0000 1.3
@@ -1,4 +1,11 @@
<?php
+/**
+ * phpMyAdmin configuration file, you can use it as base for the manual
+ * configuration. For easier setup you can use "setup/".
+ *
+ * All directives are explained in Documentation.html and on phpMyAdmin
+ * wiki <http://wiki.phpmyadmin.net>.
+ */
/*
* This is needed for cookie based authentication to encrypt password in
@@ -10,6 +17,7 @@ $cfg['blowfish_secret'] = ''; /* YOU MUS
* Server(s) configuration
*/
$i = 0;
+
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
// $cfg['Servers'][0]. You can disable a server config entry by setting host
// to ''. If you want more than one server, just copy following section
@@ -20,7 +28,7 @@ $cfg['Servers'][$i]['host'] = '
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
-$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
+$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
@@ -73,4 +81,26 @@ $cfg['Servers'][$i]['AllowDeny']['order'
= '';
$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
= array();
+$cfg['Servers'][$i]['AllowNoPassword'] // Allow logins without a password. Do not change the FALSE
+ = FALSE; // default unless you're running a passwordless MySQL server
+$cfg['Servers'][$i]['designer_coords'] // Leave blank (default) for no Designer support, otherwise
+ = ''; // set to suggested 'pma_designer_coords' if really needed
+$cfg['Servers'][$i]['bs_garbage_threshold'] // Blobstreaming: Recommented default value from upstream
+ = 50; // DEFAULT: '50'
+$cfg['Servers'][$i]['bs_repository_threshold'] // Blobstreaming: Recommented default value from upstream
+ = '32M'; // DEFAULT: '32M'
+$cfg['Servers'][$i]['bs_temp_blob_timeout'] // Blobstreaming: Recommented default value from upstream
+ = 600; // DEFAULT: '600'
+$cfg['Servers'][$i]['bs_temp_log_threshold'] // Blobstreaming: Recommented default value from upstream
+ = '32M'; // DEFAULT: '32M'
+/*
+ * End of servers configuration
+ */
+
+/*
+ * Directories for saving/loading files from server
+ */
+$cfg['UploadDir'] = '/var/lib/phpMyAdmin/upload';
+$cfg['SaveDir'] = '/var/lib/phpMyAdmin/save';
+
?>
Index: phpMyAdmin.htaccess
===================================================================
RCS file: /cvs/pkgs/rpms/phpMyAdmin/EL-6/phpMyAdmin.htaccess,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- phpMyAdmin.htaccess 13 Sep 2009 15:14:41 -0000 1.6
+++ phpMyAdmin.htaccess 26 Jun 2010 21:13:56 -0000 1.7
@@ -7,17 +7,31 @@
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
+
<Directory /usr/share/phpMyAdmin/>
- order deny,allow
- deny from all
- allow from 127.0.0.1
- allow from ::1
+ Order Deny,Allow
+ Deny from All
+ Allow from 127.0.0.1
+ Allow from ::1
+</Directory>
+
+<Directory /usr/share/phpMyAdmin/setup/>
+ Order Deny,Allow
+ Deny from All
+ Allow from 127.0.0.1
+ Allow from ::1
</Directory>
-# This directory does not require access over HTTP - taken from the original
+# These directories do not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
-<Directory /usr/share/phpMyAdmin/libraries>
+<Directory /usr/share/phpMyAdmin/libraries/>
+ Order Deny,Allow
+ Deny from All
+ Allow from None
+</Directory>
+
+<Directory /usr/share/phpMyAdmin/setup/lib/>
Order Deny,Allow
Deny from All
Allow from None
@@ -27,8 +41,7 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
# filtering SQL etc. This may break your mod_security implementation.
#
#<IfModule mod_security.c>
-# <Directory /usr/share/phpMyAdmin>
+# <Directory /usr/share/phpMyAdmin/>
# SecRuleInheritance Off
# </Directory>
#</IfModule>
-
Index: phpMyAdmin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/phpMyAdmin/EL-6/phpMyAdmin.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- phpMyAdmin.spec 10 Jan 2010 21:46:37 -0000 1.52
+++ phpMyAdmin.spec 26 Jun 2010 21:13:56 -0000 1.53
@@ -1,60 +1,77 @@
Name: phpMyAdmin
-Version: 3.2.5
+Version: 3.3.3
Release: 1%{?dist}
Summary: Web based MySQL browser written in php
-Group: Applications/Internet
+Group: Applications/Internet
License: GPLv2+
-URL: http://www.phpmyadmin.net/
+URL: http://www.phpmyadmin.net/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}-all-languages.tar.bz2
Source1: phpMyAdmin-config.inc.php
Source2: phpMyAdmin.htaccess
+Patch0: phpMyAdmin-3.3.3-vendor.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: webserver
+Requires: httpd
Requires: php >= 5.2.0
Requires: php-mysql >= 5.2.0
Requires: php-mbstring >= 5.2.0
Requires: php-mcrypt >= 5.2.0
-Provides: phpmyadmin
+Requires: php-gd >= 5.2.0
+Provides: phpmyadmin = %{version}-%{release}
%description
phpMyAdmin is a tool written in PHP intended to handle the administration of
MySQL over the Web. Currently it can create and drop databases,
create/drop/alter tables, delete/edit/add fields, execute any SQL statement,
-manage keys on fields, manage privileges,export data into various formats and
-is available in 50 languages
+manage keys on fields, manage privileges, export data into various formats and
+is available in over 55 languages.
%prep
-%setup -qn phpMyAdmin-%{version}-all-languages
+%setup -q -n %{name}-%{version}-all-languages
+%patch0 -p1
+
+# Setup vendor config file
+sed -e "/'CHANGELOG_FILE'/s at ./ChangeLog@%{_datadir}/doc/%{name}-%{version}/ChangeLog@" \
+ -e "/'LICENSE_FILE'/s at ./LICENSE@%{_datadir}/doc/%{name}-%{version}/LICENSE@" \
+ -e "/'CONFIG_FILE'/s at ./config.inc.php@%{_sysconfdir}/%{name}/config.inc.php@" \
+ -e "/'SETUP_CONFIG_FILE'/s at ./config/config.inc.php@%{_localstatedir}/lib/%{name}/config/config.inc.php@" \
+ -i libraries/vendor_config.php
+
+%build
%install
rm -rf %{buildroot}
-%{__mkdir} -p %{buildroot}/%{_datadir}/%{name}
-%{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
-%{__mkdir} -p %{buildroot}/%{_sysconfdir}/%{name}
-%{__cp} -ad ./* %{buildroot}/%{_datadir}/%{name}
-%{__cp} %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/phpMyAdmin.conf
-%{__cp} %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}/config.inc.php
-ln -s %{_sysconfdir}/%{name}/config.inc.php %{buildroot}/%{_datadir}/%{name}/config.inc.php
-
-%{__rm} -f %{buildroot}/%{_datadir}/%{name}/*txt
-%{__rm} -f %{buildroot}/%{_datadir}/%{name}/[IRLT]*
-%{__rm} -f %{buildroot}/%{_datadir}/%{name}/CREDITS
-%{__rm} -f %{buildroot}/%{_datadir}/%{name}/libraries/.htaccess
+%{__mkdir} -p %{buildroot}{%{_datadir}/%{name},%{_sysconfdir}/{httpd/conf.d,%{name}}}
+%{__mkdir} -p %{buildroot}%{_localstatedir}/lib/%{name}/{upload,save,config}
+%{__cp} -ad ./* %{buildroot}%{_datadir}/%{name}
+%{__cp} -p %{SOURCE2} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
+%{__cp} -p %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.inc.php
+
+%{__rm} -f %{buildroot}%{_datadir}/%{name}/{[CIRLT]*,*txt}
+%{__rm} -f %{buildroot}%{_datadir}/%{name}/{libraries,setup/lib}/.htaccess
+%{__rm} -rf %{buildroot}%{_datadir}/%{name}/{contrib,documentation-gsoc}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc INSTALL README LICENSE CREDITS TODO Documentation.txt
-%{_datadir}/%{name}
-%config(noreplace) %{_sysconfdir}/httpd/conf.d/phpMyAdmin.conf
-%config(noreplace) %{_sysconfdir}/%{name}
+%doc ChangeLog README LICENSE CREDITS TODO Documentation.txt documentation-gsoc
+%{_datadir}/%{name}/
+%dir %{_sysconfdir}/%{name}/
+%config(noreplace) %{_sysconfdir}/%{name}/config.inc.php
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
+%dir %{_localstatedir}/lib/%{name}/
+%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}/upload
+%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}/save
+%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}/config
%changelog
+* Sat Jun 26 2010 Robert Scheck <robert at fedoraproject.org> 3.3.3-1
+- Upstream released 3.3.3 (#558322, #589288, #589487)
+
* Sun Jan 10 2010 Robert Scheck <robert at fedoraproject.org> 3.2.5-1
- Upstream released 3.2.5
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/phpMyAdmin/EL-6/sources,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- sources 10 Jan 2010 21:46:37 -0000 1.46
+++ sources 26 Jun 2010 21:13:56 -0000 1.47
@@ -1 +1 @@
-6083ea867a152f58f5c332d0c9b92ac1 phpMyAdmin-3.2.5-all-languages.tar.bz2
+7f670239eededfb038785cd15a12545b phpMyAdmin-3.3.3-all-languages.tar.bz2
- Previous message: File phpMyAdmin-3.3.3-all-languages.tar.bz2 uploaded to lookaside cache by robert
- Next message: rpms/phpMyAdmin/F-12 phpMyAdmin-3.3.3-vendor.patch, NONE, 1.1 .cvsignore, 1.46, 1.47 phpMyAdmin-config.inc.php, 1.2, 1.3 phpMyAdmin.htaccess, 1.6, 1.7 phpMyAdmin.spec, 1.52, 1.53 sources, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list