Project

General

Profile

Actions

Bug #8026

closed

Architecture #8015: Preliminary support for Slackware

Slackware support for FusionInventory-Agent

Added by Jérémy HOCDÉ over 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Something is wrong into inventory for slackware nodes

report of fusioninventory :
...
<SOFTWARES>
<NAME>pygtk-2.24.</NAME>
<VERSION>0-x86_64-1</VERSION>
</SOFTWARES>
...

to fix it : patch regex in fusioninventory-agent-2.3.6/lib/FusionInventory/Agent/Task/Inventory/Generic/Softwares/Slackware.pm
- next unless $file =~ /^(.+)([^-]+-[^-]+-[^-]+)$/;
+ next unless $file =~ /^(.+)-(.+)-(i[0-9]86|noarch|x86_64|x86|fw|npmjs)-(.*)$/;

$1 -> name
$2 -> version
$3 -> architecture
$4 -> build

patch in attachments

After patching :
<NAME>xrandr</NAME>
<VERSION>1.4.1</VERSION>

tested on slackware64-14.1 et slackware-14.1


Files

0014-fix-slack-inventory.patch (575 Bytes) 0014-fix-slack-inventory.patch Jérémy HOCDÉ, 2016-03-03 13:01
0014-fix-slack-inventory.patch (571 Bytes) 0014-fix-slack-inventory.patch Jérémy HOCDÉ, 2016-03-03 13:29
Actions

Also available in: Atom PDF