summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@c1pher.net>2014-12-12 19:19:04 -0500
committerDane Smith <c1pher@c1pher.net>2014-12-12 19:19:04 -0500
commit63c7bfdb84648a2c41da5febcb1c008dfd597a33 (patch)
treefc8b7410590a42daf1cf35b2567ca744b9fb3851 /www-apps/indefero/files
parentLive ebuild for webscarab (diff)
downloadc1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.tar.gz
c1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.tar.bz2
c1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.zip
Drop ancient stuff
Diffstat (limited to 'www-apps/indefero/files')
-rw-r--r--www-apps/indefero/files/bootstrap.php22
-rwxr-xr-xwww-apps/indefero/files/dbsetup.sh3
-rw-r--r--www-apps/indefero/files/indefero-gentoo.diff28
-rw-r--r--www-apps/indefero/files/postinstall-en.txt29
4 files changed, 0 insertions, 82 deletions
diff --git a/www-apps/indefero/files/bootstrap.php b/www-apps/indefero/files/bootstrap.php
deleted file mode 100644
index e1ee96f..0000000
--- a/www-apps/indefero/files/bootstrap.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-set_include_path("/usr/share/php/pluf");
-
-require '/<PATH TO INDEFERO>/src/IDF/conf/path.php';
-require 'Pluf.php';
-
-Pluf::start('/<PATH TO INDEFERO>/src/IDF/conf/idf.php');
-Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
-
-$user = new Pluf_User();
-$user->first_name = 'Foo';
-$user->last_name = 'Bar'; // Required!
-$user->login = 'foobar'; // must be lowercase!
-$user->email = 'foo@bar.com';
-$user->password = 'foobarbaz'; // the password is salted/hashed
-// in the database, so do not worry :)
-$user->administrator = true;
-$user->active = true;
-$user->create();
-print "Bootstrap ok\n";
-?>
-
diff --git a/www-apps/indefero/files/dbsetup.sh b/www-apps/indefero/files/dbsetup.sh
deleted file mode 100755
index 695d7cd..0000000
--- a/www-apps/indefero/files/dbsetup.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-php /usr/share/php/pluf/migrate.php --conf=IDF/conf/idf.php -a -i -d
diff --git a/www-apps/indefero/files/indefero-gentoo.diff b/www-apps/indefero/files/indefero-gentoo.diff
deleted file mode 100644
index 70a41e2..0000000
--- a/www-apps/indefero/files/indefero-gentoo.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/www/index.php b/www/index.php
-index a1aebf5..c4229ec 100644
---- a/www/index.php
-+++ b/www/index.php
-@@ -21,8 +21,8 @@
- #
- # ***** END LICENSE BLOCK ***** */
-
--require dirname(__FILE__).'/../src/IDF/conf/path.php';
-+require dirname(__FILE__).'/src/IDF/conf/path.php';
- require 'Pluf.php';
--Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');
-+Pluf::start(dirname(__FILE__).'/src/IDF/conf/idf.php');
- Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
- Pluf_Dispatcher::dispatch(Pluf_HTTP_URL::getAction());
-diff --git a/src/IDF/conf/path.php-dist b/src/IDF/conf/path.php-dist
-index d8c90ca..9c566e4 100644
---- a/src/IDF/conf/path.php-dist
-+++ b/src/IDF/conf/path.php-dist
-@@ -29,7 +29,7 @@
- * PLUF_PATH: path to the folder containing the Pluf.php file.
- * IDF_PATH: path to the folder containing the IDF folder.
- */
--define('PLUF_PATH', dirname(__FILE__).'/../../../../pluf/src');
-+define('PLUF_PATH', '/usr/share/php/pluf/');
- define('IDF_PATH', dirname(__FILE__).'/../..');
-
- set_include_path(get_include_path()
diff --git a/www-apps/indefero/files/postinstall-en.txt b/www-apps/indefero/files/postinstall-en.txt
deleted file mode 100644
index 12b1b79..0000000
--- a/www-apps/indefero/files/postinstall-en.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Setting up Indefero
-===================
-
-1) First, using your database of choice, set up a database, username, and
-passord for Indefero.
-
-ie: If using mysql:
- 1) mysql -u root -h localhost -p
- 2) create user '<username for indefero>'@'localhost' identified by
- '<password for indefero>';
- 3) create database <database for indefero>;
- 4) grant all on <database for indefero>.* to '<username for
- indefero>'@'localhost';
-
-2) Depending on where Indefero was installed to (if no USE="vhost" it will be
-under /var/www/localhost/htdocs), edit the file <path to
-indefero>/src/IDF/conf/idf.php . Make sure to use the values for the database
-that you used in step 1.
-
-3) To actually create the needed tables for indefero, cd <path to
-indefero>/src and run dbsetup.sh.
-
-4) Lastly, edit <path to indefero>/bootstrap.php. Change the places where
-it says <PATH TO INDEFERO> to point to the install you're using. Then update
-it to use a username / password of your choice. Then run php <path to indefero>/bootstrap.php.
-When this is done and you see the success, rm <path to
-indefero>/bootstrap.php.
-
-