Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 18:59:18 -0700 (PDT)
From:      Craig Leres <leres@ee.lbl.gov>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jwelcher@lbl.gov, leres@ee.lbl.gov
Subject:   ports/176932: [PATCH] net-mgmt/nfsen: add missing RUN_DEPENDS
Message-ID:  <201303140159.r2E1xIah090524@fun.ee.lbl.gov>
Resent-Message-ID: <201303140200.r2E2017h017023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176932
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nfsen: add missing RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 14 02:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
System: FreeBSD fun.ee.lbl.gov 9.1-RELEASE FreeBSD 9.1-RELEASE #4 r13: Fri Feb 1 19:03:16 PST 2013 leres@fun.ee.lbl.gov:/sys/amd64/compile/LBL amd64

	
>Description:
	Apparently nfsen 1.3.6p1 requires p5-Socket to install
	correctly.

>How-To-Repeat:
	% make install
	[...]
	installing with sample nfsen.conf
	Check for required Perl modules: Failed
	Required nfsen modules not found
	Can't locate Socket6.pm in @INC (@INC contains: libexec ./libexec ./installer-items /usr/local/libexec/nfsen /usr/local/lib/perl5/5.16.2/BSDPAN /usr/local/lib/perl5/site_perl/5.16.2/mach /usr/local/lib/perl5/site_perl/5.16.2 /usr/local/lib/perl5/5.16.2/mach /usr/local/lib/perl5/5.16.2 .) at /u1/src/FreeBSD-current/ports/net-mgmt/nfsen/work/nfsen-1.3.6p1/install.pl line 616.

	(Most files in the pkg-plist do not get installed and "make
	package" also fails.)

>Fix:
	Add a dependancy for p5-Socket6; see attached patch.

--- patch.txt begins here ---
--- Makefile.orig	2013-03-13 18:41:45.000000000 -0700
+++ Makefile	2013-03-13 18:49:52.000000000 -0700
@@ -3,6 +3,7 @@
 
 PORTNAME=	nfsen
 PORTVERSION=	1.3.6p1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} \
 		http://nfsen.sourceforge.net/
@@ -15,6 +16,7 @@
 
 RUN_DEPENDS=	rrdtool>=0:${PORTSDIR}/databases/rrdtool \
 		p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
+		p5-Socket6:${PORTSDIR}/net/p5-Socket6 \
 		nfdump:${PORTSDIR}/net-mgmt/nfdump
 
 USE_ICONV=	yes
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303140159.r2E1xIah090524>