Compare commits
27 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61c65f6c93 | ||
|
|
128e0e2eec | ||
|
|
7eca12a547 | ||
|
|
b77ee3bddb | ||
|
|
0d561d42c3 | ||
|
|
55a2989d5c | ||
|
|
8fe8d7a4b7 | ||
|
|
9c1fa7578b | ||
|
|
687049deb4 | ||
|
|
714c55ab02 | ||
|
|
88af0f06ca | ||
|
|
9e6c150271 | ||
|
|
5f786c0e48 | ||
|
|
5e27f5eb73 | ||
|
|
de66d0d696 | ||
|
|
ad05370a3b | ||
|
|
6460b59879 | ||
|
|
24feff3629 | ||
|
|
a042272d6d | ||
|
|
93a4306728 | ||
|
|
189c2bb86c | ||
|
|
fe0c1cca9b | ||
|
|
dba7d0eddf | ||
|
|
72759a0b8d | ||
|
|
745c4a74db | ||
|
|
fdda74df57 | ||
|
|
e09c20a06a |
7 changed files with 112 additions and 114 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -11,3 +11,6 @@
|
|||
/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
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
commit b4710078310e9a5243932ab90b77b760fa97faa3
|
||||
Author: Guillaume Bougard <gbougard@teclib.com>
|
||||
Date: Tue Apr 30 12:56:06 2019 +0200
|
||||
|
||||
fix: HTTP server plugins base configuration folder
|
||||
|
||||
diff --git a/lib/FusionInventory/Agent/HTTP/Server/Plugin.pm b/lib/FusionInventory/Agent/HTTP/Server/Plugin.pm
|
||||
index 5d570aab5..1076eb30e 100644
|
||||
--- a/lib/FusionInventory/Agent/HTTP/Server/Plugin.pm
|
||||
+++ b/lib/FusionInventory/Agent/HTTP/Server/Plugin.pm
|
||||
@@ -23,6 +23,10 @@ sub new {
|
||||
|
||||
bless $self, $class;
|
||||
|
||||
+ # Import _confdir from agent configuration
|
||||
+ $self->{_confdir} = $self->{server}->{agent}->{config}->{_confdir}
|
||||
+ if $self->{server};
|
||||
+
|
||||
# Check _confdir imported from FusionInventory::Agent::Config
|
||||
unless ($self->{_confdir} && -d $self->{_confdir}) {
|
||||
# Set absolute confdir from default if replaced by Makefile otherwise search
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 38e6eebdc..db2edcf5e 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -245,10 +245,10 @@ config_install : pure_install
|
||||
do \
|
||||
if $(TEST_F) $(DESTDIR)/$(SYSCONFDIR)/$$config; then \
|
||||
$(RM_F) $(DESTDIR)$(SYSCONFDIR)/$$config.new; \
|
||||
- $(CP) etc/agent.cfg $(DESTDIR)$(SYSCONFDIR)/$$config.new; \
|
||||
+ $(CP) etc/$$config $(DESTDIR)$(SYSCONFDIR)/$$config.new; \
|
||||
$(CHMOD) $(PERM_RW) $(DESTDIR)$(SYSCONFDIR)/$$config.new; \
|
||||
else \
|
||||
- $(CP) etc/agent.cfg $(DESTDIR)$(SYSCONFDIR)/$$config; \
|
||||
+ $(CP) etc/$$config $(DESTDIR)$(SYSCONFDIR)/$$config; \
|
||||
$(CHMOD) $(PERM_RW) $(DESTDIR)$(SYSCONFDIR)/$$config; \
|
||||
fi; \
|
||||
done
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
From 7ae7c838b156ba1b6bf89ab60ba9c8df04532dd0 Mon Sep 17 00:00:00 2001
|
||||
From: Guillaume Bougard <gbougard@teclib.com>
|
||||
Date: Sat, 13 Apr 2019 18:47:36 +0200
|
||||
Subject: [PATCH] fix: Add few minor fixes
|
||||
|
||||
* build: fix fusioninventory-remoteinventory was not installed
|
||||
* inventory: fix error message while starting fusioninventory-inventory script
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
lib/FusionInventory/Agent/Task/Inventory.pm | 2 +-
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 38e6eebdca..71aae700c9 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -104,6 +104,7 @@ install_script 'bin/fusioninventory-wakeonlan';
|
||||
install_script 'bin/fusioninventory-netdiscovery';
|
||||
install_script 'bin/fusioninventory-netinventory';
|
||||
install_script 'bin/fusioninventory-esx';
|
||||
+install_script 'bin/fusioninventory-remoteinventory';
|
||||
|
||||
resources
|
||||
homepage => "http://www.fusioninventory.org",
|
||||
diff --git a/lib/FusionInventory/Agent/Task/Inventory.pm b/lib/FusionInventory/Agent/Task/Inventory.pm
|
||||
index 84a3cafbda..8fb2cd8806 100644
|
||||
--- a/lib/FusionInventory/Agent/Task/Inventory.pm
|
||||
+++ b/lib/FusionInventory/Agent/Task/Inventory.pm
|
||||
@@ -59,7 +59,7 @@ sub run {
|
||||
tag => $tag
|
||||
);
|
||||
|
||||
- $self->{logger}->info("New inventory from $self->{deviceid} for $self->{target}->{id}".
|
||||
+ $self->{logger}->info("New inventory from ".$inventory->getDeviceId()." for $self->{target}->{id}".
|
||||
( (defined($tag) && length($tag)) ? " (tag=$tag)" : "" ));
|
||||
|
||||
# Set inventory as remote if running remote inventory like from wmi task
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
From d4f29affa9c9b8e80ea53171570c6d70eab28027 Mon Sep 17 00:00:00 2001
|
||||
From: Guillaume Bougard <gbougard@teclib.com>
|
||||
Date: Tue, 7 May 2019 14:33:09 +0200
|
||||
Subject: [PATCH] fix: Keep HTTP Server SSL plugin sessions opened
|
||||
|
||||
---
|
||||
lib/FusionInventory/Agent/HTTP/Server/SSL.pm | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/lib/FusionInventory/Agent/HTTP/Server/SSL.pm b/lib/FusionInventory/Agent/HTTP/Server/SSL.pm
|
||||
index f6238104a5..32442ec2cc 100644
|
||||
--- a/lib/FusionInventory/Agent/HTTP/Server/SSL.pm
|
||||
+++ b/lib/FusionInventory/Agent/HTTP/Server/SSL.pm
|
||||
@@ -139,6 +139,9 @@ sub new {
|
||||
return;
|
||||
}
|
||||
|
||||
+ # Disable Timeout to leave SSL session opened until we get data
|
||||
+ $client->timeout(0);
|
||||
+
|
||||
$plugin->debug("HTTPD started new SSL session");
|
||||
|
||||
bless $client, $class;
|
||||
|
|
@ -5,22 +5,33 @@
|
|||
|
||||
Name: fusioninventory-agent
|
||||
Summary: FusionInventory agent
|
||||
License: GPLv2+
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://fusioninventory.org/
|
||||
|
||||
Version: 2.5
|
||||
Release: 4%{?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
|
||||
Patch0: fusioninventory-agent-7ae7c838b.patch
|
||||
Patch1: fix-install-httpd-plugins-configs.patch
|
||||
Patch2: fix-httpd-plugins-configs-folder.patch
|
||||
Patch3: fusioninventory-agent-d4f29af.patch
|
||||
|
||||
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}
|
||||
|
|
@ -66,7 +77,6 @@ You can add additional packages for optional tasks:
|
|||
%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)
|
||||
|
|
@ -139,11 +149,9 @@ fusioninventory cron task
|
|||
%prep
|
||||
%setup -q -n FusionInventory-Agent-%{version}
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# Remove bundled modules
|
||||
rm -rf ./inc
|
||||
sed -e '/^inc\//d' -i MANIFEST
|
||||
|
||||
sed \
|
||||
-e "s/logger = .*/logger = syslog/" \
|
||||
|
|
@ -230,6 +238,8 @@ install -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/%{name}.service
|
|||
%config(noreplace) %{_sysconfdir}/fusioninventory/inventory-server-plugin.cfg
|
||||
%config(noreplace) %{_sysconfdir}/fusioninventory/server-test-plugin.cfg
|
||||
%config(noreplace) %{_sysconfdir}/fusioninventory/ssl-server-plugin.cfg
|
||||
%config(noreplace) %{_sysconfdir}/fusioninventory/proxy-server-plugin.cfg
|
||||
%config(noreplace) %{_sysconfdir}/fusioninventory/proxy2-server-plugin.cfg
|
||||
|
||||
%{_unitdir}/%{name}.service
|
||||
%dir %{_sysconfdir}/systemd/system/%{name}.service.d
|
||||
|
|
@ -290,6 +300,89 @@ install -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/%{name}.service
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 2.6-13
|
||||
- convert license to SPDX
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-6
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-3
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6-2
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Fri Jan 29 2021 Marianne Lombard <jehane@fedoraproject.org> - 2.6-1
|
||||
- Bump release to 2.6
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.2-4
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Mar 12 2020 Petr Pisar <ppisar@redhat.com> - 2.5.2-3
|
||||
- Specify all dependencies and unbundle Module::Install
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Dec 17 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.5.2-1
|
||||
- Last upstream release
|
||||
- Drop patch applied upstream
|
||||
|
||||
* Mon Aug 12 2019 Marianne Lombard <jehane@fedoraproject.org> - 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 <releng@fedoraproject.org> - 2.5.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Jul 15 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.5.1-2
|
||||
- Add upstream HTTP server patch
|
||||
- add missing configuration files
|
||||
|
||||
* Mon Jul 08 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.5.1-1
|
||||
- Last upstream release
|
||||
- Remove patches applied upstream
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.5-5
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Tue May 07 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.5-4
|
||||
- Add patch to fix SSL on with http modules
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (FusionInventory-Agent-2.5.tar.gz) = 37f0545df716e482fffd018a56b9c7482d7fce64fd0fa277c481a553a2108e7588f34077fb4775bb6352668efc96b3525fe97b1d6331d637401e8db8c0c91333
|
||||
SHA512 (FusionInventory-Agent-2.6.tar.gz) = b400e8bbf1be117c110622e6f1e2e2eee744c4e79bf3686c9e4c9126f7d4cb7f2224149ab4e7ad9a686d0cdbcbe2aef1128766359270c7e9f00d78552f51aa45
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue