+sipb-xen-database (10.23) unstable; urgency=low
+
+ * switch to postgresql 8.3, as 8.1 isn't in hardy
+
+ -- Greg Price <price@mit.edu> Wed, 01 Oct 2008 02:09:43 -0400
+
sipb-xen-database (10.22) unstable; urgency=low
* depend on postgresql without specifying old version 8.1
Package: sipb-xen-database-server
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, postgresql, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, adduser
+Depends: ${misc:Depends}, ${python:Depends}, postgresql-8.3, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, adduser
Description: Installs the SIPB Xen database server
This tracks all the user VMs and is accessed from the VM host
Package: sipb-xen-database-client
Architecture: all
-Depends: ${misc:Depends}, postgresql-client, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, python
+Depends: ${misc:Depends}, postgresql-client-8.3, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, python
Description: Installs the SIPB Xen database configuration file
This is a python xen configuration script that talks to the database
to dynamically load xen domU configuration information
DEB_DIVERT_EXTENSION = .invirt
DEB_DIVERT_FILES_sipb-xen-database-server += \
-/etc/postgresql/8.1/main/postgresql.conf.invirt
+/etc/postgresql/8.3/main/postgresql.conf.invirt
include /usr/share/cdbs/1/rules/debhelper.mk
gen_config()
{
- for i in /etc/postgresql/8.1/main/pg_hba.conf
+ for i in /etc/postgresql/8.3/main/pg_hba.conf
; do
mako-render $i.mako > $i
done
su postgres -c 'createdb sipb_xen -O sipb-xen' || true
adduser --system sipb-xen
fi
- mako-render /etc/postgresql/8.1/main/pg_hba.conf.mako >/etc/postgresql/8.1/main/pg_hba.conf
- /etc/init.d/postgresql-8.1 restart
+ mako-render /etc/postgresql/8.3/main/pg_hba.conf.mako >/etc/postgresql/8.3/main/pg_hba.conf
+ /etc/init.d/postgresql-8.3 restart
su sipb-xen -s /bin/sh -c 'sipb-xen-database-tables create'
;;
# switch or PGDATA environment variable, represented here as ConfigDir.
#data_directory = 'ConfigDir' # use data in another directory
-hba_file = '/etc/postgresql/8.1/main/pg_hba.conf' # host-based authentication file
-ident_file = '/etc/postgresql/8.1/main/pg_ident.conf' # IDENT configuration file
+hba_file = '/etc/postgresql/8.3/main/pg_hba.conf' # host-based authentication file
+ident_file = '/etc/postgresql/8.3/main/pg_ident.conf' # IDENT configuration file
# If external_pid_file is not explicitly set, no extra pid file is written.
-external_pid_file = '/var/run/postgresql/8.1-main.pid' # write an extra pid file
+external_pid_file = '/var/run/postgresql/8.3-main.pid' # write an extra pid file
#---------------------------------------------------------------------------