"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile.PL" between
Ocsinventory-Unix-Agent-2.6.1.tar.gz and Ocsinventory-Unix-Agent-2.8.0.tar.gz

About: Ocsinventory-Agent is a Linux agent for OCS Inventory NG.

Makefile.PL  (Ocsinventory-Unix-Agent-2.6.1):Makefile.PL  (Ocsinventory-Unix-Agent-2.8.0)
skipping to change at line 41 skipping to change at line 41
abstract 'OCS Inventory unified Agent for UNIX, Linux and MacOSX'; abstract 'OCS Inventory unified Agent for UNIX, Linux and MacOSX';
license 'gpl'; license 'gpl';
repository 'https://github.com/OCSInventory-NG/UnixAgent/'; repository 'https://github.com/OCSInventory-NG/UnixAgent/';
version $version; version $version;
perl_version '5.006'; perl_version '5.006';
authors 'OCS Inventory Team'; authors 'OCS Inventory Team';
# mandatory dependencies # mandatory dependencies
requires 'Digest::MD5' => undef; requires 'Digest::MD5' => undef;
requires 'XML::Simple' => undef; requires 'XML::Simple' => undef;
requires 'LWP' => undef; requires 'LWP' => '5.8';
requires 'File::Temp' => undef; requires 'File::Temp' => undef;
requires 'Data::UUID' => undef;
requires 'Net::IP' => undef; requires 'Net::IP' => undef;
recommends 'IO::Socket::SSL' => undef; recommends 'IO::Socket::SSL' => undef;
recommends 'Compress::Zlib' => undef; recommends 'Compress::Zlib' => undef;
recommends 'Proc::Daemon' => undef; recommends 'Proc::Daemon' => undef;
recommends 'Proc::PID::File' => undef; recommends 'Proc::PID::File' => undef;
# test dependencies
test_requires 'IO::Socket::SSL' => '0';
test_requires 'Net::SNMP' => '0';
test_requires 'LWP::Protocol::https' => '0';
# deployement or https communication # deployement or https communication
recommends 'Crypt::SSLeay' => undef; recommends 'Crypt::SSLeay' => undef;
recommends 'LWP::Protocol::https' => undef; recommends 'LWP::Protocol::https' => undef;
# inventory # inventory
recommends 'Net::CUPS' => undef; recommends 'Net::CUPS' => undef;
recommends 'Parse::EDID' => undef; recommends 'Parse::EDID' => undef;
recommends 'Nvidia::ml' => undef;
# network # network
recommends 'Net::SNMP' => undef; recommends 'Net::SNMP' => undef;
recommends 'Net::Netmask' => undef; recommends 'Net::Netmask' => undef;
recommends 'Net::Ping' => undef; recommends 'Net::Ping' => undef;
recommends 'Nmap::Parser' => undef; recommends 'Nmap::Parser' => undef;
resources resources
bugtracker => 'https://github.com/OCSinventory-NG/Unixagent/issues', bugtracker => 'https://github.com/OCSinventory-NG/Unixagent/issues',
homepage => 'http://www.ocsinventory-ng.org', homepage => 'http://www.ocsinventory-ng.org',
skipping to change at line 102 skipping to change at line 105
unlink 'run-postinst'; unlink 'run-postinst';
} else { } else {
open POSTINST, '>run-postinst' or die $!; open POSTINST, '>run-postinst' or die $!;
close POSTINST; close POSTINST;
} }
if (!can_use('Compress::Zlib')) { if (!can_use('Compress::Zlib')) {
print "Please install Compress::Zlib if you use an OCS server prior 1.02.\n" ; print "Please install Compress::Zlib if you use an OCS server prior 1.02.\n" ;
} }
if (!can_use('Crypt::SSLeay')) {
print "Please install Crypt::SSLeay if you want to use SSL.\n";
}
if (!can_use('Net::SSLeay')) { if (!can_use('Net::SSLeay')) {
print "Please install Net::SSLeay if you want to use the software deployment .\n"; print "Please install Net::SSLeay if you want to use the software deployment .\n";
} }
if (!can_run('ipdiscover') && !can_run('nmap')) { if (!can_run('ipdiscover') && !can_run('nmap')) {
print "Please install nmap "; print "Please install nmap ";
print "or ipdiscover " if $^O =~ /^linux$/i; print "or ipdiscover " if $^O =~ /^linux$/i;
print "if you want to use the network ". print "if you want to use the network ".
"discover feature.\n"; "discover feature.\n";
} }
skipping to change at line 132 skipping to change at line 131
if (!can_use('Net::Netmask')) { if (!can_use('Net::Netmask')) {
print "Net::Netmask is strongly recommended since it's required to retrieve " print "Net::Netmask is strongly recommended since it's required to retrieve "
."snmp information\n"; ."snmp information\n";
} }
if (!can_use('Proc::Daemon') || !can_use('Proc::PID::File')) { if (!can_use('Proc::Daemon') || !can_use('Proc::PID::File')) {
print "Please install Proc::Daemon and Proc::PID::File if you ". print "Please install Proc::Daemon and Proc::PID::File if you ".
"want to use the daemon mode.\n"; "want to use the daemon mode.\n";
} }
if (!can_use('Nvidia::ml')){
print "Nvidia::ml is recommended if you want to retrieve "
."memory, speed, bios information for Nvidia cards.\n";
}
my $archname; my $archname;
eval { # config_re is not available on Perl 5.6 eval { # config_re is not available on Perl 5.6
my @t = Config::config_re('archname'); my @t = Config::config_re('archname');
$archname = $t[0]; $archname = $t[0];
}; };
if ($^O =~ /(linux|bsd)/i && (!$archname ||$archname =~ /(i[3456x]86|x86_64|amd6 4)/i)) { if ($^O =~ /(linux|bsd)/i && (!$archname ||$archname =~ /(i[3456x]86|x86_64|amd6 4)/i)) {
foreach (qw/dmidecode lspci/) { foreach (qw/dmidecode lspci/) {
if (!can_run($_)) { if (!can_run($_)) {
print "\n"; print "\n";
print "[WARNING] $_ is needed if you want a complete inventory on x8 6 and AMD64/x86_64.\n"; print "[WARNING] $_ is needed if you want a complete inventory on x8 6 and AMD64/x86_64.\n";
 End of changes. 6 change blocks. 
12 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)