/[smecontribs]/rpms/smeserver-bugzilla/contribs7/smeserver-bugzilla-0.1-bugzilla-setup.patch
ViewVC logotype

Contents of /rpms/smeserver-bugzilla/contribs7/smeserver-bugzilla-0.1-bugzilla-setup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Mar 4 16:21:56 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-bugzilla-0_1-3_el4_sme, smeserver-bugzilla-0_1-5_el4_sme, smeserver-bugzilla-0_1-4, HEAD
Error occurred while calculating annotation data.
Initial import

1 diff -up smeserver-bugzilla-0.1/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/80bugzilla.bugzilla-setup smeserver-bugzilla-0.1/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/80bugzilla
2 --- smeserver-bugzilla-0.1/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/80bugzilla.bugzilla-setup 2009-12-05 14:33:28.000000000 +0100
3 +++ smeserver-bugzilla-0.1/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/80bugzilla 2009-12-05 14:34:58.000000000 +0100
4 @@ -0,0 +1,1 @@
5 +PERMS=0540
6 diff -up smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80bugzilla.bugzilla-setup smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80bugzilla
7 --- smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80bugzilla.bugzilla-setup 2009-12-05 23:53:14.000000000 +0100
8 +++ smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80bugzilla 2009-12-05 23:53:05.000000000 +0100
9 @@ -0,0 +1,10 @@
10 +#!/bin/bash
11 +
12 +DATABASE=`/sbin/e-smith/db configuration getprop bugzilla DbDatabase`
13 +USERNAME=`/sbin/e-smith/db configuration getprop bugzilla DbUser`
14 +PASSWORD=`/sbin/e-smith/db configuration getprop bugzilla DbPassword`
15 +
16 +mysql -e "CREATE DATABASE IF NOT EXISTS $DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;"
17 +mysql -e "USE mysql; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP,REFERENCES,LOCK TABLES,CREATE TEMPORARY TABLES ON $DATABASE.* TO $USERNAME@localhost IDENTIFIED BY '$PASSWORD'; FLUSH PRIVILEGES;"
18 +
19 +/etc/e-smith/events/actions/bugzilla

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed