mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-metrics/fusioninventory-agent: Fix deps
Fix path for ip and ifconfig. Fix threads dep Thanks to Alexey Naikov. Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
@@ -23,17 +23,31 @@ DEPEND="
|
||||
dev-perl/XML-TreePP
|
||||
dev-perl/XML-XPath
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-threads
|
||||
dev-perl/HTTP-Daemon
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-perl/LWP-Protocol-https
|
||||
dev-perl/Proc-Daemon
|
||||
"
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-perl/Module-Install
|
||||
"
|
||||
dev-perl/File-Copy-Recursive
|
||||
app-portage/gentoolkit
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-dirs.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# gentoo has ip under /bin/ip and ifconfig under /bin/ifconfig
|
||||
sed \
|
||||
-e "s:/sbin/ifconfig:/bin/ifconfig:g" \
|
||||
-e "s:/sbin/ip:/bin/ip:g" \
|
||||
-i lib/FusionInventory/Agent/Task/Inventory/Linux/Networks.pm \
|
||||
-i lib/FusionInventory/Agent/Tools/Linux.pm || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit contrib/unix/fusioninventory-agent.service
|
||||
|
||||
Reference in New Issue
Block a user