Hello community,
here is the log from the commit of package phpMyAdmin.1311 for openSUSE:12.3:Update checked in at 2013-02-06 11:58:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/phpMyAdmin.1311 (Old)
and /work/SRC/openSUSE:12.3:Update/.phpMyAdmin.1311.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phpMyAdmin.1311", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:12.3:Update/.phpMyAdmin.1311.new/phpMyAdmin.changes 2013-02-06 11:59:00.000000000 +0100
@@ -0,0 +1,1454 @@
+-------------------------------------------------------------------
+Mon Feb 4 17:34:24 CET 2013 - draht@suse.de
+
+- update to 3.5.6.0 (2013-01-28)
+ * sf#3593604 [status] Erroneous advisor rule
+ * sf#3596070 [status] localStorage broken in server status monitor
+ * sf#3598736 [routines] Editing a procedure with special characters
+ * sf#3600322 [core] Visualize GIS data throws Fatal Error
+ * sf#3599362 [core] Double-escaped error message
+ * sf#3776 [cookies] Login without auth on second server
+
+-------------------------------------------------------------------
+Wed Jan 16 23:17:50 UTC 2013 - chris@computersalat.de
+
+- update to 3.5.5.0 (2012-12-21)
+ * sf#3563824 [export] Support Apache's mod_deflate
+ * sf#3585523 [interface] Inline query editing broken after row update
+ * sf#3586389 [setup] Cannot switch language in /setup
+ * sf#3585695 [CSS] Font size in inline query editor is way too big
+ * sf#3588354 [l10n] Portuguese Language not displaying correctly
+ * sf#3591412 [status] Live charts don't work for non-default server
+ * sf[core] Proxy ajax calls to pma.net to avoid browser notices
+ * sf#3593534 [tracking] Structure Snapshot on tracked view renders
+ invalid SQL
+ * sf#3544366 [events] Event comments not saved
+
+-------------------------------------------------------------------
+Sat Dec 15 15:23:00 UTC 2012 - chris@computersalat.de
+
+- update to 3.5.4.0 (2012-11-16)
+ * sf#3570212 [edit] uuid_short() is a no-arguments function
+ * sf#3569577 [edit] Add routine parameter headers not valid for
+ "function"
+ * sf#3575799 [search] Various search operators not working as
+ expected
+ * sf#3576322 [search] Invalid select query generated for tables with
+ ENUM fields
+ * sf#3577468 [display] Incorrect imagejpeg Syntax Breaks Image
+ Transformation
+ * sf#3578776 [search] Editing SQL not possible when no records found
+ * sf#3571970 [interface] Display chart and number of rows to plot
+ * sf#3582631 [core] Wrong redirect url caused cookies error with
+ ForceSSL
+
+-------------------------------------------------------------------
+Mon Nov 5 11:40:16 UTC 2012 - chris@computersalat.de
+
+- update to 3.5.3.0 (2012-10-08)
+ * sf#3539044 [interface] Browse mode "Show" button gives blank page
+ if no results anymore
+ * sf#3534979 [interface] Copy Database Ajax feedback vanishes long
+ before copying is done
+ * sf#3527531 [interface] GC-maxlifetime warning incorrectly
+ displayed
+ * sf#3526916 [interface] Search fails with JS error when tooltips
+ disabled
+ * sf#3544366 [interface] Event comments not saved
+ * sf#3549084 [edit] Can't enter date directly when editing inline
+ * sf#3548491 [interface] Inline query editor doesn't work from
+ search results
+ * sf#3547825 [edit] BLOB download no longer works
+ * sf#3541966 [config] Error in generated configuration arrray
+ * sf#3553551 [GUI] Invalid HTML code in multi submits confirmation
+ form
+ * [interface] Designer sometimes places tables on the top menu
+ * sf#3546277 [core] Call to undefined function __() when config file
+ has wrong permissions
+ * sf#3540922 [edit] Error searching table with many fields
+ * sf#3555104 [edit] Cannot copy a DB with table and views
+ * sf#3559925 [privileges] Incorrect updating of the list of users
+ * sf#3561224 [edit] cell edit date field with empty date fills in
+ current date
+ * sf#3559955 [edit] current_date from function drop down fails on
+ update
+ * sf#3562472 add support for Solaris and FreeBSD system load and
+ memory display in server status
+ * sf#3553068 [import] Table import from XML file fails
+ * replace Highcharts with jqplot for Display chart
+ * sf#3567684 [edit] Pasting value doesn't clear null checkbox
+ * sf#3570786 [edit] Datepicker for date and datetime fields is
+ broken
+- fix for bnc#788103
+ * PMASA-2012-6 (CVE-2012-5339)
+ o http://www.phpmyadmin.net/home_page/security/PMASA-2012-6.php
+ * PMASA-2012-7 (CVE-2012-5368)
+ o http://www.phpmyadmin.net/home_page/security/PMASA-2012-7.php
+
+-------------------------------------------------------------------
+Tue Aug 21 14:30:51 UTC 2012 - chris@computersalat.de
+
+- update to 3.5.2.2 (2012-08-12)
+ - [security] Fixed XSS vulnerabilities,
+ see PMASA-2012-4
+- update to 3.5.2.1 (2012-08-03)
+ - [security] Fixed local path disclosure vulnerability,
+ see PMASA-2012-3
+- fix for bnc#776701
+ * PMASA-2012-4 (CVE-2012-4345)
+- fix for bnc#776698
+ * PMASA-2012-3 (CVE-2012-4219)
+
+-------------------------------------------------------------------
+Sun Jul 8 15:52:13 UTC 2012 - chris@computersalat.de
+
+- udpate to 3.5.2 (2012-07-07)
+ * bug sf#3521416 [interface] JS error when editing index
+ * bug sf#3521313 [core] Call to undefined function __()
+ * bug sf#3521016 [edit] NOW() function incorrectly selected
+ * bug [GUI] Invalid HTML code on transformation_overview.php
+ * bug sf#3522930 [browse] Missing validation in Ajax mode
+ * bug Fix popup message on build SQL of import
+ * bug sf#3523499 [core] Make X-WebKit-CSP work better
+ * replace Highcharts with jqplot for query profiling, zoom search
+ * bug sf#3531584 [interface] No form validation in change password
+ dialog
+ * bug sf#3531585 [interface] Broken password validation in copy user
+ form
+ * bug sf#3531586 [unterface] Add user form prints JSON when user
+ presses enter
+ * bug sf#3534121 [config] duplicate line in config.sample.inc.php
+ * bug sf#3534311 [interface] Grid editing incorrectly parses
+ ENUM/SET values
+ * bug sf#3510196 [core] More clever URL rewriting with ForceSSL
+- rebase config patch
+
+-------------------------------------------------------------------
+Sun Jun 3 22:00:45 UTC 2012 - chris@computersalat.de
+
+- update to 3.5.1.0 (2012-05-03)
+ * bug sf#3510784 [edit] Limit clause ignored when sort order is
+ remembered
+ * bug sf#3511471 [interface] View name not seen in navi panel
+ (MySQL 5.1)
+ * bug sf#3512916 [display] Right frame reloads after displaying SQL
+ result(zero rows)
+ * bug [interface] Fixed missing Codemirror for inline query edit
+ when exporting a result set
+ * bug sf#3514490 [auth] Multiple Navigation panels bug still present
+ * bug sf#3515181 [users] Error in create user + underscore + create
+ database
+ * bug sf#3515666 [display] Profiling chart shows wrong data
+ * bug sf#3516037 [auth] JS includes missing in auth config error page
+ * bug sf#3516183 [display] Missing image extension
+ * bug [display] Added missing icons in original theme
+ * bug sf#3516761 [edit] Query error after search
+ * bug sf#3516405 [display] Chart title is getting wrong within chart
+ export
+ * bug sf#3517021 [interface] Header links except 'More' hide after
+ closing dialog
+ * bug sf#3516817 [interface] "More" actions in table structure
+ * bug sf#3518484 [privileges] PMA_sqlAddSlashes() does not quote the
+ table names correctly
+ * bug sf#3518983 [designer] Error messages do not appear in the
+ Designer
+ * bug sf#3519747 [interface] Suhosin patch warning incorrectly
+ displayed
+ * bug sf#3520107 [interface] Server status page: Incorrect dialog box
+ titles
+ * bug sf#3516089 [structure] DROP does not work on defective VIEWs
+- rebase config patch
+ * remove version from patch name
+ * add missing options
+
+-------------------------------------------------------------------
+Thu Apr 26 19:49:16 UTC 2012 - chris@computersalat.de
+
+- update to 3.4.11.0
+ * bug sf#3486970 [import] Exception on XML import
+ * bug sf#3488777 [navi] $cfg['ShowTooltipAliasTB'] and blank names
+ in navigation
+ * bug sf#3512565 [navi] Fixed missing word "Rows" in table list
+ tooltip after click
+
+-------------------------------------------------------------------
+Mon Apr 2 10:14:55 UTC 2012 - chris@computersalat.de
+
+- update to 3.4.10.2 (fix for bnc#755211)
+ - [security] Fixed local path disclosure vulnerability,
+ see PMASA-2012-2
+ http://www.phpmyadmin.net/home_page/security/PMASA-2012-2.php
+
+-------------------------------------------------------------------
+Thu Feb 23 12:45:22 UTC 2012 - chris@computersalat.de
+
+- fix changelog
+ * rename bugs , patches ("{bug,patch} #....") to fit into
+ bug naming scheme -> "sf#...."
+
+-------------------------------------------------------------------
+Mon Feb 20 09:50:54 UTC 2012 - chris@computersalat.de
+
+- update to 3.4.10.1 (fix for bnc#747841)
+ * [security] XSS in replication setup, see PMASA-2012-1
+- 3.4.10.0 (2012-02-14)
+ * sf#3460090 [interface] TextareaAutoSelect feature broken
+ * sf#3375984 [export] PHP Array export might generate invalid php
+ code
++++ 1257 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.phpMyAdmin.1311.new/phpMyAdmin.changes
New:
----
phpMyAdmin-3.5.6-all-languages.tar.bz2
phpMyAdmin-config.patch
phpMyAdmin.changes
phpMyAdmin.http
phpMyAdmin.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ phpMyAdmin.spec ++++++
#
# spec file for package phpMyAdmin
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: phpMyAdmin
%define apxs %{_sbindir}/apxs2
%define ap_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define ap_serverroot %(%{apxs} -q PREFIX)
%define ap_docroot %(%{apxs} -q PREFIX)/htdocs
%define pma_config %{_sysconfdir}/%{name}/config.inc.php
%if 0%{?suse_version}
%define ap_usr wwwrun
%define ap_grp www
%else
%define ap_usr nobody
%define ap_grp nogroup
%endif
Summary: Administration of MySQL over the web
License: GPL-2.0+
Group: Productivity/Networking/Web/Frontends
Version: 3.5.6
Release: 0
Url: http://www.phpMyAdmin.net
Source0: %{name}-%{version}-all-languages.tar.bz2
Source1: %{name}.http
Patch0: %{name}-config.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: pwgen coreutils sed grep
BuildRequires: apache2-devel
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
#
Requires: mod_php_any
Requires: php-bz2
Requires: php-gd
Requires: php-iconv
Requires: php-mbstring
Requires: php-mcrypt
Requires: php-mysql
Requires: php-session
Requires: php-zlib
Recommends: php5-zip
%description
phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a
single database. To accomplish the latter you'll need a properly set up MySQL
user who can read/write only the desired database. It's up to you to look up
the appropriate part in the MySQL manual.
Currently phpMyAdmin can:
* browse and drop databases, tables, views, fields and indexes
* create, copy, drop, rename and alter databases, tables, fields and indexes
* maintenance server, databases and tables, with proposals on server
configuration
* execute, edit and bookmark any SQL-statement, even batch-queries
* load text files into tables
* create^1 and read dumps of tables
* export^1 data to various formats: CSV, XML, PDF, ISO/IEC 26300 -
OpenDocument Text and Spreadsheet, Word, Excel and L^AT[E]X formats
* import data and MySQL structures from Microsoft Excel and OpenDocument
spreadsheets, as well as XML, CSV, and SQL files
* administer multiple servers
* manage MySQL users and privileges
* check referential integrity in MyISAM tables
* using Query-by-example (QBE), create complex queries automatically
connecting required tables
* create PDF graphics of your Database layout
* search globally in a database or a subset of it
* transform stored data into any format using a set of predefined functions,
like displaying BLOB-data as image or download-link
* track changes on databases, tables and views
* support InnoDB tables and foreign keys (see FAQ 3.6)
* support mysqli, the improved MySQL extension (see FAQ 1.17)
* communicate in 57 different languages
* synchronize two databases residing on the same as well as remote servers
(see FAQ 9.1)
%prep
%setup -q -n %{name}-%{version}-all-languages
## rpmlint:
# wrong-file-end-of-line-encoding
%{__perl} -p -i -e 's|\r\n|\n|' examples/config.manyhosts.inc.php
%patch0
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
find . -type f -name '*.orig' -exec rm {} \;
#rm lang/*.sh
%{__rm} libraries/.htaccess
%build
%install
#%{__install} -d -m0750 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
%{__install} -d -m0755 $RPM_BUILD_ROOT%{ap_docroot}/%{name}
%{__cp} -dR *.css *.php *.html *.ico js libraries locale themes \
$RPM_BUILD_ROOT%{ap_docroot}/%{name}
# install config to config dir
%{__install} -D -m0640 $RPM_BUILD_ROOT%{ap_docroot}/%{name}/config.sample.inc.php \
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config.inc.php
# fix libraries/vendor_config.php
%{__sed} -i -e "s,@docdir@,%{_docdir}/%{name},g" -e "s,@sysconfdir@,%{_sysconfdir}/%{name},g" \
$RPM_BUILD_ROOT%{ap_docroot}/%{name}/libraries/vendor_config.php
# fix libraries/common.inc.php
#%{__sed} -i -e "s,@PMA_Config@,%{_sysconfdir}/%{name}/config.inc.php,g" \
# $RPM_BUILD_ROOT%{ap_docroot}/%{name}/libraries/common.inc.php
# generate file list
find $RPM_BUILD_ROOT%{ap_docroot}/%{name} -mindepth 1 -maxdepth 1 -type d | sed -e "s@$RPM_BUILD_ROOT@@" > FILELIST
find $RPM_BUILD_ROOT%{ap_docroot}/%{name} -maxdepth 1 -type f | grep -v 'config.inc.php' | sed -e "s@$RPM_BUILD_ROOT@@" >> FILELIST
%{__install} -D -m0644 %{S:1} $RPM_BUILD_ROOT%{ap_sysconfdir}/conf.d/%{name}.conf
# fix paths in http config
%{__sed} -i -e "s,@ap_docroot@,%{ap_docroot},g" -e "s,@name@,%{name},g" \
-e "s,@docdir@,%{_docdir},g" $RPM_BUILD_ROOT%{ap_sysconfdir}/conf.d/%{name}.conf
# rpmlint stuff
%if 0%{?suse_version} > 1020
%fdupes ${RPM_BUILD_ROOT}%{ap_docroot}/%{name}/libraries
%fdupes ${RPM_BUILD_ROOT}%{ap_docroot}/%{name}/themes
%endif
%post
# on `rpm -ivh` PARAM is 1
# on `rpm -Uvh` PARAM is 2
# set PmaAbsoluteUri ### generate blowfish secret
%{__sed} -i -e "s,@FQDN@,$(cat /etc/HOSTNAME)," \
-e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config}
%restart_on_update apache2
%postun
%restart_on_update apache2
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f FILELIST
%defattr(644,root,root,755)
%doc ChangeLog Documentation.* docs.css
%doc LICENSE README RELEASE-DATE*
%doc examples
%dir %attr(0750,root,%{ap_grp}) %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/config.inc.php
%dir %{ap_docroot}/%{name}
%config(noreplace) %{ap_sysconfdir}/conf.d/%{name}.conf
%changelog
++++++ phpMyAdmin-config.patch ++++++
Index: config.sample.inc.php
===================================================================
--- config.sample.inc.php.orig
+++ config.sample.inc.php
@@ -1,6 +1,6 @@
https://www.your_web.net/path_to_your_phpMyAdmin_directory/
+ *
+ * It must contain characters that are valid for a URL, and the path is
+ * case sensitive on some Web servers, for example Unix-based servers.
+ *
+ * In most cases you can leave this variable empty, as the correct value
+ * will be detected automatically. However, we recommend that you do
+ * test to see that the auto-detection code works in your system. A good
+ * test is to browse a table, then edit a row and save it. There will be
+ * an error message if phpMyAdmin cannot auto-detect the correct value.
+ *
+ * If the auto-detection code does work properly, you can set to true the
+ * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
+ */
+$cfg['PmaAbsoluteUri'] = '';
+
+/*
* This is needed for cookie based authentication to encrypt password in
* cookie
+ * YOU MUST FILL IN THIS FOR COOKIE AUTH!
+ */
+$cfg['blowfish_secret'] = '';
+
+/*
+ * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
+ * You should use this if and ONLY if the PmaAbsoluteUri auto-detection
+ * works perfectly.
+ */
+$cfg['PmaAbsoluteUri_DisableWarning'] = false;
+
+/*
+ * Disable the default warning that is displayed on the DB Details Structure page if
+ * any of the required Tables for the relationfeatures could not be found
+ */
+$cfg['PmaNoRelation_DisableWarning'] = false;
+
+/*
+ * Disable the default warning that is displayed if Suhosin is detected
+ *
+ * @global boolean $cfg['SuhosinDisableWarning']
*/
-$cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
+$cfg['SuhosinDisableWarning'] = true;
/*
* Servers configuration
*/
$i = 0;
-/*
+/***************************************
* First server
*/
$i++;
-/* Authentication type */
-$cfg['Servers'][$i]['auth_type'] = 'cookie';
-/* Server parameters */
-$cfg['Servers'][$i]['host'] = 'localhost';
-$cfg['Servers'][$i]['connect_type'] = 'tcp';
-$cfg['Servers'][$i]['compress'] = false;
-/* Select mysql if your server does not have mysqli */
-$cfg['Servers'][$i]['extension'] = 'mysqli';
-$cfg['Servers'][$i]['AllowNoPassword'] = false;
+// MySQL hostname or IP address
+$cfg['Servers'][$i]['host'] = 'localhost';
+
+// MySQL port - leave blank for default port
+$cfg['Servers'][$i]['port'] = '';
+
+// Path to the socket - leave blank for default socket
+$cfg['Servers'][$i]['socket'] = '';
+
+// Use SSL for connecting to MySQL server?
+$cfg['Servers'][$i]['ssl'] = false;
+
+// How to connect to MySQL server ('tcp' or 'socket')
+$cfg['Servers'][$i]['connect_type'] = 'socket';
+
+// The PHP MySQL extension to use ('mysql' or 'mysqli')
+$cfg['Servers'][$i]['extension'] = 'mysqli';
+
+// Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
+$cfg['Servers'][$i]['compress'] = false;
+
+// Authentication method (config, http or cookie based)?
+$cfg['Servers'][$i]['auth_type'] = 'cookie';
+
+// MySQL user
+$cfg['Servers'][$i]['user'] = 'root';
+
+// MySQL password (only needed with 'config' auth_type)
+$cfg['Servers'][$i]['password'] = '';
+
+// Allow access without password
+$cfg['Servers'][$i]['AllowNoPassword'] = false;
+
+// whether to allow root login
+$cfg['Servers'][$i]['AllowRoot'] = true;
+
+// Session to use for 'signon' authentication method
+$cfg['Servers'][$i]['SignonSession'] = '';
+
+// URL where to redirect user to login for 'signon' authentication method
+$cfg['Servers'][$i]['SignonURL'] = '';
+
+// URL where to redirect user after logout
+$cfg['Servers'][$i]['LogoutURL'] = '';
+
+// If set to a db-name, only this db is displayed in left frame
+// It may also be an array of db-names, where sorting order is relevant.
+$cfg['Servers'][$i]['only_db'] = '';
+
+// Verbose name for this host - leave blank to show the hostname
+$cfg['Servers'][$i]['verbose'] = '';
+
+// set to false if you know that your pma_* tables
+// are up to date. This prevents compatibility
+// checks and thereby increases performance.
+$cfg['Servers'][$i]['verbose_check'] = true;
+
+// Host authentication order, leave blank to not use
+$cfg['Servers'][$i]['AllowDeny']['order'] = '';
+
+// Host authentication rules, leave blank for defaults
+$cfg['Servers'][$i]['AllowDeny']['rules'] = array();
/*
* phpMyAdmin configuration storage settings.
*/
-/* User used to manipulate with storage */
-// $cfg['Servers'][$i]['controlhost'] = '';
-// $cfg['Servers'][$i]['controluser'] = 'pma';
-// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
-
-/* Storage database and tables */
-// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
-// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
-// $cfg['Servers'][$i]['relation'] = 'pma_relation';
-// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
-// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
-// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
-// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
-// $cfg['Servers'][$i]['history'] = 'pma_history';
-// $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
-// $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
-// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
-// $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
-// $cfg['Servers'][$i]['recent'] = 'pma_recent';
+$cfg['Servers'][$i]['controlhost'] = '';
+
+// MySQL control user settings (this user must have read-only
+// access to the "mysql/user" and "mysql/db" tables).
+// The controluser is also used for all relational features (pmadb)
+$cfg['Servers'][$i]['controluser'] = '';
+
+// The password needed for the controluser to login
+// (see $cfg['Servers'][$i]['controluser'])
+$cfg['Servers'][$i]['controlpass'] = '';
+
+// Database used for Relation, Bookmark and PDF Features
+// (see _docdir/examples/create_tables.sql)
+// - leave blank for no support
+// DEFAULT: 'phpmyadmin'
+$cfg['Servers'][$i]['pmadb'] = '';
+
+// Bookmark table
+// - leave blank for no bookmark support
+// DEFAULT: 'pma_bookmark'
+$cfg['Servers'][$i]['bookmarktable'] = '';
+
+// table to describe the relation between links (see doc)
+// - leave blank for no relation-links support
+// DEFAULT: 'pma_relation'
+$cfg['Servers'][$i]['relation'] = '';
+
+// table to describe the display fields
+// - leave blank for no display fields support
+// DEFAULT: 'pma_table_info'
+$cfg['Servers'][$i]['table_info'] = '';
+
+// table to describe the tables position for the PDF schema
+// - leave blank for no PDF schema support
+// DEFAULT: 'pma_table_coords'
+$cfg['Servers'][$i]['table_coords'] = '';
+
+// table to describe pages of relationpdf
+// - leave blank if you don't want to use this
+// DEFAULT: 'pma_pdf_pages'
+$cfg['Servers'][$i]['pdf_pages'] = '';
+
+// table to store column information
+// - leave blank for no column comments/mime types
+// DEFAULT: 'pma_column_info'
+$cfg['Servers'][$i]['column_info'] = '';
+
+// table to store SQL history
+// - leave blank for no SQL query history
+// DEFAULT: 'pma_history'
+$cfg['Servers'][$i]['history'] = '';
+
+// Table to store user interface enhancement data.
+// - Leave blank to disable.
+// DEFAULT: 'pma_table_uiprefs'
+$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
+
+// Table to store version/change tracking data
+// - leave blank to disable
+// DEFAULT: 'pma_tracking'
+$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
+
+// Table in which to store information for the designer feature.
+// DEFAULT: 'pma_designer_coords'
+$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
+
+// Table to store user preferences -- allows users to set most
+// preferences by themselves and store them in the phpMyAdmin
+// configuration storage database.
+// If you don't allow for storing preferences in pmadb, users can
+// still personalize phpMyAdmin, but settings will be saved in
+// browser's local storage, or, it is is unavailable, until the end
+// of session.
+// DEFAULT: 'pma_userconfig'
+$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
+
+// Table to store a list of recently used tables to be shown in the
+// left navigation frame. It helps you to jump across table directly,
+// without the need to select the database, and then select the table.
+// Using $cfg['LeftRecentTable'] you can configure the maximum number
+// of recent tables shown.
+// Without configuring the storage, you can still access the recently
+// used tables, but it will disappear after you logout.
+// DEFAULT: 'pma_recent'
+$cfg['Servers'][$i]['recent'] = 'pma_recent';
+
/* Contrib / Swekey authentication */
-// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
+// The name of the file containing Swekey ids and login names for
+// hardware authentication. Leave the string empty to deactivate this
+// feature.
+// see _docdir/examples/swekey.sample.conf
+//$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/phpMyAdmin/swekey-pma.conf';
+
+
+/***************************************
+ * Second Server
+ */
+
+/*
+$i++;
+$cfg['Servers'][$i]['host'] = 'localhost';
+$cfg['Servers'][$i]['port'] = '';
+$cfg['Servers'][$i]['socket'] = '';
+$cfg['Servers'][$i]['ssl'] = false;
+$cfg['Servers'][$i]['connect_type'] = 'socket';
+$cfg['Servers'][$i]['extension'] = 'mysqli';
+$cfg['Servers'][$i]['compress'] = false;
+$cfg['Servers'][$i]['auth_type'] = 'cookie';
+$cfg['Servers'][$i]['user'] = 'root';
+$cfg['Servers'][$i]['password'] = '';
+$cfg['Servers'][$i]['AllowNoPassword'] = false;
+$cfg['Servers'][$i]['AllowRoot'] = true;
+$cfg['Servers'][$i]['SignonSession'] = '';
+$cfg['Servers'][$i]['SignonURL'] = '';
+$cfg['Servers'][$i]['LogoutURL'] = '';
+$cfg['Servers'][$i]['only_db'] = '';
+$cfg['Servers'][$i]['verbose'] = '';
+$cfg['Servers'][$i]['verbose_check'] = true;
+$cfg['Servers'][$i]['AllowDeny']['order'] = '';
+$cfg['Servers'][$i]['AllowDeny']['rules'] = array();
+
+/*
+ * phpMyAdmin configuration storage settings.
+ */
/*
+$cfg['Servers'][$i]['controlhost'] = '';
+$cfg['Servers'][$i]['controluser'] = '';
+$cfg['Servers'][$i]['controlpass'] = '';
+$cfg['Servers'][$i]['pmadb'] = '';
+$cfg['Servers'][$i]['bookmarktable'] = '';
+$cfg['Servers'][$i]['relation'] = '';
+$cfg['Servers'][$i]['table_info'] = '';
+$cfg['Servers'][$i]['table_coords'] = '';
+$cfg['Servers'][$i]['pdf_pages'] = '';
+$cfg['Servers'][$i]['column_info'] = '';
+$cfg['Servers'][$i]['history'] = '';
+$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
+$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
+$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
+$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
+$cfg['Servers'][$i]['recent'] = 'pma_recent';
+$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/phpMyAdmin/swekey-pma_02.conf';
+*/
+
+// If you have more than one server configured, you can set $cfg['ServerDefault']
+// to any one of them to autoconnect to that server when phpMyAdmin is started,
+// or set it to 0 to be given a list of servers without logging in
+// If you have only one server configured, $cfg['ServerDefault'] *MUST* be
+// set to that server.
+
+// Default server (0 = no default server)
+$cfg['ServerDefault'] = 1;
+$cfg['Server'] = '0';
+unset($cfg['Servers'][0]);
+
+/***************************************
* End of servers configuration
*/
Index: libraries/vendor_config.php
===================================================================
--- libraries/vendor_config.php.orig
+++ libraries/vendor_config.php
@@ -14,18 +14,18 @@
* Path to changelog file, can be gzip compressed. Useful when you want to
* have documentation somewhere else, eg. /usr/share/doc.
*/
-define('CHANGELOG_FILE', './ChangeLog');
+define('CHANGELOG_FILE', '@docdir@/ChangeLog');
/**
* Path to license file. Useful when you want to have documentation somewhere
* else, eg. /usr/share/doc.
*/
-define('LICENSE_FILE', './LICENSE');
+define('LICENSE_FILE', '@docdir@/LICENSE');
/**
* Path to config file generated using setup script.
*/
-define('SETUP_CONFIG_FILE', './config/config.inc.php');
+define('SETUP_CONFIG_FILE', '@sysconfdir@/config.inc.php');
/**
* Whether setup requires writable directory where config
@@ -43,7 +43,7 @@ define('CONFIG_DIR', './');
/**
* Filename of a configuration file.
*/
-define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
+define('CONFIG_FILE', SETUP_CONFIG_FILE );
/**
* Filename of custom header file.
++++++ phpMyAdmin.http ++++++