Changeset 1288
- Timestamp:
- Oct 25, 2008, 8:58:40 PM (16 years ago)
- 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 1 invirt-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 1 9 sipb-xen-database (10.36.1) unstable; urgency=low 2 10 -
trunk/packages/invirt-database-server/debian/invirt-database-server.init
r1287 r1288 1 1 #!/bin/bash 2 2 ### BEGIN INIT INFO 3 # Provides: sipb-xen-database-server3 # Provides: invirt-database-server 4 4 # Required-Start: $local_fs $remote_fs 5 5 # Required-Stop: $local_fs $remote_fs 6 6 # Default-Start: 2 3 4 5 7 7 # Default-Stop: 0 1 6 8 # Short-Description: sipb-xendatabase server8 # Short-Description: Invirt database server 9 9 # Description: 10 10 ### END INIT INFO 11 11 12 PACKAGE= sipb-xen-database-server12 PACKAGE=invirt-database-server 13 13 PARENTPACKAGE=postgresql-8.3 14 14 GEN_FILES=/etc/postgresql/8.3/main/pg_hba.conf -
trunk/packages/invirt-database-server/debian/invirt-database-server.postinst
r1287 r1288 1 1 #!/bin/sh 2 # postinst script for #PACKAGE#2 # postinst script for invirt-database-server 3 3 # 4 4 # see: dh_installdeb(1) … … 32 32 if [ -z "$2" ]; then 33 33 # Don't fail if the user/database already exists 34 su postgres -c 'createuser sipb-xen-S -d -R' || true35 su postgres -c 'createdb sipb_xen -O sipb-xen' || true36 adduser --system sipb-xen34 su postgres -c 'createuser invirt -S -d -R' || true 35 su postgres -c 'createdb invirt -O invirt' || true 36 adduser --system invirt 37 37 fi 38 mako-render /etc/postgresql/8.3/main/pg_hba.conf.mako >/etc/postgresql/8.3/main/pg_hba.conf39 38 /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' 41 40 ;; 42 41 -
trunk/packages/invirt-database-server/debian/invirt-database-server.prerm
r1287 r1288 1 1 #!/bin/sh 2 # prerm script for #PACKAGE#2 # prerm script for invirt-database-server 3 3 # 4 4 # see: dh_installdeb(1) … … 22 22 23 23 # 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-xen24 # su postgres -c 'dropdb invirt' 25 # su postgres -c 'dropuser invirt' 26 deluser invirt 27 27 ;; 28 28 -
trunk/packages/invirt-database-server/debian/rules
r1287 r1288 1 1 #!/usr/bin/make -f 2 2 3 DEB_DIVERT_EXTENSION = .invirt 3 4 4 DEB_DIVERT_EXTENSION = .invirt 5 DEB_DIVERT_FILES_sipb-xen-database-server += \ 6 /etc/postgresql/8.3/main/postgresql.conf.invirt \ 5 DEB_TRANSFORM_FILES_invirt-database-server += \ 6 /etc/postgresql/8.3/main/postgresql.conf.invirt 7 8 DEB_DIVERT_FILES_invirt-database-server += \ 7 9 /etc/init.d/postgresql-8.3.invirt 8 10 9 11 include /usr/share/cdbs/1/rules/debhelper.mk 10 12 include /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 1 invirt-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 1 9 sipb-xen-database (10.36.1) unstable; urgency=low 2 10
Note: See TracChangeset
for help on using the changeset viewer.