diff --git a/phpPgAdmin-5.6.0.tar.bz2 b/phpPgAdmin-5.6.0.tar.bz2 deleted file mode 100644 index cc2bf55..0000000 --- a/phpPgAdmin-5.6.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33e0fc7bb038872d2f1dd269f77c99258220a5f4f659f8d0f7b4290737a0dd35 -size 880640 diff --git a/phpPgAdmin-7.12.1.tar.bz2 b/phpPgAdmin-7.12.1.tar.bz2 new file mode 100644 index 0000000..a254a7b --- /dev/null +++ b/phpPgAdmin-7.12.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a871af0e4b60dde4e4489162ea1bd6bead00267d9db5428289afc892b5dfdbd5 +size 579723 diff --git a/phpPgAdmin-4.2.3-config.inc.patch b/phpPgAdmin-config.inc.patch similarity index 70% rename from phpPgAdmin-4.2.3-config.inc.patch rename to phpPgAdmin-config.inc.patch index 365f94a..4274e8c 100644 --- a/phpPgAdmin-4.2.3-config.inc.patch +++ b/phpPgAdmin-config.inc.patch @@ -1,6 +1,7 @@ -diff -ruN phpPgAdmin-4.2.3-orig/libraries/lib.inc.php phpPgAdmin-4.2.3/libraries/lib.inc.php ---- phpPgAdmin-4.2.3-orig/libraries/lib.inc.php 2010-03-28 23:46:17.000000000 +0200 -+++ phpPgAdmin-4.2.3/libraries/lib.inc.php 2011-02-19 00:50:02.000000000 +0100 +Index: libraries/lib.inc.php +=================================================================== +--- libraries/lib.inc.php.orig ++++ libraries/lib.inc.php @@ -27,12 +27,12 @@ exit(sprintf('Version of PHP not supported. Please upgrade to version %s or later.', $phpMinVer)); diff --git a/phpPgAdmin.changes b/phpPgAdmin.changes index 6da0384..02ac535 100644 --- a/phpPgAdmin.changes +++ b/phpPgAdmin.changes @@ -1,5 +1,37 @@ ------------------------------------------------------------------- -Sat Jan 19 13:08:04 UTC 2019 - Christian Wittmer +Mon Mar 2 20:01:15 UTC 2020 - chris@computersalat.de + +- Version 7.12.1 (December 10, 2019) + Features: + * Add support for granting USAGE on sequences + * Update French translation + Bugs: + * Fix issues with OID removal in Postgres 12+ + * Remove broken tree branch from table/view browse option + * Properly escape identifiers when browsing tables/views/schemas + * Fix truncation of long multibyte strings + * Clean up a number of misspellings and typos from codespell report + Incompatabilities: + * Require mbstring module support in PHP +- Version 7.12.0 (September 28, 2019) + Features + * Add Support for PHP 7.x + * Add Support for Postgres 12 + * Update Bootstrap to version 3.3.7 (wisekeep) + Bugs + * Fix several issues with CSS files (wisekeep) + * Clean up file permissions (nirgal) + * Fixed Reflected XSS vulnerability (om3rcitak) + * Fixes with sequence visbility and permission handling. + Incompatabilities: + * We no longer support php5 (>= 7.1) + * Change in version numbering system +- rebase patch + * rename phpPgAdmin-4.2.3-config.inc.patch to phpPgAdmin-config.inc.patch +- fix changes file + +------------------------------------------------------------------- +Sat Jan 19 13:08:04 UTC 2019 - chris@computersalat.de - update to 5.6.0 - fix for boo#1094772 diff --git a/phpPgAdmin.spec b/phpPgAdmin.spec index d397d7f..81044f4 100644 --- a/phpPgAdmin.spec +++ b/phpPgAdmin.spec @@ -1,7 +1,7 @@ # # spec file for package phpPgAdmin # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,16 +28,19 @@ Name: phpPgAdmin Summary: Administration of PostgreSQL over the web License: GPL-2.0-or-later Group: Productivity/Databases/Tools -Version: 5.6.0 +Version: 7.12.1 Release: 0 -Url: http://phppgadmin.sourceforge.net -Source0: https://github.com/%{lc_name}/%{lc_name}/releases/download/REL_5-6-0/%{name}-%{version}.tar.bz2 +#define rel_version %(/usr/bin/sed -e "s/\./-/g" <<<%{version}) +%define rel_version REL_7-12-1 +URL: http://phppgadmin.sourceforge.net +Source0: https://github.com/%{lc_name}/%{lc_name}/releases/download/%{rel_version}/%{name}-%{version}.tar.bz2 Source1: %{name}.http -Patch0: %{name}-4.2.3-config.inc.patch +Patch0: %{name}-config.inc.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: apache2-devel Requires: mod_php_any +Requires: php >= 7.1 Requires: php-pgsql %description @@ -47,7 +50,7 @@ perfect for PostgreSQL DBAs, newbies and hosting services. Features * Administer multiple servers -* Support for PostgreSQL 8.4.x, 9.x.x, 10.x, 11.x +* Support for PostgreSQL 9.x.x, 10.x, 11.x, 12.x * Manage all aspects of: o Users & groups o Databases @@ -66,11 +69,11 @@ Features * Excellent language support: o Available in 27 languages o No encoding conflicts. Edit Russian data using a Japanese interface! -* Easy to install and configur +* Easy to install and configure %prep %setup -q -%patch0 -p1 +%patch0 %build