/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch
ViewVC logotype

Contents of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch

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


Revision 1.1 - (show annotations) (download)
Tue Aug 16 16:16:22 2022 UTC (2 years, 2 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-automysqlbackup-3_0_RC6-30_el7_sme, smeserver-automysqlbackup-3_0_RC6-32_el7_sme, smeserver-automysqlbackup-3_0_RC6-28_el7_sme, smeserver-automysqlbackup-3_0_RC6-31_el7_sme, smeserver-automysqlbackup-3_0_RC6-29_el7_sme, HEAD
* Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-28.sme
- Add debug patch to conf files

1 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start
2 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start 2022-08-11 16:02:26.703411115 +0100
3 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start 2022-08-13 22:33:25.558639078 +0100
4 @@ -2,6 +2,7 @@
5 my $mymaria = ${'mariadb101-mariadb'}{'status'} || 'disabled';
6 my $myauto = ${'automysqlbackup'}{'Mymaria101'} || 'enabled';
7 our $status = ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
8 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
9
10 if ($status eq 'enabled') {
11 $OUT .= <<'_EOF';
12 @@ -11,6 +12,12 @@
13 CONFIG_mysql_dump_password=$PWDMYSQL
14 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
15 _EOF
16 +
17 +if ($debug eq 'enabled') {
18 + $OUT .= "# Debug enabled\n";
19 + $OUT .= "CONFIG_debug=\'1\'\n";
20 +}
21 +
22 }
23 else {
24 $OUT .= "#version=3.0_RC6\n";
25 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start
26 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start 2022-08-11 16:02:26.703411115 +0100
27 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start 2022-08-13 22:34:03.104250966 +0100
28 @@ -2,6 +2,7 @@
29 my $mymaria = ${'mariadb102-mariadb'}{'status'} || 'disabled';
30 my $myauto = ${'automysqlbackup'}{'Mymaria102'} || 'enabled';
31 our $status = ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
32 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
33
34 if ($status eq 'enabled') {
35 $OUT .= <<'_EOF';
36 @@ -11,6 +12,12 @@
37 CONFIG_mysql_dump_password=$PWDMYSQL
38 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
39 _EOF
40 +
41 +if ($debug eq 'enabled') {
42 + $OUT .= "# Debug enabled\n";
43 + $OUT .= "CONFIG_debug=\'1\'\n";
44 +}
45 +
46 }
47 else {
48 $OUT .= "#version=3.0_RC6\n";
49 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start
50 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start 2022-08-11 16:02:26.703411115 +0100
51 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start 2022-08-13 22:34:23.262579490 +0100
52 @@ -2,6 +2,7 @@
53 my $mymaria = ${'mariadb103-mariadb'}{'status'} || 'disabled';
54 my $myauto = ${'automysqlbackup'}{'Mymaria103'} || 'enabled';
55 our $status = ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
56 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
57
58 if ($status eq 'enabled') {
59 $OUT .= <<'_EOF';
60 @@ -11,6 +12,12 @@
61 CONFIG_mysql_dump_password=$PWDMYSQL
62 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
63 _EOF
64 +
65 +if ($debug eq 'enabled') {
66 + $OUT .= "# Debug enabled\n";
67 + $OUT .= "CONFIG_debug=\'1\'\n";
68 +}
69 +
70 }
71 else {
72 $OUT .= "#version=3.0_RC6\n";
73 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start
74 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start 2022-08-11 16:02:26.703411115 +0100
75 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start 2022-08-13 22:34:40.431859301 +0100
76 @@ -2,6 +2,7 @@
77 my $mymaria = ${'mariadb105-mariadb'}{'status'} || 'disabled';
78 my $myauto = ${'automysqlbackup'}{'Mymaria105'} || 'enabled';
79 our $status = ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
80 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
81
82 if ($status eq 'enabled') {
83 $OUT .= <<'_EOF';
84 @@ -11,6 +12,12 @@
85 CONFIG_mysql_dump_password=$PWDMYSQL
86 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
87 _EOF
88 +
89 +if ($debug eq 'enabled') {
90 + $OUT .= "# Debug enabled\n";
91 + $OUT .= "CONFIG_debug=\'1\'\n";
92 +}
93 +
94 }
95 else {
96 $OUT .= "#version=3.0_RC6\n";
97 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/10start
98 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/10start 2022-08-11 16:02:26.701411082 +0100
99 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/10start 2022-08-15 11:52:34.036057999 +0100
100 @@ -2,6 +2,7 @@
101 my $mymaria = ${'mariadb'}{'status'} || 'disabled';
102 my $myauto = ${'automysqlbackup'}{'Mymaria'} || 'enabled';
103 our $status = ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
104 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
105
106 if ($status eq 'enabled') {
107 $OUT .= <<'_EOF';
108 @@ -11,6 +12,12 @@
109 CONFIG_mysql_dump_password=$PWDMYSQL
110 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
111 _EOF
112 +
113 +if ($debug eq 'enabled') {
114 + $OUT .= "# Debug enabled\n";
115 + $OUT .= "CONFIG_debug=\'1\'\n";
116 +}
117 +
118 }
119 else {
120 $OUT .= "#version=3.0_RC6\n";
121 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mysql57.conf/10start smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mysql57.conf/10start
122 --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mysql57.conf/10start 2022-08-11 16:02:26.703411115 +0100
123 +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mysql57.conf/10start 2022-08-13 22:35:04.432250438 +0100
124 @@ -2,6 +2,7 @@
125 my $my57 = ${'mysql57-mysqld'}{'status'} || 'disabled';
126 my $myauto = ${'automysqlbackup'}{'Mysql57'} || 'enabled';
127 our $status = ( $my57 eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
128 +my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';
129
130 if ($status eq 'enabled') {
131 $OUT .= <<'_EOF';
132 @@ -11,6 +12,12 @@
133 CONFIG_mysql_dump_password=$PWDMYSQL
134 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
135 _EOF
136 +
137 +if ($debug eq 'enabled') {
138 + $OUT .= "# Debug enabled\n";
139 + $OUT .= "CONFIG_debug=\'1\'\n";
140 +}
141 +
142 }
143 else {
144 $OUT .= "#version=3.0_RC6\n";
145

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