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

Annotation of /rpms/smeserver-bugzilla/contribs8/smeserver-bugzilla-0.1-bugzilla-setup.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 12 04:03:29 2013 UTC (11 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-bugzilla-1_0-2_el5_sme, smeserver-bugzilla-1_0-3_el5_sme, smeserver-bugzilla-0_1-5_el5_sme, HEAD
Initial import

1 unnilennium 1.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