/[smecontribs]/rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-bz11046.patch
ViewVC logotype

Annotation of /rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-bz11046.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Jun 29 05:15:19 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-bandwidthd-2_0_1_2-15_el7_sme, smeserver-bandwidthd-2_0_1_2-18_el7_sme, smeserver-bandwidthd-2_0_1_2-17_el7_sme, smeserver-bandwidthd-2_0_1_2-14_el7_sme, smeserver-bandwidthd-2_0_1_2-13_el7_sme, smeserver-bandwidthd-2_0_1_2-16_el7_sme, HEAD
* Wed Jun 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-13.sme
- fix typo for grapCutofff [SME: 11046]
-  /etc/bandwidthd.conf to 0664 [SME: 11046]

1 jpp 1.1 diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/db/configuration/migrate/80bandwidthd smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/db/configuration/migrate/80bandwidthd
2     --- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/db/configuration/migrate/80bandwidthd 2013-12-27 00:43:31.000000000 -0500
3     +++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/db/configuration/migrate/80bandwidthd 2022-06-29 01:07:09.788000000 -0400
4     @@ -3,6 +3,11 @@
5    
6     my $rec = $DB->get('bandwidthd') || $DB->new_record('bandwidthd', {type => 'service'});
7    
8     + if (my $grapCutofff = $DB->get_prop_and_delete('bandwidthd', 'grapCutofff')) {
9     + $rec->merge_props('grapCutoff', $grapCutofff);
10     + }
11     +
12     +
13     my $pw = $rec->prop('DbPassword');
14     return "" if $pw;
15     $pw = MIME::Base64::encode(int( (1000000000000000) * rand() ));
16     diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/09options smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/09options
17     --- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/09options 2013-12-26 14:19:13.000000000 -0500
18     +++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/09options 2022-06-29 01:02:24.014000000 -0400
19     @@ -14,7 +14,7 @@
20     # ip before we bother to graph it
21     #graph_cutoff 1024
22     {
23     - my $cutoff = $bandwidthd{'grapCutofff'} || "1024";
24     + my $cutoff = $bandwidthd{'grapCutoff'} || "1024";
25     $OUT .= "graph_cutoff $cutoff\n"
26    
27     }
28     diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf
29     --- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf 2013-12-27 00:49:31.000000000 -0500
30     +++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf 2022-06-29 01:10:00.155000000 -0400
31     @@ -1,3 +1,3 @@
32     -PERMS="0750"
33     +PERMS="0640"
34     UID="root"
35     GID="www"

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