pf-tools/pf-tools: 3 new changesets

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Tue Aug 26 16:10:34 UTC 2014


details:   http://hg.debian.org/hg/pf-tools/pf-tools/rev/95bcd349e0bf
changeset: 1321:95bcd349e0bf
user:      shad
date:      Fri Aug 22 15:53:02 2014 +0200
description:
typo

details:   http://hg.debian.org/hg/pf-tools/pf-tools/rev/ef354c9c8c26
changeset: 1322:ef354c9c8c26
user:      shad
date:      Mon Aug 25 10:52:56 2014 +0200
description:
enlarge your dependancies

details:   http://hg.debian.org/hg/pf-tools/pf-tools/rev/a50c871ee9a1
changeset: 1323:a50c871ee9a1
user:      shad
date:      Tue Aug 26 15:35:05 2014 +0200
description:
don't create ghost options

diffstat:

 TODO                              |  2 +-
 debian/control                    |  4 ++--
 lib/PFTools/Compat/Translation.pm |  5 ++++-
 3 files changed, 7 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r beba70fedbd1 -r a50c871ee9a1 TODO
--- a/TODO	Thu Aug 21 17:51:45 2014 +0200
+++ b/TODO	Tue Aug 26 15:35:05 2014 +0200
@@ -40,7 +40,7 @@
    PFTools::Monitoring
 NH creating a tool like update-config for building all configuration files for
    a given host in a VCS module which can be retrieve by this host. Some files
-   were updated by the current update-config bu tonly those who need a local
+   were updated by the current update-config but only those who need a local
    file instead of VCS file(s) only
 NM creating specific tags on filters for setting IPv4 or IPv6 "automagically"
 
diff -r beba70fedbd1 -r a50c871ee9a1 debian/control
--- a/debian/control	Thu Aug 21 17:51:45 2014 +0200
+++ b/debian/control	Tue Aug 26 15:35:05 2014 +0200
@@ -8,14 +8,14 @@
 
 Package: pf-tools
 Architecture: all
-Depends: perl, perl (>= 5.10.0) | libmd5-perl, libclone-perl, libconfig-inifiles-perl, liblist-moreutils-perl, libhash-merge-simple-perl, libmodule-runtime-perl, libnetaddr-ip-perl, libnet-dns-perl, libproc-reliable-perl, libreadonly-xs-perl, libreadonly-xs-perl, libtemplate-tiny-perl, libtext-diff-perl, mercurial | subversion | cvs , ssh, iproute, debconf, psmisc
+Depends: perl, perl (>= 5.10.0) | libmd5-perl, libclone-perl, libconfig-inifiles-perl, liblist-moreutils-perl, libhash-merge-simple-perl, libmodule-runtime-perl, libnetaddr-ip-perl, libnet-dns-perl, libproc-reliable-perl, libreadonly-xs-perl, libreadonly-xs-perl, libtemplate-tiny-perl, libtext-diff-perl, mercurial | subversion | cvs , ssh, iproute | iproute2, debconf, psmisc
 Description: Outils de gestion de la plateforme
  Mise a jour automatique et generation de conf.
  Deploiement de machines.
 
 Package: pf-host
 Architecture: all
-Depends: perl, perl (>= 5.10.0) | libmd5-perl, libdigest-crc-perl, libexpect-perl, libnetwork-ipv4addr-perl, cvs, ssh, iproute, debconf, psmisc, vlan, bridge-utils, uml-utilities, screen, pf-tools (>= 0.30-1), sitalibs-config-perl (>= 0.7.2), libnet-ip-perl
+Depends: perl, perl (>= 5.10.0) | libmd5-perl, libdigest-crc-perl, libexpect-perl, libnetwork-ipv4addr-perl, cvs, ssh, iproute | iproute2, debconf, psmisc, vlan, bridge-utils, uml-utilities, screen, pf-tools (>= 0.30-1), sitalibs-config-perl (>= 0.7.2), libnet-ip-perl
 Description: Outils de gestion d'une plateforme, partie host 
  Deploiement de machines virtuelles UML.
 
diff -r beba70fedbd1 -r a50c871ee9a1 lib/PFTools/Compat/Translation.pm
--- a/lib/PFTools/Compat/Translation.pm	Thu Aug 21 17:51:45 2014 +0200
+++ b/lib/PFTools/Compat/Translation.pm	Tue Aug 26 15:35:05 2014 +0200
@@ -530,7 +530,10 @@
                     $new_host->{'boot'}->{$newcmd_key} .= $cmd . q{ };
                 }
             }
-            $new_host->{ 'link::' . $vlan }->{$newopt_key} =~ s/\s*$//;
+
+            if ( $new_host->{ 'link::' . $vlan }->{$newopt_key} ) {
+                $new_host->{ 'link::' . $vlan }->{$newopt_key} =~ s/\s*$//;
+            }
             if ( $new_host->{'boot'}->{$newcmd_key} ) {
                 $new_host->{'boot'}->{$newcmd_key} =~ s/\s*$//;
             }



More information about the pf-tools-commits mailing list