[open-ils-commits] [GIT] Evergreen ILS branch master updated. 17c9ebd5d6d3548b23693c544d0ec1d94928d03f
Evergreen Git
git at git.evergreen-ils.org
Wed Oct 12 09:45:47 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 17c9ebd5d6d3548b23693c544d0ec1d94928d03f (commit)
via 12364ddc04685660fab3f1462910d38cfd94beb7 (commit)
via 7f8dc5342ca5bb9f93e46bf931d98a198916943e (commit)
from 0738f5462cc9ae6af9785608a5230498883521e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 17c9ebd5d6d3548b23693c544d0ec1d94928d03f
Author: Dan Scott <dscott at laurentian.ca>
Date: Wed Oct 12 09:43:40 2011 -0400
README: For master, focus on PostgreSQL 9.1
Given that the backports for Debian and Ubuntu already offer PostgreSQL
9.1, and Fedora 16 (out in a few weeks) comes with 9.1, focus on 9.1
where it is available.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/README b/README
index e455547..cb307c5 100644
--- a/README
+++ b/README
@@ -294,24 +294,21 @@ Creating the Evergreen database:
--------------------------------
By default, the `Makefile.install` prerequisite installer does not install
-the PostgreSQL 9.0/9.1 database server required by every Evergreen system;
+the PostgreSQL 9 database server required by every Evergreen system;
for production use, most libraries install the PostgreSQL database server on a
-dedicated machine. You can install the packages required by Debian, Ubuntu, or
-Fedora on the machine of your choice using the following commands as the *root*
+dedicated machine. You can install the packages required by Debian or Ubuntu
+on the machine of your choice using the following commands as the *root*
Linux account:
-.(Debian / Ubuntu) Installing PostgreSQL 9.0 server packages
-[source, bash]
-------------------------------------------------------------------------------
-make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_90
-------------------------------------------------------------------------------
-
.(Debian / Ubuntu) Installing PostgreSQL 9.1 server packages
[source, bash]
------------------------------------------------------------------------------
make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_91
------------------------------------------------------------------------------
+You can install the packages required by Fedora on the machine of your choice
+using the following commands as the *root* Linux account:
+
.(Fedora 15) Installing PostgreSQL 9.0 server packages
[source, bash]
------------------------------------------------------------------------------
@@ -321,7 +318,7 @@ make -f Open-ILS/src/extras/Makefile.install install_fedora_pgsql_server
For a standalone PostgreSQL server, install the following Perl modules as the
*root* Linux account:
-.(Debian / Ubuntu) Installing additional Perl modules on a standalone PostgreSQL 9.0 server
+.(Debian / Ubuntu) Installing additional Perl modules on a standalone PostgreSQL 9 server
[source, bash]
------------------------------------------------------------------------------
aptitude install gcc libxml-libxml-perl libxml-libxslt-perl
@@ -333,7 +330,7 @@ cpan MARC::File::XML
cpan UUID::Tiny
------------------------------------------------------------------------------
-.(Fedora 15) Installing additional Perl modules on a standalone PostgreSQL 9.0 server
+.(Fedora 15) Installing additional Perl modules on a standalone PostgreSQL 9 server
[source, bash]
------------------------------------------------------------------------------
yum install gcc perl-XML-LibXML perl-XML-LibXSLT perl-Business-ISBN
commit 12364ddc04685660fab3f1462910d38cfd94beb7
Author: Thomas Berezansky <tsbere at mvlc.org>
Date: Wed Oct 12 09:06:31 2011 -0400
Add instructions/targets for Ubuntu/Debian PG9.1
No Fedora/RHEL/CentOS changes due to my lack of test environment.
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install
index c5e0a0e..ae74df9 100644
--- a/Open-ILS/src/extras/Makefile.install
+++ b/Open-ILS/src/extras/Makefile.install
@@ -217,6 +217,12 @@ PGSQL_SERVER_DEBS_90 = \
postgresql-plperl-9.0 \
postgresql-server-dev-9.0
+PGSQL_SERVER_DEBS_91 = \
+ postgresql-9.1 \
+ postgresql-contrib-9.1 \
+ postgresql-plperl-9.1 \
+ postgresql-server-dev-9.1
+
DEB_APACHE_MODS = \
expires\
include\
@@ -424,6 +430,9 @@ install_pgsql_client_debs_90:
install_pgsql_server_debs_90:
$(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_90)
+install_pgsql_server_debs_91:
+ $(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_91)
+
# Install the debian-specific dependencies for more modern distros
install_extra_debs_squeeze: install_extra_debs
$(APT_TOOL) install $(EXTRA_DEBS_SQUEEZE)
diff --git a/README b/README
index f3c96c6..e455547 100644
--- a/README
+++ b/README
@@ -294,7 +294,7 @@ Creating the Evergreen database:
--------------------------------
By default, the `Makefile.install` prerequisite installer does not install
-the PostgreSQL 9.0 database server required by every Evergreen system;
+the PostgreSQL 9.0/9.1 database server required by every Evergreen system;
for production use, most libraries install the PostgreSQL database server on a
dedicated machine. You can install the packages required by Debian, Ubuntu, or
Fedora on the machine of your choice using the following commands as the *root*
@@ -306,6 +306,12 @@ Linux account:
make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_90
------------------------------------------------------------------------------
+.(Debian / Ubuntu) Installing PostgreSQL 9.1 server packages
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_91
+------------------------------------------------------------------------------
+
.(Fedora 15) Installing PostgreSQL 9.0 server packages
[source, bash]
------------------------------------------------------------------------------
commit 7f8dc5342ca5bb9f93e46bf931d98a198916943e
Author: Thomas Berezansky <tsbere at mvlc.org>
Date: Wed Oct 12 08:51:01 2011 -0400
Fix README for 9.1+ DB creation instructions
Also fix 9.0 typo of - instead of _ in filename.
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/README b/README
index 60ca4e5..f3c96c6 100644
--- a/README
+++ b/README
@@ -374,13 +374,15 @@ Evergreen administrator account to your requested values.
Creating the database on a remote server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In a production instance of Evergreen, your PostgreSQL server should be
-installed on a dedicated server. To create the database in that case, you
-can either:
+installed on a dedicated server. For PostgreSQL 9.1 and later you should be
+able to continue to use the --create-database flag on eg_db_config.pl, without
+needing to install any server modules on your application machine. For
+PostgreSQL 9.0 you can either:
* Install the PostgreSQL contrib modules on the machine on which you
are installing the Evergreen code, and use the --create-database
option from that machine, or
- * Copy the `Open-ILS/src/sql/Pg/create-database.sql` script to your
+ * Copy the `Open-ILS/src/sql/Pg/create_database.sql` script to your
PostgreSQL server and invoke it as the *postgres* Linux account:
+
[source, bash]
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/extras/Makefile.install | 9 +++++++++
README | 25 +++++++++++++++----------
2 files changed, 24 insertions(+), 10 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list