Changeset 974 for trunk/packages


Ignore:
Timestamp:
Oct 1, 2008, 2:10:33 AM (16 years ago)
Author:
price
Message:

port to postgresql 8.3

Location:
trunk/packages/sipb-xen-database
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/debian/changelog

    r972 r974  
     1sipb-xen-database (10.23) unstable; urgency=low
     2
     3  * switch to postgresql 8.3, as 8.1 isn't in hardy
     4
     5 -- Greg Price <price@mit.edu>  Wed, 01 Oct 2008 02:09:43 -0400
     6
    17sipb-xen-database (10.22) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-database/debian/control

    r972 r974  
    1515Package: sipb-xen-database-server
    1616Architecture: all
    17 Depends: ${misc:Depends}, ${python:Depends}, postgresql, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, adduser
     17Depends: ${misc:Depends}, ${python:Depends}, postgresql-8.3, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, adduser
    1818Description: Installs the SIPB Xen database server
    1919 This tracks all the user VMs and is accessed from the VM host
     
    2121Package: sipb-xen-database-client
    2222Architecture: all
    23 Depends: ${misc:Depends}, postgresql-client, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, python
     23Depends: ${misc:Depends}, postgresql-client-8.3, python-sqlalchemy, python-psycopg2, sipb-xen-database-common, python
    2424Description: Installs the SIPB Xen database configuration file
    2525 This is a python xen configuration script that talks to the database
  • trunk/packages/sipb-xen-database/debian/rules

    r923 r974  
    44DEB_DIVERT_EXTENSION = .invirt
    55DEB_DIVERT_FILES_sipb-xen-database-server += \
    6 /etc/postgresql/8.1/main/postgresql.conf.invirt
     6/etc/postgresql/8.3/main/postgresql.conf.invirt
    77
    88
  • trunk/packages/sipb-xen-database/debian/sipb-xen-database-server.init

    r918 r974  
    3838gen_config()
    3939{
    40     for i in /etc/postgresql/8.1/main/pg_hba.conf
     40    for i in /etc/postgresql/8.3/main/pg_hba.conf
    4141             ; do
    4242        mako-render $i.mako > $i
  • trunk/packages/sipb-xen-database/debian/sipb-xen-database-server.postinst

    r918 r974  
    3636            adduser --system sipb-xen
    3737        fi
    38         mako-render /etc/postgresql/8.1/main/pg_hba.conf.mako >/etc/postgresql/8.1/main/pg_hba.conf
    39         /etc/init.d/postgresql-8.1 restart
     38        mako-render /etc/postgresql/8.3/main/pg_hba.conf.mako >/etc/postgresql/8.3/main/pg_hba.conf
     39        /etc/init.d/postgresql-8.3 restart
    4040        su sipb-xen -s /bin/sh -c 'sipb-xen-database-tables create'
    4141    ;;
  • trunk/packages/sipb-xen-database/server/etc/postgresql/8.3/main/postgresql.conf.invirt

    r923 r974  
    3434
    3535#data_directory = 'ConfigDir'           # use data in another directory
    36 hba_file = '/etc/postgresql/8.1/main/pg_hba.conf'       # host-based authentication file
    37 ident_file = '/etc/postgresql/8.1/main/pg_ident.conf'   # IDENT configuration file
     36hba_file = '/etc/postgresql/8.3/main/pg_hba.conf'       # host-based authentication file
     37ident_file = '/etc/postgresql/8.3/main/pg_ident.conf'   # IDENT configuration file
    3838
    3939# If external_pid_file is not explicitly set, no extra pid file is written.
    40 external_pid_file = '/var/run/postgresql/8.1-main.pid'          # write an extra pid file
     40external_pid_file = '/var/run/postgresql/8.3-main.pid'          # write an extra pid file
    4141
    4242
Note: See TracChangeset for help on using the changeset viewer.