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

Annotation of /rpms/smeserver-bugzilla/contribs10/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)
Mon May 23 19:06:43 2022 UTC (2 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-bugzilla-1_0-4_el7_sme, smeserver-bugzilla-1_0-7_el7_sme, smeserver-bugzilla-1_0-5_el7_sme, smeserver-bugzilla-1_0-6_el7_sme, HEAD
Initial import

1 jpp 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