pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44715: phppgadmin-5.0.2 installation is incomplete



>Number:         44715
>Category:       pkg
>Synopsis:       phppgadmin-5.0.2 installation is incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 12 18:20:00 +0000 2011
>Originator:     Charles McGarvey
>Release:        
>Organization:
>Environment:
>Description:
The package databases/phppgadmin-5.0.2 does not install completely.  In 
particular, themes/themes.php is missing after installation, causing PHP to 
complain on every access of phppgadmin (if errors are set to display):

Warning: include_once(./themes/themes.php): failed to open stream: No such file 
or directory in /usr/pkg/share/phppgadmin/intro.php on line 12 Warning: 
include_once(): Failed opening './themes/themes.php' for inclusion 
(include_path='.:/usr/pkg/lib/php') in /usr/pkg/share/phppgadmin/intro.php on 
line 12

Other files are also missing from the installation.
>How-To-Repeat:

>Fix:
Patch for Makefile and PLIST.

diff -ur phppgadmin/Makefile phppgadmin-chaz/Makefile
--- phppgadmin/Makefile 2011-03-11 21:08:23.000000000 -0700
+++ phppgadmin-chaz/Makefile    2011-03-12 10:42:36.000000000 -0700
@@ -19,10 +19,11 @@
 NO_BUILD=      YES
 
 PHPPGBASE=     ${PREFIX}/share/phppgadmin
-PHPPGHIER=     conf help sql xloadtree \
-               libraries/adodb/drivers libraries/adodb/lang \
+PHPPGHIER=     conf help js sql xloadtree \
+               libraries/adodb/drivers libraries/js libraries/adodb/lang \
                classes/database classes/plugins lang/recoded \
-               images/themes/default themes/default
+               images/themes/default images/themes/cappuccino \
+               themes/default themes/cappuccino themes/gotar
 
 EGDIR=         ${PREFIX}/share/examples/phppgadmin
 DOCDIR=                ${PREFIX}/share/doc/phppgadmin
@@ -56,10 +57,15 @@
        ${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 \
                ${DESTDIR}${PHPPGBASE}/images/themes/default
+       ${INSTALL_DATA} ${WRKSRC}/images/themes/cappuccino/*.png \
+               ${DESTDIR}${PHPPGBASE}/images/themes/cappuccino
+       ${INSTALL_SCRIPT} ${WRKSRC}/js/* ${DESTDIR}${PHPPGBASE}/js
        ${INSTALL_SCRIPT} ${WRKSRC}/lang/*.* ${DESTDIR}${PHPPGBASE}/lang
        ${INSTALL_SCRIPT} ${WRKSRC}/lang/recoded/*.* 
${DESTDIR}${PHPPGBASE}/lang/recoded
        ${INSTALL_SCRIPT} ${WRKSRC}/libraries/*.php 
${DESTDIR}${PHPPGBASE}/libraries
@@ -69,8 +75,18 @@
                ${DESTDIR}${PHPPGBASE}/libraries/adodb
        ${INSTALL_SCRIPT} ${WRKSRC}/libraries/adodb/drivers/* \
                ${DESTDIR}${PHPPGBASE}/libraries/adodb/drivers
+       ${INSTALL_SCRIPT} ${WRKSRC}/libraries/adodb/lang/* \
+               ${DESTDIR}${PHPPGBASE}/libraries/adodb/lang
+       ${INSTALL_SCRIPT} ${WRKSRC}/libraries/js/jquery.js \
+               ${DESTDIR}${PHPPGBASE}/libraries/js
+       ${INSTALL_DATA} ${WRKSRC}/themes/*.* \
+               ${DESTDIR}${PHPPGBASE}/themes
        ${INSTALL_DATA} ${WRKSRC}/themes/default/global.css \
                ${DESTDIR}${PHPPGBASE}/themes/default
+       ${INSTALL_DATA} ${WRKSRC}/themes/cappuccino/global.css \
+               ${DESTDIR}${PHPPGBASE}/themes/cappuccino
+       ${INSTALL_DATA} ${WRKSRC}/themes/gotar/global.css \
+               ${DESTDIR}${PHPPGBASE}/themes/gotar
        ${INSTALL_DATA} ${WRKSRC}/xloadtree/*.* \
                ${DESTDIR}${PHPPGBASE}/xloadtree
        ${INSTALL_DATA} ${WRKSRC}/conf/config.inc.php-dist ${DESTDIR}${EGDIR}
diff -ur phppgadmin/PLIST phppgadmin-chaz/PLIST
--- phppgadmin/PLIST    2011-03-11 21:08:23.000000000 -0700
+++ phppgadmin-chaz/PLIST       2011-03-12 11:13:16.000000000 -0700
@@ -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
@@ -52,6 +54,13 @@
 share/phppgadmin/help/PostgresDoc84.php
 share/phppgadmin/help/PostgresDoc90.php
 share/phppgadmin/history.php
+share/phppgadmin/images/themes/cappuccino/Lminus.png
+share/phppgadmin/images/themes/cappuccino/Lplus.png
+share/phppgadmin/images/themes/cappuccino/Tminus.png
+share/phppgadmin/images/themes/cappuccino/Tplus.png
+share/phppgadmin/images/themes/cappuccino/inputbckg.png
+share/phppgadmin/images/themes/cappuccino/openListe.png
+share/phppgadmin/images/themes/cappuccino/title.png
 share/phppgadmin/images/themes/default/AddArguments.png
 share/phppgadmin/images/themes/default/Admin.png
 share/phppgadmin/images/themes/default/Aggregate.png
@@ -191,6 +200,9 @@
 share/phppgadmin/indexes.php
 share/phppgadmin/info.php
 share/phppgadmin/intro.php
+share/phppgadmin/js/ac_insert_row.js
+share/phppgadmin/js/database.js
+share/phppgadmin/js/display.js
 share/phppgadmin/lang/afrikaans.php
 share/phppgadmin/lang/arabic.php
 share/phppgadmin/lang/catalan.php
@@ -267,6 +279,29 @@
 share/phppgadmin/libraries/adodb/drivers/adodb-postgres64.inc.php
 share/phppgadmin/libraries/adodb/drivers/adodb-postgres7.inc.php
 share/phppgadmin/libraries/adodb/drivers/adodb-postgres8.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-ar.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-bg.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-bgutf8.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-ca.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-cn.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-cz.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-da.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-de.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-en.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-es.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-esperanto.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-fa.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-fr.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-hu.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-it.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-nl.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-pl.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-pt-br.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-ro.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-ru1251.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-sv.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb-uk1251.inc.php
+share/phppgadmin/libraries/adodb/lang/adodb_th.inc.php
 share/phppgadmin/libraries/adodb/license.txt
 share/phppgadmin/libraries/adodb/readme.txt
 share/phppgadmin/libraries/adodb/toexport.inc.php
@@ -274,6 +309,7 @@
 share/phppgadmin/libraries/decorator.inc.php
 share/phppgadmin/libraries/errorhandler.inc.php
 share/phppgadmin/libraries/highlight.php
+share/phppgadmin/libraries/js/jquery.js
 share/phppgadmin/libraries/lib.inc.php
 share/phppgadmin/links.js
 share/phppgadmin/login.php
@@ -298,7 +334,11 @@
 share/phppgadmin/tables.php
 share/phppgadmin/tablespaces.php
 share/phppgadmin/tblproperties.php
+share/phppgadmin/themes/cappuccino/global.css
 share/phppgadmin/themes/default/global.css
+share/phppgadmin/themes/global.css
+share/phppgadmin/themes/gotar/global.css
+share/phppgadmin/themes/themes.php
 share/phppgadmin/triggers.php
 share/phppgadmin/types.php
 share/phppgadmin/users.php
@@ -306,6 +346,3 @@
 share/phppgadmin/views.php
 share/phppgadmin/xloadtree/xloadtree2.js
 share/phppgadmin/xloadtree/xtree2.js
-@pkgdir share/phppgadmin/libraries/adodb/lang
-@pkgdir share/phppgadmin/conf
-@pkgdir share/phppgadmin/classes/plugins



Home | Main Index | Thread Index | Old Index