[Midnightbsd-cvs] mports [18892] trunk/Tools/magus/www/data/magus/index.cgi: depends of port relationship

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 9 17:28:39 EDT 2015


Revision: 18892
          http://svnweb.midnightbsd.org/mports/?rev=18892
Author:   laffer1
Date:     2015-05-09 17:28:38 -0400 (Sat, 09 May 2015)
Log Message:
-----------
depends of port relationship

Modified Paths:
--------------
    trunk/Tools/magus/www/data/magus/index.cgi

Modified: trunk/Tools/magus/www/data/magus/index.cgi
===================================================================
--- trunk/Tools/magus/www/data/magus/index.cgi	2015-05-09 21:26:20 UTC (rev 18891)
+++ trunk/Tools/magus/www/data/magus/index.cgi	2015-05-09 21:28:38 UTC (rev 18892)
@@ -258,9 +258,9 @@
   }
     
   my @depends = map { {
-    port   => $_->name,
-    id     => $_->id,
-    status => $_->status,
+    port   => $_->port->name,
+    id     => $_->port->id,
+    status => $_->port->status,
     type   => $_->type
   } } $port->depends;
 
@@ -271,8 +271,7 @@
   my @depends_of = map { {
     port   => $_->name,
     id     => $_->id,
-    status => $_->status,
-    type   => $_->type
+    status => $_->status
   } } map { Magus::Port->retrieve($_->port) } Magus::Depend->search(dependency => $port);
   
   if ($port->log) {



More information about the Midnightbsd-cvs mailing list