SHA256
1
0
forked from pool/phpMyAdmin

Accepting request 484361 from home:ecsos:server

update to 4.7.0

OBS-URL: https://build.opensuse.org/request/show/484361
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=280
This commit is contained in:
Eric Schirra 2017-04-01 21:31:29 +00:00 committed by Git OBS Bridge
parent 0d037a5394
commit 2978cb8075
8 changed files with 257 additions and 181 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7b9e0f88ca740fcba249e7e3e7d51d1923b038b7742cde72de193a2b0a2654f
size 6147904

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJYhlgLAAoJEM51LxeCWb2Sw0MP/AyCMPjYYiwJYR0kO1K3OZAf
O23AvvpeS5a18vhzuSM3KYcZ6mFKxEUdt7gE+t26Mfzbmh2LnFt/TJeUUTxehhb6
x4gpopWn9MacGhb2qVEq0HKNXdARlDKTHTvDaQqsNEsPsZgVA1TWoI02vBfZ2y2T
di8Vrr9BJ8X2J3/UpQnmQTpbxeNrf/fbGG8BKiUUOZYV9zjAKi4WTC6H19XBWIRM
hLVaO5y5sMLpWG42SuPDhrhGEhpzzBdTw34IBkVIG8jhora++0fxlSDobI4h5ZPt
lS1voVgd77ktIsWMuLbiTyd1sVmJkty12dLRmbZe8x9AIyz8d0UIj3tgZmObCOtg
CSbRo0VvlEs+83+C2LrypoTmhXogLnjHkJIsk020aENCzT22IJwzXhqRd4bZsscp
E0q7JwSUtwKMXFkC8fsb0AqQvJgZu5Ibc9iYJVfZrajLMJKtjMUV4FOUnQRNYyMv
9y75Ie0dW23A5zk60v0huI3wS+YifYko6GJhdU/VXIA59WWx6yu8eahHo2xAwbhr
SIgGNXIm6b1f2m6/qUaxFesGGnaqFtFKDWBqQ6Udsb2WS/OsFcQMsse7l41niVrc
oCjHESm/Y8IeK/BbVw9vzw4q5/pFkmo7vZWbvzu+kfQroOt6nLwsnBAsAGpKSS0S
HjeOlIip+yt3FTOWt/sw
=xT3I
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6378d1f45f5356fda2d18a923c56a495e03bc1e7694e7b7c004dd688d2178f90
size 7600296

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJY26wlAAoJEM51LxeCWb2SiD4P/1fgeCQWa6ddC/G6AQn8WM9e
23W1tjD4v+QMt0eoFuOb4ZnBSzIdHbhRYtRRNXdoGfpC+TjjMoZs/lRzD2nDDoBj
2Ylkz0bQVgYLYaxDGFO1JzLwCTJrz/EqpmPGulmcYPm+b3mPZ2nkjTtWaneoS9jc
HNx9ITalWyBJNX6aj6l4ToxO4mQ5QzGbihfKO+uovz6O/2Xa7j+PAOnum1H49Nsb
CB9jExcs69zfrzpYWrak9ul3EGh9110EqMD3as8WYOme7tvETJxK56UMiwA6oJyN
LNwpcnX+noqUF7kudte3iCJmWoiacVw4aKHaNpII8pjKpqVzei7LHqT3rEP9mIIV
pEyiMRTLLLj02wzi5WV/2AWB6UazpO2slJ7QVK4Xl8cK2Nh0VM84kgQUegG6p7BB
Klvm5v4SAEOKvPVeminsawYq8f/JJOo+wvwxfq2uiPOM58FblOluOtW8Oh0QsKxI
2O9inkLS4UG0FPrdqqjgzqZW1ri4vszRU/oHD2jw2+NSAquIe4TMOGzpnQllWLsM
BB7ELmWDMfiam+DtzOhffOYgiJVrgTC00xcuzNFLmv/IMvubGgq/K9qZXdu+zN4v
X5hKpkwimqTVMFbym8auGqPJBCEoerErTJOXqp08/Olwy0m3R6B4P+T8zIbnNrIF
ZTaN1WuZF6abxWZqDkEL
=W//L
-----END PGP SIGNATURE-----

View File

@ -60,29 +60,16 @@ Index: config.sample.inc.php
*/
$i = 0;
@@ -25,45 +68,155 @@ $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;
-$cfg['Servers'][$i]['AllowNoPassword'] = false;
+
+$cfg['Servers'][$i]['host'] = 'localhost';
@@ -31,38 +74,141 @@ $cfg['Servers'][$i]['auth_type'] = 'cook
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
+$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'] = '';
@ -105,8 +92,82 @@ Index: config.sample.inc.php
-// $cfg['Servers'][$i]['controlport'] = '';
-// $cfg['Servers'][$i]['controluser'] = 'pma';
-// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
-
-/* Storage database and tables */
+$cfg['Servers'][$i]['controlhost'] = 'localhost';
+$cfg['Servers'][$i]['controlport'] = '';
+$cfg['Servers'][$i]['controluser'] = 'pma';
+$cfg['Servers'][$i]['controlpass'] = 'pmapass';
+
+/* Storage database and tables */
+/**
+ * The name of the database containing the phpMyAdmin configuration storage.
+ *
+ * For a whole set of additional features (bookmarks, comments, SQL-history,
+ * tracking mechanism, PDF-generation, column contents transformation, etc.)
+ * you need to create a set of special tables. Those tables can be located in
+ * your own database, or in a central database for a multi-user installation
+ * (this database would then be accessed by the controluser, so no other user
+ * should have rights to it).
+ *
+ * Default: ''
+ *
+ */
+//$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]['userconfig'] = 'pma__userconfig';
+$cfg['Servers'][$i]['recent'] = 'pma__recent';
+$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
+$cfg['Servers'][$i]['users'] = 'pma__users';
+$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
+$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
+$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
+$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
+$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
+$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
+
+
+
+/**
+ * Second Server
+ */
+/*
+$i++;
+$cfg['Servers'][$i]['auth_type'] = 'cookie';
+$cfg['Servers'][$i]['host'] = 'localhost';
+$cfg['Servers'][$i]['compress'] = false;
+$cfg['Servers'][$i]['AllowNoPassword'] = false;
+$cfg['Servers'][$i]['port'] = '';
+$cfg['Servers'][$i]['socket'] = '';
+$cfg['Servers'][$i]['ssl'] = false;
+$cfg['Servers'][$i]['extension'] = 'mysqli';
+$cfg['Servers'][$i]['user'] = 'root';
+$cfg['Servers'][$i]['password'] = '';
+$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();
+*/
+/* User used to manipulate with storage */
+/*
+$cfg['Servers'][$i]['controlhost'] = 'localhost';
+$cfg['Servers'][$i]['controlport'] = '';
+$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';
@ -127,111 +188,27 @@ Index: config.sample.inc.php
-// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
-// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
-// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
+$cfg['Servers'][$i]['controlhost'] = 'localhost';
+$cfg['Servers'][$i]['controlport'] = '';
+/*
+$cfg['Servers'][$i]['controluser'] = 'pma';
+$cfg['Servers'][$i]['controlpass'] = 'pmapass';
+
+/**
+ * The name of the database containing the phpMyAdmin configuration storage.
+ *
+ * For a whole set of additional features (bookmarks, comments, SQL-history,
+ * tracking mechanism, PDF-generation, column contents transformation, etc.)
+ * you need to create a set of special tables. Those tables can be located in
+ * your own database, or in a central database for a multi-user installation
+ * (this database would then be accessed by the controluser, so no other user
+ * should have rights to it).
+ *
+ * Default: ''
+ *
+ */
+/* $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
+
+/* Other Storage tables */
+
+$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]['favorite'] = 'pma__favorite';
+$cfg['Servers'][$i]['users'] = 'pma__users';
+$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
+$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
+$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
+$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
+$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
+$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
+/* $cfg['Servers'][$i]['auth_swekey_config'] = '';
+
+
+
+/**
+ * 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'] = 'localhost';
+$cfg['Servers'][$i]['controlport'] = '';
+$cfg['Servers'][$i]['controluser'] = 'pma';
+$cfg['Servers'][$i]['controlpass'] = 'pmapass';
+$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_cords';
+$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]['users'] = 'pma__users';
+$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
+$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
+$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
+$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
+$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
+$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
+$cfg['Servers'][$i]['auth_swekey_config'] = '';
+$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]['userconfig'] = 'pma__userconfig';
+$cfg['Servers'][$i]['recent'] = 'pma__recent';
+$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
+$cfg['Servers'][$i]['users'] = 'pma__users';
+$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
+$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
+$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
+$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
+$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
+$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
+*/
+
+/**

View File

@ -1,27 +0,0 @@
Index: sql/create_tables.sql
===================================================================
--- sql/create_tables.sql.orig
+++ sql/create_tables.sql
@@ -27,8 +27,8 @@ USE phpmyadmin;
-- Privileges
--
-- (activate this statement if necessary)
--- GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON `phpmyadmin`.* TO
--- 'pma'@localhost;
+GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON `phpmyadmin`.* TO
+ 'pma'@localhost IDENTIFIED BY 'pmapass';
-- --------------------------------------------------------
Index: config.sample.inc.php
===================================================================
--- config.sample.inc.php.orig
+++ config.sample.inc.php
@@ -202,7 +202,6 @@ $cfg['Servers'][$i]['savedsearches']
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
-$cfg['Servers'][$i]['auth_swekey_config'] = '';
*/
/**

View File

@ -1,3 +1,138 @@
-------------------------------------------------------------------
Sat Apr 1 18:58:33 UTC 2017 - ecsos@opensuse.org
- update to 4.7.0 (2017-03-28)
* gh#12233 [Display] Improve message when renaming database to
same name
* gh#6146 Log authentication attempts to syslog
* gh#11981 Remove support for Swekey authentication
* gh#11987 Remove code for no longer supported MSIE versions
* gh#11962 Remove embedded PHP libraries, use composer to install
them
* gh#12017 Cannot easily select multiple tables when exporting
* gh#12047 Add javascript filtering for databases
* gh#12166 More compact rendering of navigation tree
* gh#12129 Improve performance with SkipLockedTables
* gh#12173 Do not hide indexes under a slider
* Improve performance of zip file import
* gh#12196 Removed $cfg['ThemePath']
* gh#6274 Add support for export user settings as config.inc.php
snippet
* gh#5555 Better report query errors while generating SQL exports
* gh#12307 Produce valid JSON on export
* gh#12325 Setup script icons broken
* gh#12378 Support IPv6 proxies
* Removed MySQL connection retry without password
* gh#12218 Allow to specify further parameters for control
connection
* gh#12162 Show charset for each table on Database structure page
* gh#12463 Incorrect link in the href of icon at Hide/Show unhide
links
* gh#12330 Shortcut for closing console
* gh#12465 Improved handling of http requests
* gh#12474 Broken links in Setup forms Navigation
* gh#12494 Can't add a new User
* gh#12523 Add 'token' Parameter in all POST requests
(Fix 'Token mismatch' errors)
* gh#12302 Improved usage of number_format
* gh#12656 Server selection not working
* gh#12543 NULL results in dataset are colored grey
* gh#12664 Create Bookmark broken
* gh#12688 Use unsigned int for storing bookmark ID
* gh#12352 Added password strength indicator
* gh#12713 Correctly handle HTTP status when doing requests
* gh#12247 Add option to delete settings from browser storage
* gh#12783 Remove unused PMA_addJSCode function
* gh#12069 Add table filtering to database structure
* gh#12799 Allow to configure signon session parameters
* gh#12854 Drop database is broken
* gh#12863 Can't toggle Event Scheduler on
* gh#12742 Finish removing dead code references to xls/xlsx
import and export, which was removed some time ago.
* gh#12536 Rename "Relations" to "Relationships" in many places
as it's the more proper term
* gh#12834 Fixed margins in central columns feature
* gh#12903 Document more export configuration options
* gh#12897 Use consistent numeric format for table overhead
* gh#12901 Use server returned table name on renaming table
* gh#12918 Always use \r\n as newline when editing fields
* gh#12923 Fixed server side search in navigation panel
* gh#12929 Undefined index warning with ssl_ca_paths
* gh#12924 Do not show errors from OpenSSL cookie
encryption/decryption
* gh#12945 Fixed hint rendering on adding new user
* gh#12941 Fixed sorting of tables in relation view
* gh#12936 Fixed tables pagination in navigation panel
* gh#12904 Do not collapse add form for central columns if there
are none
* gh#12955 Fixed database renaming
* gh#12954 Fixed export of tracking data
* gh#12960 Enclose exports in transaction by default
* gh#12966 After adding a column ADD INDEX option won't be
displayed when enabling AI
* gh#12972 Better error message when Composer has not been run
* gh#12988 Do not show language selector without choices
* gh#12993 Fixed external links to php documentation
* gh#12990 Fixed error when loading favorite tables to console
* gh#12981 Improved rendering of new version information
* gh#12922 Fixed bookmarks ordering
* gh#12964 Fixed table search in navigation
* gh#12985 Fixed rendering of foreign key browsing
* gh#12957 Fixed manipulation with GIS data having zero
coordinates
* gh#12804 Fixed various designer javascript errors
* gh#12934 Fixed possible javascript error on server status page
* gh#12927 Fixed javascript error on 3NF normalization
* gh#12996 List all databses in navigation panel database
dropdown
* gh#12980 Better defaults when creating multi field foreign key
* gh#12976 Improved foreign key editor behavior
* gh#12958 Always show error reporting dialog on top
* gh#12693 Improved support for TokuDB
* gh#11231 Try harder to honor LoginCookieValidity setting
* gh#13016 and #13017 Slight improvements to the table layout of
Relation view
* gh#12345 Correctly show affected rows for LOAD DATA queries
* gh#13010 Copy database: SQL error for copying PMADB metadata
* gh#13002 Fixed OpenDocument exports
* gh#13000 Align NULL values according to the column alignment
* gh#13021 Show phpMyAdmin errors even with error_reporting
set to 0
* gh#13020 Removed warning about client and server versions
mismatch
* Hide comments on table Structure tab when no comment is set
* Fixed submission of error reports
* gh#13033 Use Referrer-Policy header to specify referrer policy
* Fixed javascript confirmation of dangerous queries
* gh#13040 Compatibility with hhvm 3.18
* gh#13031 Fixed displaying of all rows
* gh#12967 Fixed related field selection for native relations
* gh#13045 Properly escape MIME transformatoin names
* gh#13028 Always show 100% in font selector
* gh#13047 Fix query simulating for more servers
* gh#12846 Fix new version check for sites with wrongly
configured curl
* gh#12951 When exporting to Excel, the default is now to include
column names in the first row
* gh#13059 Removed debugging code
* gh#13029 Fixed table tracking for nested table groups
* gh#13053 Fixed broken links in setup
* gh#12708 Removed phpMyAdmin version from User-Agent header
* gh#13084 Do not point users to setup when it is disabled
* gh#12660 Delete only phpMyAdmin cookies on upgrade
* gh#13088 Fixed editing of rows with text primary key
* gh#13092 Do not try to sync favorite tables if configuration
storage is not enabled
* gh#13105 Fixed changing attribute for virtual field
* gh#12757 Fixed setting password on recent MariaDB with non
working plugins
* gh#12349 Fixed undefined variable on import from some formats
* gh#13103 Do not offer default names for copying/renaming
databases
* [security] Possible to bypass
$cfg['Servers'][$i]['AllowNoPassword'], see PMASA-2017-08
- Drop patch phpMyAdmin-pma.patch because now in upstream
-------------------------------------------------------------------
Mon Mar 20 22:13:20 UTC 2017 - chris@computersalat.de

View File

@ -29,7 +29,7 @@
%define ap_grp nogroup
%endif
Name: phpMyAdmin
Version: 4.6.6
Version: 4.7.0
Release: 0
Summary: Administration of MySQL over the web
License: GPL-2.0+
@ -44,8 +44,6 @@ Source4: %{name}.http.inc
Source100: %{name}-rpmlintrc
# Fix-SuSE: provide useful default config
Patch0: %{name}-config.patch
# Fix-SUSE: auto config for pma storage
Patch1: %{name}-pma.patch
BuildRequires: apache2-devel
BuildRequires: python-devel
BuildRequires: xz
@ -115,7 +113,6 @@ Currently phpMyAdmin can:
# wrong-file-end-of-line-encoding
perl -p -i -e 's|\r\n|\n|' examples/config.manyhosts.inc.php
%patch0
%patch1
# rpmlint: fix incorrect-fsf-address
find . -type f | xargs sed -i -e 's:59 Temple Place\, Suite 330\, Boston\, MA 02111-1307 USA:51 Franklin Street\, Fifth Floor\, Boston\, MA 02110-1301 USA:g'
@ -130,7 +127,7 @@ find . -type f -name '.buildinfo' -exec rm {} \;
%install
#%%{__install} -d -m0750 $RPM_BUILD_ROOT%%{_sysconfdir}/%%{name}
install -d -m0755 %{buildroot}%{ap_docroot}/%{name}
cp -dR *.css *.php *.ico js libraries locale themes templates \
cp -dR *.css *.php *.ico js libraries locale themes templates vendor \
%{buildroot}%{ap_docroot}/%{name}
# install config to config dir
install -D -m0640 %{buildroot}%{ap_docroot}/%{name}/config.sample.inc.php \
@ -158,12 +155,6 @@ sed -i -e "s,@ap_docroot@,%{ap_docroot},g" -e "s,@name@,%{name},g" \
%fdupes %{buildroot}%{ap_docroot}/%{name}/themes
%endif
# Fix python-bytecode-inconsistent-mtime
rm -rf doc/_ext/configext.pyc
pushd doc/_ext
%py_compile ./
popd
%post
# on `rpm -ivh` PARAM is 1
# on `rpm -Uvh` PARAM is 2