[Dbconfig-common-changes]
dbconfig-common/examples/db-example-2.1/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:47 CET 2005
Update of /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.1/debian
In directory haydn:/tmp/cvs-serv5136/examples/db-example-2.1/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.1/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:16 -0000 1.1
+++ control 30 Dec 2005 08:57:42 -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.1/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:16 -0000 1.1
+++ db-test.config 30 Dec 2005 08:57:42 -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.1/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:16 -0000 1.1
+++ db-test.dirs 30 Dec 2005 08:57:42 -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.1/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:16 -0000 1.1
+++ rules 30 Dec 2005 08:57:42 -0000 1.1.2.1
@@ -42,22 +42,34 @@
# db-test-mysql needs the sql skeleton/upgrade here:
#
cp install-files/mysql.sql debian/db-test-mysql/usr/share/dbconfig-common/data/db-test-mysql/install/mysql
+ #
+ # db-test-oracle needs the sql skeleton/upgrade here:
+ #
+ cp install-files/oracle.sql debian/db-test-oracle/usr/share/dbconfig-common/data/db-test-oracle/install/oracle
# and the upgrade file
cp upgrade-files/db-test-mysql-2.1.sql debian/db-test-mysql/usr/share/dbconfig-common/data/db-test-mysql/upgrade/mysql/2.1
#
# db-test-pgsql needs the sql skeleton/upgrade here:
#
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/upgrade here:
+ #
+ cp install-files/oracle.sql debian/db-test-oracle/usr/share/dbconfig-common/data/db-test-oracle/install/oracle
# and the upgrade file
cp upgrade-files/db-test-pgsql-2.1.sql debian/db-test-pgsql/usr/share/dbconfig-common/data/db-test-pgsql/upgrade/pgsql/2.1
+ # and the upgrade file for oracle
+ cp upgrade-files/db-test-oracle-2.1.sql debian/db-test-oracle/usr/share/dbconfig-common/data/db-test-oracle/upgrade/oracle/2.1
#
# 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 the upgrade files
cp upgrade-files/db-test-pgsql-2.1.sql debian/db-test/usr/share/dbconfig-common/data/db-test/upgrade/pgsql/2.1
cp upgrade-files/db-test-mysql-2.1.sql debian/db-test/usr/share/dbconfig-common/data/db-test/upgrade/mysql/2.1
+ cp upgrade-files/db-test-oracle-2.1.sql debian/db-test/usr/share/dbconfig-common/data/db-test/upgrade/oracle/2.1
#
# and finally, db-test-mysql-perl uses these perl scripts:
#
More information about the Dbconfig-common-changes
mailing list