summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4ec816)
raw | patch | inline | side by side (parent: c4ec816)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 15:18:33 +0000 (15:18 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 15:18:33 +0000 (15:18 +0000) |
- added a notification for tables creation in database
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14498 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14498 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/contrib/make-gosa-package | patch | blob | history | |
gosa-si/gosa-si-server | patch | blob | history |
index acb7c37a606147aa8678614a3d0c4db1de6b7df9..e3124051fe2e7cae8b783dd96cd24d5035bef23b 100755 (executable)
GOTO=""
PBUILDER=""
NOT_RELEASED="heimdal dak dfs glpi apache2"
-GOTO_NOT_RELEASED="apache-directory-studio goto-cd libresourcepool-net-ldap-perl-1.002 libresourcepool-perl-1.0104 openproj ptc syslinux"
+GOTO_NOT_RELEASED="apache-directory-studio goto-cd libresourcepool-net-ldap-perl-1.002 libresourcepool-perl-1.0104 openproj ptc syslinux konch"
DEBIAN_PKG="remove"
NO_SVN="use"
EXTRACT=`pwd`
-n|--no-svn Don't extract gosa from svn (when internet connectivity is not present)
-x|--extract-dir Directory where the checkout is for no-svn
-g|--build-goto Build the goto2 packages
- -l|--use-pbuilder Use pbuilder to build the packages
+ -l|--use-pbuilder Use pbuilder to build the packages
-h|--help this help
EOF
fi
else
echo "Creating debian packages..."
- echo $PBUILDER
for dir in $GOSA_DIR $GOSA_SI_DIR $GOSA_PLUGIN_DIRS; do
if [ "$PBUILDER" = "use" ]
then
- echo "using pbuilder"
+ echo "using pbuilder to build gosa gosa-si gosa-plugins"
(cd "$dir"; pdebuild)
else
(cd "$dir"; dpkg-buildpackage -k$DEBSIGN_KEYID -rfakeroot -sa)
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 3cb1c23ac8791117eb7986ff1a2b779faacf18c6..7b1a5569b8e2b1822344cce134106065910582c7 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
no strict "refs";
require ("GOSA/".$db_module.".pm");
("GOSA/".$db_module)->import;
-daemon_log("0 INFO: importing database module '$db_module'", 1);
}
my $modules_path = "/usr/lib/gosa-si/modules";
no strict "refs";
if ($db_module eq "DBmysql") {
+
+ daemon_log("0 INFO: importing database module '$db_module'", 1);
+
# connect to incoming_db
$incoming_db = ("GOSA::".$db_module)->new($main::mysql_database, $main::mysql_host, $main::mysql_username, $main::mysql_password);
$messaging_db = ("GOSA::".$db_module)->new($main::mysql_database, $main::mysql_host, $main::mysql_username, $main::mysql_password);
} elsif ($db_module eq "DBsqlite") {
+
+ daemon_log("0 INFO: importing database module '$db_module'", 1);
+
# connect to incoming_db
unlink($incoming_file_name);
$incoming_db = GOSA::DBsqlite->new($incoming_file_name);
}
# Creating tables
+
+daemon_log("0 INFO: creating tables in database with '$db_module'", 1);
+
$messaging_db->create_table($messaging_tn, \@messaging_col_names);
$packages_list_db->create_table($packages_list_tn, \@packages_list_col_names);
$fai_release_db->create_table($fai_release_tn, \@fai_release_col_names);