Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [SCM] Netdot Git repository branch netdot-1.0     updated.
      netdot-1.0.1-RC2-18-gc6db253 (Apache)
   2. [SCM] Netdot Git repository branch netdot-1.0     updated.
      netdot-1.0.1-RC2-19-g3464460 (Apache)
   3. [Netdot - Feature #1652] (Resolved) Add support for       LDAP over
      TLS ([email protected])
   4. [Netdot - Feature #1652] Add support for LDAP over        TLS
      ([email protected])
   5. [Netdot - Bug #1643] (Resolved) Installation under        Debian
      Stable fails on dependencies using make apt-install
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Thu, 12 Jul 2012 12:58:58 -0700
From: Apache <[email protected]>
Subject: [Netdot-devel] [SCM] Netdot Git repository branch netdot-1.0
        updated. netdot-1.0.1-RC2-18-gc6db253
To: [email protected]
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot Git repository".

The branch, netdot-1.0 has been updated
       via  c6db2539ba8426ac997d7ecdb48462ea80531215 (commit)
       via  c4542b39aeeb8fdb44d65282cf0b9b5bad47067a (commit)
       via  ecd0081c15a2458538ef11f56bab9cb02c12d443 (commit)
       via  76ba068b58409e4ca9e9ddff8fa1abf6c19fd8b5 (commit)
       via  ddd451824e9989e2b132db0fcdb0206cec5fe3f8 (commit)
       via  019ed86990e7e9c32654771d4b11f5b51a3e7b75 (commit)
       via  0891da61ec345f27c7fca68e9f12407c7e41358a (commit)
      from  2c3377e7736f1c40d4a0d16837de5c85d25c8852 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c6db2539ba8426ac997d7ecdb48462ea80531215
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 13:45:22 2012 -0400

    Fix for #1653 (unable to enable dhcp on ip block)

diff --git a/htdocs/management/ip.html b/htdocs/management/ip.html
index 8be614d..16addaf 100644
--- a/htdocs/management/ip.html
+++ b/htdocs/management/ip.html
@@ -899,7 +899,7 @@ if ( $edit ){
 
%#######################################################################################
 
     <div class="containerheadrightoutside">
-%  if ( $edit eq "blockinfo" || $edit eq 'address_range' ){     
+%  if ( $edit eq "blockinfo" || $edit eq 'address_range' || $edit eq 
'enable_dhcp' ){
 %        if ( $added_block ) {
            <input type="submit" name="submit" value="cancel">
 %           my @parents = $o->get_ancestors;

commit c4542b39aeeb8fdb44d65282cf0b9b5bad47067a
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 12:35:27 2012 -0400

    Fix for #1648 (Error when adding backbone cable strand)

diff --git a/htdocs/cable_plant/display_sequence.mhtml 
b/htdocs/cable_plant/display_sequence.mhtml
index a68bdb3..e4fbe2a 100644
--- a/htdocs/cable_plant/display_sequence.mhtml
+++ b/htdocs/cable_plant/display_sequence.mhtml
@@ -7,7 +7,7 @@ Arguments:
 </%doc>
 
 <%args>
-$id
+$id         => undef
 $add        => undef
 $strands    => undef
 $table_view => undef
@@ -22,10 +22,13 @@ my $delimiter = '--';
 my $manager   = $ui->get_permission_manager($r);
 </%init>
 
+% if ( $id ){
 <!-- Begin Cable Strand Sequence Table -->
 <form name="sequence_form" action="circuit.html" method="POST">
   <input type="hidden" name="_action" value="UPDATE_SEQUENCES">
   <input type="hidden" name="id" value="<% $id %>">
+% }
+
 % if ( $table_view ){
 <div class="container">
     <div class="containerheadleft">Cable Strand Sequences</div>
@@ -89,7 +92,10 @@ my $manager   = $ui->get_permission_manager($r);
 %if ( $strands && @$strands ) {
      <div align="left"><input type="submit" name="submit_seq" 
value="Unassign"></div>
 %}    
-</form>
+
+% if ( $id ){
+  </form>
+% }
 
 %# Allow the user to add strands to this circuit by backbone.
 %# First select a start site, then an end site, and then a backbone

commit ecd0081c15a2458538ef11f56bab9cb02c12d443
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 12:34:55 2012 -0400

    Remove unnecessary Mason section

diff --git a/htdocs/cable_plant/cable_backbone.html 
b/htdocs/cable_plant/cable_backbone.html
index 56dbf6a..522681a 100644
--- a/htdocs/cable_plant/cable_backbone.html
+++ b/htdocs/cable_plant/cable_backbone.html
@@ -20,10 +20,6 @@ $strand_range   => undef
 $user           => $ui->get_current_user($r)
 </%args>
 
-<%flags>
-
-</%flags>
-
 <%attr>
 title   => 'Backbone Cable' 
 section => 'Plant'

commit 76ba068b58409e4ca9e9ddff8fa1abf6c19fd8b5
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 12:20:16 2012 -0400

    Fix for #1650 build_topo_graph.pl - missing default variable

diff --git a/bin/build_topo_graph.pl b/bin/build_topo_graph.pl
index 87b1c46..00f2310 100755
--- a/bin/build_topo_graph.pl
+++ b/bin/build_topo_graph.pl
@@ -10,7 +10,7 @@ use Getopt::Long qw(:config no_ignore_case bundling);
 
 # Default parameters
 my $nms = Netdot->config->get('NMS_DEVICE');
-my %self = ( root=>$nms, vlans=>0, names=>0, depth=>99999 );
+my %self = ( root=>$nms, start=>$nms, vlans=>0, names=>0, depth=>99999 );
 
 my $USAGE = <<EOF;
  
@@ -68,7 +68,7 @@ my $ui = Netdot::UI->new();
 my $device_obj = Device->search(name=>$self{root})->first
     || die "Cannot find root device: $self{root}";
 my $start_obj = Device->search(name=>$self{start})->first
-    || die "Cannot find root device: $self{start}";
+    || die "Cannot find start device: $self{start}";
 
 my $rid   = $device_obj->id;
 my $sid   = $start_obj->id;

commit ddd451824e9989e2b132db0fcdb0206cec5fe3f8
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 12:19:43 2012 -0400

    Avoid Perl warnings

diff --git a/lib/Netdot/Model/Device.pm b/lib/Netdot/Model/Device.pm
index f56945c..359c477 100644
--- a/lib/Netdot/Model/Device.pm
+++ b/lib/Netdot/Model/Device.pm
@@ -106,9 +106,9 @@ sub search {
     
     my $dev;
     
-    if ( exists $argv{name} ){
+    if ( defined $argv{name} ){
        my $foundname = 0;
-       if ( ref($argv{name}) =~ /RR/ ){ 
+       if ( ref($argv{name}) =~ /RR$/o ){ 
            # We were passed a RR object.  
            # Proceed as regular search
        }elsif ( Ipblock->matches_ip($argv{name}) ){

commit 019ed86990e7e9c32654771d4b11f5b51a3e7b75
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 12:03:12 2012 -0400

    Avoid Perl warnings

diff --git a/lib/Netdot/Model/Ipblock.pm b/lib/Netdot/Model/Ipblock.pm
index e2d3dfe..e5ba009 100644
--- a/lib/Netdot/Model/Ipblock.pm
+++ b/lib/Netdot/Model/Ipblock.pm
@@ -1262,7 +1262,8 @@ sub matches_cidr {
 sub matches_ip {
     my ($class, $string) = @_;
 
-    if ( $class->matches_v4($string) || $class->matches_v6($string) ){
+    if ( defined $string && ($class->matches_v4($string) || 
+                            $class->matches_v6($string)) ){
        return 1;
     }
     return 0;
@@ -1283,7 +1284,7 @@ sub matches_ip {
 sub matches_v4 {
     my ($class, $string) = @_;
 
-    if ( $string =~ /^$IPV4$/o ) {
+    if ( defined $string && $string =~ /^$IPV4$/o ) {
        return 1;
     }
     return 0;
@@ -1302,7 +1303,7 @@ sub matches_v4 {
 sub matches_v6 {
     my ($class, $string) = @_;
 
-    if ( $string =~ /^$IPV6$/o ) {
+    if ( defined $string && $string =~ /^$IPV6$/o ) {
        return 1;
     }
     return 0;

commit 0891da61ec345f27c7fca68e9f12407c7e41358a
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 11:59:19 2012 -0400

    Fix for #1647 (Database upgrade failure). Script needs to retrieve existing 
products before inserting new ones

diff --git a/upgrade/updatedb b/upgrade/updatedb
index efe6b93..75e8aa0 100644
--- a/upgrade/updatedb
+++ b/upgrade/updatedb
@@ -71,7 +71,6 @@ my @statements = (
 # Try to speed up the conversion as much as possible
 push @statements, 
     "SET FOREIGN_KEY_CHECKS = 0;",
-    "SET UNIQUE_CHECKS = 0;",
     "SET AUTOCOMMIT = 0;";
 
 # Add new Product type for device modules
@@ -144,32 +143,42 @@ foreach my $row ( @$snmods ){
 my @ptrow = $dbh->selectrow_array('SELECT id FROM producttype WHERE 
name="Module"');
 my $ptype = $ptrow[0];
 
+# Get existing products
+print "DEBUG: Retrieving all products from DB\n" if $CONFIG{debug};
+my $prodq = $dbh->selectall_arrayref('SELECT id,name,manufacturer FROM 
product');
+my %all_prods;
+foreach my $row ( @$prodq ){
+    my($id,$name,$mf) = @$row;
+    $all_prods{$mf}{$name} = $id;
+}
+
 my $np = $dbh->prepare('INSERT INTO product (name, manufacturer,type) 
VALUES(?,?,?)');
 my %seen_prods; # Try to avoid duplicate errors
 foreach my $mf ( keys %products ){
     foreach my $model ( keys %{$products{$mf}} ){
+       next if exists $all_prods{$mf}{$model};
        next if exists $seen_prods{$mf}{$model};
-       next if ($model =~ /Fill in/io );
+       next if ($model =~ /Fill in/io ); # Ignore bogus values
        $np->execute($model, $mf, $ptype);
        print "DEBUG: Inserted product ($mf, $model)\n" if $CONFIG{debug};
        $seen_prods{$mf}{$model} = 1;
     }
 }
-# Get product IDs
+
+# Refresh products hash
 print "DEBUG: Retrieving all products from DB\n" if $CONFIG{debug};
-my $prodq = $dbh->selectall_arrayref('SELECT id,name,manufacturer FROM 
product');
-my %allprods;
+$prodq = $dbh->selectall_arrayref('SELECT id,name,manufacturer FROM product');
 foreach my $row ( @$prodq ){
     my($id,$name,$mf) = @$row;
-    $allprods{$mf}{$name} = $id;
+    $all_prods{$mf}{$name} = $id;
 }
 
 # Complete the Asset hash with product IDs
 foreach my $mf ( keys %products ){
     foreach my $model ( keys %{$products{$mf}} ){
        my $product_id;
-       if ( exists $allprods{$mf}{$model} ){
-           $product_id = $allprods{$mf}{$model};
+       if ( exists $all_prods{$mf}{$model} ){
+           $product_id = $all_prods{$mf}{$model};
            print "DEBUG: Product ($mf,$model) found: $product_id\n" if 
$CONFIG{debug};
            foreach my $sn ( @{$products{$mf}{$model}} ){
                print "DEBUG: Assigning prod ID: $product_id to module S/N: 
$sn\n" if $CONFIG{debug};
@@ -649,7 +658,6 @@ push @statements, (
     );
 
 push @statements, 
-    "SET UNIQUE_CHECKS = 1;",
     "SET FOREIGN_KEY_CHECKS = 1;",
     "COMMIT;";
 

-----------------------------------------------------------------------

Summary of changes:
 bin/build_topo_graph.pl                   |    4 ++--
 htdocs/cable_plant/cable_backbone.html    |    4 ----
 htdocs/cable_plant/display_sequence.mhtml |   10 ++++++++--
 htdocs/management/ip.html                 |    2 +-
 lib/Netdot/Model/Device.pm                |    4 ++--
 lib/Netdot/Model/Ipblock.pm               |    7 ++++---
 upgrade/updatedb                          |   26 +++++++++++++++++---------
 7 files changed, 34 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
Netdot Git repository


------------------------------

Message: 2
Date: Thu, 12 Jul 2012 13:10:33 -0700
From: Apache <[email protected]>
Subject: [Netdot-devel] [SCM] Netdot Git repository branch netdot-1.0
        updated. netdot-1.0.1-RC2-19-g3464460
To: [email protected]
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot Git repository".

The branch, netdot-1.0 has been updated
       via  346446078be87630df6410d98d0d202bf35418e3 (commit)
      from  c6db2539ba8426ac997d7ecdb48462ea80531215 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 346446078be87630df6410d98d0d202bf35418e3
Author: Carlos Vicente <[email protected]>
Date:   Thu Jul 12 16:10:23 2012 -0400

    Feature #1652 (Add support for LDAP over TLS)

diff --git a/etc/netdot_apache2_ldap.conf b/etc/netdot_apache2_ldap.conf
index ee1ae85..37f3f83 100644
--- a/etc/netdot_apache2_ldap.conf
+++ b/etc/netdot_apache2_ldap.conf
@@ -171,6 +171,7 @@ PerlSetVar NetdotTemporarySessionExpires +2h
 
    PerlSetVar NetdotLDAPServer  "ldaps://localhost.localdomain:636"
    PerlSetVar NetdotLDAPServer2 "ldaps://otherhost.localdomain:636"
+   PerlSetVar NetdotLDAPRequireTLS "no"
    PerlSetVar NetdotLDAPUserDN "uid=<username>"
    PerlSetVar NetdotLDAPSearchBase "ou=people,dc=domain,dc=local"
    PerlSetVar NetdotLDAPFailToLocal "yes"
diff --git a/lib/Netdot/LDAP.pm b/lib/Netdot/LDAP.pm
index 73ffa00..e53d0d1 100644
--- a/lib/Netdot/LDAP.pm
+++ b/lib/Netdot/LDAP.pm
@@ -45,6 +45,9 @@ NetdotLDAPServer2
     A backup server in case the first one is not available
     e.g. ldaps://server2.local.domain:[port]
     
+NetdotLDAPRequireTLS <yes|no>
+    Require TLS session
+
 NetdotLDAPUserDN         
     e.g. uid=<username>.  
     The string "<username>" is replaced with the username supplied at the 
login prompt
@@ -60,7 +63,7 @@ NetdotLDAPCACert
 NetdotLDAPVersion
     Optional.  Defaults to "3".
 
-NetdotLDAPFailToLocal
+NetdotLDAPFailToLocal <yes|no>
     If LDAP authentication fails, authenticate against local (Netdot DB) 
credentials.
     
 =cut
@@ -111,9 +114,29 @@ sub check_credentials {
        }
     }
 
+    # start TLS
+    my $scheme = $ldap->scheme();
+    my $dse = $ldap->root_dse();
+    my $does_support_tls = $dse->supported_extension(LDAP_EXTENSION_START_TLS);
+    my $require_tls = ($r->dir_config("NetdotLDAPRequireTLS") eq "yes")? 1 : 0;
+    if ( $scheme eq "ldap" && ( $require_tls || $does_support_tls ) ) {
+        my $tls = $ldap->start_tls();
+        if ( $tls->code ) {
+            if ( $require_tls ) {
+                $r->log_error("Netdot::LDAP::check_credentials: Failed to 
start TLS".
+                             ", config requires TLS, cannot continue: " . 
$tls->error);
+                return 0;
+            } elsif ( $does_support_tls ) {
+                $r->log_warning("Netdot::LDAP::check_credentials: Failed to 
start TLS ".
+                               "although server advertises TLS support: " . 
$tls->error);
+            }
+        }
+    }
+
     my $auth = $ldap->bind($user_dn, password=>$password);
     if ( $auth->code ) {
-       $r->log_error("Netdot::LDAP::check_credentials: User $username failed 
LDAP authentication: " . $auth->error);
+       $r->log_error("Netdot::LDAP::check_credentials: User $username failed 
LDAP authentication: ".
+                     $auth->error);
        if  ( $fail_to_local ){
            $r->log_error("Netdot::LDAP::check_credentials: Trying local auth");
            return Netdot::AuthLocal::check_credentials($r, $username, 
$password);

-----------------------------------------------------------------------

Summary of changes:
 etc/netdot_apache2_ldap.conf |    1 +
 lib/Netdot/LDAP.pm           |   27 +++++++++++++++++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Netdot Git repository


------------------------------

Message: 3
Date: Thu, 12 Jul 2012 13:12:24 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1652] (Resolved) Add
        support for     LDAP over TLS
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1652 has been updated by Carlos Vicente.

Status changed from New to Resolved
Target version set to 1.0.1-RC3
Resolution set to fixed

Thank you. I can't test this right now but I have included the code assuming 
that it has been tested.
----------------------------------------
Feature #1652: Add support for LDAP over TLS
https://osl.uoregon.edu/redmine/issues/1652

Author: Maciej Kazulak
Status: Resolved
Priority: High
Assignee: 
Category: 
Target version: 1.0.1-RC3
Resolution: fixed


Add support for LDAP over TLS. If server advertises TLS support then try to 
start TLS but continue if it fails. Fail only when NetdotLDAPRequireTLS is set 
to "yes".

<pre>
--- lib/Netdot/LDAP.pm.orig     2012-07-03 11:07:16.000000000 +0200
+++ lib/Netdot/LDAP.pm  2012-07-03 12:00:07.000000000 +0200
@@ -2,6 +2,7 @@ package Netdot::LDAP;
 use strict;
 use warnings;
 use Net::LDAP;
+use Net::LDAP::Constant qw(LDAP_EXTENSION_START_TLS);
 use Netdot::AuthLocal;
 
 =head1 NAME
@@ -111,6 +112,23 @@ sub check_credentials {
        }
     }
 
+    # start TLS
+    my $scheme = $ldap->scheme();
+    my $dse = $ldap->root_dse();
+    my $does_support_tls = $dse->supported_extension(LDAP_EXTENSION_START_TLS);
+    my $require_tls = ($r->dir_config("NetdotLDAPRequireTLS") eq "yes")? 1 : 0;
+    if ( $scheme eq "ldap" && ( $require_tls || $does_support_tls ) ) {
+        my $tls = $ldap->start_tls();
+        if ( $tls->code ) {
+            if ( $require_tls ) {
+                $r->log_error("Netdot::LDAP::check_credentials: Failed to 
start TLS, config requires TLS, cannot continue: " . $tls->error);
+                return 0;
+            } elsif ( $does_support_tls ) {
+                $r->log_warning("Netdot::LDAP::check_credentials: Failed to 
start TLS although server advertises TLS support: " . $tls->error);
+            }
+        }
+    }
+
     my $auth = $ldap->bind($user_dn, password=>$password);
     if ( $auth->code ) {
        $r->log_error("Netdot::LDAP::check_credentials: User $username failed 
LDAP authentication: " . $auth->error);
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

Message: 4
Date: Thu, 12 Jul 2012 22:59:55 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1652] Add support for LDAP
        over    TLS
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1652 has been updated by Maciej Kazulak.


I've been using that for two weeks or so and havent noticed any problems. We 
have OpenLDAP deployed and I do not have the time to test it with other servers 
but to my knowledge it should be pretty generic.
----------------------------------------
Feature #1652: Add support for LDAP over TLS
https://osl.uoregon.edu/redmine/issues/1652

Author: Maciej Kazulak
Status: Resolved
Priority: High
Assignee: 
Category: 
Target version: 1.0.1-RC3
Resolution: fixed


Add support for LDAP over TLS. If server advertises TLS support then try to 
start TLS but continue if it fails. Fail only when NetdotLDAPRequireTLS is set 
to "yes".

<pre>
--- lib/Netdot/LDAP.pm.orig     2012-07-03 11:07:16.000000000 +0200
+++ lib/Netdot/LDAP.pm  2012-07-03 12:00:07.000000000 +0200
@@ -2,6 +2,7 @@ package Netdot::LDAP;
 use strict;
 use warnings;
 use Net::LDAP;
+use Net::LDAP::Constant qw(LDAP_EXTENSION_START_TLS);
 use Netdot::AuthLocal;
 
 =head1 NAME
@@ -111,6 +112,23 @@ sub check_credentials {
        }
     }
 
+    # start TLS
+    my $scheme = $ldap->scheme();
+    my $dse = $ldap->root_dse();
+    my $does_support_tls = $dse->supported_extension(LDAP_EXTENSION_START_TLS);
+    my $require_tls = ($r->dir_config("NetdotLDAPRequireTLS") eq "yes")? 1 : 0;
+    if ( $scheme eq "ldap" && ( $require_tls || $does_support_tls ) ) {
+        my $tls = $ldap->start_tls();
+        if ( $tls->code ) {
+            if ( $require_tls ) {
+                $r->log_error("Netdot::LDAP::check_credentials: Failed to 
start TLS, config requires TLS, cannot continue: " . $tls->error);
+                return 0;
+            } elsif ( $does_support_tls ) {
+                $r->log_warning("Netdot::LDAP::check_credentials: Failed to 
start TLS although server advertises TLS support: " . $tls->error);
+            }
+        }
+    }
+
     my $auth = $ldap->bind($user_dn, password=>$password);
     if ( $auth->code ) {
        $r->log_error("Netdot::LDAP::check_credentials: User $username failed 
LDAP authentication: " . $auth->error);
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

Message: 5
Date: Fri, 13 Jul 2012 07:42:52 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1643] (Resolved) Installation
        under   Debian Stable fails on dependencies using make apt-install
To: [email protected], [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1643 has been updated by Carlos Vicente.

Status changed from New to Resolved
Assignee set to Carlos Vicente
Target version set to 1.0.1-RC3
Resolution set to fixed


----------------------------------------
Bug #1643: Installation under Debian Stable fails on dependencies using make 
apt-install
https://osl.uoregon.edu/redmine/issues/1643

Author: Daniel Griggs
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category: 
Target version: 1.0.1-RC3
Resolution: fixed


Installation fails when attempting to install dependencies.
libapache2-sitecontrol-perl : Depends: libcrypt-cast5-perl but it is not 
installable

libcrypt-cast5-perl is not in stable and depends on perl 5.14 in debian 
unstable, but only 5.10 is available.

The system is running Debian Stable with all the packages updated. Output of 
the process below.

king-probe2:/home/daniel/netdot/netdot-1.0.1-RC1# make testdeps
Testing for required Perl modules
/usr/bin/perl bin/perldeps.pl test
RRDs..............................................ok
GraphViz..........................................ok
Module::Build.....................................ok
CGI...............................................ok
Class::DBI........................................ok
Class::DBI::AbstractSearch........................ok
Apache2::Request..................................ok
HTML::Mason.......................................ok
Apache::Session...................................ok
URI::Escape.......................................ok
SQL::Translator...................................ok
SNMP::Info 2.06...................................MISSING
NetAddr::IP.......................................ok
Apache2::AuthCookie...............................ok
Apache2::SiteControl..............................ok
Log::Dispatch.....................................ok
Log::Log4perl.....................................ok
Parallel::ForkManager.............................ok
Net::IPTrie.......................................ok
Authen::Radius....................................ok
Test::Simple......................................ok
Net::IRR..........................................ok
Time::Local.......................................ok
File::Spec........................................ok
Net::Appliance::Session...........................ok
BIND::Config::Parser..............................ok
Net::DNS..........................................ok
Text::ParseWords..................................ok
Carp::Assert......................................ok
Digest::SHA.......................................ok
Net::DNS::ZoneFile::Fast..........................ok
Socket6...........................................ok
XML::Simple.......................................ok
king-probe2:/home/daniel/netdot/netdot-1.0.1-RC1# 

king-probe2:/home/daniel/netdot/netdot-1.0.1-RC1# make apt-install
Installing required APT packages
/usr/bin/perl bin/perldeps.pl apt-install
Which RDBMS do you plan to use as backend: [mysql|Pg]? mysql
We need to add a temporary repository of Netdot dependencies until all packages 
are in Debian/Ubuntu official repositories. Would you like to continue? [y/n] y
Updating package indexes from sources
Ign http://debian.fx.net.nz squeeze Release.gpg
Ign http://debian.fx.net.nz/fx/ squeeze/fxadmin Translation-en                  
                                        
Hit http://security.debian.org stable/updates Release.gpg                       
                                        
Ign http://security.debian.org/ stable/updates/contrib Translation-en           
                                        
Ign http://security.debian.org/ stable/updates/contrib Translation-en_NZ        
                                        
Ign http://security.debian.org/ stable/updates/main Translation-en              
                                        
Ign http://security.debian.org/ stable/updates/main Translation-en_NZ           
                                        
Ign http://security.debian.org/ stable/updates/non-free Translation-en          
                                        
Ign http://security.debian.org/ stable/updates/non-free Translation-en_NZ       
                                        
Ign http://debian.fx.net.nz/fx/ squeeze/fxadmin Translation-en_NZ               
                                        
Hit http://security.debian.org stable/updates Release                           
                                     
Ign http://debian.fx.net.nz squeeze Release                                     
                                        
Hit http://security.debian.org stable/updates/main Sources                      
               
Ign http://debian.fx.net.nz squeeze/fxadmin amd64 Packages/DiffIndex            
               
Hit http://security.debian.org stable/updates/contrib Sources                   
               
Hit http://security.debian.org stable/updates/non-free Sources                  
               
Hit http://security.debian.org stable/updates/main amd64 Packages               
                                     
Hit http://security.debian.org stable/updates/contrib amd64 Packages            
                                     
Hit http://security.debian.org stable/updates/non-free amd64 Packages           
                                     
Ign http://debian.fx.net.nz squeeze/fxadmin amd64 Packages                      
                                     
Hit http://ftp.nz.debian.org stable Release.gpg                                 
               
Ign http://ftp.nz.debian.org/debian/ stable/contrib Translation-en              
                    
Ign http://ftp.nz.debian.org/debian/ stable/contrib Translation-en_NZ           
                    
Ign http://ftp.nz.debian.org/debian/ stable/main Translation-en                 
                    
Ign http://debian.fx.net.nz squeeze/fxadmin amd64 Packages                    
Ign http://ftp.nz.debian.org/debian/ stable/main Translation-en_NZ            
Ign http://ftp.nz.debian.org/debian/ stable/non-free Translation-en           
Ign http://ftp.nz.debian.org/debian/ stable/non-free Translation-en_NZ          
                                        
Hit http://ftp.nz.debian.org stable Release                                     
                                        
Hit http://ftp.nz.debian.org stable/main Sources                                
                                        
Hit http://ftp.nz.debian.org stable/contrib Sources                             
                          
Hit http://ftp.nz.debian.org stable/non-free Sources                            
                                        
Hit http://ftp.nz.debian.org stable/main amd64 Packages                         
                                        
Hit http://ftp.nz.debian.org stable/contrib amd64 Packages                      
                                        
Hit http://ftp.nz.debian.org stable/non-free amd64 Packages                     
                                        
Hit http://debian.fx.net.nz squeeze/fxadmin amd64 Packages                      
                          
Ign http://netdot.apt.nsrc.org unstable/ Release.gpg                            
                          
Ign http://netdot.apt.nsrc.org/ unstable/ Translation-en
Ign http://netdot.apt.nsrc.org/ unstable/ Translation-en_NZ
Get:1 http://netdot.apt.nsrc.org unstable/ Release [1,578 B]
Get:2 http://netdot.apt.nsrc.org unstable/ Sources [4,392 B]
Get:3 http://netdot.apt.nsrc.org unstable/ Packages [5,055 B]
Fetched 11.0 kB in 0s (11.4 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'perl-modules' instead of 'libtime-local-perl'
apache2 is already the newest version.
apache2 set to manually installed.
graphviz is already the newest version.
libapache-session-perl is already the newest version.
libapache2-mod-perl2 is already the newest version.
libapache2-mod-perl2 set to manually installed.
libapache2-request-perl is already the newest version.
libauthen-radius-perl is already the newest version.
libcarp-assert-perl is already the newest version.
libcgi-pm-perl is already the newest version.
libclass-dbi-abstractsearch-perl is already the newest version.
libclass-dbi-perl is already the newest version.
libdbd-mysql-perl is already the newest version.
libdigest-sha-perl is already the newest version.
libfile-spec-perl is already the newest version.
libhtml-mason-perl is already the newest version.
liblog-dispatch-perl is already the newest version.
liblog-log4perl-perl is already the newest version.
libmodule-build-perl is already the newest version.
libnet-dns-perl is already the newest version.
libnetaddr-ip-perl is already the newest version.
libparallel-forkmanager-perl is already the newest version.
libsocket6-perl is already the newest version.
libtest-simple-perl is already the newest version.
liburi-perl is already the newest version.
libxml-simple-perl is already the newest version.
perl-modules is already the newest version.
librrds-perl is already the newest version.
rrdtool is already the newest version.
libsql-translator-perl is already the newest version.
mysql-server is already the newest version.
libssl-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libapache2-sitecontrol-perl : Depends: libcrypt-cast5-perl but it is not 
installable
E: Broken packages
There was a problem running apt-get -y --force-yes install   apache2 
libapache2-mod-perl2 rrdtool librrds-perl graphviz libmodule-build-perl 
libcgi-pm-perl libclass-dbi-perl libclass-dbi-abstractsearch-perl 
libapache2-request-perl libhtml-mason-perl libapache-session-perl liburi-perl 
libsql-translator-perl libsnmp-info-perl netdisco-mibs-installer 
snmp-mibs-downloader libnetaddr-ip-perl libapache2-authcookie-perl 
libapache2-sitecontrol-perl liblog-dispatch-perl liblog-log4perl-perl 
libparallel-forkmanager-perl libnet-iptrie-perl libauthen-radius-perl 
libtest-simple-perl libnet-irr-perl libtime-local-perl libfile-spec-perl 
libnet-appliance-session-perl libbind-config-parser-perl libnet-dns-perl  
libcarp-assert-perl libdigest-sha-perl libssl-dev dnssec-tools libsocket6-perl 
libxml-simple-perl mysql-server libdbd-mysql-perl
make: *** [apt-install] Error 25
king-probe2:/home/daniel/netdot/netdot-1.0.1-RC1# 



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 64, Issue 9
*******************************************

Reply via email to