ports/50470: SNMP_Session.pm conflict in net/mrtg net/p5-SNMP_Session
Ruben van Staveren
ruben at helium.verweg.com
Mon Mar 31 08:20:16 UTC 2003
>Number: 50470
>Category: ports
>Synopsis: SNMP_Session.pm conflict in net/mrtg net/p5-SNMP_Session
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 31 00:20:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Ruben van Staveren
>Release: FreeBSD 4.8-RC i386
>Organization:
verweg.com
>Environment:
System: FreeBSD helium.verweg.com 4.8-RC FreeBSD 4.8-RC #0: Sat Mar 29 23:52:18 CET 2003 root at helium.verweg.com:/usr/cvsup/4.0-stable/src/sys/compile/HELIUM i386
>Description:
grep .pm /usr/ports/net/mrtg/pkg-plist \
/usr/ports/net/p5-SNMP_Session/pkg-plist | sed -e 's#/usr/ports/net/##'
yields:
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/BER.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm
p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/BER.pm
p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
And
cd /tmp
tar -zxf /usr/ports/distfiles/mrtg-2.9.25.tar.gz
tar -zxf /usr/ports/distfiles/SNMP_Session-0.94.tar.gz
find . -name SNMP_Session.pm | xargs diff -u | egrep '\+\+\+|---|VERSION'
--- ./mrtg-2.9.25/lib/mrtg2/SNMP_Session.pm Sat Oct 19 11:06:55 2002
+++ ./SNMP_Session-0.94/lib/SNMP_Session.pm Thu Oct 24 22:26:55 2002
-$VERSION = '0.93';
+$VERSION = '0.94';
find . -name SNMP_util.pm | xargs diff -u | egrep '\+\+\+|---|VERSION'
--- ./mrtg-2.9.25/lib/mrtg2/SNMP_util.pm Sat Oct 19 11:06:55 2002
+++ ./SNMP_Session-0.94/lib/SNMP_util.pm Thu Oct 24 10:51:24 2002
-$VERSION = '0.93';
+$VERSION = '0.92';
find . -name BER.pm | xargs diff -u | egrep '\+\+\+|---|VERSION'
--- ./mrtg-2.9.25/lib/mrtg2/BER.pm Sat Oct 19 11:06:55 2002
+++ ./SNMP_Session-0.94/lib/BER.pm Sun Oct 27 18:29:36 2002
use vars qw(@ISA @EXPORT $VERSION $pretty_print_timeticks $errmsg);
-$VERSION = '0.88';
+$VERSION = '0.94';
>How-To-Repeat:
Install both packages
>Fix:
- upgrade p5-SNMP_Session to 0.95, it is the newest version
grep ^\$VERSION /tmp/SNMP_Session-0.95/lib/*.pm
SNMP_Session-0.95/lib/BER.pm:$VERSION = '0.95';
SNMP_Session-0.95/lib/SNMP_Session.pm:$VERSION = '0.95';
SNMP_Session-0.95/lib/SNMP_util.pm:$VERSION = '0.94';
- List it as a RUN_DEPENDS for net/mrtg
- Omit installation of all double perl modules listed in net/p5-SNMP_Session
for net/mrtg (BER.pm SNMP_Session.pm SNMP_util.pm are best ${RM} from mrtg's
${WRKSRC} at do-install: time )
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list