summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2011-10-07 18:06:00 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-07 18:11:06 +0200
commit53f19edb5795cbb31263f00a01d443f222deb970 (patch)
tree40a4d3afa96c39de82cf9be3012d54e0db29883b
parenta30e5a76d3e0c5096d729cb3929e5297d34dcf1d (diff)
downloadrteval-53f19edb5795cbb31263f00a01d443f222deb970.tar.gz
rteval-53f19edb5795cbb31263f00a01d443f222deb970.tar.xz
rteval-53f19edb5795cbb31263f00a01d443f222deb970.zip
rteval-parsed/rteval-xmlrpc v1.5
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r--Makefile2
-rw-r--r--server/Makefile.am1
-rw-r--r--server/README.xmlrpc24
-rw-r--r--server/configure.ac2
4 files changed, 20 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 01cd608..34c20ea 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ XSLSRC := rteval/rteval_dmi.xsl \
CONFSRC := rteval/rteval.conf
# XML-RPC related files
-XMLRPCVER := 1.4
+XMLRPCVER := 1.5
XMLRPCDIR := server
DESTDIR :=
diff --git a/server/Makefile.am b/server/Makefile.am
index 6d05c86..bf56ac4 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -27,6 +27,7 @@ dist_doc_DATA = parser/README.parser \
sql/delta-1.0_1.1.sql \
sql/delta-1.1_1.2.sql \
sql/delta-1.2_1.3.sql \
+ sql/delta-1.3_1.4.sql \
sql/rteval-$(SQLSCHEMAVER).sql
apache-rteval.conf:
diff --git a/server/README.xmlrpc b/server/README.xmlrpc
index 438657a..20bade2 100644
--- a/server/README.xmlrpc
+++ b/server/README.xmlrpc
@@ -21,7 +21,7 @@ track how each system changes behaviour on different kernels.
** Requirements
**
- Apache web server
- - mod_python-3.3.x
+ - mod_python-3.3.x OR mod_wsgi-3.2 or newer.
- PostgreSQL v8.3 or later
- rteval 1.12 or later
@@ -37,7 +37,7 @@ The default path used for the rteval client is
If you have a HTTP setup which will follow this scheme, you do not
need to change any URLs at all.
-When installing the rteval-xmlrpc-1.1 RPM on a Fedora/RHEL based box,
+When installing the rteval-xmlrpc-1.4 RPM on a Fedora/RHEL based box,
Apache will be automatically configured. But the Apache web server
will need to be restarted when you have setup the database.
@@ -56,7 +56,7 @@ All reports are saved in a database. If you have not used the
rteval-xmlrpc interface before, you need to create the needed database
user and database, execute the following command line:
- # psql < /usr/share/doc/rteval-xmlrpc-1.1/rteval-1.2.sql
+ # psql < /usr/share/doc/rteval-xmlrpc-1.5/rteval-1.4.sql
This script will first create a database user called 'rtevxmlrpc' and
'rtevparser', assign default password before creating the database called
@@ -69,10 +69,11 @@ directory. You need to allow the xmlrpc user access from the web
server.
pg_hba.conf entry example:
-
+-----------------------------------------------------------------
# TYPE DATABASE USER CIDR-ADDRESS METHOD
hostssl rteval rtevxmlrpc 127.0.0.1/32 md5
hostssl rteval rtevparser 127.0.0.1/32 md5
+-----------------------------------------------------------------
The XML-RPC database connector will always try to connect via SSL. To
modify the default password, connect to the database with psql and
@@ -106,12 +107,21 @@ To find out which schema version you using, do the following:
This indicates that the database is at the schema version 1.1. If you do not
have the rteval_info table, you are for sure on schema version 1.0.
-* Update from schema version 1.0 to 1.1
+* Update from SQL schema version 1.0 to 1.1
psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.0_1.1.sql
-* Update from schema version 1.2 to 1.2
+* Update from SQL schema version 1.1 to 1.2
psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.1_1.2.sql
+* Update from SQL schema version 1.2 to 1.3
+ psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.2_1.3.sql
+
+* Update from SQL schema version 1.3 to 1.4
+ psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.3_1.4.sql
+
+You need to upgrade to the latest SQL schema available, and you must upgrade
+sequentially through all the version in between your version and the latest.
+
**
** Building an installing from source
@@ -137,7 +147,7 @@ install'. The default install prefix is /usr/local, unless you
changed it with --prefix=<path>. You will then find the
rteval_parserd installed under /usr/local/bin/rteval_parserd and
README files, the SQL scripts and an Apache config file will be found
-under /usr/local/share/doc/rteval-parser-1.1/
+under /usr/local/share/doc/rteval-parser-1.5/
The Apache configuration file can be copied into the configuration
directory Apache uses for its modules. On RHEL/Fedora based
diff --git a/server/configure.ac b/server/configure.ac
index 4a58def..d0721c3 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -26,7 +26,7 @@
#
AC_INIT([rteval-xmlrpc], [1.5], [davids@redhat.com])
-SQLSCHEMAVER=1.3
+SQLSCHEMAVER=1.4
AC_SUBST(SQLSCHEMAVER)
AM_INIT_AUTOMAKE([-Wall -Werror foreign])