Update phppgadmin-5.6.0

help from sthen
ok sthen@ pea@
This commit is contained in:
solene 2018-12-19 13:26:25 +00:00
parent c6729e6b4b
commit 835835fcc7
4 changed files with 52 additions and 8 deletions

View File

@ -1,18 +1,18 @@
# $OpenBSD: Makefile,v 1.29 2018/10/17 14:15:56 sthen Exp $
# $OpenBSD: Makefile,v 1.30 2018/12/19 13:26:25 solene Exp $
COMMENT= tool to handle the administration of PostgreSQL over the web
DISTNAME= phpPgAdmin-5.1
DISTNAME= phpPgAdmin-5.6.0
CATEGORIES= www databases
HOMEPAGE= http://phppgadmin.sourceforge.net/
REVISION= 4
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phppgadmin/}
MASTER_SITES= https://github.com/phppgadmin/phppgadmin/releases/download/REL_5-6-0/
EXTRACT_SUFX= .tar.bz2
NO_BUILD= Yes
NO_TEST= Yes
@ -30,4 +30,8 @@ do-install:
@cp -Rp ${WRKDIST} ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
post-install:
@rm -fr ${PREFIX}/phpPgAdmin/tests
@rm ${PREFIX}/phpPgAdmin/conf/{.gitignore,config.inc.php}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (phpPgAdmin-5.1.tar.gz) = QilOexnTtAA5EuqtmjTfQJbAOAhxrtzhUqoT1JVYeKU=
SIZE (phpPgAdmin-5.1.tar.gz) = 747520
SHA256 (phpPgAdmin-5.6.0.tar.bz2) = M+D8e7A4hy0vHdJp93yZJYIgpfT2WfjQ97QpBzeg3TU=
SIZE (phpPgAdmin-5.6.0.tar.bz2) = 880640

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-conf_config_inc_php-dist,v 1.1 2018/12/19 13:26:25 solene Exp $
remove paths as they are invalid in the default chroot
Index: conf/config.inc.php
--- conf/config.inc.php-dist.orig
+++ conf/config.inc.php-dist
@@ -32,8 +32,8 @@
// Specify the path to the database dump utilities for this server.
// You can set these to '' if no dumper is available.
- $conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
- $conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
+ $conf['servers'][0]['pg_dump_path'] = '';
+ $conf['servers'][0]['pg_dumpall_path'] = '';
// Example for a second server (PostgreSQL for Windows)
//$conf['servers'][1]['desc'] = 'Test Server';

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2018/09/04 12:46:26 espie Exp $
@comment $OpenBSD: PLIST,v 1.11 2018/12/19 13:26:25 solene Exp $
phpPgAdmin/
phpPgAdmin/CREDITS
phpPgAdmin/DEVELOPERS
@ -25,6 +25,8 @@ phpPgAdmin/classes/database/
phpPgAdmin/classes/database/ADODB_base.php
phpPgAdmin/classes/database/Connection.php
phpPgAdmin/classes/database/Postgres.php
phpPgAdmin/classes/database/Postgres10.php
phpPgAdmin/classes/database/Postgres11.php
phpPgAdmin/classes/database/Postgres74.php
phpPgAdmin/classes/database/Postgres80.php
phpPgAdmin/classes/database/Postgres81.php
@ -33,10 +35,16 @@ phpPgAdmin/classes/database/Postgres83.php
phpPgAdmin/classes/database/Postgres84.php
phpPgAdmin/classes/database/Postgres90.php
phpPgAdmin/classes/database/Postgres91.php
phpPgAdmin/classes/database/Postgres92.php
phpPgAdmin/classes/database/Postgres93.php
phpPgAdmin/classes/database/Postgres94.php
phpPgAdmin/classes/database/Postgres95.php
phpPgAdmin/classes/database/Postgres96.php
phpPgAdmin/colproperties.php
phpPgAdmin/composer.json
phpPgAdmin/conf/
phpPgAdmin/conf/config.inc.php
phpPgAdmin/conf/config.inc.php-dist
@sample phpPgAdmin/conf/config.inc.php
phpPgAdmin/constraints.php
phpPgAdmin/conversions.php
phpPgAdmin/database.php
@ -51,6 +59,9 @@ phpPgAdmin/functions.php
phpPgAdmin/groups.php
phpPgAdmin/help/
phpPgAdmin/help.php
phpPgAdmin/help/PostgresDoc10.php
phpPgAdmin/help/PostgresDoc11.php
phpPgAdmin/help/PostgresDoc12.php
phpPgAdmin/help/PostgresDoc74.php
phpPgAdmin/help/PostgresDoc80.php
phpPgAdmin/help/PostgresDoc81.php
@ -60,9 +71,17 @@ phpPgAdmin/help/PostgresDoc84.php
phpPgAdmin/help/PostgresDoc90.php
phpPgAdmin/help/PostgresDoc91.php
phpPgAdmin/help/PostgresDoc92.php
phpPgAdmin/help/PostgresDoc93.php
phpPgAdmin/help/PostgresDoc94.php
phpPgAdmin/help/PostgresDoc95.php
phpPgAdmin/help/PostgresDoc96.php
phpPgAdmin/history.php
phpPgAdmin/images/
phpPgAdmin/images/themes/
phpPgAdmin/images/themes/bootstrap/
phpPgAdmin/images/themes/bootstrap/Favicon.ico
phpPgAdmin/images/themes/bootstrap/Introduction.png
phpPgAdmin/images/themes/bootstrap/title.png
phpPgAdmin/images/themes/cappuccino/
phpPgAdmin/images/themes/cappuccino/Lminus.png
phpPgAdmin/images/themes/cappuccino/Lplus.png
@ -373,6 +392,9 @@ phpPgAdmin/tables.php
phpPgAdmin/tablespaces.php
phpPgAdmin/tblproperties.php
phpPgAdmin/themes/
phpPgAdmin/themes/bootstrap/
phpPgAdmin/themes/bootstrap/global.css
phpPgAdmin/themes/bootstrap/title.png
phpPgAdmin/themes/cappuccino/
phpPgAdmin/themes/cappuccino/global.css
phpPgAdmin/themes/default/