pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46256: databases/phppgadmin does not install it's classes/plugins/Slony.php
>Number: 46256
>Category: pkg
>Synopsis: databases/phppgadmin does not install it's
>classes/plugins/Slony.php
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 25 16:00:00 +0000 2012
>Originator: Noud de Brouwer
>Release: 6.99.3
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 6.99.3 NetBSD 6.99.3 (MONOLITHIC.UGEN) #0: Wed Feb 29 23:14:04
UTC 2012 mickey55@10.0.2.17:/obj/sys/arch/i386/compile/MONOLITHIC.UGEN i386
>Description:
phppgadmin does not install it's classes/plugins/Slony.php,
so does not work with Slony enabled config.
gives error in web like:
Warning: include(./classes/plugins/Slony.php) [function.include]: failed to
open stream: No such file or directory in
/usr/pkg/share/phppgadmin/libraries/lib.inc.php on line 253
Warning: include() [function.include]: Failed opening
'./classes/plugins/Slony.php' for inclusion (include_path='.:/usr/pkg/lib/php')
in /usr/pkg/share/phppgadmin/libraries/lib.inc.php on line 253
Fatal error: Class 'Slony' not found in
/usr/pkg/share/phppgadmin/libraries/lib.inc.php on line 254
>How-To-Repeat:
databases/phppgadmin && make install and:
--- share/phppgadmin/conf/config.inc.php.orig 2008-10-22 05:32:07.000000000
+0200
+++ share/phppgadmin/conf/config.inc.php 2008-10-22 06:39:07.000000000
+0200
@@ -34,10 +34,10 @@
$conf['servers'][0]['pg_dumpall_path'] = '/usr/pkg/bin/pg_dumpall';
// Slony (www.slony.info) support?
- $conf['servers'][0]['slony_support'] = false;
+ $conf['servers'][0]['slony_support'] = true;
// Specify the path to the Slony SQL scripts (where slony1_base.sql is
located, etc.)
// No trailing slash.
- $conf['servers'][0]['slony_sql'] = '/usr/share/pgsql';
+ $conf['servers'][0]['slony_sql'] = '/usr/pkg/share/postgresql';
// Example for a second server (PostgreSQL for Windows)
//$conf['servers'][1]['desc'] = 'Test Server';
>Fix:
patch to Makefile and PLIST:
--- Makefile.orig 2012-03-25 18:14:08.000000000 +0000
+++ Makefile 2012-03-25 18:17:36.000000000 +0000
@@ -2,7 +2,7 @@
DISTNAME= phpPgAdmin-5.0.2
PKGNAME= ${DISTNAME:S/PgAdmin/pgadmin/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phppgadmin/}
EXTRACT_SUFX= .tar.bz2
@@ -57,6 +57,8 @@
${INSTALL_SCRIPT} ${WRKSRC}/classes/*.* ${DESTDIR}${PHPPGBASE}/classes
${INSTALL_SCRIPT} ${WRKSRC}/classes/database/* \
${DESTDIR}${PHPPGBASE}/classes/database
+ ${INSTALL_SCRIPT} ${WRKSRC}/classes/plugins/* \
+ ${DESTDIR}${PHPPGBASE}/classes/plugins
${INSTALL_SCRIPT} ${WRKSRC}/help/* ${DESTDIR}${PHPPGBASE}/help
${INSTALL_SCRIPT} ${WRKSRC}/sql/* ${DESTDIR}${PHPPGBASE}/sql
${INSTALL_DATA} ${WRKSRC}/images/themes/default/*.png \
--- PLIST.orig 2012-03-25 18:14:18.000000000 +0000
+++ PLIST 2012-03-25 18:17:24.000000000 +0000
@@ -30,6 +30,8 @@
share/phppgadmin/classes/database/Postgres82.php
share/phppgadmin/classes/database/Postgres83.php
share/phppgadmin/classes/database/Postgres84.php
+share/phppgadmin/classes/plugins/Plugin.php
+share/phppgadmin/classes/plugins/Slony.php
share/phppgadmin/colproperties.php
share/phppgadmin/constraints.php
share/phppgadmin/conversions.php
Home |
Main Index |
Thread Index |
Old Index