]> git.pld-linux.org Git - packages/phpMyAdmin.git/commitdiff
- ServerSelectDisplayName auto/th/phpMyAdmin-2_11_8_1-2 auto/ti/phpMyAdmin-2_11_8_1-2
authorjezik <jezik@pld-linux.org>
Mon, 18 Aug 2008 23:13:09 +0000 (23:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phpMyAdmin-ServerSelectDisplayName-config.patch -> 1.1
    phpMyAdmin-ServerSelectDisplayName.patch -> 1.1
    phpMyAdmin.spec -> 1.191

phpMyAdmin-ServerSelectDisplayName-config.patch [new file with mode: 0644]
phpMyAdmin-ServerSelectDisplayName.patch [new file with mode: 0644]
phpMyAdmin.spec

diff --git a/phpMyAdmin-ServerSelectDisplayName-config.patch b/phpMyAdmin-ServerSelectDisplayName-config.patch
new file mode 100644 (file)
index 0000000..983954a
--- /dev/null
@@ -0,0 +1,18 @@
+*** libraries/config.default.php.orig  Tue Aug 19 00:56:44 2008
+--- libraries/config.default.php       Tue Aug 19 00:56:08 2008
+***************
+*** 80,85 ****
+--- 80,92 ----
+  $i = 1;
+  
+  /**
++  * Display name
++  *
++  * @global string $cfg['Servers'][$i]['display']
++  */
++ $cfg['Servers'][$i]['display'] = 'localhost';
++ 
++ /**
+   * MySQL hostname or IP address
+   *
+   * @global string $cfg['Servers'][$i]['host']
diff --git a/phpMyAdmin-ServerSelectDisplayName.patch b/phpMyAdmin-ServerSelectDisplayName.patch
new file mode 100644 (file)
index 0000000..cd27329
--- /dev/null
@@ -0,0 +1,19 @@
+*** libraries/select_server.lib.php.org        Tue Aug 19 00:41:59 2008
+--- libraries/select_server.lib.php    Tue Aug 19 00:42:35 2008
+***************
+*** 62,68 ****
+          if (!empty($server['verbose'])) {
+              $label = $server['verbose'];
+          } else {
+!             $label = $server['host'];
+              if (!empty($server['port'])) {
+                  $label .= ':' . $server['port'];
+              }
+--- 62,68 ----
+          if (!empty($server['verbose'])) {
+              $label = $server['verbose'];
+          } else {
+!             $label = isset($server['display']) ? $server['display'] : $server['host'];
+              if (!empty($server['port'])) {
+                  $label .= ':' . $server['port'];
+              }
index 4c8e68ba152ee02d51150b3af1ffd5b7501c4dc9..ffcb6c31fd4b1a029624c331255c4435c3f66b8b 100644 (file)
@@ -4,7 +4,7 @@ Summary:        phpMyAdmin - web-based MySQL administration
 Summary(pl.UTF-8):     phpMyAdmin - administracja bazami MySQL przez WWW
 Name:          phpMyAdmin
 Version:       2.11.8.1
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/Databases/Interfaces
 Source0:       http://dl.sourceforge.net/phpmyadmin/%{name}-%{version}-all-languages.tar.bz2
@@ -12,6 +12,8 @@ Source0:      http://dl.sourceforge.net/phpmyadmin/%{name}-%{version}-all-languages.t
 Source1:       %{name}.conf
 Source2:       %{name}-lighttpd.conf
 Patch0:                %{name}-config.patch
+Patch1:                %{name}-ServerSelectDisplayName.patch
+Patch2:                %{name}-ServerSelectDisplayName-config.patch
 URL:           http://www.phpmyadmin.net/
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(triggerpostun):       sed >= 4.0
@@ -73,6 +75,8 @@ podrÄ™cznika MySQL). Aktualnie phpMyAdmin potrafi:
 %prep
 %setup -q -n %{name}-%{version}-all-languages
 %patch0 -p1
+%patch1 -p0
+%patch2 -p0
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.105951 seconds and 4 git commands to generate.