diff options
author | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2009-12-15 21:20:59 +0000 |
---|---|---|
committer | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2009-12-15 21:20:59 +0000 |
commit | 6c43cdb0313845b60385849a2a92c8c91b14ea74 (patch) | |
tree | b59e2ea239b91ed4cc0eba658b5baea31d720193 /www-apps/flyspray/files | |
parent | media-video/image2mpeg: New Ebuild for bug 137362 (diff) | |
download | sunrise-reviewed-6c43cdb0313845b60385849a2a92c8c91b14ea74.tar.gz sunrise-reviewed-6c43cdb0313845b60385849a2a92c8c91b14ea74.tar.bz2 sunrise-reviewed-6c43cdb0313845b60385849a2a92c8c91b14ea74.zip |
www-apps/flyspray: New ebuild for bug 91078, thanks to tommy[d] and sedzimir
svn path=/sunrise/; revision=9729
Diffstat (limited to 'www-apps/flyspray/files')
-rw-r--r-- | www-apps/flyspray/files/flyspray-0.9.9.6-system-adodb.patch | 39 | ||||
-rw-r--r-- | www-apps/flyspray/files/postinstall-en.txt | 10 |
2 files changed, 49 insertions, 0 deletions
diff --git a/www-apps/flyspray/files/flyspray-0.9.9.6-system-adodb.patch b/www-apps/flyspray/files/flyspray-0.9.9.6-system-adodb.patch new file mode 100644 index 000000000..0acea2a98 --- /dev/null +++ b/www-apps/flyspray/files/flyspray-0.9.9.6-system-adodb.patch @@ -0,0 +1,39 @@ +diff -u /var/tmp/portage/www-apps/flyspray-0.9.9.6/work.x86/includes/class.database.php /tmp/buffer-content-5978U1d +--- a/includes/class.database.php 2009-04-19 10:22:30.000000000 -0400 ++++ b/includes/class.database.php 2009-12-14 18:54:57.000000000 -0500 +@@ -16,7 +16,8 @@ + die('Do not access this file directly.');
+ }
+
+-require_once dirname(dirname(__FILE__)) . '/adodb/adodb.inc.php';
++set_include_path(get_include_path() . ':' . dirname(dirname(__FILE__)));
++require_once 'adodb/adodb.inc.php';
+
+ class Database
+ {
+ +diff -u /var/tmp/portage/www-apps/flyspray-0.9.9.6/work.amd64/setup/index.php /tmp/buffer-content-5978h_j +--- a/setup/index.php 2009-04-24 20:20:26.000000000 -0400 ++++ b/setup/index.php 2009-12-14 19:33:48.000000000 -0500 +@@ -8,9 +8,9 @@ +
+ @set_time_limit(0);
+ session_start();
+-//do it fastest as possible.
++//do it as fast as possible.
+ ini_set('memory_limit', '64M');
+-
++set_include_path(get_include_path() . ':' . dirname(dirname(__FILE__)));
+
+ if (is_readable ('../flyspray.conf.php') && count(parse_ini_file('../flyspray.conf.php')) > 0)
+ {
+@@ -88,7 +88,7 @@ + function Setup()
+ {
+ // Look for ADOdb
+- $this->mAdodbPath = APPLICATION_PATH . '/adodb/adodb.inc.php';
++ $this->mAdodbPath = 'adodb/adodb.inc.php';
+ $this->mProductName = 'Flyspray';
+ $this->mMinPasswordLength = 8;
+
+ diff --git a/www-apps/flyspray/files/postinstall-en.txt b/www-apps/flyspray/files/postinstall-en.txt new file mode 100644 index 000000000..7a395775a --- /dev/null +++ b/www-apps/flyspray/files/postinstall-en.txt @@ -0,0 +1,10 @@ + To finish the installation, login to + http://${VHOST_HOSTNAME}${VHOST_APPDIR} + and follow the directions. + + Make sure that php's safemode is disabled. + + You also must make sure that your server can + write to the attachments and cache subdirectories. + The installation instructions will remind you to + do so. |