[packages/phpPgAdmin] - updated to 5.1, not tested, release 0.1

hawk hawk at pld-linux.org
Mon Aug 5 10:27:03 CEST 2013


commit 8a8a809b901d41a37c67402a1de7dea75516b1e9
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Mon Aug 5 08:41:39 2013 +0000

    - updated to 5.1, not tested, release 0.1

 phpPgAdmin-config.patch | 36 ++++++++++++------------------------
 phpPgAdmin.spec         |  8 ++++----
 2 files changed, 16 insertions(+), 28 deletions(-)
---
diff --git a/phpPgAdmin.spec b/phpPgAdmin.spec
index 19c6d4e..0944fa5 100644
--- a/phpPgAdmin.spec
+++ b/phpPgAdmin.spec
@@ -4,12 +4,12 @@
 Summary:	phpPgAdmin - web-based PostgreSQL administration
 Summary(pl.UTF-8):	phpPgAdmin - administracja bazami PostgreSQL przez WWW
 Name:		phpPgAdmin
-Version:	5.0.3
-Release:	2
+Version:	5.1
+Release:	0.1
 License:	GPL v2+
 Group:		Applications/Databases/Interfaces
 Source0:	http://dl.sourceforge.net/phppgadmin/%{name}-%{version}.tar.bz2
-# Source0-md5:	6a9810a187e52cc42de6e2d18d71ec81
+# Source0-md5:	ad8f05cef0c443d9ce2940bf36319c24
 Source1:	%{name}-apache.conf
 Source2:	%{name}-lighttpd.conf
 Source3:	http://www.quarto.pl/~gotar/%{name}-jscalendar.tar.bz2
@@ -160,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS
-%doc sql
+%doc plugins/Report/sql
 %dir %attr(750,root,http) %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
diff --git a/phpPgAdmin-config.patch b/phpPgAdmin-config.patch
index 222230d..78d99a0 100644
--- a/phpPgAdmin-config.patch
+++ b/phpPgAdmin-config.patch
@@ -1,5 +1,15 @@
---- phpPgAdmin-4.0.1/libraries/lib.inc.php~	2005-12-02 17:19:47.000000000 +0200
-+++ phpPgAdmin-4.0.1/libraries/lib.inc.php	2005-12-02 17:24:01.259851274 +0200
+diff -ur phpPgAdmin-5.1.orig/libraries/lib.inc.php phpPgAdmin-5.1/libraries/lib.inc.php
+--- phpPgAdmin-5.1.orig/libraries/lib.inc.php	2013-04-14 22:59:58.000000000 +0000
++++ phpPgAdmin-5.1/libraries/lib.inc.php	2013-08-05 07:57:03.087116156 +0000
+@@ -10,7 +10,7 @@
+ 	include_once('./lang/translations.php');
+ 
+ 	// Set error reporting level to max
+-	error_reporting(E_ALL);
++	error_reporting(E_ALL & ~E_NOTICE);
+  
+ 	// Application name
+ 	$appName = 'phpPgAdmin';
 @@ -27,12 +27,12 @@
  		exit(sprintf('Version of PHP not supported. Please upgrade to version %s or later.', $phpMinVer));
  
@@ -15,26 +25,4 @@
 +		echo 'Configuration error: Copy conf/config.inc.php-dist to /etc/webapps/phpPgAdmin/config.inc.php and edit appropriately.';
  		exit;
  	}
-
---- phpPgAdmin-4.0.1/classes/plugins/Plugin.php~	2005-06-16 17:40:12.000000000 +0300
-+++ phpPgAdmin-4.0.1/classes/plugins/Plugin.php	2005-12-02 17:25:54.525481589 +0200
-@@ -21,7 +21,7 @@
- 		// Read in configuration
- 		if ($this->config !== null) {
- 			global $conf;
--			include('./conf/' . $name . '.inc.php');			
-+			include('/etc/webapps/phpPgAdmin/' . $name . '.inc.php');			
- 		}
- 	}
  
---- phpPgAdmin-4.0.1/libraries/lib.inc.php	2005-12-02 17:38:56.000000000 +0200
-+++ phpPgAdmin-4.0.1-org/libraries/lib.inc.php	2005-12-02 17:37:20.000000000 +0200
-@@ -10,7 +10,7 @@
- 	include_once('./lang/translations.php');
- 
- 	// Set error reporting level to max
--	error_reporting(E_ALL);
-+	error_reporting(E_ALL & ~E_NOTICE);
-  
- 	// Application name
- 	$appName = 'phpPgAdmin';
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phpPgAdmin.git/commitdiff/8a8a809b901d41a37c67402a1de7dea75516b1e9



More information about the pld-cvs-commit mailing list