Compare commits

...
Sign in to create a new pull request.

101 commits

Author SHA1 Message Date
Fedora Release Engineering
61c65f6c93 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 20:53:29 +00:00
Fedora Release Engineering
128e0e2eec Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 19:01:29 +00:00
Miroslav Suchý
7eca12a547 convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 23:56:13 +02:00
Fedora Release Engineering
b77ee3bddb Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 23:48:41 +00:00
Fedora Release Engineering
0d561d42c3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 12:11:19 +00:00
Fedora Release Engineering
55a2989d5c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:56:43 +00:00
Fedora Release Engineering
8fe8d7a4b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 20:25:24 +00:00
Fedora Release Engineering
9c1fa7578b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 04:03:02 +00:00
Jitka Plesnikova
687049deb4 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 09:35:06 +01:00
Fedora Release Engineering
714c55ab02 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:46:49 +00:00
Jitka Plesnikova
88af0f06ca Perl 5.36 rebuild 2022-06-01 11:35:51 +02:00
Fedora Release Engineering
9e6c150271 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:33:56 +00:00
Fedora Release Engineering
5f786c0e48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:29:43 +00:00
Jitka Plesnikova
5e27f5eb73 Perl 5.34 rebuild 2021-05-21 22:56:49 +02:00
Zbigniew Jędrzejewski-Szmek
de66d0d696 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:46 +01:00
Marianne Lombard
ad05370a3b Bump release to 2.6 2021-01-29 12:07:15 +01:00
Fedora Release Engineering
6460b59879 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:03:32 +00:00
Fedora Release Engineering
24feff3629 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:58:09 +00:00
Jitka Plesnikova
a042272d6d Perl 5.32 rebuild 2020-06-23 10:17:38 +02:00
Petr Písař
93a4306728 Specify all dependencies and unbundle Module::Install 2020-03-12 12:38:10 +01:00
Fedora Release Engineering
189c2bb86c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 19:10:45 +00:00
Johan Cwiklinski
fe0c1cca9b New upstream release 2019-12-17 08:33:38 +01:00
Marianne Lombard
dba7d0eddf fixing space / tabulation issue in patch 2019-08-12 12:45:22 +02:00
Fedora Release Engineering
72759a0b8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:12:01 +00:00
Johan Cwiklinski
745c4a74db Add upstream fix on http server, add missing configuration files 2019-07-15 07:42:04 +02:00
Johan Cwiklinski
fdda74df57 New upstream release 2019-07-08 14:10:14 +02:00
Jitka Plesnikova
e09c20a06a Perl 5.30 rebuild 2019-05-30 13:23:30 +02:00
Johan Cwiklinski
4f73478826 Add patch to fix SSL on with http modules 2019-05-07 14:47:06 +02:00
Johan Cwiklinski
607a6da4d1 Fix httpd server plugin integration 2019-05-02 11:21:35 +02:00
Johan Cwiklinski
5cfda3230b Re-add tasks files in main perl package, to solve dependencies issues on package 2019-04-18 13:43:17 +02:00
Johan Cwiklinski
c5f4c47da4 Add wakeonlan task 2019-04-15 11:31:57 +02:00
Johan Cwiklinski
579d0b4c36 New upstream release, drop task files from main perl package 2019-04-15 10:59:46 +02:00
Johan Cwiklinski
4f71a4d8b7 Fix syntax 2019-02-26 17:38:03 +01:00
Johan Cwiklinski
3240e9ee52 Remove dependency on yum 2019-02-26 17:36:17 +01:00
Johan Cwiklinski
89dc01366c New upstream release 2019-02-25 15:31:35 +01:00
Fedora Release Engineering
30445f1d1e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 20:19:44 +00:00
Igor Gnatenko
ab52212c10 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
Johan Cwiklinski
426d25abba New upstream release 2018-10-04 15:04:01 +02:00
Fedora Release Engineering
681cb74560 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:57:35 +00:00
Johan Cwiklinski
d6e020d6db Apply upstream patch to fix wrong variable name 2018-07-10 13:03:44 +02:00
Petr Písař
61d059816b Perl 5.28 rebuild 2018-07-06 09:36:36 +02:00
Johan Cwiklinski
a1a2dd5a29 Fix date in changelog 2018-07-03 14:46:06 +02:00
Johan Cwiklinski
a5720d6b97 New sources 2018-07-03 14:43:43 +02:00
Johan Cwiklinski
0b26970a8d New upstream release 2018-07-03 14:42:01 +02:00
Jitka Plesnikova
c1aa6e3561 Perl 5.28 rebuild 2018-06-27 21:18:58 +02:00
Fedora Release Engineering
3716f5d37f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 10:21:18 +00:00
Johan Cwiklinski
f101bb3d59 Missing bump release 2018-01-26 09:10:20 +01:00
Johan Cwiklinski
92f0c5c477 Logrotate is no longer used since we now rely on syslog 2018-01-26 09:08:35 +01:00
Johan Cwiklinski
b332b7c0bf Change logging according to upstream recommandations 2018-01-15 11:19:47 +01:00
Johan Cwiklinski
8c5b488613 Missing directory 2018-01-13 08:46:19 +01:00
Johan Cwiklinski
a295434a8f Drop systemd override configuration, this is no longer needed 2018-01-12 14:47:14 +01:00
Johan Cwiklinski
44573d3a36 New upstream release
Cron config stuff is now in a separate sub-package
Old sysconfig file is no longer used from systemd service
A conf.d directory has been added
Dependency on obsolete perl-pid-file has been removed
2018-01-12 11:53:49 +01:00
Johan Cwiklinski
3d85a3014d Do not provides perl(setup); BZ #1485919 - thanks to E. Seyman 2017-10-18 09:06:53 +02:00
Johan Cwiklinski
76234f1bb0 Add missing provides on perl(setup) 2017-08-14 08:24:52 +02:00
jehane
36959719a4 new version 2017-08-01 14:45:29 +02:00
Fedora Release Engineering
bd190a4240 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:54:29 +00:00
Jitka Plesnikova
be8f25b057 Perl 5.26 re-rebuild of bootstrapped packages 2017-06-07 23:31:52 +02:00
Johan Cwiklinski
ed5110ce9e Update to latest upstream release
Drop patches applied upstream
2017-06-06 10:04:56 +02:00
Jitka Plesnikova
0fca4ecd0d Perl 5.26 rebuild 2017-06-04 09:30:13 +02:00
Jitka Plesnikova
47a59da851 Fix building on Perl without '.' in @INC 2017-05-17 17:04:36 +02:00
Johan Cwiklinski
e1af1ddc84 Fix setup.pm path that are no longer changed from makefile call 2017-02-20 13:23:07 +01:00
Johan Cwiklinski
8f557ada2f Last upstream release 2017-02-18 18:50:48 +01:00
Johan Cwiklinski
a94e135d72 Rename file so it will be directly opened on 'systemctl edit'
Change .service comment, patch has been refused upstream
2017-02-10 08:34:59 +01:00
Johan Cwiklinski
ec0ae32da4 Another try for Environment 2017-02-09 17:47:26 +01:00
Johan Cwiklinski
d4d4157080 Typo, more comprehensible example 2017-02-09 14:27:20 +01:00
Johan Cwiklinski
389b60c319 Change configuration files
Re-add comments and default options to get cron mode working
Use new service file (proposed to upstream)
Deprecate using EnvironmentFile for service extra config
2017-02-09 14:08:20 +01:00
Petr Písař
ee35b689b8 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:54:13 +02:00
Johan Cwiklinski
2760b77beb Add upstream patch for useless requires; change source, add task-collect 2016-06-22 17:04:39 +02:00
Johan Cwiklinski
c588140dcd New upstream release 2016-06-21 21:39:18 +02:00
Jitka Plesnikova
13f0bdd244 Perl 5.24 rebuild 2016-05-15 23:13:07 +02:00
Dennis Gilmore
69bf1e49af - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:54:34 +00:00
jehane
c7493300b7 new version
- Upstream switch to github, minor spec adaptation
2015-10-11 17:01:09 +02:00
jehane
da97339629 bugfix 2015-07-09 13:55:00 +02:00
Dennis Gilmore
e9f58b4c5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:51:34 +00:00
Jitka Plesnikova
6fa6083695 Perl 5.22 rebuild 2015-06-06 09:30:22 +02:00
jehane
edc4ff8d41 adding changelog 2015-03-29 09:56:14 +02:00
jehane
df7a1db416 commenting unused buildrequires 2015-03-29 09:54:43 +02:00
jehane
75a659f227 new sources 2015-03-02 08:10:26 +01:00
jehane
56a0d5a6bf update to 2.3.16 2015-03-02 08:03:15 +01:00
jehane
c12955a6ed re-enabling arch and excluding debug 2015-03-01 09:26:40 +01:00
jehane
7d1aff0da6 forgot mail adress 2015-02-22 16:21:20 +01:00
jehane
15aae5f345 building as noarch 2015-02-20 16:10:07 +01:00
jehane
e6b3bee1dd commenting unused source 2015-02-11 18:58:49 +01:00
jehane
b2d4eb0e50 changing tab into spaces 2015-02-11 18:56:53 +01:00
jehane
0d0bf02f64 updating description and using upstream unit file 2015-02-11 18:44:20 +01:00
jehane
8a4a7107ba initial import (#1090933) 2015-02-09 19:38:40 +01:00
remi
0f4ac461a7 lack of maintainer 2012-09-07 09:38:43 +02:00
remi
f3ed2b6e6f bump release 2012-08-08 17:20:10 +02:00
remi
5e36a20aa5 update to 2.2.4 2012-08-08 09:28:52 +02:00
Dennis Gilmore
18f022793f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 22:37:07 -05:00
Petr Písař
3ab428fb65 Perl 5.16 rebuild 2012-06-25 20:24:54 +02:00
remi
553a3dd674 remove debuginfo, fix #828960 2012-06-05 18:37:56 +02:00
remi
7b7f4482d4 make "arch" to allow conditionnal requires of dmidecode 2012-05-31 17:58:56 +02:00
remi
402d49d5e3 minor fix 2012-05-30 18:32:09 +02:00
remi
72b078814a update to 2.2.2 2012-05-30 18:25:36 +02:00
remi
795533f407 update to 2.2.1 2012-05-30 18:11:42 +02:00
remi
e2a9ec14ed filter private provides/requires 2012-05-11 16:31:24 +02:00
remi
2314fa190b update to 2.2.0 2012-05-10 19:23:17 +02:00
remi
4f0079f304 update to 2.1.14 2012-02-26 14:30:08 +01:00
Dennis Gilmore
3b4ede24ad bumpscript got confused with the multiple Releases in different %if areas 2012-01-15 12:50:48 -06:00
Dennis Gilmore
02f9fb2fdf - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 20:51:38 -06:00
7 changed files with 581 additions and 445 deletions

19
.gitignore vendored
View file

@ -1,3 +1,16 @@
*spec~
/FusionInventory-Agent-2.1.9.tar.gz
/FusionInventory-Agent-2.1.12.tar.gz
/FusionInventory-Agent-2.3.15.tar.gz
/FusionInventory-Agent-2.3.16.tar.gz
/2.3.17.tar.gz
/2.3.18.tar.gz
/FusionInventory-Agent-2.3.18.tar.gz
/FusionInventory-Agent-2.3.19.tar.gz
/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

View file

@ -1,112 +0,0 @@
commit a291e4d5d73c13fc8076211b004e7349cd4bbf7d
Author: Gonéri Le Bouder <goneri@rulezlan.org>
Date: Mon Nov 28 21:37:48 2011 +0100
try to use ssl_opts on LWP<6 too
previously this block was only for LWP6. For some modern
LWP5/Crypt::SSLeay also need it, I use an eval here to avoid
failure on ancient LWP::UserAgent with no ssl_opts()
closes: #1161
Reported-by: Remi Collet <fedora@famillecollet.com>
diff --git a/lib/FusionInventory/Agent/Network.pm b/lib/FusionInventory/Agent/Network.pm
index b349de5..6bc6fbf 100644
--- a/lib/FusionInventory/Agent/Network.pm
+++ b/lib/FusionInventory/Agent/Network.pm
@@ -107,8 +107,11 @@ sub createUA {
my $ua = LWP::UserAgent->new(keep_alive => 1, requests_redirectable => ['POST', 'GET', 'HEAD']);
-
- if ($LWP::VERSION >= 6) {
+ # previously this block was only for LWP6.
+ # For some modern LWP5/Crypt::SSLeay also need it, I use
+ # an eval here to avoid failure on ancient LWP::UserAgent with
+ # no ssl_opts()
+ eval {
# LWP6 default behavior is to check the SSL hostname
if ($config->{'no-ssl-check'}) {
$ua->ssl_opts(verify_hostname => 0);
@@ -119,7 +122,7 @@ sub createUA {
if ($config->{'ca-cert-dir'}) {
$ua->ssl_opts(SSL_ca_path => $config->{'ca-cert-dir'});
}
- }
+ };
if ($noProxy) {
commit 5001036e8eabac54a5058306c44793df325109a2
Author: Gonéri Le Bouder <goneri@rulezlan.org>
Date: Mon Nov 28 21:39:21 2011 +0100
improve the regex used to parse the SSL-Cert
- Drop the port from the hostname
- Use a wildcare only if there is a domain
diff --git a/lib/FusionInventory/Agent/Network.pm b/lib/FusionInventory/Agent/Network.pm
index 6bc6fbf..96d7513 100644
--- a/lib/FusionInventory/Agent/Network.pm
+++ b/lib/FusionInventory/Agent/Network.pm
@@ -362,9 +362,10 @@ sub setSslRemoteHost {
# Check server name against provided SSL certificate
if ( $self->{URI} =~ /^https:\/\/([^\/]+).*$/i ) {
my $re = $1;
+ $re =~ s/:\d+//;
# Accept SSL cert will hostname with wild-card
# http://forge.fusioninventory.org/issues/542
- $re =~ s/^([^\.]+)/($1|\\*)/;
+ $re =~ s/^([^\.]+)\.(.+)/($1|\\*)/;
# protect some characters, $re will be evaluated as a regex
$re =~ s/([\-\.])/\\$1/g;
$ua->default_header('If-SSL-Cert-Subject' => '/CN='.$re.'($|\/)');
commit 8035bde109d9684dac5fd9369ce6a7a641c54f99
Author: Gonéri Le Bouder <goneri@rulezlan.org>
Date: Mon Nov 28 21:48:52 2011 +0100
SSL: skip some test on LWP<6
Those cases are just unsupported.
closes: #1161
Reported-by: Remi Collet <fedora@famillecollet.com>
diff --git a/t/ssl.t b/t/ssl.t
index ff8c25e..d8b384f 100644
--- a/t/ssl.t
+++ b/t/ssl.t
@@ -107,10 +107,14 @@ $server->set_dispatch({
});
$server->background();
+
+SKIP: {
+skip "Too all LWP for alternate hostname", 1 unless $LWP::VERSION >= 6;
ok(
$secure_client->send({message => $message}),
'trusted certificate, alternate hostname: connection success'
);
+}
$server->stop();
@@ -161,10 +165,14 @@ ok(
'untrusted certificate, correct hostname: connection failure'
);
+SKIP: {
+skip "Check disabled on LWP<6", 1 unless $LWP::VERSION >= 6;
+# Unless you wan to fix this
ok(
$unsafe_client->send({message => $message}),
'untrusted certificate, correct hostname, no check: connection success'
);
+}
$server->stop();

View file

@ -11,27 +11,27 @@ export PATH
i=0
while [ $i -lt ${#OCSMODE[*]} ]
do
if [ ${OCSMODE[$i]:-none} == cron ]; then
OPTS=
if [ ! -z "${OCSPAUSE[$i]}" ]; then
OPTS="--wait ${OCSPAUSE[$i]}"
fi
if [ ${OCSMODE[$i]:-none} == cron ]; then
OPTS=
if [ ! -z "${OCSPAUSE[$i]}" ]; then
OPTS="--wait ${OCSPAUSE[$i]}"
fi
if [ ! -z "${OCSTAG[$i]}" ]; then
OPTS="$OPTS --tag=${OCSTAG[$i]}"
fi
if [ ! -z "${OCSTAG[$i]}" ]; then
OPTS="$OPTS --tag=${OCSTAG[$i]}"
fi
if [ "z${OCSSERVER[$i]}" = 'zlocal' ]; then
# Local inventory
OPTS="$OPTS --local=/var/lib/$NAME"
elif [ ! -z "${OCSSERVER[$i]}" ]; then
# Remote inventory
OPTS="$OPTS --lazy --server=${OCSSERVER[$i]}"
fi
echo "[$(date '+%c')] Running $NAME $OPTS"
/usr/bin/$NAME $FUSINVOPT --logfile=$LOG $OPTS
fi
((i++))
if [ "z${OCSSERVER[$i]}" = 'zlocal' ]; then
# Local inventory
OPTS="$OPTS --local=/var/lib/$NAME"
elif [ ! -z "${OCSSERVER[$i]}" ]; then
# Remote inventory
OPTS="$OPTS --lazy --server=${OCSSERVER[$i]}"
fi
echo "[$(date '+%c')] Running $NAME $OPTS"
/usr/bin/$NAME $OPTIONS --logfile=$LOG $OPTS
fi
((i++))
done
echo "[$(date '+%c')] End of cron job ($PATH)"

View file

@ -1,111 +0,0 @@
#!/bin/bash
#
# chkconfig: - 88 12
# description: FusionInventory Agent
# processname: fusioninventory-agent
# config: /etc/sysconfig/fusioninventory-agent.pid
# pidfile: /var/run/fusioninventory-agent.pid
### BEGIN INIT INFO
# Provides: fusioninventory-agent
# Required-Start: $local_fs $remote_fs $network $named $syslog $time
# Required-Stop: $local_fs $remote_fs $network $named $syslog $time
# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: FusionInventory agent
# Description: FusionInventory agent
### END INIT INFO
# source function library
. /etc/rc.d/init.d/functions
RETVAL=0
desc="FusionInventory Agent"
prog=fusioninventory-agent
lockfile=/var/lock/subsys/$prog
pidfile=/var/run/$prog.pid
logfile=/var/log/$prog/$prog.log
# pull in sysconfig settings
[ -r /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
#
# Function that starts the daemon/service
#
do_start()
{
# Read configuration
i=0
OPTS=
SERVERS=
while [ $i -lt ${#OCSMODE[*]} ]
do
if [ ${OCSMODE[$i]:-none} == daemon ]; then
if [ ! -z "${OCSTAG[$i]}" ]; then
OPTS="$OPTS --tag=${OCSTAG[$i]}"
fi
if [ "z${OCSSERVER[$i]}" = 'zlocal' ]; then
# Local inventory
OPTS="$OPTS --local=/var/lib/$prog"
elif [ ! -z "${OCSSERVER[$i]}" ]; then
# Remote inventory
if [ -z "$SERVERS" ]; then
SERVERS=${OCSSERVER[$i]}
else
SERVERS="$SERVERS,${OCSSERVER[$i]}"
fi
fi
fi
((i++))
done
if [ -n "$SERVERS" ]; then
OPTS="$OPTS --server=$SERVERS"
fi
if [ -n "$OPTS" ]; then
echo -n $"Starting $prog: "
daemon $prog --logfile-maxsize=999 --logfile=$logfile $FUSINVOPT --daemon $OPTS 2>/dev/null
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $lockfile
else
RETVAL=0
fi
}
#
# Function that stops the daemon/service
#
do_stop()
{
echo -n $"Stopping $prog: "
killproc $prog
RETVAL=$?
echo
if [ $RETVAL -eq 0 ] ; then
rm -f $lockfile $pidfile
fi
}
case "$1" in
start)
do_start
;;
stop)
do_stop
;;
status)
status $prog
;;
restart|reload|force-reload)
do_stop
do_start
;;
condrestart)
[ -f $lockfile ] && do_stop && do_start || :
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
exit 1
;;
esac
exit $RETVAL

View file

@ -0,0 +1,22 @@
# It is not recommended to modify this file in-place, because it will be
# overwritten during package upgrades. If you want to customize, the best
# way is to use the "systemctl edit" command to create an override unit.
# For example, to pass additional options (for instance,
# --no-category=software) to the agent at startup, create an override unit
# (as is done by systemctl edit) and enter the following:
# [Service]
# Environment="OPTIONS=--no-category=software"
[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

View file

@ -1,69 +1,54 @@
#global gitver 9bd1238
#global prever _beta1
## Disabling debug package
## Can't build as noarch due to dmidecode requires
%global debug_package %{nil}
Name: fusioninventory-agent
Summary: FusionInventory agent
Summary(fr): Agent FusionInventory
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.1.12
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
%if 0%{?gitver:1}
Release: 0.1.git%{gitver}%{?dist}
# From http://github.com/fusinv/fusioninventory-agent/tarball/master
Source0: fusinv-fusioninventory-agent-2.1.8-95-g9bd1238.tar.gz
%else
Release: 1%{?dist}
Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}%{?prever}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
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}
Requires: cronie
%ifarch %{ix86} x86_64
Requires: dmidecode
%endif
Source1: %{name}.cron
Source2: %{name}.init
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Patch0: %{name}-git.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Module::Install)
# For tests
BuildRequires: perl(Time::HiRes) perl(XML::Simple) perl(UNIVERSAL::require) perl(Test::More)
BuildRequires: perl(Class::Accessor::Fast) perl(Class::Data::Inheritable) perl(Test::Exception)
%if 0%{?fedora} >= 14
BuildRequires: perl(LWP::Protocol::https) perl(IO::Socket::SSL)
BuildRequires: perl(HTTP::Server::Simple::Authen) perl(CGI)
%endif
%if 0%{?fedora}>= 12 || 0%{?rhel} >= 5
BuildRequires: perl(XML::TreePP)
%endif
%if 0%{?fedora}>= 10 || 0%{?rhel} >= 5
BuildRequires: perl(JSON)
%endif
%if 0%{?fedora} >= 11
BuildRequires: perl(Test::Compile)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(LWP) perl(Net::IP) perl(HTTP::Status) perl(Net::SSLeay) perl(Crypt::SSLeay)
Requires: perl(Proc::Daemon) perl(Proc::PID::File)
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
Requires: perl(Archive::Extract)
Requires: perl(Net::CUPS)
%endif
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(postun): /sbin/service
# RPM 4.8
%{?filter_from_requires: %filter_from_requires /perl(Win32/d}
# excluding internal requires and windows stuff
# excluding perl(setup) and windows stuff
%{?perl_default_filter}
# RPM 4.9
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Win32
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(setup\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Win32|setup\\)$
%description
FusionInventory Agent is an application designed to help a network
@ -75,109 +60,122 @@ or GLPI server with the FusionInventory for GLPI plugin.
You can add additional packages for optional tasks:
* perl-FusionInventory-Agent-Task-OcsDeploy
OCS Inventory Software deployment support
* perl-FusionInventory-Agent-Task-NetDiscovery
Network Discovery support
* perl-FusionInventory-Agent-Task-SNMPQuery
SNMP Query support
* perl-FusionInventory-Agent-Task-ESX
* fusioninventory-agent-task-network
Network Discovery and Inventory support
* fusioninventory-agent-inventory
Local inventory support for FusionInventory
* fusioninventory-agent-task-deploy
Software deployment support
* fusioninventory-agent-task-esx
vCenter/ESX/ESXi remote inventory
Edit the /etc/sysconfig/%{name} file for service configuration.
%description -l fr
L'agent FusionInventory est une application destinée à aider l'administrateur
système ou réseau à surveiller la configuration des machines du réseau
et les logiciels qui y sont installés.
Cet agent peut envoyer les informations de l'ordinateur à un serveur
OCS Inventory NG ou à un serveur GLPI disposant de l'extension FusionInventory.
Vous pouvez ajouter les paquets additionnels pour les tâches optionnelles :
* perl-FusionInventory-Agent-Task-OcsDeploy
Gestion du déploiement logiciel OCS Inventory
* perl-FusionInventory-Agent-Task-NetDiscovery
Gestion de la découverte réseau
* perl-FusionInventory-Agent-Task-SNMPQuery
Gestion de l'interrogation SNMP
* perl-FusionInventory-Agent-Task-ESX
Inventaire à distance des vCenter/ESX/ESXi
Modifier le fichier /etc/sysconfig/%{name} pour configurer
le service.
* fusioninventory-agent-task-collect
Custom information retrieval support
* fusioninventory-agent-task-wakeonlan
Wake o lan task
%package yum-plugin
Summary: Ask FusionInventory agent to send an inventory when yum exits
Summary(fr): Demande à l'agent FusionInventory l'envoi d'un inventaire
Group: System Environment/Base
BuildRequires: python-devel
Requires: yum >= 2.4
Requires: %{name}
%package -n perl-FusionInventory-Agent
Summary: Libraries for Fusioninventory agent
BuildArch: noarch
Requires: perl(LWP)
Requires: perl(Net::CUPS)
Requires: perl(Net::SSLeay)
Requires: perl(Proc::Daemon)
Requires: perl(Socket::GetAddrInfo)
%description yum-plugin
fusioninventory-agent-yum-plugin asks the running service agent to send an
inventory when yum exits.
%description -n perl-FusionInventory-Agent
Libraries for Fusioninventory agent.
This requires the service to be running with the --rpc-trust-localhost option.
%package task-esx
Summary: FusionInventory plugin to inventory vCenter/ESX/ESXi
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description -l fr yum-plugin
fusioninventory-agent-yum-plugin demande au service de l'agent d'envoyer un
inventaire à la fin de l'exécution de yum.
%description task-esx
fusioninventory-agent-task-ESX ask the running service agent to inventory an
VMWare vCenter/ESX/ESXi server through SOAP interface
%package task-network
Summary: NetDiscovery and NetInventory task for FusionInventory
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description task-network
fusioninventory-task-netdiscovery and fusioninventory-task-netinventory
%package task-deploy
Summary: Software deployment support for FusionInventory agent
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: perl(Archive::Extract)
%description task-deploy
This package provides software deployment support for FusionInventory-agent
%package task-wakeonlan
Summary: WakeOnLan task for FusionInventory
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description task-wakeonlan
fusioninventory-task-wakeonlan
%package task-inventory
Summary: Inventory task for FusionInventory
Requires: %{name} = %{version}-%{release}
Requires: perl(Net::CUPS)
Requires: perl(Parse::EDID)
%description task-inventory
fusioninventory-task-inventory
%package task-collect
Summary: Custom information retrieval support for FusionInventory agent
Requires: %{name} = %{version}-%{release}
%description task-collect
This package provides custom information retrieval support for
FusionInventory agent
%package cron
Summary: Cron for FusionInventory agent
Requires: %{name} = %{version}-%{release}
%description cron
fusioninventory cron task
Le service doit être actif et lancé avec l'option --rpc-trust-localhost.
%prep
%if 0%{?gitver:1}
%setup -q -n fusinv-fusioninventory-agent-%{gitver}
%else
%setup -q -n FusionInventory-Agent-%{version}%{?prever}
%endif
%setup -q -n FusionInventory-Agent-%{version}
%patch0 -p1
# Remove bundled modules
rm -rf ./inc
sed -e '/^inc\//d' -i MANIFEST
# This work only on older version, and is ignored on recent
cat <<EOF | tee %{name}-req
#!/bin/sh
%{__perl_requires} $* | \
sed -e '/perl(Win32/d'
EOF
%if 0%{?gitver:1}
%global __perl_requires %{_builddir}/fusinv-fusioninventory-agent-%{gitver}/%{name}-req
%else
%global __perl_requires %{_builddir}/FusionInventory-Agent-%{version}%{?prever}/%{name}-req
%endif
chmod +x %{__perl_requires}
cat <<EOF | tee logrotate
%{_localstatedir}/log/%{name}/*.log {
weekly
rotate 7
compress
notifempty
missingok
}
EOF
sed \
-e "s/logger = .*/logger = syslog/" \
-e "s/logfacility = .*/logfacility = LOG_DAEMON/" \
-e 's|#include "conf\.d/"|include "conf\.d/"|' \
-i etc/agent.cfg
cat <<EOF | tee %{name}.conf
#
# Fusion Inventory Agent Configuration File
# used by hourly cron job and service launcher to override the %{name}.cfg setup.
# used by hourly cron job to override the %{name}.cfg setup.
#
# DONT FORGET to enable the service !
# /!\
# USING THIS FILE TO OVERRIDE SERVICE OPTIONS IS DEPRECATED!
# See %{_unitdir}/%{name}.service notice
#
# Add tools directory if needed (tw_cli, hpacucli, ipssend, ...)
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Global options (debug for verbose log, rpc-trust-localhost for yum-plugin)
FUSINVOPT='--debug --rpc-trust-localhost'
# Mode, change to "cron" or "daemon" to activate
# Global options (debug for verbose log)
OPTIONS="--debug "
# Mode, change to "cron" to activate
# - none (default on install) no activity
# - cron (inventory only) use the cron.hourly
# - daemon (recommanded) use the service
# DON'T FORGET to enable the service
OCSMODE[0]=none
# OCS Inventory or FusionInventory server URI
# OCSSERVER[0]=your.ocsserver.name
@ -189,105 +187,431 @@ OCSMODE[0]=none
OCSPAUSE[0]=120
# Administrative TAG (optional, must be filed before first inventory)
OCSTAG[0]=
EOF
cat <<EOF | tee agent.cfg
# This file provides global and command line settings
# For CRON or DAEMON configuration, see %{_sysconfdir}/sysconfig/%{name}
share-dir=%{perl_vendorlib}/auto/share/dist/FusionInventory-Agent
basevardir=%{_localstatedir}/lib/%{name}
logger=Stderr
server=""
EOF
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL \
PREFIX=%{_prefix} \
SYSCONFDIR=%{_sysconfdir}/fusioninventory \
LOCALSTATEDIR=%{_localstatedir}/lib/%{name} \
VERSION=%{version}-%{release}
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/fusioninventory/conf.d
mkdir -p %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d
mkdir -p %{buildroot}%{_localstatedir}/{log,lib}/%{name}
install -m 644 -D logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
install -m 644 -D %{name}.conf %{buildroot}%{_sysconfdir}/sysconfig/%{name}
install -m 644 -D agent.cfg %{buildroot}%{_sysconfdir}/fusioninventory/agent.cfg
install -m 755 -Dp %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.hourly/%{name}
install -m 755 -Dp %{SOURCE2} %{buildroot}%{_initrddir}/%{name}
# Yum plugin installation
install -m 644 -D contrib/yum-plugin/%{name}.py %{buildroot}%{_prefix}/lib/yum-plugins/%{name}.py
install -m 644 -D contrib/yum-plugin/%{name}.conf %{buildroot}%{_sysconfdir}/yum/pluginconf.d/%{name}.conf
install -m 644 -D %{name}.conf %{buildroot}%{_sysconfdir}/sysconfig/%{name}
install -m 755 -Dp %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.hourly/%{name}
install -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/%{name}.service
%check
%if 0%{?rhel} || 0%{?fedora} < 14
# requires perl(HTTP::Server::Simple::Authen) not yet available
rm t/ssl.t
%endif
make test
%clean
rm -rf %{buildroot} %{buildroot}%{_datarootdir}
#make test
%post
/sbin/chkconfig --add %{name}
%systemd_post fusioninventory-agent.service
%preun
if [ $1 -eq 0 ] ; then
/sbin/service %{name} stop &>/dev/null
/sbin/chkconfig --del %{name}
fi
exit 0
%systemd_preun fusioninventory-agent.service
%postun
if [ $1 -ge 1 ]; then
/sbin/service %{name} condrestart &>/dev/null
fi
exit 0
%systemd_postun_with_restart fusioninventory-agent.service
%files
%defattr(-, root, root, -)
%doc AUTHORS Changes LICENSE THANKS
%dir %{_sysconfdir}/fusioninventory
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%config(noreplace) %{_sysconfdir}/fusioninventory/agent.cfg
%{_sysconfdir}/cron.hourly/%{name}
%{_initrddir}/%{name}
%{perl_vendorlib}/FusionInventory
%{perl_vendorlib}/auto
%config(noreplace) %{_sysconfdir}/fusioninventory/conf.d
%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
%{_bindir}/fusioninventory-agent
%{_bindir}/fusioninventory-injector
%exclude %{_bindir}/%{name}-config
%{_mandir}/man1/fusioninventory-agent*
%{_mandir}/man1/fusioninventory-injector*
%{_mandir}/man3/Fusion*
%dir %{_localstatedir}/log/%{name}
%dir %{_localstatedir}/lib/%{name}
%dir %{_datadir}/fusioninventory
%dir %{_datadir}/fusioninventory/lib
%dir %{_datadir}/fusioninventory/lib/FusionInventory
%dir %{_datadir}/fusioninventory/lib/FusionInventory/Agent
%dir %{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task
%files yum-plugin
%defattr(-, root, root)
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/%{name}.conf
%{_prefix}/lib/yum-plugins/%{name}.*
%files -n perl-FusionInventory-Agent
%doc Changes LICENSE THANKS
#excluding sub-packages files
#%%exclude %%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/*
%{_datadir}/fusioninventory
%files task-esx
%{_bindir}/fusioninventory-esx
%{_mandir}/man1/fusioninventory-esx.1*
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/ESX.pm
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/SOAP
%files task-network
%{_bindir}/fusioninventory-netdiscovery
%{_bindir}/fusioninventory-netinventory
%{_mandir}/man1/fusioninventory-netdiscovery.1*
%{_mandir}/man1/fusioninventory-netinventory.1*
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/NetDiscovery.pm
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/NetInventory.pm
%files task-deploy
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/Deploy.pm
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/Deploy
%files task-wakeonlan
%{_bindir}/fusioninventory-wakeonlan
%{_mandir}/man1/fusioninventory-wakeonlan.1*
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/WakeOnLan.pm
%files task-inventory
%{_bindir}/fusioninventory-inventory
%{_bindir}/fusioninventory-remoteinventory
%{_mandir}/man1/fusioninventory-*inventory.1*
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/Inventory.pm
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/Inventory
%files task-collect
%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/Collect.pm
%files cron
%{_sysconfdir}/cron.hourly/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%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
* Thu May 02 2019 Guillaume Bougard <gbougard AT teclib DOT com> - 2.5-3
- Add patches to fix agent HTTP server plugins integration
* Thu Apr 18 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.5-2
- Re-add tasks files in main perl package, to solve dependencies issues on package
* Mon Apr 15 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 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 <johan AT x-tnd DOT be> - 2.4.3-2
- Remove yum plugin (and therefore dependency on yum)
* Mon Feb 25 2019 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4.3-1
- Last upstream release
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Oct 03 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4.2-1
- Last upstream release
- Drop patch applied upstream
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4.1-3
- Add upstream patch to fix wrong variable name
* Fri Jul 06 2018 Petr Pisar <ppisar@redhat.com> - 2.4.1-2
- Perl 5.28 rebuild
* Tue Jul 03 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4.1-1
- Last upstream release
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.4-6
- Perl 5.28 rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4-4
- Logrotate is no longer needed since we now use syslog
* Mon Jan 15 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4-3
- Change logging according to upstream recommandations
* Thu Jan 11 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4-2
- Drop systemd override conf file, thits is no longer needed
* Thu Jan 11 2018 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.4-1
- Last upstream release
- Put cron stuff in a separate sub-package
- Provide conf.d configuration directory
* Mon Oct 16 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.21-3
- Do not provides perl(setup); BZ #1485919 - thanks to E. Seyman
* Thu Aug 10 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.21-2
- Fix missing provides issue on perl(setup)
* Tue Aug 01 2017 Marianne Lombard <jehane@fedoraproject.org> - 2.3.21-1
- Last upstream release
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.3.20-2
- Perl 5.26 re-rebuild of bootstrapped packages
* Tue Jun 06 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.20-1
- Last upstream release
- Drop patches, upstream has provided fixes
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.3.19-4
- Perl 5.26 rebuild
* Wed May 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.3.19-3
- Fix building on Perl without '.' in @INC
* Mon Feb 20 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.19-2
- Fix setup.pm values
* Sat Feb 18 2017 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.3.19-1
- Last upstream release
* Thu Feb 09 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.18-3
- Change systemd unit to not use fork mode
- Re-add options in sysconfig file to get cron mode running
* Wed Jun 22 2016 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.3.18-2
- Add task-collect subpackage
- Change package source according to upstream recomendations
* Tue Jun 21 2016 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.3.18-1
- Last upstream release
- Handle macros in comments to make rpmlint happy
- Cleanup comments
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.3.17-3
- Perl 5.24 rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Oct 7 2015 Marianne Lombard <jehane@fedoraproject.org> - 2.3.17
- new version
- Upstream switch to github, minor spec adaptation
* Wed Jul 8 2015 Marianne Lombard <jehane@fedoraproject.org> - 2.3.16-5
- fix for #1240964
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.3.16-3
- Perl 5.22 rebuild
* Sun Mar 29 2015 Marianne Lombard <jehane@fedoraproject.org> - 2.3.16-2
- commenting un-used BuildRequires
* Sun Mar 1 2015 Marianne Lombard <jehane@fedoraprojetc.org> - 2.3.16
- update to 2.3.16
- adding BuildRequires needed by test
* Sun Mar 1 2015 Marianne Lombard <jehane@fedoraproject.org> - 2.3.15-4
- arch build (due to dmidecode dependancy in x86_64)
* Fri Feb 20 2015 Marianne Lombard <jehane@fedoraproject.org> - 2.3.15-3
- building as noarch
* Wed Feb 11 2015 Marianne Lombard <marianne@tuxette.fr> - 2.3.15-2
- fix description of subpackage
- using upstream systemd unit file
* Mon Feb 9 2015 Marianne Lombard <marianne@tuxette.fr> - 2.3.15
- new version and back in Fedora
* Mon Jan 19 2015 Marianne Lombard <marianne@tuxette.fr> - 2.3.14-2
- enhancing spec according to review
* Wed Dec 24 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.14
- new version
* Mon Dec 15 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.13
- new version
- updating spec according to fedora-review
* Tue Aug 5 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.12
- new version
* Tue Aug 5 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.10.1-2
- adding missing requires
- updating config file
* Mon Aug 4 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.10.1
- new version (bug fixes)
* Fri Aug 1 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.10
- new version
* Wed Jul 23 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.9.1
- new version
* Tue May 20 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.8-1
- enhancing spec according to Michael Schwendt review
- adding missing requires
* Fri May 16 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.8
- new version
* Wed May 14 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.7.1
- new version
* Sat Feb 1 2014 Marianne Lombard <marianne@tuxette.fr> - 2.3.6
- new version, reintroduction in fedora and epel
- cleanup of the spec (removing sysVinit stuff, old BuildRequires, old releases stuff)
- adding sub-packages for task-* (using Guillaume Rousse OBS spec as model https://build.opensuse.org/package/view_file/home:guillomovitch/fusioninventory-agent/fusioninventory-agent.spec)
- task-wakeonlan is excluded (dependancy issue)
* Wed Aug 8 2012 Remi Collet <remi@fedoraproject.org> - 2.2.4-2
- dump release
* Wed Aug 8 2012 Remi Collet <remi@fedoraproject.org> - 2.2.4-1
- version 2.2.4 fixes various bugs as described in
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.2.4/Changes
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.2.3/Changes
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 25 2012 Petr Pisar <ppisar@redhat.com> - 2.2.2-4
- Perl 5.16 rebuild
* Tue Jun 05 2012 Remi Collet <remi@fedoraproject.org> - 2.2.2-3
- no need for debuginfo (not really arch, fix #828960)
- yum plugin is also noarch
* Thu May 31 2012 Remi Collet <remi@fedoraproject.org> - 2.2.2-2
- make package "arch"
- requires dmidecode when available (x86)
- add sub-package perl-FusionInventory-Agent (noarch)
* Wed May 30 2012 Remi Collet <remi@fedoraproject.org> - 2.2.2-1
- update to 2.2.2
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.2.2/Changes
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.2.1/Changes
* Fri May 11 2012 Remi Collet <remi@fedoraproject.org> - 2.2.0-2
- filter private provides/requires
* Thu May 10 2012 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
- update to 2.2.0
http://search.cpan.org/src/FUSINV/FusionInventory-Agent-2.2.0/Changes
- revert change in 2.2.0: don't loose arch information
see http://forge.fusioninventory.org/issues/1581
* Sun Feb 26 2012 Remi Collet <remi@fedoraproject.org> - 2.1.14-1
- update to 2.1.14
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.1.14/Changes
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Nov 28 2011 Remi Collet <remi@fedoraproject.org> - 2.1.12-1
- update to 2.1.12
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.1.12/Changes
@ -296,7 +620,7 @@ exit 0
* Sat Aug 06 2011 Remi Collet <remi@fedoraproject.org> - 2.1.9-3
- adapt filter
* Fri Jul 25 2011 Petr Sabata <contyk@redhat.com> - 2.1.9-2
* Mon Jul 25 2011 Petr Sabata <contyk@redhat.com> - 2.1.9-2
- Perl mass rebuild
* Sun Jun 26 2011 Remi Collet <Fedora@famillecollet.com> 2.1.9-1

View file

@ -1 +1 @@
5ef5237d3504c0651fcbdb1a04d1cd26 FusionInventory-Agent-2.1.12.tar.gz
SHA512 (FusionInventory-Agent-2.6.tar.gz) = b400e8bbf1be117c110622e6f1e2e2eee744c4e79bf3686c9e4c9126f7d4cb7f2224149ab4e7ad9a686d0cdbcbe2aef1128766359270c7e9f00d78552f51aa45