Search Criteria
Package Details: fusioninventory-agent-bin 2.6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fusioninventory-agent-bin.git (read-only, click to copy) |
---|---|
Package Base: | fusioninventory-agent-bin |
Description: | An application for keeping track of the hardware and software |
Upstream URL: | https://github.com/fusioninventory/fusioninventory-agent |
Licenses: | GPL |
Conflicts: | fusioninventory-agent |
Provides: | fusioninventory-agent |
Submitter: | mlex |
Maintainer: | systemofapwne |
Last Packager: | systemofapwne |
Votes: | 3 |
Popularity: | 0.35 |
First Submitted: | 2017-08-17 10:08 (UTC) |
Last Updated: | 2024-12-29 23:45 (UTC) |
Latest Comments
systemofapwne commented on 2024-12-29 23:46 (UTC)
Updated the package to reflect the changes proposed below
systemofapwne commented on 2024-12-12 14:32 (UTC) (edited on 2024-12-12 14:33 (UTC) by systemofapwne)
I figured that using
in my patch below might not be sufficient. Especially when the ENV is reset, e.g. by running "sudo", it won't find cpanm. In fact, the original package failed before with cpan (note the missing m at the end) when the installation was invoked via sudo.
I worked around this by prepending the perl binary directory to PATH
Alternatively, one could also run
/usr/bin/vendor_perl/cpanm --notest --installdeps FusionInventory::Agent
systemofapwne commented on 2024-12-09 14:06 (UTC) (edited on 2024-12-09 14:13 (UTC) by systemofapwne)
Regarding 2): I figured, that the maintainer did not want to make this package rely on other AURs. However by running 'cpan FusionInventory::Agent' in post_install will completely compile fusioninventory-agent from scratch. Besides this making this package redundant, this also sets the default config dir to /usr/share/fusioninventory/etc, which completely skips /etc/fusioninventory.
Using cpanm (cpanminus) instead of cpan solves this: 'cpanm --notest --installdeps FusionInventory::Agent' will only install the depedencies and skips any tests.
Here is a patch, that fixes 1) and 2) of my previous comment:
systemofapwne commented on 2024-12-05 22:09 (UTC)
I have two comments here:
1) agent.cfg should be updated to the 2.4+ skeleton. It is missing a
include "conf.d/"
at the end, which made my config not work on my arch system, since I put it in the existing /etc/fusioninventory/conf.d folder.
2) Is the post_install hook really required? And if so: Could you at least disable the tests for the modules, that cpan wants to install? When installing this package, cpan locks up on some module tests for like 30+ minutes. Using 'cpan -T <module>' will at least skip the tests. However, I still don't see, why we need cpan call at all: Aren't we installing all dependencies already via PKGBUILD and dropping the "binaries" as they were in the DEB?
FredDeschenes commented on 2020-01-15 14:36 (UTC)
I created a patch to update to 2.5-3 here : https://gist.github.com/FredDeschenes/73dd48cc48c670c37d833283ee62915f