summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-09-29 17:44:30 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-09-29 17:44:30 +0000
commit2b96edc19fa2f75f69d05d5441ee92e2b50b2a3d (patch)
tree16768f3ba79010239445cc8db17d920e5eaaf661 /dev-db
parentfixing Manifest (diff)
downloadgentoo-2-2b96edc19fa2f75f69d05d5441ee92e2b50b2a3d.tar.gz
gentoo-2-2b96edc19fa2f75f69d05d5441ee92e2b50b2a3d.tar.bz2
gentoo-2-2b96edc19fa2f75f69d05d5441ee92e2b50b2a3d.zip
cleanup
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/phpmyadmin/Manifest11
-rw-r--r--dev-db/phpmyadmin/files/config.inc.php-2.5.1.patch55
-rw-r--r--dev-db/phpmyadmin/files/config.inc.php-2.5.2_p1.patch55
-rw-r--r--dev-db/phpmyadmin/files/digest-phpmyadmin-2.4.01
-rw-r--r--dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.2_p11
-rw-r--r--dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.31
-rw-r--r--dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.184
-rw-r--r--dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.284
-rw-r--r--dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2_p184
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-2.4.0.ebuild78
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-2.5.2_p1.ebuild84
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-2.5.3.ebuild102
12 files changed, 0 insertions, 640 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
index 6f3e4a99de2b..0c047697e7f3 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -1,24 +1,13 @@
MD5 d075ed7dbd3c40bfc48a1f890191ab5a ChangeLog 4982
-MD5 831f883cf6faa2ed6db463964c0d3189 phpmyadmin-2.5.3.ebuild 3191
-MD5 c8831e7a64bded4933b46b81e013e9b8 phpmyadmin-2.4.0.ebuild 2245
MD5 16ffe21b622dc1a247ce45b654674bc8 phpmyadmin-2.5.0.ebuild 2661
MD5 82945da76dafa0fa486ec91fe048f4a4 phpmyadmin-2.5.3-r1.ebuild 2944
MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244
-MD5 6a8a94b96dc312877aaac492a29800ea phpmyadmin-2.5.2_p1.ebuild 2676
MD5 2f1fcee3c3573d6d92cbcddd4da6291d files/config.inc.php-2.5.0.patch 4826
-MD5 6a880a1a4b15034019ebeeb0de87041e files/config.inc.php-2.5.1.patch 4826
-MD5 42ef286700d159ee2e074c6782ace0ac files/digest-phpmyadmin-2.5.3 74
-MD5 12e8a97118eb6912911e207e72d1a421 files/mysql-setup.sql.in-2.5.2 3230
-MD5 b1d989c407c0399daff55f10d0dd822c files/digest-phpmyadmin-2.4.0 73
MD5 099c45dd9e247d526bfc7777abb5e232 files/digest-phpmyadmin-2.5.0 73
MD5 12e8a97118eb6912911e207e72d1a421 files/mysql-setup.sql.in-2.5.3 3230
MD5 12e8a97118eb6912911e207e72d1a421 files/mysql-setup.sql.in-2.5.0 3230
-MD5 12e8a97118eb6912911e207e72d1a421 files/mysql-setup.sql.in-2.5.1 3230
MD5 c6a79ab6f3c9e6d657a5bee36b1f6565 files/phpmyadmin-config.patch 4857
MD5 396133c1da8d8b716ad2da23aa0a5a30 files/phpmyadmin-mysql-setup.sql.in 2712
MD5 51bc2409d6f1bf8818b935e352c072ea files/config.inc.php-2.5.2.patch 4826
-MD5 37b2ad1d3840091597ad37e33b015d98 files/config.inc.php-2.5.2_p1.patch 4830
-MD5 14372c87134b6019f9b8293db3b88fc8 files/digest-phpmyadmin-2.5.2_p1 77
-MD5 12e8a97118eb6912911e207e72d1a421 files/mysql-setup.sql.in-2.5.2_p1 3230
MD5 fe846e076048ecd9c28277a5fc9ea0c9 files/config.inc.php-2.5.3.patch 4826
MD5 42ef286700d159ee2e074c6782ace0ac files/digest-phpmyadmin-2.5.3-r1 74
diff --git a/dev-db/phpmyadmin/files/config.inc.php-2.5.1.patch b/dev-db/phpmyadmin/files/config.inc.php-2.5.1.patch
deleted file mode 100644
index 303aed70b892..000000000000
--- a/dev-db/phpmyadmin/files/config.inc.php-2.5.1.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- phpMyAdmin-2.5.1/config.inc.php 2003-05-11 11:10:28.000000000 +0100
-+++ phpMyAdmin/config.inc.php 2003-05-12 22:18:44.000000000 +0100
-@@ -66,11 +66,11 @@
- $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
- $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
-+$cfg['Servers'][$i]['controluser'] = 'pma'; // MySQL control user settings
- // (this user must have read-only
--$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
-+$cfg['Servers'][$i]['controlpass'] = '@pmapass@'; // access to the "mysql/user"
- // and "mysql/db" tables)
--$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
-+$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
- $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
- $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
- // with 'config' auth_type)
-@@ -81,29 +81,29 @@
- // of db-names
- $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
-
--$cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
-+$cfg['Servers'][$i]['pmadb'] = 'pmadb'; // Database used for Relation, Bookmark and PDF Features
- // (see scripts/create_tables.sql)
- // - leave blank for no support
- // DEFAULT: 'phpmyadmin'
--$cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
-+$cfg['Servers'][$i]['bookmarktable'] = 'PMA_bookmark';// Bookmark table
- // - leave blank for no bookmark support
- // DEFAULT: 'PMA_bookmark'
--$cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
-+$cfg['Servers'][$i]['relation'] = 'PMA_relation';// table to describe the relation between links (see doc)
- // - leave blank for no relation-links support
- // DEFAULT: 'PMA_relation'
--$cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields
-+$cfg['Servers'][$i]['table_info'] = 'PMA_table_info';// table to describe the display fields
- // - leave blank for no display fields support
- // DEFAULT: 'PMA_table_info'
--$cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema
-+$cfg['Servers'][$i]['table_coords'] = 'PMA_table_coords';// table to describe the tables position for the PDF schema
- // - leave blank for no PDF schema support
- // DEFAULT: 'PMA_table_coords'
--$cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf
-+$cfg['Servers'][$i]['pdf_pages'] = 'PMA_pdf_pages';// table to describe pages of relationpdf
- // - leave blank if you don't want to use this
- // DEFAULT: 'PMA_pdf_pages'
--$cfg['Servers'][$i]['column_info'] = ''; // table to store column information
-+$cfg['Servers'][$i]['column_info'] = 'PMA_column_info';// table to store column information
- // - leave blank for no column comments/mime types
- // DEFAULT: 'PMA_column_info'
--$cfg['Servers'][$i]['history'] = ''; // table to store SQL history
-+$cfg['Servers'][$i]['history'] = 'PMA_history';// table to store SQL history
- // - leave blank for no SQL query history
- // DEFAULT: 'PMA_history'
- $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your PMA_* tables
diff --git a/dev-db/phpmyadmin/files/config.inc.php-2.5.2_p1.patch b/dev-db/phpmyadmin/files/config.inc.php-2.5.2_p1.patch
deleted file mode 100644
index b1e3c342906a..000000000000
--- a/dev-db/phpmyadmin/files/config.inc.php-2.5.2_p1.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- phpMyAdmin-2.5.2-pl1/config.inc.php 2003-05-11 11:10:28.000000000 +0100
-+++ phpMyAdmin/config.inc.php 2003-05-12 22:18:44.000000000 +0100
-@@ -66,11 +66,11 @@
- $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
- $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
-+$cfg['Servers'][$i]['controluser'] = 'pma'; // MySQL control user settings
- // (this user must have read-only
--$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
-+$cfg['Servers'][$i]['controlpass'] = '@pmapass@'; // access to the "mysql/user"
- // and "mysql/db" tables)
--$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
-+$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
- $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
- $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
- // with 'config' auth_type)
-@@ -81,29 +81,29 @@
- // of db-names
- $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
-
--$cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
-+$cfg['Servers'][$i]['pmadb'] = 'pmadb'; // Database used for Relation, Bookmark and PDF Features
- // (see scripts/create_tables.sql)
- // - leave blank for no support
- // DEFAULT: 'phpmyadmin'
--$cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
-+$cfg['Servers'][$i]['bookmarktable'] = 'PMA_bookmark';// Bookmark table
- // - leave blank for no bookmark support
- // DEFAULT: 'PMA_bookmark'
--$cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
-+$cfg['Servers'][$i]['relation'] = 'PMA_relation';// table to describe the relation between links (see doc)
- // - leave blank for no relation-links support
- // DEFAULT: 'PMA_relation'
--$cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields
-+$cfg['Servers'][$i]['table_info'] = 'PMA_table_info';// table to describe the display fields
- // - leave blank for no display fields support
- // DEFAULT: 'PMA_table_info'
--$cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema
-+$cfg['Servers'][$i]['table_coords'] = 'PMA_table_coords';// table to describe the tables position for the PDF schema
- // - leave blank for no PDF schema support
- // DEFAULT: 'PMA_table_coords'
--$cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf
-+$cfg['Servers'][$i]['pdf_pages'] = 'PMA_pdf_pages';// table to describe pages of relationpdf
- // - leave blank if you don't want to use this
- // DEFAULT: 'PMA_pdf_pages'
--$cfg['Servers'][$i]['column_info'] = ''; // table to store column information
-+$cfg['Servers'][$i]['column_info'] = 'PMA_column_info';// table to store column information
- // - leave blank for no column comments/mime types
- // DEFAULT: 'PMA_column_info'
--$cfg['Servers'][$i]['history'] = ''; // table to store SQL history
-+$cfg['Servers'][$i]['history'] = 'PMA_history';// table to store SQL history
- // - leave blank for no SQL query history
- // DEFAULT: 'PMA_history'
- $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your PMA_* tables
diff --git a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.4.0 b/dev-db/phpmyadmin/files/digest-phpmyadmin-2.4.0
deleted file mode 100644
index ab2c4676cac5..000000000000
--- a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.4.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dcd26212b311a096e1d02aa3156eec1f phpMyAdmin-2.4.0-php.tar.bz2 769848
diff --git a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.2_p1 b/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.2_p1
deleted file mode 100644
index 5a52a38c336d..000000000000
--- a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.2_p1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 781e04d3840f1671c5134eb0a8812c96 phpMyAdmin-2.5.2-pl1-php.tar.bz2 920746
diff --git a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.3 b/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.3
deleted file mode 100644
index ab151732211a..000000000000
--- a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.5.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1a7848cdb2e004ae07012f2306606e0f phpMyAdmin-2.5.3-php.tar.bz2 1014664
diff --git a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.1 b/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.1
deleted file mode 100644
index 147c07f721b8..000000000000
--- a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.1
+++ /dev/null
@@ -1,84 +0,0 @@
-GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY '@pmapass@';
-
-GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
- Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
- File_priv, Grant_priv, References_priv, Index_priv, Alter_priv)
- ON mysql.user TO 'pma'@'localhost';
-
-GRANT SELECT ON mysql.db TO 'pma'@'localhost';
-
-GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
- ON mysql.tables_priv TO 'pma'@'localhost';
-
-GRANT SELECT, INSERT, UPDATE, DELETE ON pmadb.* TO 'pma'@'localhost';
-
-CREATE DATABASE IF NOT EXISTS pmadb;
-USE pmadb;
-
-CREATE TABLE IF NOT EXISTS `PMA_bookmark` (
- `id` int(11) DEFAULT '0' NOT NULL auto_increment,
- `dbase` varchar(255) NOT NULL,
- `user` varchar(255) NOT NULL,
- `label` varchar(255) NOT NULL,
- `query` text NOT NULL,
- PRIMARY KEY (id)
- ) TYPE=MyISAM COMMENT='Bookmarks';
-
-CREATE TABLE IF NOT EXISTS `PMA_relation` (
- `master_db` varchar(64) NOT NULL default '',
- `master_table` varchar(64) NOT NULL default '',
- `master_field` varchar(64) NOT NULL default '',
- `foreign_db` varchar(64) NOT NULL default '',
- `foreign_table` varchar(64) NOT NULL default '',
- `foreign_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`master_db`, `master_table`, `master_field`),
- KEY foreign_field (foreign_db, foreign_table)
- ) TYPE=MyISAM COMMENT='Relation table';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_info` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `display_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`db_name`, `table_name`)
- ) TYPE=MyISAM COMMENT='Table information for phpMyAdmin';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_coords` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `pdf_page_number` int NOT NULL default '0',
- `x` float unsigned NOT NULL default '0',
- `y` float unsigned NOT NULL default '0',
- PRIMARY KEY (`db_name`, `table_name`, `pdf_page_number`)
- ) TYPE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output';
-
-CREATE TABLE IF NOT EXISTS `PMA_pdf_pages` (
- `db_name` varchar(64) NOT NULL default '',
- `page_nr` int(10) unsigned NOT NULL auto_increment,
- `page_descr` varchar(50) NOT NULL default '',
- PRIMARY KEY (page_nr),
- KEY (db_name)
- ) TYPE=MyISAM COMMENT='PDF Relationpages for PMA';
-
-CREATE TABLE IF NOT EXISTS `PMA_column_info` (
- id int(5) unsigned NOT NULL auto_increment,
- db_name varchar(64) NOT NULL default '',
- table_name varchar(64) NOT NULL default '',
- column_name varchar(64) NOT NULL default '',
- `comment` varchar(255) NOT NULL default '',
- mimetype varchar(255) NOT NULL default '',
- transformation varchar(255) NOT NULL default '',
- transformation_options varchar(255) NOT NULL default '',
- PRIMARY KEY (id),
- UNIQUE KEY db_name (db_name, table_name, column_name)
- ) TYPE=MyISAM COMMENT='Comments for Columns';
-
-CREATE TABLE IF NOT EXISTS `PMA_history` (
- `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
- `username` VARCHAR( 64 ) NOT NULL ,
- `db` VARCHAR( 64 ) NOT NULL ,
- `table` VARCHAR( 64 ) NOT NULL ,
- `timevalue` TIMESTAMP NOT NULL ,
- `sqlquery` TEXT NOT NULL ,
- PRIMARY KEY ( `id` ) ,
- INDEX ( `username` , `db` , `table` , `timevalue` )
- ) TYPE=MyISAM COMMENT='SQL history';
diff --git a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2 b/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2
deleted file mode 100644
index 147c07f721b8..000000000000
--- a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2
+++ /dev/null
@@ -1,84 +0,0 @@
-GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY '@pmapass@';
-
-GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
- Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
- File_priv, Grant_priv, References_priv, Index_priv, Alter_priv)
- ON mysql.user TO 'pma'@'localhost';
-
-GRANT SELECT ON mysql.db TO 'pma'@'localhost';
-
-GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
- ON mysql.tables_priv TO 'pma'@'localhost';
-
-GRANT SELECT, INSERT, UPDATE, DELETE ON pmadb.* TO 'pma'@'localhost';
-
-CREATE DATABASE IF NOT EXISTS pmadb;
-USE pmadb;
-
-CREATE TABLE IF NOT EXISTS `PMA_bookmark` (
- `id` int(11) DEFAULT '0' NOT NULL auto_increment,
- `dbase` varchar(255) NOT NULL,
- `user` varchar(255) NOT NULL,
- `label` varchar(255) NOT NULL,
- `query` text NOT NULL,
- PRIMARY KEY (id)
- ) TYPE=MyISAM COMMENT='Bookmarks';
-
-CREATE TABLE IF NOT EXISTS `PMA_relation` (
- `master_db` varchar(64) NOT NULL default '',
- `master_table` varchar(64) NOT NULL default '',
- `master_field` varchar(64) NOT NULL default '',
- `foreign_db` varchar(64) NOT NULL default '',
- `foreign_table` varchar(64) NOT NULL default '',
- `foreign_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`master_db`, `master_table`, `master_field`),
- KEY foreign_field (foreign_db, foreign_table)
- ) TYPE=MyISAM COMMENT='Relation table';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_info` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `display_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`db_name`, `table_name`)
- ) TYPE=MyISAM COMMENT='Table information for phpMyAdmin';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_coords` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `pdf_page_number` int NOT NULL default '0',
- `x` float unsigned NOT NULL default '0',
- `y` float unsigned NOT NULL default '0',
- PRIMARY KEY (`db_name`, `table_name`, `pdf_page_number`)
- ) TYPE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output';
-
-CREATE TABLE IF NOT EXISTS `PMA_pdf_pages` (
- `db_name` varchar(64) NOT NULL default '',
- `page_nr` int(10) unsigned NOT NULL auto_increment,
- `page_descr` varchar(50) NOT NULL default '',
- PRIMARY KEY (page_nr),
- KEY (db_name)
- ) TYPE=MyISAM COMMENT='PDF Relationpages for PMA';
-
-CREATE TABLE IF NOT EXISTS `PMA_column_info` (
- id int(5) unsigned NOT NULL auto_increment,
- db_name varchar(64) NOT NULL default '',
- table_name varchar(64) NOT NULL default '',
- column_name varchar(64) NOT NULL default '',
- `comment` varchar(255) NOT NULL default '',
- mimetype varchar(255) NOT NULL default '',
- transformation varchar(255) NOT NULL default '',
- transformation_options varchar(255) NOT NULL default '',
- PRIMARY KEY (id),
- UNIQUE KEY db_name (db_name, table_name, column_name)
- ) TYPE=MyISAM COMMENT='Comments for Columns';
-
-CREATE TABLE IF NOT EXISTS `PMA_history` (
- `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
- `username` VARCHAR( 64 ) NOT NULL ,
- `db` VARCHAR( 64 ) NOT NULL ,
- `table` VARCHAR( 64 ) NOT NULL ,
- `timevalue` TIMESTAMP NOT NULL ,
- `sqlquery` TEXT NOT NULL ,
- PRIMARY KEY ( `id` ) ,
- INDEX ( `username` , `db` , `table` , `timevalue` )
- ) TYPE=MyISAM COMMENT='SQL history';
diff --git a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2_p1 b/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2_p1
deleted file mode 100644
index 147c07f721b8..000000000000
--- a/dev-db/phpmyadmin/files/mysql-setup.sql.in-2.5.2_p1
+++ /dev/null
@@ -1,84 +0,0 @@
-GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY '@pmapass@';
-
-GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
- Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
- File_priv, Grant_priv, References_priv, Index_priv, Alter_priv)
- ON mysql.user TO 'pma'@'localhost';
-
-GRANT SELECT ON mysql.db TO 'pma'@'localhost';
-
-GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
- ON mysql.tables_priv TO 'pma'@'localhost';
-
-GRANT SELECT, INSERT, UPDATE, DELETE ON pmadb.* TO 'pma'@'localhost';
-
-CREATE DATABASE IF NOT EXISTS pmadb;
-USE pmadb;
-
-CREATE TABLE IF NOT EXISTS `PMA_bookmark` (
- `id` int(11) DEFAULT '0' NOT NULL auto_increment,
- `dbase` varchar(255) NOT NULL,
- `user` varchar(255) NOT NULL,
- `label` varchar(255) NOT NULL,
- `query` text NOT NULL,
- PRIMARY KEY (id)
- ) TYPE=MyISAM COMMENT='Bookmarks';
-
-CREATE TABLE IF NOT EXISTS `PMA_relation` (
- `master_db` varchar(64) NOT NULL default '',
- `master_table` varchar(64) NOT NULL default '',
- `master_field` varchar(64) NOT NULL default '',
- `foreign_db` varchar(64) NOT NULL default '',
- `foreign_table` varchar(64) NOT NULL default '',
- `foreign_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`master_db`, `master_table`, `master_field`),
- KEY foreign_field (foreign_db, foreign_table)
- ) TYPE=MyISAM COMMENT='Relation table';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_info` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `display_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`db_name`, `table_name`)
- ) TYPE=MyISAM COMMENT='Table information for phpMyAdmin';
-
-CREATE TABLE IF NOT EXISTS `PMA_table_coords` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `pdf_page_number` int NOT NULL default '0',
- `x` float unsigned NOT NULL default '0',
- `y` float unsigned NOT NULL default '0',
- PRIMARY KEY (`db_name`, `table_name`, `pdf_page_number`)
- ) TYPE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output';
-
-CREATE TABLE IF NOT EXISTS `PMA_pdf_pages` (
- `db_name` varchar(64) NOT NULL default '',
- `page_nr` int(10) unsigned NOT NULL auto_increment,
- `page_descr` varchar(50) NOT NULL default '',
- PRIMARY KEY (page_nr),
- KEY (db_name)
- ) TYPE=MyISAM COMMENT='PDF Relationpages for PMA';
-
-CREATE TABLE IF NOT EXISTS `PMA_column_info` (
- id int(5) unsigned NOT NULL auto_increment,
- db_name varchar(64) NOT NULL default '',
- table_name varchar(64) NOT NULL default '',
- column_name varchar(64) NOT NULL default '',
- `comment` varchar(255) NOT NULL default '',
- mimetype varchar(255) NOT NULL default '',
- transformation varchar(255) NOT NULL default '',
- transformation_options varchar(255) NOT NULL default '',
- PRIMARY KEY (id),
- UNIQUE KEY db_name (db_name, table_name, column_name)
- ) TYPE=MyISAM COMMENT='Comments for Columns';
-
-CREATE TABLE IF NOT EXISTS `PMA_history` (
- `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
- `username` VARCHAR( 64 ) NOT NULL ,
- `db` VARCHAR( 64 ) NOT NULL ,
- `table` VARCHAR( 64 ) NOT NULL ,
- `timevalue` TIMESTAMP NOT NULL ,
- `sqlquery` TEXT NOT NULL ,
- PRIMARY KEY ( `id` ) ,
- INDEX ( `username` , `db` , `table` , `timevalue` )
- ) TYPE=MyISAM COMMENT='SQL history';
diff --git a/dev-db/phpmyadmin/phpmyadmin-2.4.0.ebuild b/dev-db/phpmyadmin/phpmyadmin-2.4.0.ebuild
deleted file mode 100644
index 4ce97e9fae57..000000000000
--- a/dev-db/phpmyadmin/phpmyadmin-2.4.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.4.0.ebuild,v 1.6 2003/09/06 22:25:50 msterret Exp $
-
-inherit eutils
-
-MY_PN=phpMyAdmin
-
-S=${WORKDIR}/${MY_PN}-${PV}
-DESCRIPTION="Web-based administration for MySQL database in php"
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-php.tar.bz2"
-HOMEPAGE="http://phpmyadmin.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-# only known to work on x86... can people test on other platforms?
-KEYWORDS="x86 sparc ppc alpha"
-
-DEPEND=">=net-www/apache-1.3.24-r1 >=dev-db/mysql-3.23.38 >=dev-php/mod_php-4.1.2-r5"
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/phpmyadmin-config.patch
-}
-
-src_compile() {
- local pmapass="${RANDOM}${RANDOM}${RANDOM}${RANDOM}"
- mv config.inc.php config.inc.php.in
- sed -e "s/@pmapass@/${pmapass}/g" config.inc.php.in > config.inc.php
- sed -e "s/@pmapass@/${pmapass}/g" ${FILESDIR}/phpmyadmin-mysql-setup.sql.in > mysql-setup.sql
-}
-
-src_install () {
-
- local DocumentRoot="/home/httpd/htdocs"
-
- insinto ${DocumentRoot}/phpmyadmin
- doins *.{php,html} ChangeLog
-
- insinto ${DocumentRoot}/phpmyadmin/images
- doins images/*.{gif,png}
-
- insinto ${DocumentRoot}/phpmyadmin/scripts
- doins scripts/*.sh
-
- insinto ${DocumentRoot}/phpmyadmin/lang
- doins lang/*.{php,sh}
-
- insinto ${DocumentRoot}/phpmyadmin/libraries
- doins libraries/*.{php,js}
-
- insinto ${DocumentRoot}/phpmyadmin/libraries/auth
- doins libraries/auth/*.php
-
- dodoc ANNOUNCE.txt CREDITS ChangeLog TODO Documentation.{txt,html} \
- INSTALL LICENSE RELEASE-DATE*
-
- insinto /etc/phpmyadmin
- doins config.inc.php mysql-setup.sql
-
- dosym /etc/phpmyadmin/config.inc.php ${DocumentRoot}/phpmyadmin/config.inc.php
-
-}
-
-pkg_postinst() {
- einfo
- einfo "Run etc-update to update your configuration files if required, then run"
- einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- einfo "to setup MySQL for phpMyAdmin"
- einfo "Then point your browser to http://localhost/phpmyadmin/"
- einfo
-}
-
-pkg_config() {
- einfo "Type in your MySQL root password:"
- mysql -u root -p < ${ROOT}/etc/phpmyadmin/mysql-setup.sql || die
- einfo "You need to reload MySQL for the changes to take effect"
-}
diff --git a/dev-db/phpmyadmin/phpmyadmin-2.5.2_p1.ebuild b/dev-db/phpmyadmin/phpmyadmin-2.5.2_p1.ebuild
deleted file mode 100644
index 53a21eb0b9bd..000000000000
--- a/dev-db/phpmyadmin/phpmyadmin-2.5.2_p1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.5.2_p1.ebuild,v 1.3 2003/09/10 20:21:52 mholzer Exp $
-
-inherit eutils
-
-MY_P=phpMyAdmin-${PV/_p/-pl}
-DESCRIPTION="Web-based administration for MySQL database in PHP"
-HOMEPAGE="http://phpmyadmin.sourceforge.net/"
-SRC_URI="mirror://sourceforge/phpmyadmin/${MY_P}-php.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~arm ~ppc hppa ~mips ~sparc x86"
-DEPEND=">=net-www/apache-1.3
- >=dev-db/mysql-3.21 <dev-db/mysql-4.1
- >=dev-php/mod_php-3.0.8
- sys-apps/findutils"
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/config.inc.php-${PV}.patch
-}
-
-src_compile() {
- local pmapass="${RANDOM}${RANDOM}${RANDOM}${RANDOM}"
- mv config.inc.php config.inc.php.orig
- sed -e "s/@pmapass@/${pmapass}/g" \
- config.inc.php.orig > config.inc.php
- sed -e "s/@pmapass@/${pmapass}/g" \
- ${FILESDIR}/mysql-setup.sql.in-${PV} > mysql-setup.sql
-}
-
-src_install() {
-
- local DocumentRoot=/home/httpd/htdocs
- local destdir=${DocumentRoot}/phpmyadmin
- local docs="ANNOUNCE.txt CREDITS Documentation.txt README RELEASE-DATE-${PV} TODO"
-
- # Copy everything
- mkdir -p ${D}${destdir}
- cp -r . ${D}${destdir}
- # Remove documentation files
- for doc in ${docs} INSTALL LICENSE; do
- rm -f ${D}${destdir}/${doc}
- done
- # Remove .cvs* files and CVS directories
- find ${D}${destdir} -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf
- # Fix permissions
- find ${D}${destdir} -type d | xargs chmod 755
- find ${D}${destdir} -type f | xargs chmod 644
-
- dodoc ${docs} ChangeLog
-
- insinto /etc/phpmyadmin
- doins config.inc.php mysql-setup.sql
- dosym /etc/phpmyadmin/config.inc.php ${destdir}/config.inc.php
-
-}
-
-pkg_postinst() {
- einfo
- einfo "To complete installation, you must"
- einfo "1. Update your configuration files:"
- einfo " etc-update"
- einfo "2. Update MySQL's grant tables and the pmadb database:"
- einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- einfo "3. Reload MySQL:"
- einfo " /etc/init.d/mysql restart"
- einfo
- einfo "If you are upgrading from an earlier version and are using phpMyAdmin's"
- einfo "features for master/foreign tables be sure to read"
- einfo " http://localhost/phpmyadmin/Documentation.html#col_com"
- einfo "You will need to perform the ALTER TABLE step yourself."
- einfo
- einfo "Finally, point your browser to http://localhost/phpmyadmin/."
- einfo
-}
-
-pkg_config() {
- einfo "Type in your MySQL root password:"
- mysql -u root -p < ${ROOT}/etc/phpmyadmin/mysql-setup.sql || die
- einfo "You need to reload MySQL for the changes to take effect"
-}
diff --git a/dev-db/phpmyadmin/phpmyadmin-2.5.3.ebuild b/dev-db/phpmyadmin/phpmyadmin-2.5.3.ebuild
deleted file mode 100644
index 35448e13421a..000000000000
--- a/dev-db/phpmyadmin/phpmyadmin-2.5.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.5.3.ebuild,v 1.4 2003/09/11 21:13:27 twp Exp $
-
-inherit eutils
-inherit webapp-apache
-
-MY_P=phpMyAdmin-${PV/_p/-pl}
-DESCRIPTION="Web-based administration for MySQL database in PHP"
-HOMEPAGE="http://phpmyadmin.sourceforge.net/"
-SRC_URI="mirror://sourceforge/phpmyadmin/${MY_P}-php.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~arm ~ppc hppa ~mips ~sparc ~x86"
-DEPEND=">=net-www/apache-1.3
- >=dev-db/mysql-3.21 <dev-db/mysql-4.1
- >=dev-php/mod_php-3.0.8
- sys-apps/findutils"
-S=${WORKDIR}/${MY_P}
-
-webapp-detect || NO_WEBSERVER=1
-
-pkg_setup() {
- webapp-pkg_setup "${NO_WEBSERVER}"
-
- if [ -d ${ROOT}${HTTPD_ROOT}/phpmyadmin ] ; then
- echo ""
- eerror "phpmyadmin directory detected in ${ROOT}${HTTPD_ROOT}."
- eerror "You must unmerge your older version first,"
- eerror "and remove the directory before continuing."
- die "Will not overwrite previous installation."
- fi
-
- einfo "Installing into ${ROOT}${HTTPD_ROOT}."
-}
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/config.inc.php-${PV}.patch
-}
-
-src_compile() {
- local pmapass="${RANDOM}${RANDOM}${RANDOM}${RANDOM}"
- mv config.inc.php config.inc.php.orig
- sed -e "s/@pmapass@/${pmapass}/g" \
- config.inc.php.orig > config.inc.php
- sed -e "s/@pmapass@/${pmapass}/g" \
- ${FILESDIR}/mysql-setup.sql.in-${PV} > mysql-setup.sql
-}
-
-src_install() {
-
- local DocumentRoot=${HTTPD_ROOT}
- local destdir=${DocumentRoot}/phpmyadmin
- local docs="ANNOUNCE.txt CREDITS Documentation.txt README RELEASE-DATE-${PV} TODO"
-
- # Copy everything
- mkdir -p ${D}${destdir}
- cp -r . ${D}${destdir}
- # Remove documentation files
- for doc in ${docs} INSTALL LICENSE; do
- rm -f ${D}${destdir}/${doc}
- done
- # Remove .cvs* files and CVS directories
- find ${D}${destdir} -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf
- # Fix permissions
- find ${D}${destdir} -type d | xargs chmod 755
- find ${D}${destdir} -type f | xargs chmod 644
-
- dodoc ${docs} ChangeLog
-
- insinto /etc/phpmyadmin
- doins config.inc.php mysql-setup.sql
- dosym /etc/phpmyadmin/config.inc.php ${destdir}/config.inc.php
-
-}
-
-pkg_postinst() {
- einfo
- einfo "To complete installation, you must"
- einfo "1. Update your configuration files:"
- einfo " etc-update"
- einfo "2. Update MySQL's grant tables and the pmadb database:"
- einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- einfo "3. Reload MySQL:"
- einfo " /etc/init.d/mysql restart"
- einfo
- einfo "If you are upgrading from an earlier version and are using phpMyAdmin's"
- einfo "features for master/foreign tables be sure to read"
- einfo " http://localhost/phpmyadmin/Documentation.html#col_com"
- einfo "You will need to perform the ALTER TABLE step yourself."
- einfo
- einfo "Finally, point your browser to http://localhost/phpmyadmin/."
- einfo
-}
-
-pkg_config() {
- einfo "This will execute the contents of ${ROOT}etc/phpmyadmin/mysql-setup.sql"
- einfo "Type in your MySQL root password:"
- mysql -u root -p < ${ROOT}etc/phpmyadmin/mysql-setup.sql || die
- einfo "You need to reload MySQL for the changes to take effect"
-}