diff -Nur smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/db/configuration/defaults/yum/DeltaRpmProcess smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/db/configuration/defaults/yum/DeltaRpmProcess --- smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/db/configuration/defaults/yum/DeltaRpmProcess 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/db/configuration/defaults/yum/DeltaRpmProcess 2016-07-27 16:03:19.325764388 +0200 @@ -0,0 +1 @@ +disabled diff -Nur smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum --- smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2016-02-06 00:19:56.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2016-07-28 03:07:51.050115158 +0200 @@ -259,5 +259,17 @@ 3MONTHLY Monthly - + + + LABEL_YUM_DELTARPMPROCESS + Delta Rpm Update + + + + LABEL_YUM_DELTARPM + A deltarpm contains the difference between an old and a new version of a rpm, + which can save bandwith. The drawback is that update + operations consume considerably more CPU cycles + + diff -Nur smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/templates/etc/yum.conf/10main_deltarpm smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/templates/etc/yum.conf/10main_deltarpm --- smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/templates/etc/yum.conf/10main_deltarpm 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/templates/etc/yum.conf/10main_deltarpm 2016-07-28 03:04:17.146569284 +0200 @@ -0,0 +1,6 @@ +{ +my $deltaRpm = $yum{DeltaRpmProcess} || 'disabled'; +$deltaRpm = '0' if ($deltaRpm eq 'disabled'); +$deltaRpm = '2' if ($deltaRpm eq 'enabled'); +$OUT .= "deltarpm=$deltaRpm"; +} diff -Nur smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories --- smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2013-01-31 17:35:08.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2016-07-22 12:39:51.712834542 +0200 @@ -47,6 +47,12 @@ $OUT .= "gpgkey" . '=' . $props{GPGKey} . "\n"; } + if (exists $props{DeltaRpmPercentage}) + { + my $deltarpmpercentage = $props{DeltaRpmPercentage}; + $deltarpmpercentage = '0' if ($deltarpmpercentage eq 'disabled'); + $OUT .= "deltarpm_percentage" . '=' . $deltarpmpercentage . "\n"; + } $OUT .= "\n"; } diff -Nur smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/web/functions/yum smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/web/functions/yum --- smeserver-yum-2.6.0.bz8834.old/root/etc/e-smith/web/functions/yum 2013-01-31 17:35:08.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/etc/e-smith/web/functions/yum 2016-07-28 03:06:35.682275166 +0200 @@ -126,6 +126,13 @@ + + + + DESC_BUTTON_CONFIGURATION @@ -245,6 +252,14 @@ DESC_ENABLED_REPOSITORIES + + + LABEL_YUM_DELTARPM + diff -Nur smeserver-yum-2.6.0.bz8834.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/yum.pm smeserver-yum-2.6.0.bz8834.new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/yum.pm --- smeserver-yum-2.6.0.bz8834.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/yum.pm 2013-01-31 17:35:08.000000000 +0100 +++ smeserver-yum-2.6.0.bz8834.new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/yum.pm 2016-07-27 16:02:34.678859179 +0200 @@ -207,6 +207,9 @@ $db->set_prop('yum', 'check4updates', $check4updates); $db->set_prop('yum', 'status', $status); + my $deltarpm = $q->param("yum_DeltaRpmProcess"); + $db->set_prop('yum', 'DeltaRpmProcess', $deltarpm); + my %selected = map {$_ => 1} $q->param('SelectedRepositories'); foreach my $repos (