[csw-devel] SF.net SVN: gar:[5010] csw/mgar/pkg/drupal/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Fri May 22 19:19:59 CEST 2009
Revision: 5010
http://gar.svn.sourceforge.net/gar/?rev=5010&view=rev
Author: valholla
Date: 2009-05-22 17:19:58 +0000 (Fri, 22 May 2009)
Log Message:
-----------
make relocatable
Modified Paths:
--------------
csw/mgar/pkg/drupal/trunk/Makefile
csw/mgar/pkg/drupal/trunk/checksums
csw/mgar/pkg/drupal/trunk/files/README.CSW
Modified: csw/mgar/pkg/drupal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/drupal/trunk/Makefile 2009-05-22 17:08:33 UTC (rev 5009)
+++ csw/mgar/pkg/drupal/trunk/Makefile 2009-05-22 17:19:58 UTC (rev 5010)
@@ -23,6 +23,7 @@
SPKG_SOURCEURL = http://drupal.org/
SPKG_DESC_CSWdrupal = $(DESCRIPTION)
+ALLOW_RELOCATE = 1
# We define upstream file regex so we can be notifed of
# new upstream software release
Modified: csw/mgar/pkg/drupal/trunk/checksums
===================================================================
--- csw/mgar/pkg/drupal/trunk/checksums 2009-05-22 17:08:33 UTC (rev 5009)
+++ csw/mgar/pkg/drupal/trunk/checksums 2009-05-22 17:19:58 UTC (rev 5010)
@@ -1,3 +1,4 @@
-50393aa311a5d0d92522e7215439119e download/README.CSW
+35825d0cc6e5c7792baa295d73b2ec19 download/README.CSW
82e2517f175320cffe20997333b3a33a download/drupal-6.12.tar.gz
26a7b490bfe0b52a9ff85880dd3aede1 download/httpd-drupal.conf.CSW
+827f7d5f390a53577fc11ac17ad66651 download/uploaddir.diff
Modified: csw/mgar/pkg/drupal/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/drupal/trunk/files/README.CSW 2009-05-22 17:08:33 UTC (rev 5009)
+++ csw/mgar/pkg/drupal/trunk/files/README.CSW 2009-05-22 17:19:58 UTC (rev 5010)
@@ -13,11 +13,20 @@
e) chown -R nobody:nobody /var/opt/csw/drupal
2) Setup the Drupal Database
+ See Below
-3) Point Your Web browser to
+3) Setup your webserver
+ a) cp drupal/6.12/contrib/httpd-drupal.conf.CSW \
+ /opt/csw/apache2/etc/extra/httpd-drupal.conf
+ b) echo 'Include etc/extra/httpd-drupal.conf' \
+ >>/opt/csw/apache2/etc/httpd.conf
+ c) restart your webserver
+
+4) Point Your Web browser to
http://mydomain/drupal/index.php
-and follow the instructions
+and follow the onscreen instructions
+
Setup the Drupal Database
=========================
Drupal Requires either:
@@ -27,13 +36,13 @@
Using MySQL
===========
1) if you have not done so, install mysql
-# pkg-get -i mysql5rt mysql5client mysql5 php5_mysqli
+ a) pkg-get -i mysql5rt mysql5client mysql5 php5_mysqli
2) configure and start mysql
3) Add /opt/csw/mysql5/bin to your PATH
4) Set Permissions on the new DB
-# mysql -u root -p
- ** root can be any user that has superuser priv for MySQL
-At the mysql prompt enter the following commands:
+ a) mysql -u root -p
+ ** root can be any user that has superuser priv for MySQL
+ b) At the mysql prompt enter the following commands:
CREATE DATABASE drupal ;
USE drupal;
GRANT ALL ON drupal.* TO drupal at localhost IDENTIFIED BY 'PASSWORD_CHANGE_ME';
@@ -42,10 +51,10 @@
Using PostgreSQL
================
1) if you have not done so, install postgresql
-# pkg-get -i postgresql php5_pgsql
+ a) pkg-get -i postgresql php5_pgsql
2) Create DB User
-# createuser --pwprompt --encrypted --no-adduser --no-createdb drupal
- ** this will prompt you for a password for the new drupal user
+ a) createuser --pwprompt --encrypted --no-adduser --no-createdb drupal
+ ** this will prompt you for a password for the new drupal user
3) createdb --encoding=UNICODE --owner=drupal drupal
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list