Changeset 1288


Ignore:
Timestamp:
Oct 25, 2008, 8:58:40 PM (16 years ago)
Author:
broder
Message:

sipb-xen-database-common -> invirt-database
sipb-xen-database-server -> invirt-database-server

Location:
trunk/packages
Files:
13 added
5 deleted
2 copied
13 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database-server/debian/changelog

    r1287 r1288  
     1invirt-database-server (0.0.1) unstable; urgency=low
     2
     3  * sipb-xen-database-common -> invirt-database
     4  * sipb-xen-database-server -> invirt-database-server (a separate source package)
     5  * sipb-xen-database-client -> invirt-xen-config
     6
     7 -- Evan Broder <broder@mit.edu>  Sat, 25 Oct 2008 19:22:46 -0400
     8
    19sipb-xen-database (10.36.1) unstable; urgency=low
    210
  • trunk/packages/invirt-database-server/debian/invirt-database-server.init

    r1287 r1288  
    11#!/bin/bash
    22### BEGIN INIT INFO
    3 # Provides:          sipb-xen-database-server
     3# Provides:          invirt-database-server
    44# Required-Start:    $local_fs $remote_fs
    55# Required-Stop:     $local_fs $remote_fs
    66# Default-Start:     2 3 4 5
    77# Default-Stop:      0 1 6
    8 # Short-Description: sipb-xen database server
     8# Short-Description: Invirt database server
    99# Description:       
    1010### END INIT INFO
    1111
    12 PACKAGE=sipb-xen-database-server
     12PACKAGE=invirt-database-server
    1313PARENTPACKAGE=postgresql-8.3
    1414GEN_FILES=/etc/postgresql/8.3/main/pg_hba.conf
  • trunk/packages/invirt-database-server/debian/invirt-database-server.postinst

    r1287 r1288  
    11#!/bin/sh
    2 # postinst script for #PACKAGE#
     2# postinst script for invirt-database-server
    33#
    44# see: dh_installdeb(1)
     
    3232        if [ -z "$2" ]; then
    3333            # Don't fail if the user/database already exists
    34             su postgres -c 'createuser sipb-xen -S -d -R'    || true
    35             su postgres -c 'createdb sipb_xen -O sipb-xen'   || true
    36             adduser --system sipb-xen
     34            su postgres -c 'createuser invirt -S -d -R'    || true
     35            su postgres -c 'createdb invirt -O invirt'   || true
     36            adduser --system invirt
    3737        fi
    38         mako-render /etc/postgresql/8.3/main/pg_hba.conf.mako >/etc/postgresql/8.3/main/pg_hba.conf
    3938        /etc/init.d/postgresql-8.3 restart
    40         su sipb-xen -s /bin/sh -c 'sipb-xen-database-tables create'
     39        su invirt -s /bin/sh -c 'invirt-database-tables create'
    4140    ;;
    4241
  • trunk/packages/invirt-database-server/debian/invirt-database-server.prerm

    r1287 r1288  
    11#!/bin/sh
    2 # prerm script for #PACKAGE#
     2# prerm script for invirt-database-server
    33#
    44# see: dh_installdeb(1)
     
    2222
    2323        # This will destroy data -- do we want to do this?
    24         # su postgres -c 'dropdb sipb_xen'
    25         # su postgres -c 'dropuser sipb-xen'
    26         deluser sipb-xen
     24        # su postgres -c 'dropdb invirt'
     25        # su postgres -c 'dropuser invirt'
     26        deluser invirt
    2727    ;;
    2828
  • trunk/packages/invirt-database-server/debian/rules

    r1287 r1288  
    11#!/usr/bin/make -f
    22
     3DEB_DIVERT_EXTENSION = .invirt
    34
    4 DEB_DIVERT_EXTENSION = .invirt
    5 DEB_DIVERT_FILES_sipb-xen-database-server += \
    6         /etc/postgresql/8.3/main/postgresql.conf.invirt \
     5DEB_TRANSFORM_FILES_invirt-database-server += \
     6        /etc/postgresql/8.3/main/postgresql.conf.invirt
     7
     8DEB_DIVERT_FILES_invirt-database-server += \
    79        /etc/init.d/postgresql-8.3.invirt
    810
    911include /usr/share/cdbs/1/rules/debhelper.mk
    1012include /usr/share/cdbs/1/rules/config-package.mk
    11 
    12 binary-install/sipb-xen-database-common::
    13         dh_pysupport -psipb-xen-database-common
  • trunk/packages/invirt-database/debian/changelog

    r1287 r1288  
     1invirt-database (0.0.1) unstable; urgency=low
     2
     3  * sipb-xen-database-common -> invirt-database
     4  * sipb-xen-database-server -> invirt-database-server (a separate source package)
     5  * sipb-xen-database-client -> invirt-xen-config
     6
     7 -- Evan Broder <broder@mit.edu>  Sat, 25 Oct 2008 19:22:46 -0400
     8
    19sipb-xen-database (10.36.1) unstable; urgency=low
    210
Note: See TracChangeset for help on using the changeset viewer.