rpms/phpMyAdmin/devel phpMyAdmin-config.inc.php, NONE, 1.1 phpMyAdmin.htaccess, NONE, 1.1 phpMyAdmin.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michael Patrick McGrath (mmcgrath)
fedora-extras-commits at redhat.com
Fri Nov 10 16:16:20 UTC 2006
Author: mmcgrath
Update of /cvs/extras/rpms/phpMyAdmin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32168/devel
Modified Files:
.cvsignore sources
Added Files:
phpMyAdmin-config.inc.php phpMyAdmin.htaccess phpMyAdmin.spec
Log Message:
auto-import phpMyAdmin-2.9.1-1alpha on branch devel from phpMyAdmin-2.9.1-1alpha.src.rpm
--- NEW FILE phpMyAdmin-config.inc.php ---
<?php
/**
* 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
// (including $i incrementation) serveral times. There is no need to define
// full server array, just define values you need to change.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$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]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // 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]['hide_db'] = ''; // Database name to be hidden from listings
$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
// (see scripts/create_tables.sql)
// - leave blank for no support
// DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
// - leave blank for no bookmark support
// DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['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
// - 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
// - leave blank for no PDF schema support
// DEFAULT: 'pma_table_coords'
$cfg['Servers'][$i]['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
// - leave blank for no column comments/mime types
// DEFAULT: 'pma_column_info'
$cfg['Servers'][$i]['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
// are up to date. This prevents compatibility
// checks and thereby increases performance.
$cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login
$cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use
= '';
$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
= array();
?>
--- NEW FILE phpMyAdmin.htaccess ---
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
order deny,allow
deny from all
allow from 127.0.0.1
</Directory>
# This directory does not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
<Directory /usr/share/phpMyAdmin/libraries>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
# This configuration prevents mod_security at phpMyAdmin directories from
# filtering SQL etc.
#
<IfModule mod_security.c>
<LocationMatch "/phpMyAdmin/(.+)">
SecFilterInheritance Off
</LocationMatch>
</IfModule>
--- NEW FILE phpMyAdmin.spec ---
Name: phpMyAdmin
Version: 2.9.1
Release: 1alpha
Summary: Web based MySQL browser written in php
Group: Applications/Internet
License: GPL
URL: http://www.phpmyadmin.net/
Source0: http://dl.sourceforge.net/sourceforge/phpMyAdmin/phpMyAdmin-%{version}-rc2-all-languages.tar.bz2
Source1: phpMyAdmin-config.inc.php
Source2: phpMyAdmin.htaccess
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: webserver
Requires: php >= 4.1.0
Requires: php-mysql >= 4.1.0
Requires: php-mbstring >= 4.1.0
Requires(postun): /sbin/service
Requires(post): /sbin/service
%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
%prep
%setup -qn phpMyAdmin-%{version}-rc2-all-languages
%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}/[IRLCT]*
%{__rm} -f %{buildroot}/%{_datadir}/%{name}/libraries/.htaccess
%clean
rm -rf %{buildroot}
%post
/sbin/service httpd condrestart > /dev/null 2>&1 || :
%postun
/sbin/service httpd condrestart > /dev/null 2>&1 || :
%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}
%changelog
* Fri Nov 10 2006 Mike McGrath <imlinux at gmail.com> 2.9.1-1alpha
- Added alpha tag since this is a release candidate
* Tue Nov 07 2006 Mike McGrath <imlinux at gmail.com> 2.9.1-1
- Upstream released new version
* Wed Oct 04 2006 Mike McGrath <imlinux at gmail.com> 2.9.0.2-1
- Upstream released new version
* Thu Jul 06 2006 Mike McGrath <imlinux at gmail.com> 2.8.2-2
- Fixed a typo in the Apache config
* Mon Jul 03 2006 Mike McGrath <imlinux at gmail.com> 2.8.2-1
- Upstream released 2.8.2
- Added more restrictive directives to httpd/conf.d/phpMyAdmin.conf
- removed htaccess file from the libraries dir
- Specific versions for various requires
* Sat May 13 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.4-1
- Upstream released 2.8.0.4
- Added requires php, instead of requires httpd, now using webserver
* Sun May 07 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.3-2
- Added mysql-php and php-mbstring as a requires
* Thu Apr 07 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.3-1
- Fixed XSS vulnerability: PMASA-2006-1
- It was possible to conduct an XSS attack with a direct call to some scripts
- under the themes directory.
* Tue Apr 04 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.2-3
- Made config files actually configs
- Moved doc files to the doc dir
* Tue Apr 04 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.2-2
- Moved everything to %{_datadir}
- Moved config file to /etc/
- Used description from phpMyAdmin project info
* Mon Apr 03 2006 Mike McGrath <imlinux at gmail.com> 2.8.0.2-1
- Initial Spec file creation for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/phpMyAdmin/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Nov 2006 16:14:06 -0000 1.1
+++ .cvsignore 10 Nov 2006 16:15:50 -0000 1.2
@@ -0,0 +1 @@
+phpMyAdmin-2.9.1-rc2-all-languages.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/phpMyAdmin/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Nov 2006 16:14:06 -0000 1.1
+++ sources 10 Nov 2006 16:15:50 -0000 1.2
@@ -0,0 +1 @@
+a49c0d06d98cf842b78f9686e642d952 phpMyAdmin-2.9.1-rc2-all-languages.tar.bz2
More information about the scm-commits
mailing list