[Dbconfig-common-changes] dbconfig-common/examples/db-example-2.0/debian control, 1.1, 1.1.2.1 db-test-oracle.config, NONE, 1.1.2.1 db-test-oracle.dirs, NONE, 1.1.2.1 db-test-oracle.postinst, NONE, 1.1.2.1 db-test-oracle.postrm, NONE, 1.1.2.1 db-test-oracle.prerm, NONE, 1.1.2.1 db-test.config, 1.1, 1.1.2.1 db-test.dirs, 1.1, 1.1.2.1 rules, 1.1, 1.1.2.1

xerakko-guest at haydn.debian.org xerakko-guest at haydn.debian.org
Fri Dec 30 09:57:46 CET 2005


Update of /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.0/debian
In directory haydn:/tmp/cvs-serv5136/examples/db-example-2.0/debian

Modified Files:
      Tag: ORACLE
	control db-test.config db-test.dirs rules 
Added Files:
      Tag: ORACLE
	db-test-oracle.config db-test-oracle.dirs 
	db-test-oracle.postinst db-test-oracle.postrm 
	db-test-oracle.prerm 
Log Message:
more files for initial support for oracle


Index: control
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.0/debian/control,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- control	30 Jul 2005 08:08:15 -0000	1.1
+++ control	30 Dec 2005 08:57:41 -0000	1.1.2.1
@@ -41,3 +41,11 @@
  this is a package to test the dbconfig-common package.  
  .
  this version should work with postgresql database servers.
+
+Package: db-test-oracle
+Architecture: all
+Depends: dbconfig-common
+Description: a package to test dbconfig-common (oracle version)
+ this is a package to test the dbconfig-common package.  
+ .
+ this version should work with oracle database servers.

--- NEW FILE: db-test-oracle.config ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/config.oracle

dbc_go db-test-oracle $@

--- NEW FILE: db-test-oracle.dirs ---
usr/share/db-test-oracle
usr/share/dbconfig-common/data/db-test-oracle/install
usr/share/dbconfig-common/data/db-test-oracle/upgrade/oracle

--- NEW FILE: db-test-oracle.postinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.oracle 
dbc_go db-test-oracle $@

#DEBHELPER#

--- NEW FILE: db-test-oracle.postrm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postrm.oracle 
dbc_go db-test-oracle $@

#DEBHELPER#

--- NEW FILE: db-test-oracle.prerm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.oracle 
dbc_go db-test-oracle $@

#DEBHELPER#

Index: db-test.config
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.0/debian/db-test.config,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- db-test.config	30 Jul 2005 08:08:15 -0000	1.1
+++ db-test.config	30 Dec 2005 08:57:41 -0000	1.1.2.1
@@ -5,6 +5,6 @@
 
 . /usr/share/debconf/confmodule
 
-dbc_dbtypes="mysql, pgsql"
+dbc_dbtypes="mysql, pgsql, oracle"
 . /usr/share/dbconfig-common/dpkg/config 
 dbc_go db-test $@

Index: db-test.dirs
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.0/debian/db-test.dirs,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- db-test.dirs	30 Jul 2005 08:08:15 -0000	1.1
+++ db-test.dirs	30 Dec 2005 08:57:41 -0000	1.1.2.1
@@ -2,3 +2,4 @@
 usr/share/dbconfig-common/data/db-test/install
 usr/share/dbconfig-common/data/db-test/upgrade/mysql
 usr/share/dbconfig-common/data/db-test/upgrade/pgsql
+usr/share/dbconfig-common/data/db-test/upgrade/oracle

Index: rules
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.0/debian/rules,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- rules	30 Jul 2005 08:08:15 -0000	1.1
+++ rules	30 Dec 2005 08:57:41 -0000	1.1.2.1
@@ -47,10 +47,15 @@
 	#
 	cp install-files/pgsql.sql debian/db-test-pgsql/usr/share/dbconfig-common/data/db-test-pgsql/install/pgsql
 	#
+	# db-test-oracle needs the sql skeleton here:
+	#
+	cp install-files/oracle.sql debian/db-test-pgsql/usr/share/dbconfig-common/data/db-test-oracle/install/oracle
+	#
 	# db-test needs both of the files, since it can work with both
 	#
 	cp install-files/mysql.sql debian/db-test/usr/share/dbconfig-common/data/db-test/install/mysql
 	cp install-files/pgsql.sql debian/db-test/usr/share/dbconfig-common/data/db-test/install/pgsql
+	cp install-files/oracle.sql debian/db-test/usr/share/dbconfig-common/data/db-test/install/oracle
 	#
 	# and finally, db-test-mysql-perl uses these perl scripts:
 	#




More information about the Dbconfig-common-changes mailing list