Red Hat Bugzilla – Bug 462484
net-snmp and net-snmp-utils contain perl scripts that should be moved to net-snmp-perl
Last modified: 2008-09-26 10:02:51 EDT
There is already an net-snmp-perl package so the perl scripts that are currently in the net-snmp and net-snmp-utils should be moved to this sub package so that the aforementioned packages don't depend on perl as well.
The perl files are:
- Standard package
The purpose of net-snmp-perl package is to contain NetSNMP:: perl modules + the utilities that use it. It should not contain all perl scripts, which come with net-snmp package.
I admit that distribution of some scripts among the subpackages is bad (e.g. /usr/share/snmp/snmp_perl.pl should really go to net-snmp-perl, because it references NetSNMP::agent), but some script should be in net-snmp.rpm, because they are here to help with configuration of the snmp server (like /usr/bin/snmpconf, now wrongly distributed in net-snmp-utils) and do not have other dependencies than perl itself.
All I can do is to try fix net-snmp-utils so it won't depend on perl - the perl scripts here are useful more or less only on the server side. I can't drop net-snmp.rpm dependency on perl, even the snmpd daemon itself needs to dynamically link to libperl*.so.
That would be fine if the net-snmp-utils doesn't depend on the net-snmp package so you can have the utils installed which are useful on their own without having to have the full net-snmp server installed.
Fixed in net-snmp-5.4.2-2.fc10, do you *really* want to fix it in F9? Such changes should IMHO not happen in stable release.
I didn't mention F-9 that I'm aware of. I'm quite happy for it to be in F-10 as that's what I'm targetting it for.
reopening as net-snmp-utils requires net-snmp which in turn requires perl.
oops, good catch. Utils now depends on net-snmp-libs only (to get the MIBs).