/[smecontribs]/rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch
ViewVC logotype

Diff of /rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch

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

Revision 1.7 by brianr, Mon Dec 18 10:50:14 2023 UTC Revision 1.10 by brianr, Mon Dec 18 13:53:48 2023 UTC
# Line 1  Line 1 
1  diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks  diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks
2  --- smeserver-ddclient-1.3.0.old/createlinks    2023-11-10 16:11:05.855271810 +0000  --- smeserver-ddclient-1.3.0.old/createlinks    2023-11-10 16:11:05.855271810 +0000
3  +++ smeserver-ddclient-1.3.0/createlinks        2023-12-18 10:46:05.082393198 +0000  +++ smeserver-ddclient-1.3.0/createlinks        2023-12-18 10:52:53.495714627 +0000
4  @@ -48,3 +48,6 @@  @@ -48,3 +48,6 @@
5   $event = 'post-upgrade';   $event = 'post-upgrade';
6    templates2events("/etc/ddclient/ddclient.conf", $event);    templates2events("/etc/ddclient/ddclient.conf", $event);
7    templates2events("/etc/ppp/ip-up.local", $event);    templates2events("/etc/ppp/ip-up.local", $event);
8  +  +
9  +# and create an empty cache  +# and create an empty cache
10  +safe_touch("/var/cache/ddclient/ddclient.cache")  +# safe_touch("/var/cache/ddclient/ddclient.cache")
11  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers
12  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers        2023-11-10 16:11:05.911271972 +0000  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers        2023-11-10 16:11:05.911271972 +0000
13  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers    2023-12-14 11:40:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers    2023-12-14 11:40:00.000000000 +0000
# Line 31  diff -urN smeserver-ddclient-1.3.0.old/r Line 31  diff -urN smeserver-ddclient-1.3.0.old/r
31                  $OUT .= ", fw-login=$fwlogin " if ( $fwlogin ne '' );                  $OUT .= ", fw-login=$fwlogin " if ( $fwlogin ne '' );
32                  $OUT .= ", fw-password=$fwpassword " if ( $fwpassword ne '' );                  $OUT .= ", fw-password=$fwpassword " if ( $fwpassword ne '' );
33                  $OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' );                  $OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' );
34    diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/30FreeHosts smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/30FreeHosts
35    --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/30FreeHosts      2023-11-10 16:11:05.913271977 +0000
36    +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/30FreeHosts  2023-12-18 13:45:00.000000000 +0000
37    @@ -93,5 +93,9 @@
38                }
39            }
40         }
41    +    my $file = '/var/cache/ddclient/ddclient.cache';
42    +       # Execute the shell command to clear the file
43    +       system("rm -f '' > $file");
44    +
45     }
46    
47  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service
48  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service  2023-11-10 16:11:05.857271816 +0000  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service  2023-11-10 16:11:05.857271816 +0000
49  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service      2023-12-16 10:40:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service      2023-12-16 10:40:00.000000000 +0000
# Line 844  diff -urN smeserver-ddclient-1.3.0.old/r Line 857  diff -urN smeserver-ddclient-1.3.0.old/r
857                  </span><span class=data>                  </span><span class=data>
858                          %=text_field 'mx'                          %=text_field 'mx'
859                  </span><br>                      </span><br>    
860    diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep
861    --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep     2023-11-10 16:11:05.900271940 +0000
862    +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep 2023-12-18 11:14:00.000000000 +0000
863    @@ -2,7 +2,7 @@
864         % my $btn = l('REMOVE');
865                    %= form_for '/ddclient4' => (method => 'POST') => begin
866             <p>
867    -               %= $c->render_to_string(inline =>l("ddc_REMOVE_DESCRIPTION",$ddc_datas->{"Domain_details"}->{"Domain"},$ddc_datas->{"Domain_details"}->{"Description"},$c->l($ddc_datas->{"Domain_details"}->{"Publication"})))
868    +               %= $c->render_to_string(inline =>l("REMOVE_DESCRIPTION",$ddc_datas->{"Domain_details"}->{"Domain"},$ddc_datas->{"Domain_details"}->{"Description"},$c->l($ddc_datas->{"Domain_details"}->{"Publication"})))
869                    </p>
870                    % param Domain=>$ddc_datas->{"Domain_details"}->{"Domain"};
871                    %= hidden_field Domain=>$ddc_datas->{"Domain_details"}->{"Domain"}
872    diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep
873    --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep      2023-11-10 16:11:05.900271940 +0000
874    +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep  2023-12-18 11:46:00.000000000 +0000
875    @@ -36,9 +36,12 @@
876                            %= t td => (class => 'sme-border') => $Domain->{"Publication"}
877                            <td class = 'sme-border'>
878                                    <a href="/smanager/ddclient1?trt=MOD&Domain=<%= $Domain->{"Domain"}%>"><%=l 'MODIFY'%></a>
879    -                       </td><td class = 'sme-border'>          
880    -                               <a href="/smanager/ddclient1?trt=DEL&Domain=<%= $Domain->{"Domain"}%>"><%=l 'REMOVE'%></a>
881    -                       </td>          
882    +                       </td>
883    +                       % if ($Domain->{"Publication"} ne ""){
884    +                               <td class = 'sme-border'>      
885    +                                       <a href="/smanager/ddclient1?trt=DEL&Domain=<%= $Domain->{"Domain"}%>"><%=l 'REMOVE'%></a>
886    +                               </td>          
887    +                       % }
888                    </tr>
889                    %}
890                    </tbody>
891  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep
892  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep   2023-11-10 16:11:05.901271943 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep   2023-11-10 16:11:05.901271943 +0000
893  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep       2023-11-18 14:56:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep       2023-12-18 11:13:00.000000000 +0000
894  @@ -1,4 +1,9 @@  @@ -1,6 +1,11 @@
895   <div id='modifydomain'>   <div id='modifydomain'>
896  +  <script>  +  <script>
897  +    window.onload = function() {  +    window.onload = function() {
# Line 855  diff -urN smeserver-ddclient-1.3.0.old/r Line 899  diff -urN smeserver-ddclient-1.3.0.old/r
899  +    };  +    };
900  +  </script>  +  </script>
901        <h2>        <h2>
902        %= l 'CUSTOM_DESCRIPTION'  -     %= l 'CUSTOM_DESCRIPTION'
903    +     %= l 'MODIFY_DESCRIPTION'
904        </h2><br>        </h2><br>
905  @@ -24,20 +29,41 @@       % my $btn = l('APPLY');
906         %= form_for '/ddclient8' => (method => 'POST') => begin
907    @@ -10,34 +15,60 @@
908                    %= hidden_field domainName => $ddc_datas->{"Domain_details"}->{"Domain"}
909                            %= $ddc_datas->{"Domain_details"}->{"Domain"}
910                    </span><br><br>
911    +              
912                    <span class=label>
913                            %=l 'DESCRIPTION_LABEL'
914                    </span><span class=data>
915                            %= $ddc_datas->{"Domain_details"}->{"Description"}
916                    </span><br><br>
917    +              
918    +               % if ($ddc_datas->{"Domain_details"}->{"Content"} ne ""){
919                    <span class=label>
920                            %= $ddc_datas->{"Domain_details"}->{"Content"}
921                    </span><span class=data>
922                            %= $ddc_datas->{"Domain_details"}->{"Content"}
923                    </span><br><br>
924    +               % }
925    +              
926                    <span class=label>
927                          %=l 'SERVERS_LABEL'                          %=l 'SERVERS_LABEL'
928                  </span><span class=data>                  </span><span class=data>
929                      % param dns=>$ddc_datas->{"Domain_details"}->{"dns"};                      % param dns=>$ddc_datas->{"Domain_details"}->{"dns"};
# Line 906  diff -urN smeserver-ddclient-1.3.0.old/r Line 972  diff -urN smeserver-ddclient-1.3.0.old/r
972                  </span><span class=data>                  </span><span class=data>
973  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep
974  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep       2023-11-10 16:11:05.902271946 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep       2023-11-10 16:11:05.902271946 +0000
975  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep   2023-12-14 11:36:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep   2023-12-16 08:19:00.000000000 +0000
976  @@ -1,4 +1,9 @@  @@ -1,4 +1,9 @@
977   <div id='paramlist'>   <div id='paramlist'>
978  +  <script>  +  <script>


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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