ports/190369: net-mgmt/torrus port update to 2.07 and build error fixes
Alexander Shikov
a.shikov at itcons.net.ua
Thu May 29 12:10:00 UTC 2014
>Number: 190369
>Category: ports
>Synopsis: net-mgmt/torrus port update to 2.07 and build error fixes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 29 12:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Alexander Shikov
>Release: 9.2-RELEASE-p3
>Organization:
>Environment:
FreeBSD noc.dtel-ix.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #4 r262860: Mon Mar 17 18:30:58 EET 2014 root at noc.dtel-ix.net:/usr/obj/usr/src/sys/NOC i386
>Description:
net-mgmt/torrus port is older than actual version of software.
Also there are some build errors because of syntax errors in .pod.in files, I hope they will be fixed later by software developer(s):
# cd /usr/ports/net-mgmt/torrus
# make
===> License GPLv2 accepted by the user
===> torrus-2.05_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by torrus-2.05_1 for building
===> Extracting for torrus-2.05_1
=> SHA256 Checksum OK for torrus-2.05.tar.gz.
===> Patching for torrus-2.05_1
===> Applying FreeBSD patches for torrus-2.05_1
[...]
/usr/local/bin/pod2text snmpdiscovery.pod > snmpdiscovery.txt
/usr/local/bin/pod2text stylingprofile.pod > stylingprofile.txt
stylingprofile.pod around line 207: Expected '=item *'
POD document had syntax errors at /usr/local/bin/pod2text line 84.
*** [stylingprofile.txt] Error code 255
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/net-mgmt/torrus.
>How-To-Repeat:
# cd /usr/ports/net-mgmt/torrus
# make
>Fix:
Patch for the port is attached.
Patch attached with submission follows:
diff -urN net-mgmt/torrus.orig/Makefile net-mgmt/torrus/Makefile
--- net-mgmt/torrus.orig/Makefile 2014-05-29 13:17:34.000000000 +0300
+++ net-mgmt/torrus/Makefile 2014-05-29 14:58:28.000000000 +0300
@@ -2,8 +2,7 @@
# $FreeBSD: head/net-mgmt/torrus/Makefile 351411 2014-04-16 18:28:47Z zeising $
PORTNAME= torrus
-PORTVERSION= 2.05
-PORTREVISION= 1
+PORTVERSION= 2.07
CATEGORIES= net-mgmt
MASTER_SITES= SF/torrus/torrus/
diff -urN net-mgmt/torrus.orig/distinfo net-mgmt/torrus/distinfo
--- net-mgmt/torrus.orig/distinfo 2014-05-29 13:17:34.000000000 +0300
+++ net-mgmt/torrus/distinfo 2014-05-29 14:58:05.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (torrus-2.05.tar.gz) = b127dbe8d7cd0884c4751606e2fd339d1e8e7dc6510111042e41f437f5a5868b
-SIZE (torrus-2.05.tar.gz) = 623600
+SHA256 (torrus-2.07.tar.gz) = b4ee8930cb36c8985956c852ad6fa2cd284d1d54d4ef54799e77eeee3eb9a6c6
+SIZE (torrus-2.07.tar.gz) = 627347
diff -urN net-mgmt/torrus.orig/files/patch-doc net-mgmt/torrus/files/patch-doc
--- net-mgmt/torrus.orig/files/patch-doc 1970-01-01 03:00:00.000000000 +0300
+++ net-mgmt/torrus/files/patch-doc 2014-05-29 15:00:37.000000000 +0300
@@ -0,0 +1,33 @@
+--- doc/stylingprofile.pod.in.orig 2014-05-29 11:36:16.000000000 +0300
++++ doc/stylingprofile.pod.in 2014-05-29 11:37:04.000000000 +0300
+@@ -198,7 +198,7 @@
+
+ =over 4
+
+-=item * Applying your Schema
++=item 1. Applying your Schema
+
+ In the F<torrus-siteconfig.pl> file, add the variable
+
+--- doc/xmlconfig.pod.in.orig 2014-05-29 11:47:47.000000000 +0300
++++ doc/xmlconfig.pod.in 2014-05-29 11:48:16.000000000 +0300
+@@ -1306,17 +1306,15 @@
+ The first one defines the starting time. C<end> may be also optionally
+ specified.
+
+-C<print-cf> specifies oe or more consolidation functions, separated by comma.
++C<print-cf> specifies one or more consolidation functions, separated by comma.
+ The result of the rendering is the text line with the output values
+ separated by colon (:).
+
+-=back
+-
+ =item * C<disable-legend>, C<disable-title>, C<disable-vertical-label>
+
+ When set to C<yes>, the corresponding elements of the graph are not displayed.
+
+-
++=back
+
+ =head3 Styling Profiles
+
diff -urN net-mgmt/torrus.orig/pkg-plist net-mgmt/torrus/pkg-plist
--- net-mgmt/torrus.orig/pkg-plist 2014-05-29 13:17:34.000000000 +0300
+++ net-mgmt/torrus/pkg-plist 2014-05-29 14:58:05.000000000 +0300
@@ -163,10 +163,10 @@
%%DATADIR%%/xmlconfig/vendor/empire.systemedge.xml
%%DATADIR%%/xmlconfig/vendor/foundry.xml
%%DATADIR%%/xmlconfig/vendor/ftos.xml
-%%DATADIR%%/xmlconfig/vendor/jacarta.xml
-%%DATADIR%%/xmlconfig/vendor/junos.xml
%%DATADIR%%/xmlconfig/vendor/hp.hpux.xml
%%DATADIR%%/xmlconfig/vendor/hp.procurve.xml
+%%DATADIR%%/xmlconfig/vendor/jacarta.xml
+%%DATADIR%%/xmlconfig/vendor/junos.xml
%%DATADIR%%/xmlconfig/vendor/liebert.xml
%%DATADIR%%/xmlconfig/vendor/microsoft.windows.xml
%%DATADIR%%/xmlconfig/vendor/motorola.bsr.xml
@@ -229,6 +229,7 @@
%%SITE_PERL%%/Torrus/DevDiscover/ComtechEFData.pm
%%SITE_PERL%%/Torrus/DevDiscover/DevDetails.pm
%%SITE_PERL%%/Torrus/DevDiscover/EmpireSystemedge.pm
+%%SITE_PERL%%/Torrus/DevDiscover/F5BigIp.pm
%%SITE_PERL%%/Torrus/DevDiscover/Foundry.pm
%%SITE_PERL%%/Torrus/DevDiscover/FTOS.pm
%%SITE_PERL%%/Torrus/DevDiscover/Jacarta.pm
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list