diff --git a/.gitignore b/.gitignore index 8b35181..2b7f668 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,10 @@ /FusionInventory-Agent-2.3.20.tar.gz /FusionInventory-Agent-2.3.21.tar.gz /FusionInventory-Agent-2.4.tar.gz +/FusionInventory-Agent-2.4.1.tar.gz +/FusionInventory-Agent-2.4.2.tar.gz +/FusionInventory-Agent-2.4.3.tar.gz +/FusionInventory-Agent-2.5.tar.gz +/FusionInventory-Agent-2.5.1.tar.gz +/FusionInventory-Agent-2.5.2.tar.gz +/FusionInventory-Agent-2.6.tar.gz diff --git a/fusioninventory-agent.service b/fusioninventory-agent.service index 2e220d4..56526ab 100644 --- a/fusioninventory-agent.service +++ b/fusioninventory-agent.service @@ -11,10 +11,12 @@ [Unit] Description=FusionInventory agent +Documentation=man:fusioninventory-agent After=syslog.target network.target [Service] ExecStart=/usr/bin/fusioninventory-agent --daemon --no-fork $OPTIONS +ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec index 78e38b3..8b94faf 100644 --- a/fusioninventory-agent.spec +++ b/fusioninventory-agent.spec @@ -5,19 +5,33 @@ Name: fusioninventory-agent Summary: FusionInventory agent -Group: Applications/System -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: http://fusioninventory.org/ -Version: 2.4 -Release: 5%{?dist} +Version: 2.6 +Release: 15%{?dist} Source0: https://github.com/fusioninventory/%{name}/releases/download/%{version}/FusionInventory-Agent-%{version}.tar.gz Source1: %{name}.cron Source10: %{name}.service -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(Config) +BuildRequires: perl(English) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::AutoInstall) +BuildRequires: perl(Module::Install::Include) +BuildRequires: perl(Module::Install::Makefile) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::Scripts) +BuildRequires: perl(Module::Install::WriteAll) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: sed BuildRequires: systemd Requires: perl-FusionInventory-Agent = %{version}-%{release} @@ -57,13 +71,12 @@ You can add additional packages for optional tasks: * fusioninventory-agent-task-collect Custom information retrieval support * fusioninventory-agent-task-wakeonlan - not included due to a licensing issue for perl-Net-Write + Wake o lan task %package -n perl-FusionInventory-Agent Summary: Libraries for Fusioninventory agent BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(LWP) Requires: perl(Net::CUPS) Requires: perl(Net::SSLeay) @@ -82,22 +95,9 @@ Requires: %{name} = %{version}-%{release} fusioninventory-agent-task-ESX ask the running service agent to inventory an VMWare vCenter/ESX/ESXi server through SOAP interface -%package yum-plugin -Summary: Ask FusionInventory agent to send an inventory when yum exits -Group: System Environment/Base -BuildArch: noarch -Requires: yum -Requires: %{name} - -%description yum-plugin -fusioninventory-agent-yum-plugin asks the running service agent to send an -inventory when yum exits. - -This requires the service to be running with the --rpc-trust-localhost option. %package task-network Summary: NetDiscovery and NetInventory task for FusionInventory -Group: Applications/System BuildArch: noarch Requires: %{name} = %{version}-%{release} @@ -106,7 +106,6 @@ fusioninventory-task-netdiscovery and fusioninventory-task-netinventory %package task-deploy Summary: Software deployment support for FusionInventory agent -Group: Applications/System BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: perl(Archive::Extract) @@ -114,22 +113,16 @@ Requires: perl(Archive::Extract) %description task-deploy This package provides software deployment support for FusionInventory-agent -%if !%{defined perl_net_write} -# Excluded due to the absence of perl-Net-Write -# perl-Net-Write is licenced under Artistic Perl v1 licence, not accepted in Fedora %package task-wakeonlan Summary: WakeOnLan task for FusionInventory -Group: Applications/System BuildArch: noarch Requires: %{name} = %{version}-%{release} %description task-wakeonlan fusioninventory-task-wakeonlan -%endif %package task-inventory Summary: Inventory task for FusionInventory -Group: Applications/System Requires: %{name} = %{version}-%{release} Requires: perl(Net::CUPS) Requires: perl(Parse::EDID) @@ -139,7 +132,6 @@ fusioninventory-task-inventory %package task-collect Summary: Custom information retrieval support for FusionInventory agent -Group: Applications/System Requires: %{name} = %{version}-%{release} %description task-collect @@ -148,7 +140,6 @@ FusionInventory agent %package cron Summary: Cron for FusionInventory agent -Group: Applications/System Requires: %{name} = %{version}-%{release} %description cron @@ -158,6 +149,10 @@ fusioninventory cron task %prep %setup -q -n FusionInventory-Agent-%{version} +# Remove bundled modules +rm -rf ./inc +sed -e '/^inc\//d' -i MANIFEST + sed \ -e "s/logger = .*/logger = syslog/" \ -e "s/logfacility = .*/logfacility = LOG_DAEMON/" \ @@ -175,7 +170,7 @@ cat < - 2.6-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 2.6-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jul 25 2024 Miroslav Suchý - 2.6-13 +- convert license to SPDX + +* Wed Jul 17 2024 Fedora Release Engineering - 2.6-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 2.6-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.6-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 2.6-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 2.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 01 2022 Jitka Plesnikova - 2.6-6 +- Perl 5.36 rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 2.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 2.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 2.6-3 +- Perl 5.34 rebuild + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.6-2 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Fri Jan 29 2021 Marianne Lombard - 2.6-1 +- Bump release to 2.6 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.5.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.5.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 2.5.2-4 +- Perl 5.32 rebuild + +* Thu Mar 12 2020 Petr Pisar - 2.5.2-3 +- Specify all dependencies and unbundle Module::Install + +* Tue Jan 28 2020 Fedora Release Engineering - 2.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Dec 17 2019 Johan Cwiklinski - 2.5.2-1 +- Last upstream release +- Drop patch applied upstream + +* Mon Aug 12 2019 Marianne Lombard - 2.5.1-4 +- Fixing patch (thanks to E. Seyman - eseyman AT fedoraproject DOT org - help) and applying it +- Fix issue #1735227 : FTBFS + +* Thu Jul 25 2019 Fedora Release Engineering - 2.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 15 2019 Johan Cwiklinski - 2.5.1-2 +- Add upstream HTTP server patch +- add missing configuration files + +* Mon Jul 08 2019 Johan Cwiklinski - 2.5.1-1 +- Last upstream release +- Remove patches applied upstream + +* Thu May 30 2019 Jitka Plesnikova - 2.5-5 +- Perl 5.30 rebuild + +* Tue May 07 2019 Johan Cwiklinski - 2.5-4 +- Add patch to fix SSL on with http modules + +* Thu May 02 2019 Guillaume Bougard - 2.5-3 +- Add patches to fix agent HTTP server plugins integration + +* Thu Apr 18 2019 Johan Cwiklinski - 2.5-2 +- Re-add tasks files in main perl package, to solve dependencies issues on package + +* Mon Apr 15 2019 Johan Cwiklinski - 2.5-1 +- Last upstream release +- Tasks files were provided also in main perl package +- Apply upstream minor fixes patch +- task-wakeonlan is back (see https://github.com/fusioninventory/fusioninventory-agent/issues/495#issuecomment-435110369 about dependancy issue) + +* Tue Feb 26 2019 Johan Cwiklinski - 2.4.3-2 +- Remove yum plugin (and therefore dependency on yum) + +* Mon Feb 25 2019 Johan Cwiklinski - 2.4.3-1 +- Last upstream release + +* Thu Jan 31 2019 Fedora Release Engineering - 2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 03 2018 Johan Cwiklinski - 2.4.2-1 +- Last upstream release +- Drop patch applied upstream + +* Fri Jul 13 2018 Fedora Release Engineering - 2.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 Johan Cwiklinski - 2.4.1-3 +- Add upstream patch to fix wrong variable name + +* Fri Jul 06 2018 Petr Pisar - 2.4.1-2 +- Perl 5.28 rebuild + +* Tue Jul 03 2018 Johan Cwiklinski - 2.4.1-1 +- Last upstream release + +* Wed Jun 27 2018 Jitka Plesnikova - 2.4-6 +- Perl 5.28 rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index eda5def..76629c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (FusionInventory-Agent-2.4.tar.gz) = f232ad610d11c46e7f0feb6dee0073c7d7f95af9d6903300327195bf9239769265cb5d21ddd7e9b7ff35f3328a75acb442f6e7fb995cd8452be9b49dfc0f5491 +SHA512 (FusionInventory-Agent-2.6.tar.gz) = b400e8bbf1be117c110622e6f1e2e2eee744c4e79bf3686c9e4c9126f7d4cb7f2224149ab4e7ad9a686d0cdbcbe2aef1128766359270c7e9f00d78552f51aa45